Package Details: kdesrc-build-git r2096.97510bf-1

Git Clone URL: https://aur.archlinux.org/kdesrc-build-git.git (read-only, click to copy)
Package Base: kdesrc-build-git
Description: A script to build KDE software from KDE's source repositories
Upstream URL: https://kdesrc-build.kde.org/
Keywords: kde
Licenses: GPL
Conflicts: kdesrc-build
Provides: kdesrc-build
Submitter: JiajunW
Maintainer: IslandC0der
Last Packager: bisen2
Votes: 3
Popularity: 0.000000
First Submitted: 2013-01-07 16:52 (UTC)
Last Updated: 2020-08-16 16:08 (UTC)

Latest Comments

1 2 3 Next › Last »

SGOrava commented on 2020-09-19 23:02 (UTC) (edited on 2020-09-20 08:33 (UTC) by SGOrava)

I was getting error

Can't locate ksb/Debug.pm in @INC (you may need to install the ksb::Debug module)
 (@INC contains: /share/kdesrc-build/modules /usr/lib/perl5/5.32/site_perl ...)
at /bin/kdesrc-build line 118.

The workaround is to set PERLLIB env var to point to kdesrc-build modules

PERLLIB=/usr/share/kdesrc-build/modules

Modelmat commented on 2020-09-18 05:06 (UTC) (edited on 2020-09-18 05:06 (UTC) by Modelmat)

Something's broken with this AUR package, I'm not sure what. Installing manually from KDE's repo seems to work, but using this package I get:

➜  kde kdesrc-build
kdesrc-build encountered an exceptional error condition:
 ========
    Config Error: Unable to open file /usr/bin/kf5-qt5-build-include which was included from line 52
 ========
        Can't continue, so stopping now.

(This also occurs on the non-git version of this package)

bisen2 commented on 2019-11-13 23:34 (UTC)

Awesome, thanks for the heads up! I just pushed the changes you requested.

DaanDeMeyer commented on 2019-11-11 15:12 (UTC)

I recently found out that DESTDIR works fine with cmake --install so CMAKE_INSTALL_PREFIX can be changed back to /usr and the cmake --install command should be DESTDIR="${pkgdir}" cmake --install build. This way is generally going to be safer than the current one because CMAKE_INSTALL_PREFIX is set to its actual final value (/usr/) when CMake is configured.

DaanDeMeyer commented on 2019-08-25 12:19 (UTC)

Works perfectly. Thanks for the quick follow up!

bisen2 commented on 2019-08-25 01:00 (UTC)

Looks like the issue was in line 31. I changed it from -DCMAKE_INSTALL_PREFIX=/usr to -DCMAKE_INSTALL_PREFIX="${pkgdir}"/usr and it built without issue. Just pushed the changes, so let me know if it doesn't work for you.

DaanDeMeyer commented on 2019-08-24 20:06 (UTC)

Why would the PKGBUILD be trying to install directly to /usr? Does this error occur when running makepkg -s?

bisen2 commented on 2019-08-24 17:09 (UTC)

When building with your PKGBUILD, I get:

CMake Error at build/cmake_install.cmake:49 (file):
  file INSTALL cannot copy file
  "/home/ben/Documents/build/aur/kdesrc-build-git/src/kdesrc-build/modules/ksb/Application.pm"
  to "/usr/share/kdesrc-build/modules/ksb/Application.pm".

with CMAKE_GENERATOR as Unix Makefiles.