Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189153 - dev-lang/gwydion-dylan fails to compile with the new boehm-gc-7.0 release
Summary: dev-lang/gwydion-dylan fails to compile with the new boehm-gc-7.0 release
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Luis Araujo (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-16 19:11 UTC by Bernd Waibel
Modified: 2008-03-10 00:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log for gwydion-dylan using boehm-gc-7.0 (dev-lang:gwydion-dylan-2.4.0:20070816-172833.log,126.16 KB, text/plain)
2007-08-16 19:12 UTC, Bernd Waibel
Details
emerge --info (emerge-info,9.48 KB, text/plain)
2007-08-16 21:46 UTC, Bernd Waibel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Waibel 2007-08-16 19:11:16 UTC
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.
Comment 1 Bernd Waibel 2007-08-16 19:12:57 UTC
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.
Comment 2 Bernd Waibel 2007-08-16 21:46:03 UTC
Created attachment 128330 [details]
emerge --info

output of emerge --info
Comment 3 Philipp Riegger 2007-12-09 12:05:10 UTC
Any news on this one?
Comment 4 Bernd Waibel 2008-01-07 10:09:21 UTC
(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.
Comment 5 Luis Araujo (RETIRED) gentoo-dev 2008-01-07 10:53:08 UTC
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.
Comment 6 Luis Araujo (RETIRED) gentoo-dev 2008-03-10 00:03:24 UTC
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.