x86_64-pc-linux-gnu-g++ -Wl,--hash-style=gnu -Wl,-rpath-link,/usr/lib64 -o orion main.o channelmanager.o channel.o fileutils.o networkmanager.o game.o jsonparser.o channellistmodel.o gamelistmodel.o runguard.o vod.o vodlistmodel.o vodmanager.o ircchat.o imageprovider.o badgeimageprovider.o badgecontainer.o viewersmodel.o settingsmanager.o httpserver.o power.o notificationmanager.o mpvrenderer.o mpvobject.o notificationsender.o qrc_qml.o moc_channel.o moc_channelmanager.o moc_networkmanager.o moc_game.o moc_channellistmodel.o moc_gamelistmodel.o moc_runguard.o moc_vodlistmodel.o moc_vodmanager.o moc_ircchat.o moc_imageprovider.o moc_httpserver.o moc_badgeimageprovider.o moc_badgecontainer.o moc_viewersmodel.o moc_settingsmanager.o moc_power.o moc_notificationmanager.o moc_mpvobject.o moc_notificationsender.o -lmpv -lQt5Widgets -lQt5QuickControls2 -lQt5Quick -lQt5Gui -lQt5Qml -lQt5Network -lQt5DBus -lQt5Core -lGL -lpthread /usr/lib64/libQt5QuickTemplates2.so.5:(*IND*+0x0): multiple definition of `_end' collect2: error: ld returned 1 exit status make: *** [Makefile:421: orion] Error 1 * ERROR: media-video/orion-1.6.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-video/orion-1.6.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/orion-1.6.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-video/orion-1.6.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/orion-1.6.1/temp/environment'. * Working directory: '/var/tmp/portage/media-video/orion-1.6.1/work/orion-1.6.1' * S: '/var/tmp/portage/media-video/orion-1.6.1/work/orion-1.6.1' * Messages for package media-video/orion-1.6.1: * ERROR: media-video/orion-1.6.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-video/orion-1.6.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/orion-1.6.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-video/orion-1.6.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/orion-1.6.1/temp/environment'. * Working directory: '/var/tmp/portage/media-video/orion-1.6.1/work/orion-1.6.1' * S: '/var/tmp/portage/media-video/orion-1.6.1/work/orion-1.6.1'
Created attachment 498460 [details] emerge_info
> /usr/lib64/libQt5QuickTemplates2.so.5:(*IND*+0x0): multiple definition of `_end' At first glance it does not look like specific to orion, CC-ing qt for opinion: this does look like http://gitweb.dragonflybsd.org/dports.git/blob/ecd6de08a3cbb5918b763e812d5324a7cbf8a4c0:/UPDATING#l402 (though I did not hit the problem with qt5.9 and gcc 6.4): gold linker from binutils 2.28 may produce duplicate library symbols, which makes shared libraries created with it not usable with conventional ld linker. This affects Qt, as qt5-qmake will detect gold and use it to build Qt libraries. Broken libQt5Core will be produced and ports which depend on it will then fail to link with the following errors: ...lib/libQt5Core.so:(.dynamic+0x27ac8): multiple definition of `__bss_start at Qt_5' ...lib/libQt5Core.so:(.dynamic+0x27ac8): first defined here ...lib/libQt5Core.so:(.dynamic+0x27ac8): multiple definition of `_edata at Qt_5' ...lib/libQt5Core.so:(.dynamic+0x27ac8): first defined here ...lib/libQt5Core.so:(.dynamic+0x2b2d0): multiple definition of `_end at Qt_5'
This may be a duplicate of bug #623566.
(In reply to Michael Palimaka (kensington) from comment #3) > This may be a duplicate of bug #623566. Looks quite similar indeed, @Michal can you test rebuilding qt5 (probably core from the log), with newer binutils? From your emerge info it should be a working version
Marking as duplicate, don't hesitate to reopen if it is a separate issue (but it looks like the same one from the logs) *** This bug has been marked as a duplicate of bug 623566 ***