Created attachment 105214 [details] CMakeOutput.log I'm trying to package minuet for NixOS but the linking stage fails: [ 94%] Building CXX object src/app/CMakeFiles/minuet.dir/exercisecontroller.cpp.o [ 96%] Building CXX object src/app/CMakeFiles/minuet.dir/qrc_qml.cpp.o [ 96%] Built target minuetfluidsynthsoundcontroller [ 98%] Building CXX object src/app/CMakeFiles/minuet.dir/minuet_automoc.cpp.o [100%] Linking CXX executable minuet /nix/store/ykpcyj4f8mpjb0hjagrnnbxh0c7m3m3n-qtquickcontrols2-5.8.0/lib/libQt5QuickTemplates2.so.5:(*IND*+0x0): multiple definition of `_end' /nix/store/ykpcyj4f8mpjb0hjagrnnbxh0c7m3m3n-qtquickcontrols2-5.8.0/lib/libQt5QuickTemplates2.so.5:(*IND*+0x0): multiple definition of `_edata' /nix/store/ykpcyj4f8mpjb0hjagrnnbxh0c7m3m3n-qtquickcontrols2-5.8.0/lib/libQt5QuickTemplates2.so.5:(*IND*+0x0): multiple definition of `__bss_start' collect2: error: ld returned 1 exit status make[2]: *** [src/app/CMakeFiles/minuet.dir/build.make:296: src/app/minuet] Error 1 make[1]: *** [CMakeFiles/Makefile2:1466: src/app/CMakeFiles/minuet.dir/all] Error 2 make: *** [Makefile:128: all] Error 2
I get similar error (just _bss_start) with Qt 5.9.2 on Gentoo.
Turns out it's not a minuet problem as such, but is caused by Qt being linked using the gold linker: https://github.com/NixOS/nixpkgs/pull/30305/files#diff-29285183ecf24ebb9256e396969e5c31
Created attachment 108532 [details] attachment-23099-0.html I'm not using gold though... On 24 October 2017 04:16:06 BST, Peter Hoeg <bugzilla_noreply@kde.org> wrote: >https://bugs.kde.org/show_bug.cgi?id=379272 > >--- Comment #2 from Peter Hoeg <peterhoeg@gmail.com> --- >Turns out it's not a minuet problem as such, but is caused by Qt being >linked >using the gold linker: >https://github.com/NixOS/nixpkgs/pull/30305/files#diff-29285183ecf24ebb9256e396969e5c31 > >-- >You are receiving this mail because: >You are on the CC list for the bug.
At least as of 20.12.2 and Qt 5.15.2 it's fine again.