https://bugs.kde.org/show_bug.cgi?id=397653

            Bug ID: 397653
           Summary: Linking dolphin fails on NixOS
           Product: dolphin
           Version: 18.08.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: bugs.kde....@kchr.de
                CC: elvis.angelac...@kde.org
  Target Milestone: ---

Created attachment 114515
  --> https://bugs.kde.org/attachment.cgi?id=114515&action=edit
Linker error on NixOS

Hi,
while updating the packages on NixOS for kde applications 18.08, I encountered
a problem with linking dolphin (see attached log for full build log):

[ 99%] Building CXX object src/CMakeFiles/dolphin.dir/dolphin_dummy.cpp.o
[100%] Building CXX object
src/CMakeFiles/dolphin.dir/dolphin_autogen/mocs_compilation.cpp.o
[100%] Linking CXX executable ../bin/dolphin
/nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/ld: warning:
libdolphinprivate.so.5, needed by ../bin/libkdeinit5_dolphin.so, not found (try
using -rpath or -rpath-link)
/nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/ld: warning:
libdolphinvcs.so.5, needed by ../bin/libkdeinit5_dolphin.so, not found (try
using -rpath or -rpath-link)
../bin/libkdeinit5_dolphin.so: undefined reference to
`KItemListView::dragMoveEvent(QGraphicsSceneDragDropEvent*)'
../bin/libkdeinit5_dolphin.so: undefined reference to
`KItemListView::createDragPixmap(KItemSet const&) const'
../bin/libkdeinit5_dolphin.so: undefined reference to
`DolphinView::itemCountChanged()'

I could track this problem down to the following commit:
https://phabricator.kde.org/D12931
Removing this patch, resolves the linking error.

I looked into the documentation of CMake, but I don't have any idea what could
be wrong. It should propagate the `libdolphinprivate.so.5` and
`libdolphinvcs.so.5` libraries as required libraries for linking.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to