x86_64-pc-linux-gnu-gcc -I../lib -I. -I.. -D_GNU_SOURCE -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o gcal gcal.o file-io.o hd-astro.o hd-data.o hd-data1.o hd-use.o help.o print.o tty.o utils.o rc-astro.o rc-check.o rc-insert.o rc-use.o rc-utils.o hd-data2.o hd-data3.o hd-data4.o hd-data5.o ../lib/libgnu.a -lm -lncurses gcal.o: In function `eval_longopt': gcal.c:(.text+0x4c9): undefined reference to `u8_strlen' gcal.c:(.text+0x4f0): undefined reference to `u8_strlen' gcal.c:(.text+0x608): undefined reference to `u8_strlen' gcal.c:(.text+0x659): undefined reference to `u8_strlen' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-gnome_libressl_20180123-193402 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.2.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) [2] ruby23 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv app-misc/gcal [ebuild N ] app-misc/gcal-3.6.3 USE="ncurses nls unicode"
Created attachment 516878 [details] emerge-info.txt
Created attachment 516880 [details] app-misc:gcal-4.1:20180126-231032.log
Created attachment 516882 [details] emerge-history.txt
Created attachment 516884 [details] environment
Created attachment 516886 [details] etc.portage.tbz2
Created attachment 516888 [details] logs.tbz2
Created attachment 516890 [details] temp.tbz2
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5d38c1604603e14b166b053bed91888dc7c67f2 commit c5d38c1604603e14b166b053bed91888dc7c67f2 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2018-01-30 07:57:21 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2018-01-30 08:12:14 +0000 app-misc/gcal: Add missing dependency on dev-libs/libunistring. Bug: https://bugs.gentoo.org/645882 Package-Manager: Portage-2.3.20, Repoman-2.3.6 app-misc/gcal/gcal-4.1.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)}
Adding the following line to src_configure (plus a dependency on libunistring) makes it compile: use unicode && append-libs -lunistring However, this is a workaround only for a problem in the upstream package. So this should be reported upstream.
Thanks a lot Ulrich!