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

            Bug ID: 411580
           Summary: kdeconnect-kde failed with "/usr/bin/ld: cannot open
                    output file ../bin/kdeconnect: Is a directory"
           Product: kdeconnect
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: farsee...@gmail.com
  Target Milestone: ---

SUMMARY

When trying to build kdeconnect-kde for git repo, make failed with
```
/usr/bin/ld: cannot open output file ../bin/kdeconnect: Is a directory
```

There is a directory called "bin/kdeconnect" where it shouldn't be.

By reverting the commit dedb4b1ed216a22eaedb33c114f3a30fea67839d, it can build
normally.

STEPS TO REPRODUCE
1. On Arch Linux, build the kdeconnect-git package with this PKGBUILD:
https://fars.ee/qiuO

OBSERVED RESULT
```
[  9%] Linking CXX executable ../bin/kdeconnect
[  9%] Building CXX object core/CMakeFiles/kdeconnectcore.dir/daemon.cpp.o
/usr/bin/ld: cannot open output file ../bin/kdeconnect: Is a directory
collect2: error: ld returned 1 exit status
make[2]: *** [app/CMakeFiles/kdeconnect.dir/build.make:129: bin/kdeconnect]
Error 1
make[1]: *** [CMakeFiles/Makefile2:3885: app/CMakeFiles/kdeconnect.dir/all]
Error 2
make[1]: *** Waiting for unfinished jobs....
[  9%] Building CXX object core/CMakeFiles/kdeconnectcore.dir/device.cpp.o
[  9%] Building CXX object core/CMakeFiles/kdeconnectcore.dir/core_debug.cpp.o
[  9%] Linking CXX executable ../bin/kdeconnect-settings
[ 10%] Building CXX object
core/CMakeFiles/kdeconnectcore.dir/notificationserverinfo.cpp.o
[ 10%] Built target kdeconnect-settings
[ 10%] Linking CXX shared library ../bin/libkdeconnectcore.so
[ 10%] Built target kdeconnectcore
make: *** [Makefile:141: all] Error 2
```

EXPECTED RESULT

Build normally

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 
KDE Plasma Version: 5.16.5
KDE Frameworks Version:  5.61.0
Qt Version: 5.13.0

ADDITIONAL INFORMATION
extra-cmake-modules: 5.61.0

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

Reply via email to