Summary: | sys-libs/slang-2.1.3-r1 does not build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Saul Peebsen <jaglover> |
Component: | [OLD] Core system | Assignee: | CJK Team <cjk> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | ssuominen |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 245377 |
Description
Saul Peebsen
2008-02-14 02:18:49 UTC
cd slsh; make all make[1]: Entering directory `/var/tmp/portage/sys-libs/slang-2.1.3-r1/work/slang-2.1.3/slsh' cp ../src/config.h . i586-pc-linux-gnu-gcc -c -O2 -march=k6-2 -pipe -fomit-frame-pointer -I/var/tmp/portage/sys-libs/slang-2.1.3-r1/work/slang-2.1.3/src -DSLSH_CONF_DIR='"/etc"' -DSLSH_PATH='"/usr/share/slsh"' -DSLSH_CONF_DIR_ENV='"SLSH_CONF_DIR"' -DSLSH_LIB_DIR_ENV='"SLSH_LIB_DIR"' -DSLSH_PATH_ENV='"SLSH_PATH"' slsh.c i586-pc-linux-gnu-gcc -c -O2 -march=k6-2 -pipe -fomit-frame-pointer -I/var/tmp/portage/sys-libs/slang-2.1.3-r1/work/slang-2.1.3/src -DSLSH_CONF_DIR='"/etc"' -DSLSH_PATH='"/usr/share/slsh"' -DSLSH_CONF_DIR_ENV='"SLSH_CONF_DIR"' -DSLSH_LIB_DIR_ENV='"SLSH_LIB_DIR"' -DSLSH_PATH_ENV='"SLSH_PATH"' -DUSE_GNU_READLINE=0 readline.c i586-pc-linux-gnu-gcc -O2 -march=k6-2 -pipe -fomit-frame-pointer slsh.o readline.o -o slsh_exe -Wl,-export-dynamic -L/var/tmp/portage/sys-libs/slang-2.1.3-r1/work/slang-2.1.3/src/elfx86objs -lslang -ltermcap -ldl -lm /usr/lib/gcc/i586-pc-linux-gnu/4.2.2/../../../../i586-pc-linux-gnu/bin/ld: cannot find -ltermcap collect2: ld returned 1 exit status make[1]: *** [slsh_exe] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-libs/slang-2.1.3-r1/work/slang-2.1.3/slsh' make: *** [elf] Error 2 Try w/ MAKEOPTS="-j1" (In reply to comment #2) > Try w/ MAKEOPTS="-j1" > No difference whatsoever. It fails in exactly same way. Previously I commented MAKEOPTS out in make.conf, now I enabled it again with -j1. Output of 'emerge -pv ncurses' please. I had a theory (lazy to verify) that slang doesn't use headers, or link against ncurses, but it needs the terminfo files it installs into /usr/share/terminfo. but ncurses doesn't install these if it was built with USE minimal. which would mean we need a built_with_use check in pkg_setup, .. but when I tried to reproduce this it built OK, weird.. Also need output of "ncurses5-config --terminfo", preferably before and after changing USE minimal on and off for ncurses .. I cleared manually all the cruft from /var/tmp/portage, just in case. # emerge -pv ncurses [ebuild R ] sys-libs/ncurses-5.6-r2 USE="minimal unicode -bootstrap -build -debug -doc -gpm -nocxx -profile -trace" 0 kB # ncurses5-config --terminfo /usr/share/terminfo # USE="-mimimal" emerge -av1 ncurses # ncurses5-config --terminfo /usr/share/terminfo # emerge -av1 slang [ebuild N ] sys-libs/slang-2.1.3-r1 USE="-cjk -pcre -png" 0 kB Success!!! Thank you, Vielen Dank, Kiitos! (In reply to comment #5) > I had a theory (lazy to verify) that slang doesn't use headers, or link against > ncurses, but it needs the terminfo files it installs into /usr/share/terminfo. > > but ncurses doesn't install these if it was built with USE minimal. > > which would mean we need a built_with_use check in pkg_setup, .. > > but when I tried to reproduce this it built OK, weird.. > I can reproduce it, I built ncurses with minimal again and slang build fails truthfully. :) and I believe you both so I've added a check in the ebuild to prevent this from happening.. |