Summary: | media-libs/libggi-2.2.2-r1 input.c:(.text+0x87): undefined reference to `stdscr' when using slibtool | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alessandro Barbieri <lssndrbarbieri> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, ionen, orbea, sam |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/25452 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 457530, 765709 | ||
Attachments: | libggi-2.2.2-r1:20210312-093442.log |
Description
Alessandro Barbieri
2021-03-12 09:44:34 UTC
Created attachment 690939 [details]
libggi-2.2.2-r1:20210312-093442.log
buildlog
I guess slibtool may expose more -ltinfo issues (MAKEFLAGS='LIBTOOL=slibtool LIBS=-ltinfo' worked) Its the -no-undefined. On gentoo both -lncurses and -ltinfo are needed, but since GNU libtool silently ignores -no-undefined it somehow works. Slibtool of course will respect this flag explicitly causing the build failure. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0672a2622df370d77641ed5acc972a07b901e8b3 commit 0672a2622df370d77641ed5acc972a07b901e8b3 Author: orbea <orbea@riseup.net> AuthorDate: 2022-05-12 02:56:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-13 20:16:19 +0000 media-libs/libggi: Fix build with slibtool On Gentoo both -ltinfo and -lncurses are needed when only the latter is used in the build. Also remove hardcoded instances of libtool and remove acinclude.m4. Bug: https://bugs.gentoo.org/775584 Upstream-PR: https://sourceforge.net/p/ggi/patches/7/ Upstream-PR: https://sourceforge.net/p/ggi/patches/8/ Signed-off-by: orbea <orbea@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/25452 Signed-off-by: Sam James <sam@gentoo.org> .../libggi/files/libggi-2.2.2-slibtool.patch | 65 ++++++++++++++++++++++ media-libs/libggi/libggi-2.2.2-r1.ebuild | 16 ++++++ 2 files changed, 81 insertions(+) |