[Pkg-gauche-devel] Bug#749823: gauche-gl: Conflicting declarations of function Scm_Init_gl_syms

Michael Tautschnig mt at debian.org
Thu May 29 23:20:53 UTC 2014

Package: gauche-gl
Version: 0.5.1-1
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error. Please note that we
use our research compiler tool-chain (using tools from the cbmc package), which
permits extended reporting on type inconsistencies at link time.

"/usr/bin/gauche-package" compile --verbose \
   libgauche-gl gauche-gl.c gl-syms.c gl-lib.stub glu-lib.stub glext-lib.stub

error: conflicting function declarations "Scm_Init_gl_syms"
old definition in module gauche-gl file gauche-gl.c line 448
void (struct ScmModuleRec *)
new definition in module gl-syms file gl-syms.c line 3008
void (void)
*** ERROR: command execution failed: gcc -std=gnu99 -Wl,-z,relro '-L/usr/lib/gauche-0.9/'  -shared -o libgauche-gl.so 'gauche-gl.o' 'gl-syms.o' 'gl-lib.o' 'glu-lib.o' 'glext-lib.o' -lgauche-0.9 -ldl -lcrypt -lm  -lpthread -lGLU -lGL  
Stack Trace:
  0  (run (string-append "" (x->string (or ld CC)) " " (x->string (or l ...
        At line 110 of "/usr/share/gauche-0.9/"
  1  args

  2  (with-error-handler (lambda (e) (let ((e e)) (%guard-rec e e (else ...
        [unknown location]
  3  (usage)
        At line 93 of "/usr/bin/gauche-package"
Makefile:69: recipe for target 'libgauche-gl.so' failed
make[2]: *** [libgauche-gl.so] Error 70
make[2]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-gauche-gl/gauche-gl-0.5.1/src'
Makefile:16: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-gauche-gl/gauche-gl-0.5.1'
dh_auto_build: make -j1 returned exit code 2
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 2

I'm not quite sure which end is wrong here, but I'd interpret


as generating the code for Scm_Init_gl_syms, hence the declaration here


would be wrong and the call passing an argument is wrong as well.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gauche-devel/attachments/20140530/91240cf3/attachment.sig>

More information about the Pkg-gauche-devel mailing list