Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692078 - dev-qt/qtwayland-5.12.4-r1 with dev-qt/qtgui built with LTO - lto1: fatal error: bytecode stream in file ‘/usr/lib64/libQt5FontDatabaseSupport.a’ generated with LTO version 8.0 instead of the expected 8.1
Summary: dev-qt/qtwayland-5.12.4-r1 with dev-qt/qtgui built with LTO - lto1: fatal err...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-13 16:05 UTC by Mike Lothian
Modified: 2019-08-16 10:21 UTC (History)
0 users

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


Attachments
build log (qtwayland-build.log,587.60 KB, text/plain)
2019-08-13 16:05 UTC, Mike Lothian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lothian 2019-08-13 16:05:12 UTC
Created attachment 586722 [details]
build log

I'm rebuilding my system with GCC 9.2 (emerge -evD world -j5)

lto1: fatal error: bytecode stream in file ‘/usr/lib64/libQt5FontDatabaseSupport.a’ generated with LTO version 8.0 instead of the expected 8.1
compilation terminated.
lto-wrapper: fatal error: x86_64-pc-linux-gnu-g++ returned 1 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:337: ../../lib/libQt5WaylandClient.so.5.12.4] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwayland-5.12.4-r1/work/qtwayland-everywhere-src-5.12.4/src/client'
make[1]: *** [Makefile:76: sub-client-make_first] Error 2
make[1]: *** Waiting for unfinished jobs....

Despite qtgui being a DEPEND for qtwayland, qtwayland was built first (perhaps because it was already installed)

Is this a portage bug?
Comment 1 Mike Lothian 2019-08-13 16:06:23 UTC
Compiling qtgui then qtwayland sorted things for me