Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645882 - app-misc/gcal-4.1 : gcal.c:(.text+<snip>): undefined reference to u8_strlen
Summary: app-misc/gcal-4.1 : gcal.c:(.text+<snip>): undefined reference to u8_strlen
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools Herd Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-27 08:41 UTC by Toralf Förster
Modified: 2018-01-30 14:14 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.06 KB, text/plain)
2018-01-27 08:41 UTC, Toralf Förster
Details
app-misc:gcal-4.1:20180126-231032.log (app-misc:gcal-4.1:20180126-231032.log,121.94 KB, text/plain)
2018-01-27 08:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,128.41 KB, text/plain)
2018-01-27 08:41 UTC, Toralf Förster
Details
environment (environment,87.59 KB, text/plain)
2018-01-27 08:41 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.89 KB, application/x-bzip)
2018-01-27 08:41 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,33.57 KB, application/x-bzip)
2018-01-27 08:41 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,34.93 KB, application/x-bzip)
2018-01-27 08:41 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 2018-01-27 08:41:29 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2018-01-27 08:41:32 UTC
Created attachment 516878 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-01-27 08:41:35 UTC
Created attachment 516880 [details]
app-misc:gcal-4.1:20180126-231032.log
Comment 3 Toralf Förster gentoo-dev 2018-01-27 08:41:38 UTC
Created attachment 516882 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-01-27 08:41:41 UTC
Created attachment 516884 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-01-27 08:41:44 UTC
Created attachment 516886 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-01-27 08:41:47 UTC
Created attachment 516888 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-01-27 08:41:50 UTC
Created attachment 516890 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2018-01-30 08:12:47 UTC
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(-)}
Comment 9 Ulrich Müller gentoo-dev 2018-01-30 08:16:34 UTC
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.
Comment 10 Patrice Clement gentoo-dev 2018-01-30 08:54:01 UTC
Thanks a lot Ulrich!