Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 164206

Summary: dev-scheme/guile-1.8.1-r1 fails with USE="deprecated -discouraged"
Product: Gentoo Linux Reporter: Niki Guldbrand <niki.guldbrand>
Component: New packagesAssignee: Scheme Project <scheme>
Status: RESOLVED FIXED    
Severity: normal CC: pierre.poissinger
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Niki Guldbrand 2007-01-28 10:53:10 UTC
I'm getting this when emerging guile 1.8.1-r1 when i enable "deprecated" use flag, without it it compiles fine.

creating .libs/guileS.c
(cd .libs && x86_64-pc-linux-gnu-gcc  -Os -march=k8 -pipe -c -fno-builtin "guileS.c")
rm -f .libs/guileS.c .libs/guile.nm .libs/guile.nmS .libs/guile.nmT
x86_64-pc-linux-gnu-gcc -Os -march=k8 -pipe -Wall -Wmissing-prototypes -o .libs/guile .libs/guileS.o -pthread guile-guile.o -Wl,--export-dynamic  ./.libs/libguile.so /usr/lib64/libgmp.so -lcrypt -lm /usr/lib64/libltdl.so
./.libs/libguile.so: undefined reference to `scm_keyword_dash_symbol'
./.libs/libguile.so: undefined reference to `SCM_SYMBOLP'
collect2: ld returned 1 exit status
make[3]: *** [guile] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-scheme/guile-1.8.1-r1/work/guile-1.8.1/libguile'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-scheme/guile-1.8.1-r1/work/guile-1.8.1/libguile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-scheme/guile-1.8.1-r1/work/guile-1.8.1'
make: *** [all] Error 2
Comment 1 Marijn Schouten (RETIRED) gentoo-dev 2007-01-28 11:17:37 UTC
please add your "emerge --info" output
Comment 2 Niki Guldbrand 2007-01-28 11:19:21 UTC

*** This bug has been marked as a duplicate of bug 164127 ***
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2007-01-28 11:44:20 UTC
It doesn't look like a duplicate of that bug to me at all.
Comment 4 Pierre Poissinger 2007-01-28 11:50:13 UTC
Not really a duplicated (even if I noted this issue as well), I guess a separate bug for the hard dependence on deprecated and discouraged for guile should be corrected:
In short: 
* -with-discouraged only should be fine (didn't not test)
* -with-deprecated rely on -with-discouraged... Compiling with deprecated only will fail due to deprecated functions using discouraged stuff...

Comment 5 Marijn Schouten (RETIRED) gentoo-dev 2007-01-28 12:06:04 UTC
reopening
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2007-01-28 12:10:05 UTC
Thanks for the clarification Pierre.
Fixed so that discouraged use flag is now only honored when deprecated is disabled.