When I try to update net-news/slrn to the latest version 0.9.8.1, the emerge command quits with the following error: misc.c: In function `slrn_write_nchars': misc.c:461: error: `SLsmg_Is_Unicode' undeclared (first use in this function) misc.c:461: error: (Each undeclared identifier is reported only once misc.c:461: error: for each function it appears in.) if gcc -Dunix -DSLRN_LIB_DIR=\"/usr/lib/slrn\" -DSHAREDIR=\"/usr/share/slrn\" -DSYSCONFDIR=\"/etc\" -I. -I. -I. -I. -I../intl -O3 -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer -MT post.o -MD -MP -MF ".deps/post.Tpo" -c -o post.o post.c; \ then mv -f ".deps/post.Tpo" ".deps/post.Po"; else rm -f ".deps/post.Tpo"; exit 1; fi make[2]: *** [misc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/slrn-0.9.8.1/work/slrn-0.9.8.1/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/slrn-0.9.8.1/work/slrn-0.9.8.1/src' make: *** [all-recursive] Error 1 Any help appreciated. Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge -u slrn
If you want to compile net-news/slrn with USE="unicode" for unicode support, you need to have your sys-libs/slang also compiled with USE="unicode". I've added some built_with_use magic to that ebuild, so that emerge breaks once this requirement isn't fullfilled.
Many thanks! Now everything works fine.