Ticket #708 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

squeak FTBFS on Fedora Rawhide

Reported by: sascha_silbe Owned by: sascha_silbe
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
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

Changed 4 years ago by sascha_silbe

  • status changed from new to assigned

Filed upstream as  #7331.

Changed 4 years ago by walter

  • cc bertf, walter added

Changed 4 years ago by sascha_silbe

  • status changed from assigned to closed
  • resolution set to fixed

Has just been fixed by bertf. Thanks!

Note: See TracTickets for help on using tickets.