Opened 12 years ago

Closed 12 years ago

#708 closed defect (fixed)

squeak FTBFS on Fedora Rawhide

Reported by: sascha_silbe Owned by: sascha_silbe
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: sugar-jhbuild Version: Git as of bugdate
Severity: Major Keywords:
Cc: bertf, walter Distribution/OS: Fedora
Bug Status: New

Description

Name collision between dprintf macro from squeak and dprintf function from glibc:

gcc -g -O2 -DLSB_FIRST=1  -DHAVE_CONFIG_H  -DSQUEAK_BUILTIN_PLUGIN -I/home/sugar/sugar-jhbuild/source/squeak/bld -I/home/sugar/sugar-jhbuild/source/squeak/platforms/unix/vm -I/home/sugar/sugar-jhbuild/source/squeak/platforms/Cross/vm -I/home/sugar/sugar-jhbuild/source/squeak/platforms/unix/src/vm -I/home/sugar/sugar-jhbuild/source/squeak/platforms/Cross/vm -I/home/sugar/sugar-jhbuild/source/squeak/platforms/unix/src/vm -I/home/sugar/sugar-jhbuild/source/squeak/platforms/unix/vm -I/home/sugar/sugar-jhbuild/source/squeak/platforms/Cross/plugins/FilePlugin
-I/home/sugar/sugar-jhbuild/source/squeak/platforms/unix/plugins/B3DAcceleratorPlugin -I/home/sugar/sugar-jhbuild/source/squeak/bld -I/home/sugar/sugar-jhbuild/source/squeak/platforms/unix/vm -I/home/sugar/sugar-jhbuild/source/squeak/platforms/Cross/vm -I/home/sugar/sugar-jhbuild/source/squeak/platforms/unix/src/vm -DSUGAR -D_FORTIFY_SOURCE=0  -c -o debug.o /home/sugar/sugar-jhbuild/source/squeak/platforms/unix/vm/debug.c
In file included from /home/sugar/sugar-jhbuild/source/squeak/platforms/unix/vm/debug.c:3:
/usr/include/stdio.h:399:66: error: macro "dprintf" passed 3 arguments, but takes just 1
/home/sugar/sugar-jhbuild/source/squeak/platforms/unix/vm/debug.c: In function ?__sq_assert':
/home/sugar/sugar-jhbuild/source/squeak/platforms/unix/vm/debug.c:21: warning: incompatible implicit declaration of built-in function ?abort'
make[2]: *** [debug.o] Error 1
make[1]: *** [vm/vm.a] Error 2
make[1]: Leaving directory `/home/sugar/sugar-jhbuild/source/squeak/bld'
make: *** [default] Error 2

Change History (3)

comment:1 Changed 12 years ago by sascha_silbe

  • Status changed from new to assigned

Filed upstream as #7331.

comment:2 Changed 12 years ago by walter

  • Cc bertf walter added

comment:3 Changed 12 years ago by sascha_silbe

  • Resolution set to fixed
  • Status changed from assigned to closed

Has just been fixed by bertf. Thanks!

Note: See TracTickets for help on using tickets.