Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652674 - media-libs/fontconfig-2.13.0-r2: undefined reference to `libintl_dgettext' [...] on amd64-fbsd
Summary: media-libs/fontconfig-2.13.0-r2: undefined reference to `libintl_dgettext' [....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 652190
  Show dependency tree
 
Reported: 2018-04-06 12:06 UTC by Michał Górny
Modified: 2018-04-10 23:33 UTC (History)
0 users

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


Attachments
media-libs:fontconfig-2.13.0-r2:20180406-094242.log (media-libs:fontconfig-2.13.0-r2:20180406-094242.log,70.69 KB, text/plain)
2018-04-06 12:06 UTC, Michał Górny
Details
e-info.txt (e-info.txt,4.40 KB, text/plain)
2018-04-06 12:08 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-06 12:06:27 UTC
Created attachment 526688 [details]
media-libs:fontconfig-2.13.0-r2:20180406-094242.log

libtool: link: x86_64-gentoo-freebsd11.1-gcc -O2 -pipe -march=native -D_THREAD_SAFE -pthread -o .libs/fc-cache fc-cache.o  ../src/.libs/libfontconfig.so -lfreetype -lz -lexpat -luuid -pthread
fc-cache.o: In function `usage':
fc-cache.c:(.text+0x25): undefined reference to `libintl_dgettext'
fc-cache.c:(.text+0x44): undefined reference to `libintl_dgettext'
fc-cache.c:(.text+0x6d): undefined reference to `libintl_dgettext'
fc-cache.c:(.text+0x89): undefined reference to `libintl_dgettext'
fc-cache.c:(.text+0xa5): undefined reference to `libintl_dgettext'
fc-cache.o:fc-cache.c:(.text+0xc1): more undefined references to `libintl_dgettext' follow
/usr/lib/gcc/x86_64-gentoo-freebsd11.1/7.3.0/../../../libuuid.so: undefined reference to `libintl_gettext'
collect2: error: ld returned 1 exit status
gmake[2]: *** [Makefile:514: fc-cache] Error 1
gmake[2]: Leaving directory '/var/tmp/portage/media-libs/fontconfig-2.13.0-r2/work/fontconfig-2.13.0-abi_x86_64.amd64_fbsd/fc-cache'
gmake[1]: *** [Makefile:599: all-recursive] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/media-libs/fontconfig-2.13.0-r2/work/fontconfig-2.13.0-abi_x86_64.amd64_fbsd'
gmake: *** [Makefile:483: all] Error 2


Apparently libuuid.so from util-linux is part of the problem but fontconfig itself also lacks -lintl.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-06 12:08:29 UTC
Created attachment 526690 [details]
e-info.txt
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-06 16:50:11 UTC
It seems to be fixed in upstream git:

https://cgit.freedesktop.org/fontconfig/commit/?id=07bd14c5c7fed103020dc9b630d6a254861ada07
Comment 3 Arfrever Frehtes Taifersar Arahesis 2018-04-10 19:38:46 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92895a39a8deb689e5e8d663dddcb257d97a7bb7
"""
commit 92895a39a8deb689e5e8d663dddcb257d97a7bb7
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: Tue Apr 10 21:13:10 2018 +0200
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: Tue Apr 10 21:29:11 2018 +0200

    sys-apps/util-linux: Rev bump to add missing -lintl
    
    Bugs: https://bugs.gentoo.org/652674
    Package-Manager: Portage-2.3.28, Repoman-2.3.9
"""
Comment 4 Larry the Git Cow gentoo-dev 2018-04-10 23:33:27 UTC
The bug has been closed via the following commit(s):

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

commit ba605ebba49476c6147af7abe8cbd5c9668ed20c
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-04-10 23:33:05 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-04-10 23:33:20 +0000

    media-libs/fontconfig: Rev bump to add missing -lintl
    
    Closes: https://bugs.gentoo.org/652674
    Package-Manager: Portage-2.3.28, Repoman-2.3.9

 .../fontconfig-2.13.0-add-missing-lintl.patch      | 34 ++++++++++++++++++++++
 ....13.0-r2.ebuild => fontconfig-2.13.0-r3.ebuild} |  3 +-
 2 files changed, 36 insertions(+), 1 deletion(-)