Compilation fails in the garbage-collector module with an undefined GC_quiet error: gcc -I. -O2 -fomit-frame-pointer -fno-strict-aliasing -I/var/tmp/portage/dev-lang/gwydion-dylan-2.4.0/work/gwydion-dylan-2.4.0/d2c/runtime -DGD_PLATFORM_LINUX -I/usr/include/gc -c garbage-collection.c -fPIC -DPIC -o .libs/garbage-collection.o garbage-collection.c: In function 'garbage_collectionZgarbage_collectionZgc_quiet_METH': garbage-collection.c:635: error: 'GC_quiet' undeclared (first use in this function) garbage-collection.c:635: error: (Each undeclared identifier is reported only once garbage-collection.c:635: error: for each function it appears in.) garbage-collection.c: In function 'garbage_collectionZgarbage_collectionZgc_quiet_setter_METH': garbage-collection.c:692: error: 'GC_quiet' undeclared (first use in this function) garbage-collection.c: In function 'garbage_collectionZgarbage_collectionZgc_make_closure_METH': garbage-collection.c:5140: warning: assignment makes pointer from integer without a cast make[4]: *** [garbage-collection.lo] Error 1 I grepped the files inside of /usr/include/gc and found GC_quiet to be not present anywhere. I then tried and downgraded boehm-gc to release 6.8 and grepped again. GC_quiet is defined there like artus@morgaine ~/code/gwydion-dylan-2.4.0 $ grep -i gc_quiet /usr/include/gc/* /usr/include/gc/gc.h:GC_API int GC_quiet; /* Disable statistics output. Only matters if */ Reproducible: Always Steps to Reproduce: 1. emerge gwydion-dylan 2. 3. Actual Results: compilation fails in garbage-collection module with an undefined error. Expected Results: gwydion-dylan should install I'll add an attachment of the build log.
Created attachment 128319 [details] build log for gwydion-dylan using boehm-gc-7.0 Attached the build log for gwydion-dylan with boehm-gc-7.0 installed.
Created attachment 128330 [details] emerge --info output of emerge --info
Any news on this one?
(In reply to comment #3) > Any news on this one? > Nope nothing has changed so far. Just tried to install it again and it still fails in the same file. I currently have boehm-gc-7.0-r1 installed.
So far it seems like you need boehm-gc < 7.0 for it to work. Being the gwydion-dylan package version so old, this isn't surprising ; in any case I am checking right now and I will more likely add such a dependency requirement for the package.
I just added a new revision version to the portage tree fixing this problem with a patch. Please test and report back any problems. Closing this bug as fixed now. Thanks.