too long lines were shrinked: rdlibtool: link: ln -s /dev/null .libs/libguile-ncurses.a.disabled rdlibtool: link: ln -s /usr/lib64/guile/3.0/extensions .libs/libguile-ncurses.so.slibtool.rpath rdlibtool: link: x86_64-pc-linux-gnu-gcc .libs/libguile_ncurses_la-curs_const.o .libs/libguile_ncurses_la-curs_func.o .libs/libguile_ncurses_la-curs_port.o .libs/libguile_ncurses_la-curs_spec.o .libs/libguile_ncurses_la-curs_main.o .libs/libguile_ncurses_la-eti_const.o .libs/libguile_ncurses_la-eti_ /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libguile_ncurses_la-curs_spec.o: in function `gucu_LINES': curs_spec.c:(.text+0x253): undefined reference to `LINES' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libguile_ncurses_la-curs_spec.o: in function `gucu_COLS': curs_spec.c:(.text+0x263): undefined reference to `COLS' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j4-20220508-113753 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-12.1.0 * clang/llvm (if any): /usr/lib/llvm/14 14.0.3 Python 3.9.12 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby31 (with Rubygems) * Available Rust versions: [1] rust-1.60.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11] *) Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-11 The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 8527e37f7008bf8eb1db520839b2d64793e8950e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon May 9 10:03:10 2022 +0000 2022-05-09 10:03:10 UTC emerge -qpvO dev-scheme/guile-ncurses [ebuild N ] dev-scheme/guile-ncurses-3.0
Created attachment 777734 [details] emerge-info.txt
Created attachment 777737 [details] dev-scheme:guile-ncurses-3.0:20220509-112744.log
Created attachment 777740 [details] emerge-history.txt
Created attachment 777743 [details] environment
Created attachment 777746 [details] etc.portage.tar.bz2
Created attachment 777749 [details] logs.tar.bz2
Created attachment 777752 [details] temp.tar.bz2
On Gentoo both -lncursesw and -ltinfow are needed where the latter is missing here. Additionally GNU libtool silently ignores -no-undefined while slibtool does not.
I sent the patch to the Upstream ML. https://lists.gnu.org/archive/html/bug-guile-ncurses/2022-05/msg00000.html
Thanks a lot Orbea! This compiles & passes tests for me with patch in the PR. LGTM
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b4a8bfad4ca23a97239ff8d1bad011da038fab commit e9b4a8bfad4ca23a97239ff8d1bad011da038fab Author: orbea <orbea@riseup.net> AuthorDate: 2022-05-09 16:23:51 +0000 Commit: Maciej Barć <xgqt@gentoo.org> CommitDate: 2022-05-09 16:38:22 +0000 dev-scheme/guile-ncurses: Fix build with slibtool On Gentoo both -lncurses and -ltinfow are needed where the build misses the latter. Additionally GNU libtool silently ignores -no-undefined while slibtool does not. Bug: https://bugs.gentoo.org/843416 Signed-off-by: orbea <orbea@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/25404 Signed-off-by: Maciej Barć <xgqt@gentoo.org> .../files/guile-ncurses-3.0-slibtool.patch | 38 ++++++++++++++++++++++ dev-scheme/guile-ncurses/guile-ncurses-3.0.ebuild | 4 +++ 2 files changed, 42 insertions(+)