/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: gptcurses.o: warning: relocation against `COLS' in readonly section `.text' gptcurses.o: In function `GPTDataCurses::~GPTDataCurses()': gptcurses.cc:(.text+0x49): undefined reference to `isendwin' gptcurses.cc:(.text+0x52): undefined reference to `endwin' gptcurses.o: In function `GPTDataCurses::GPTDataCurses()': gptcurses.cc:(.text+0x1fd): undefined reference to `refresh' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-systemd_abi32+64-test_20180203-182621 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv sys-apps/gptfdisk [ebuild N ] sys-apps/gptfdisk-1.0.1 USE="ncurses -static"
Created attachment 518764 [details] emerge-info.txt
Created attachment 518766 [details] emerge-history.txt
Created attachment 518768 [details] environment
Created attachment 518770 [details] etc.portage.tbz2
Created attachment 518772 [details] sys-apps:gptfdisk-1.0.3:20180208-225637.log
Created attachment 518774 [details] temp.tbz2
I see this on hppa, which looks like a similar problem, like if it is missing a [static] for some of the depdendncies: * USE: elibc_glibc hppa kernel_linux ncurses static userland_GNU hppa2.0-unknown-linux-gnu-g++ crc32.o support.o guid.o gptpart.o mbrpart.o basicmbr.o mbr.o gpt.o bsd.o parttypes.o attributes.o diskio.o diskio-unix.o cgdisk.o gptcurses.o -Wl,-O1 -Wl,--as-needed -static -luuid -lncursesw -o cgdisk hppa2.0-unknown-linux-gnu-g++ support.o diskio.o diskio-unix.o basicmbr.o mbrpart.o fixparts.o -Wl,-O1 -Wl,--as-needed -static -o fixparts /usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: /usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../libncursesw.a(lib_mouse.o): in function `load_gpm_library': (.text+0x670): undefined reference to `dlopen' /usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: (.text+0x690): undefined reference to `dlsym' /usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: (.text+0x6b0): undefined reference to `dlsym' /usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: (.text+0x6d0): undefined reference to `dlsym' /usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: (.text+0x6f0): undefined reference to `dlsym' /usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: (.text+0x734): undefined reference to `dlclose' /usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: /usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../libncursesw.a(lib_mouse.o): in function `enable_gpm_mouse': (.text+0x7c0): undefined reference to `dlclose' collect2: error: ld returned 1 exit status
It's been 4 years now... Is this still a problem with 1.0.9?
(In reply to Marek Szuba from comment #8) > It's been 4 years now... Is this still a problem with 1.0.9? no