Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906669 - sci-visualization/gr-0.72.4 compile faild - ld error: libGR.so: undefined reference to `gks_ft_get_kerning'
Summary: sci-visualization/gr-0.72.4 compile faild - ld error: libGR.so: undefined ref...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-18 13:29 UTC by xiaoming
Modified: 2024-04-24 04:36 UTC (History)
0 users

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


Attachments
build.log (gr-build.log,158.04 KB, text/x-log)
2023-05-18 13:29 UTC, xiaoming
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xiaoming 2023-05-18 13:29:45 UTC
Created attachment 861893 [details]
build.log

emerge --info '=sci-visualization/gr-0.72.4::gentoo'
Portage 3.0.47 (python 3.11.3-final-0, default/linux/amd64/17.1/no-multilib, gcc-13, glibc-2.37-r3, 6.3.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.3.2-gentoo-x86_64-13th_Gen_Intel-R-_Core-TM-_i9-13900K-with-glibc2.37
KiB Mem:   131687072 total, 112544296 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 18 May 2023 06:31:55 +0000
Head commit of repository gentoo: 5bf0cb568735d51373270543d69c184ae7e7ac95

Timestamp of repository gentoo-zh: Wed, 17 May 2023 22:48:50 +0000
Head commit of repository gentoo-zh: a072fb73839c5c258b26f9ec90bd85dc613d69aa

Timestamp of repository guru: Wed, 17 May 2023 22:48:55 +0000
Head commit of repository guru: 0a0a7537e65c9fd1a93075468d4d7de7a8d46887

sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-lang/perl:             5.36.1-r1::gentoo
dev-lang/python:           3.11.3::gentoo, 3.12.0_alpha7::gentoo
dev-lang/rust:             1.69.0-r1::gentoo
dev-util/cmake:            3.26.3::gentoo
dev-util/meson:            1.1.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.47.1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.4::gentoo
sys-devel/gcc:             13.1.0-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.4::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://mirrors.tuna.tsinghua.edu.cn/git/gentoo-portage.git
    priority: -1000
    volatile: False

gentoo-zh
    location: /var/db/repos/gentoo-zh
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

xiaoming
    location: /var/db/repos/xiaoming
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--job 5 --load-average 31.8"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirrors.tuna.tsinghua.edu.cn/gentoo"
LANG="C.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="acl alsa amd64 bash-completion btrfs bzip2 cjk cli crypt dbus dri elogind eselect-ldso fortran gdbm iconv ipv6 libnotify libtirpc man ncurses nls nptl openmp pam pcre policykit readline seccomp split-usr ssl test-rust unicode vaapi wayland xattr zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="zh-CN" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

emerge -pqv '=sci-visualization/gr-0.72.4::gentoo'
[ebuild  N    ] sci-visualization/gr-0.72.4  USE="-agg -cairo -ffmpeg -postscript -tiff -truetype"
Comment 1 xiaoming 2023-05-18 15:12:16 UTC
After view some source code, it seems freetype cause the error. After add USE truetype, the compile success.
I find a related issue in the gr repository: https://github.com/sciapp/gr/issues/174
Comment 2 xiaoming 2023-06-03 07:28:07 UTC
It's fixed by upstream in [commit ee77e3](https://github.com/sciapp/gr/commit/ee77e3168c696e55e544aba43b33dd992992139f). Just wait for the next release.
Comment 3 Larry the Git Cow gentoo-dev 2024-04-24 04:36:53 UTC
The bug has been closed via the following commit(s):

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

commit 4b0742331aead019f099b405c17ee00e6f7bf955
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-04-24 04:34:54 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-04-24 04:36:20 +0000

    sci-visualization/gr: add 0.73.3
    
    Closes: https://bugs.gentoo.org/906669
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sci-visualization/gr/Manifest         |  1 +
 sci-visualization/gr/gr-0.73.3.ebuild | 85 +++++++++++++++++++++++++++++++++++
 sci-visualization/gr/metadata.xml     |  3 ++
 3 files changed, 89 insertions(+)