Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674382 - kde-frameworks/kcoreaddons-5.52.0-r1: error: undefined reference to 'qt_version_tag'
Summary: kde-frameworks/kcoreaddons-5.52.0-r1: error: undefined reference to 'qt_versi...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 668644 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-01-03 03:50 UTC by dE
Modified: 2019-01-18 12:42 UTC (History)
3 users (show)

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


Attachments
Failed build log for kde-frameworks/kcoreaddons (build.log,147.87 KB, text/x-log)
2019-01-03 03:50 UTC, dE
Details
(dev-qt/qtscript)Doesnt work with optimisations and ccache disabled. (build.log.xz,21.82 KB, application/x-xz)
2019-01-06 12:49 UTC, dE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dE 2019-01-03 03:50:06 UTC
Created attachment 559576 [details]
Failed build log for kde-frameworks/kcoreaddons

QT and depending fail to compile with this error on my system. Adding -DQT_NO_VERSION_TAGGING to the CFLAGS resolves the issue.

Portage 2.3.53 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop/plasma/systemd, gcc-8.2.0, glibc-2.27-r6, 4.9.68-gentoo x86_64)
=================================================================
System uname: Linux-4.9.68-gentoo-x86_64-Intel-R-_Core-TM-_i3-2120_CPU_@_3.30GHz-with-gentoo-2.6
KiB Mem:    16327348 total,   7730056 free
KiB Swap:    5242876 total,   5242876 free
Timestamp of repository gentoo: Wed, 02 Jan 2019 00:45:01 +0000
Head commit of repository gentoo: fe87ccdf589165221731be9d02fa9a1a576356ed
sh bash 4.4_p12
ld GNU gold (Gentoo 2.29.1 p3 2.29.1) 1.14
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo, 2.30-r4::gentoo
sys-devel/gcc:            7.2.0::gentoo, 7.3.0-r3::gentoo, 8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

mysql
    location: /var/lib/layman/mysql
    masters: gentoo
    priority: 50

posativ
    location: /var/lib/layman/posativ
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-loop-distribution -O3 -pipe -flto=4 -fuse-linker-plugin -ffat-lto-objects"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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"
CXXFLAGS="-march=native -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-loop-distribution -O3 -pipe -flto=4 -fuse-linker-plugin -ffat-lto-objects"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=n --complete-graph --binpkg-respect-use=y --binpkg-changed-deps=n --changed-deps=n"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance candy ccache 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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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="/tmp"
USE="0libedit X a52 a53 aac aalib acc acpi adns aio alsa amd64 amr atm audiofile bash-completion branding bzip2 c++0x cdda cdr cli cracklib css custom-cflags custom-optimization dbx declarative dga dirac dri dri3 dts dv dvd dvdr emboss encode enscript exif faad ffmpeg firefox flac fortran gdu gif glamor glut gmp gsm gstreamer gzip http2 iconv imlib ipc jemalloc jit jpeg jpeg2k kde ladspa lame libnotify libsamplerate libtirpc libwww lzma lzo mad matroska matrox mikmod mime minimal mmap mmx mng mozilla mp3 mp4 mpeg mplayer mpris mudflap multilib musepack networkmanager nntp nocd nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp optimization orc osc pam pango pdf pgo phonon pie plasma png policykit posix ppds pppd qml qt5 quicktime raw readline schroedinger sharedmem shorten smp sndfile sockets socks5 speex spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssse3 startup-notification strong-optimization svg symlink sysfs systemd taglib tcmalloc theora threads tiff toolame truetype twolame udev udisks unicode unixd upower usb vaapi vcd vhosts vorbis wavpack widgets win32codecs wmf wxwidgets x264 x265 xcb xcomposite xine xinerama xml xorg xpm xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="unixd authn_core authz_core authz_host access_compat alias auth_basic authn_file log_config mime log_config proxy proxy_http rewrite proxy_balancer lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat slotmem_shm env cache dir cgid headers proxy_connect" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon plan sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="ssse3 sse3 sse4_1 sse4_2 mmx sse avx mmx sse2" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport" NGINX_MODULES_HTTP="access fastcgi gzip gzip_static limit_req rewrite upstream_check" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andreas Sturmlechner gentoo-dev 2019-01-03 10:18:21 UTC
$ equery l dev-qt/*
Comment 2 dE 2019-01-04 05:53:08 UTC
[I--] [??] dev-qt/designer-4.8.7:4
[IP-] [  ] dev-qt/designer-5.11.1:5/5.11
[IP-] [  ] dev-qt/linguist-tools-5.11.1:5/5.11
[IP-] [  ] dev-qt/qdbus-5.11.1:5/5.11
[I--] [??] dev-qt/qt3support-4.8.7:4
[IP-] [  ] dev-qt/qtchooser-0_p20170803:0
[IP-] [  ] dev-qt/qtconcurrent-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtcore-5.11.1-r1:5/5.11
[I--] [??] dev-qt/qtdbus-4.8.7:4
[IP-] [  ] dev-qt/qtdbus-5.11.1:5/5.11
[I--] [??] dev-qt/qtdeclarative-4.8.7:4
[IP-] [  ] dev-qt/qtdeclarative-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtgraphicaleffects-5.11.1:5/5.11
[I--] [??] dev-qt/qtgui-4.8.7:4
[IP-] [  ] dev-qt/qtgui-5.11.1:5/5.11
[I--] [??] dev-qt/qtimageformats-5.9.6:5/5.9
[IP-] [  ] dev-qt/qtlockedfile-2.4.1_p20171024:0
[IP-] [  ] dev-qt/qtmultimedia-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtnetwork-5.11.1:5/5.11
[I--] [??] dev-qt/qtopengl-4.8.7:4
[IP-] [  ] dev-qt/qtopengl-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtpaths-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtprintsupport-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtquickcontrols-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtquickcontrols2-5.11.1:5/5.11
[I--] [??] dev-qt/qtscript-4.8.7:4
[IP-] [  ] dev-qt/qtscript-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtsensors-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtsingleapplication-2.6.1_p20171024:0
[I--] [??] dev-qt/qtsql-4.8.7-r1:4
[IP-] [  ] dev-qt/qtsql-5.11.1-r1:5/5.11.1
[I--] [??] dev-qt/qtsvg-4.8.7:4
[IP-] [  ] dev-qt/qtsvg-5.11.1:5/5.11
[I--] [??] dev-qt/qttest-4.8.7:4
[IP-] [  ] dev-qt/qttest-5.11.1:5/5.11
[I--] [??] dev-qt/qttranslations-4.8.7:4
[IP-] [  ] dev-qt/qtvirtualkeyboard-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtwayland-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtwebchannel-5.11.1:5/5.11
[I--] [??] dev-qt/qtwebkit-4.8.7:4
[I--] [??] dev-qt/qtwebkit-5.9.1:5/5.9
[IP-] [  ] dev-qt/qtwidgets-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtx11extras-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtxml-5.11.1:5/5.11
[I--] [??] dev-qt/qtxmlpatterns-4.8.7:4
[IP-] [  ] dev-qt/qtxmlpatterns-5.11.1:5/5.11
Comment 3 Andreas Sturmlechner gentoo-dev 2019-01-04 09:19:54 UTC
Probably lto related. Qt packages list looks sound, except for the outdated dev-qt/qtimageformats and qtwebkit versions.
Comment 4 Andreas Sturmlechner gentoo-dev 2019-01-04 09:21:04 UTC
Try with optimisations and ccache disabled.
Comment 5 Andreas Sturmlechner gentoo-dev 2019-01-04 10:26:45 UTC
Reassigning though, as Qt packages fail to build => then it is a Qt related (local) problem most of all.
Comment 6 dE 2019-01-06 06:33:59 UTC
(In reply to Andreas Sturmlechner from comment #4)
> Try with optimisations and ccache disabled.

Ok.
Comment 7 dE 2019-01-06 12:49:21 UTC
Created attachment 560086 [details]
(dev-qt/qtscript)Doesnt work with optimisations and ccache disabled.
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2019-01-06 18:44:01 UTC
Build Qt without LTO
Comment 9 Larry the Git Cow gentoo-dev 2019-01-06 20:41:52 UTC
The bug has been referenced in the following commit(s):

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

commit 2291f04c575fa18c544f11e55a7b45dc2b82cf82
Author:     Davide Pesavento <pesa@gentoo.org>
AuthorDate: 2019-01-06 20:41:13 +0000
Commit:     Davide Pesavento <pesa@gentoo.org>
CommitDate: 2019-01-06 20:41:42 +0000

    dev-qt/qtcore: fix missing qt_version_tag symbol w/ LTO
    
    Bug: https://bugs.gentoo.org/674382
    Package-Manager: Portage-2.3.53, Repoman-2.3.12
    Signed-off-by: Davide Pesavento <pesa@gentoo.org>

 dev-qt/qtcore/qtcore-5.11.3-r2.ebuild | 83 +++++++++++++++++++++++++++++++++++
 1 file changed, 83 insertions(+)
Comment 10 Davide Pesavento (RETIRED) gentoo-dev 2019-01-06 20:44:09 UTC
Please try with qtcore-5.11.3-r2, it should work with LTO *enabled*
Comment 11 Davide Pesavento (RETIRED) gentoo-dev 2019-01-06 20:45:09 UTC
*** Bug 668644 has been marked as a duplicate of this bug. ***