ColinDuquesnoy / MellowPlayer

Moved to gitlab
https://gitlab.com/ColinDuquesnoy/MellowPlayer
GNU General Public License v2.0
234 stars 23 forks source link

Compilaton of mellowplayer 3.4.0 fails on Fedora 29 #261

Closed martinkg closed 6 years ago

martinkg commented 6 years ago

Description:

Compilaton of mellowplayer 3.4.0 fails on Fedora 29

Log Files

compilation error messages:

ERROR: /usr/bin/g++ -Wl,-m,elf_x86_64 -L/usr/lib64 -m64 -o /builddir/build/BUILD/MellowPlayer-3.4.0/build/default/MellowPlayer.bbfc31ce/MellowPlayer /builddir/build/BUILD/MellowPlayer-3.4.0/build/default/MellowPlayer.bbfc31ce/3a52ce780950d4d9/Program.cpp.o /builddir/build/BUILD/MellowPlayer-3.4.0/build/default/MellowPlayer.bbfc31ce/3a52ce780950d4d9/main.cpp.o /builddir/build/BUILD/MellowPlayer-3.4.0/build/default/MellowPlayer.bbfc31ce/3a52ce780950d4d9/qrc_languages.cpp.o /builddir/build/BUILD/MellowPlayer-3.4.0/build/default/MellowPlayer.bbfc31ce/3a52ce780950d4d9/qrc_qml.cpp.o /builddir/build/BUILD/MellowPlayer-3.4.0/build/default/MellowPlayer.bbfc31ce/73489b871e127538/moc_Program.cpp.o /usr/lib64/libQt5WebEngineWidgets.so.5.11.1 /usr/lib64/libQt5QuickControls2.so.5.11.1 /usr/lib64/libQt5PrintSupport.so.5.11.1 /builddir/build/BUILD/MellowPlayer-3.4.0/build/default/MellowPlayer.Presentation.61a70051/libMellowPlayer.Presentation.a /usr/lib64/libQt5WebEngine.so.5.11.1 /usr/lib64/libQt5WebEngineCore.so.5.11.1 /usr/lib64/libQt5WebChannel.so.5.11.1 /usr/lib64/libQt5Quick.so.5.11.1 /usr/lib64/libQt5Positioning.so.5.11.1 /usr/lib64/libQt5DBus.so.5.11.1 /builddir/build/BUILD/MellowPlayer-3.4.0/build/default/qxtglobalshortcut.a43e450e/libqxtglobalshortcut.a /builddir/build/BUILD/MellowPlayer-3.4.0/build/default/MellowPlayer.Infrastructure.cfe7a6c0/libMellowPlayer.Infrastructure.a /usr/lib64/libQt5Widgets.so.5.11.1 /usr/lib64/libQt5Sql.so.5.11.1 /usr/lib64/libQt5Concurrent.so.5.11.1 /builddir/build/BUILD/MellowPlayer-3.4.0/build/default/MellowPlayer.Domain.ac16fe46/libMellowPlayer.Domain.a /usr/lib64/libQt5Qml.so.5.11.1 /usr/lib64/libQt5Network.so.5.11.1 /usr/lib64/libQt5Gui.so.5.11.1 /usr/lib64/libQt5Core.so.5.11.1 -lX11 -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
ERROR: /usr/bin/ld: //usr/lib64/libQt5QuickTemplates2.so.5:(*IND*+0x0): multiple definition of `_end'
/usr/bin/ld: //usr/lib64/libQt5QuickTemplates2.so.5:(*IND*+0x0): multiple definition of `_edata'
/usr/bin/ld: //usr/lib64/libQt5QuickTemplates2.so.5:(*IND*+0x0): multiple definition of `__bss_start'
collect2: error: ld returned 1 exit status
ERROR: Process failed with exit code 1.
The following products could not be built for configuration default:
MellowPlayer
error: Bad exit status from /var/tmp/rpm-tmp.ytIv3n (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.ytIv3n (%build)
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 89, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 582, in do
    raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
mockbuild.exception.Error: Command failed. See logs for output.

Additional Information:

ColinDuquesnoy commented 6 years ago

Gold linker related issue. Should be fixed if you append modules.cpp.linkerFlags:-fuse-ld=gold to the qbs build command.

martinkg commented 6 years ago

Thanks for the solution.