Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 632626 - dev-tex/bibtexu-3.71_p20170524 - /usr/lib/libicui18n.so: undefined reference to `operator delete(void*, unsigned int)@CXXABI_1.3.9'
Summary: dev-tex/bibtexu-3.71_p20170524 - /usr/lib/libicui18n.so: undefined reference ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-01 11:00 UTC by russiangentooshnik
Modified: 2017-10-02 16:50 UTC (History)
1 user (show)

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


Attachments
build.log (dev-tex:bibtexu-3.71_p20170524:20170930-182216.log,19.07 KB, text/x-log)
2017-10-01 11:05 UTC, russiangentooshnik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description russiangentooshnik 2017-10-01 11:00:28 UTC
Compile-time error occurs. I recently upgraded from 4.9.4 versions of gcc to 5.4.0, and compiled with it's help several packages, but then I have rolled back to the previous one (simply "gcc-config <number_of_4.9.4> && emerge -1 libtool"), and I use it now to compile dev-tex/bibtexu-3.71_p20170524. Could it be that this is the cause of the failure, that it is not possible to switch between higher major version an lesser without errors?

---
The fragments of the build.log:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I/usr/lib  -DUNIX -DKPATHSEA -DSUPPORT_8BIT  -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -march=native -mmmx -msse -msse2 -msse3 -mssse3 -c -o bibtex8-utils.o `test -f 'utils.c' || echo './'`utils.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I/usr/lib  -DUNIX -DKPATHSEA -DU_DISABLE_RENAMING=1 -I/usr/include  -DUTF_8  -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -march=native -mmmx -msse -msse2 -msse3 -mssse3 -c -o bibtexu-bibtex-1.o `test -f 'bibtex-1.c' || echo './'`bibtex-1.c
utils.c: In function 'c8read_order':
utils.c:2355:17: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
                 fscanf (c8_cs_file, "^%x", &c);
                 ^
utils.c: In function 'c8read_uppercase':
utils.c:2507:13: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
             fscanf (c8_cs_file, "^%x", &c);

...

utils.c: In function 'c8read_lowercase':
utils.c:1998:13: warning: ignoring return value of 'fscanf', declared with attri
bute warn_unused_result [-Wunused-result]
             fscanf (c8_cs_file, "^%x", &c);
             ^
utils.c: In function 'c8read_lowupcase':
utils.c:2151:13: warning: ignoring return value of 'fscanf', declared with attri
bute warn_unused_result [-Wunused-result]
             fscanf (c8_cs_file, "^%x", &c);
             ^
libtool: link: i686-pc-linux-gnu-gcc -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -march=native -mmmx -msse -msse2 -msse3 -mssse3 -Wl,-O1 -Wl,--as-needed -o bibtex8 bibtex8-bibtex-1.o bibtex8-bibtex-2.o bibtex8-bibtex-3.o bibtex8-bibtex-4.o bibtex8-bibtex.o bibtex8-utils.o  -lkpathsea -lm
/bin/sh ./libtool  --tag=CXX   --mode=link i686-pc-linux-gnu-g++  -O2 -march=native -mmmx -msse -msse2 -msse3 -mssse3  -Wl,-O1 -Wl,--as-needed -o bibtexu bibtexu-bibtex-1.o bibtexu-bibtex-2.o bibtexu-bibtex-3.o bibtexu-bibtex-4.o bibtexu-bibtex.o bibtexu-utils.o -lkpathsea  -L/usr/lib  -licuio -licui18n -licuuc -licudata -lpthread -ldl -lm     -lm
libtool: link: i686-pc-linux-gnu-g++ -O2 -march=native -mmmx -msse -msse2 -msse3 -mssse3 -Wl,-O1 -Wl,--as-needed -o bibtexu bibtexu-bibtex-1.o bibtexu-bibtex-2.o bibtexu-bibtex-3.o bibtexu-bibtex-4.o bibtexu-bibtex.o bibtexu-utils.o  -lkpathsea -L/usr/lib -licuio -licui18n -licuuc -licudata -lpthread -ldl -lm
/usr/lib/libicui18n.so: undefined reference to `operator delete(void*, unsigned int)@CXXABI_1.3.9'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:756: bibtexu] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-tex/bibtexu-3.71_p20170524/work/texlive-20170524-source/texk/bibtex-x'


$ emerge --info '=dev-tex/bibtexu-3.71_p20170524::gentoo'
Portage 2.3.6 (python 2.7.12-final-0, hardened/linux/x86, gcc-4.9.4, glibc-2.23-r4, 4.8.17-hardened-r2 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.8.17-hardened-r2-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.3
KiB Mem:     1000516 total,     57516 free
KiB Swap:    8000000 total,   8000000 free
Timestamp of repository gentoo: Wed, 27 Sep 2017 00:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: webrsync
    sync-uri: http://gentoo.osuosl.org/
    priority: -1000

localrepo
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="@FREE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mmmx -msse -msse2 -msse3 -mssse3"
CHOST="i686-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="-O2 -march=native -mmmx -msse -msse2 -msse3 -mssse3"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=i686 -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-march=i686 -O2 -pipe"
GENTOO_MIRRORS="http:/gentoo.osuosl.com"
LANG="ru_RU.utf8"
LC_ALL="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
USE="X acl acpi alsa bash-completion berkdb bzip2 cli consolekit cracklib crypt cxx dbus dri gdbm gtk hardened iconv jpeg mmx mmxext modules ncurses nls nptl openmp pam pax_kernel pcre pic pie policykit readline seccomp session sse sse2 sse3 ssl ssp ssse3 startup-notification tcpd thunar truetype udev unicode urandom x86 xattr xtpax zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="ru en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 russiangentooshnik 2017-10-01 11:05:00 UTC
Created attachment 497296 [details]
build.log
Comment 2 Jonas Stein gentoo-dev 2017-10-02 16:50:20 UTC
dev-tex/bibtexu-3.71_p20170524 compiles fine here with gcc-5.4.0-r3 
please verify that your gcc and the corresponding libs are compiled properly.

see also 
https://wiki.gentoo.org/wiki/Upgrading_GCC

Please reopen, if you are sure I missed something.