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
please add your "emerge --info" output
*** This bug has been marked as a duplicate of bug 164127 ***
It doesn't look like a duplicate of that bug to me at all.
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...
reopening
Thanks for the clarification Pierre. Fixed so that discouraged use flag is now only honored when deprecated is disabled.