Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792474 - media-libs/libuninameslist-20200413-r2 - nameslist.c:(.text+<snip>): undefined reference to uniNamesList_nameFR
Summary: media-libs/libuninameslist-20200413-r2 - nameslist.c:(.text+<snip>): undefine...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-05-27 11:58 UTC by Toralf Förster
Modified: 2022-05-16 23:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.98 KB, text/plain)
2021-05-27 11:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,386.56 KB, text/plain)
2021-05-27 11:58 UTC, Toralf Förster
Details
environment (environment,68.45 KB, text/plain)
2021-05-27 11:58 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,26.15 KB, application/x-bzip)
2021-05-27 11:58 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.49 KB, application/x-bzip)
2021-05-27 11:58 UTC, Toralf Förster
Details
media-libs:libuninameslist-20200413-r2:20210527-113001.log (media-libs:libuninameslist-20200413-r2:20210527-113001.log,30.91 KB, text/plain)
2021-05-27 11:58 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.28 KB, application/x-bzip)
2021-05-27 11:58 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-05-27 11:58:08 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/nameslist.o: in function `uniNamesList_nameAlt':
nameslist.c:(.text+0x36a): undefined reference to `uniNamesList_nameFR'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/nameslist.o: in function `uniNamesList_annotAlt':
nameslist.c:(.text+0x3ca): undefined reference to `uniNamesList_annotFR'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/nameslist.o: in function `uniNamesList_nameBoth':
nameslist.c:(.text+0x454): undefined reference to `uniNamesList_nameFR'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j2-20210521-123005

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu May 27 10:51:48 UTC 2021

emerge -qpvO media-libs/libuninameslist
[ebuild     U ] media-libs/libuninameslist-20200413-r2 [20091231-r1]
Comment 1 Toralf Förster gentoo-dev 2021-05-27 11:58:10 UTC
Created attachment 711708 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-27 11:58:11 UTC
Created attachment 711711 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-27 11:58:13 UTC
Created attachment 711714 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-27 11:58:14 UTC
Created attachment 711717 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-27 11:58:15 UTC
Created attachment 711720 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-27 11:58:17 UTC
Created attachment 711723 [details]
media-libs:libuninameslist-20200413-r2:20210527-113001.log
Comment 7 Toralf Förster gentoo-dev 2021-05-27 11:58:18 UTC
Created attachment 711726 [details]
temp.tar.bz2
Comment 8 Ionen Wolkens gentoo-dev 2021-05-28 05:20:29 UTC
Looks like another case of the system's library being used with slibtool

emerge =media-libs/libuninameslist-20091231-r1
MAKEFLAGS="LIBTOOL=rlibtool" emerge =media-libs/libuninameslist-20200413-r2
Comment 9 orbea 2022-05-14 05:22:22 UTC
Upstream PR.

https://github.com/fontforge/libuninameslist/pull/27
Comment 10 Larry the Git Cow gentoo-dev 2022-05-16 23:31:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c73aabb310313383d209f1d0ec8296fc77db8549

commit c73aabb310313383d209f1d0ec8296fc77db8549
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-05-16 20:29:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-16 23:30:29 +0000

    media-libs/libuninameslist: Add 20211114
    
    The patch fixes undefined references with slibtool when libuninameslist
    is not already installed where it links with the installed package
    rather than the newly compiled library.
    
    The other bug was already fixed in upstream before the latest release.
    
    Bug: https://bugs.gentoo.org/792474
    Upstream-PR: https://github.com/fontforge/libuninameslist/pull/27
    Upstream-Commit: https://github.com/fontforge/libuninameslist/commit/77f4eea51b87c2e7a36cd3e1e64b424cdd5f7ad8
    
    Bug: https://bugs.gentoo.org/779670
    Upstream-PR: https://github.com/fontforge/libuninameslist/pull/24
    Upstream-Commit: https://github.com/fontforge/libuninameslist/commit/9192c8dfee8c9e437e841962fec78cba1093d0d6
    
    Signed-off-by: orbea <orbea@riseup.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/libuninameslist/Manifest                |  1 +
 .../files/libuninameslist-20211114-slibtool.patch  | 64 ++++++++++++++++++++++
 .../libuninameslist-20211114.ebuild                | 32 +++++++++++
 3 files changed, 97 insertions(+)