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 \
   --cflags="-DPACKAGE_NAME=\"Gauche-gl\" -DPACKAGE_TARNAME=\"gauche-gl\" 
-DPACKAGE_VERSION=\"0.5.1\" -DPACKAGE_STRING=\"Gauche-gl\ 0.5.1\" 
-DPACKAGE_BUGREPORT=\"sh...@acm.org\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_GL_GLX_H=1 " --ldflags="-Wl,-z,relro" --libs="-lGLU 
-lGL  " \
   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/0.9.3.3/x86_64-unknown-linux-gnu'  -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/0.9.3.3/lib/gauche/package/compile.scm"
  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

http://sources.debian.net/src/gauche-gl/0.5.1-1/src/gen-syms.scm?hl=47#L47

as generating the code for Scm_Init_gl_syms, hence the declaration here

http://sources.debian.net/src/gauche-gl/0.5.1-1/src/gauche-gl.c?hl=448#L448

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

Best,
Michael


Attachment: pgpuHviwQX2TL.pgp
Description: PGP signature

Reply via email to