The file .sync-conflict-20190519-131723-PKPUQWZ.SRCINFO was mistakenly added in
commit a9c299b0df8f
on 2019-08-24.
Search Criteria
Package Details: c++utilities 5.27.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/c++utilities.git (read-only, click to copy) |
---|---|
Package Base: | c++utilities |
Description: | Common C++ classes and routines such as argument parser, IO and conversion utilities |
Upstream URL: | https://github.com/Martchus/cpp-utilities |
Licenses: | GPL-2-or-later |
Provides: | libc++utilities.so |
Submitter: | Martchus |
Maintainer: | Martchus |
Last Packager: | Martchus |
Votes: | 62 |
Popularity: | 4.03 |
First Submitted: | 2015-08-27 18:56 (UTC) |
Last Updated: | 2025-01-09 22:36 (UTC) |
Dependencies (5)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- cmake (cmake-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- cppunit (check)
- c++utilities-docAUR (optional) – API documentation
Required by (27)
- dbus-soundrecorder
- onboard-plasmoid-git (make)
- passwordfile
- passwordfile (requires libc++utilities.so)
- passwordmanager
- passwordmanager (requires libc++utilities.so)
- passwordmanager-qt6 (requires libc++utilities.so)
- passwordmanager-qt6
- qtutilities (requires libc++utilities.so)
- qtutilities
- qtutilities-qt6 (requires libc++utilities.so)
- qtutilities-qt6
- reflective-rapidjson (requires libc++utilities.so)
- reflective-rapidjson
- syncthingtray (requires libc++utilities.so)
- syncthingtray
- syncthingtray-qt6 (requires libc++utilities.so)
- syncthingtray-qt6
- tageditor
- tageditor (requires libc++utilities.so)
- Show 7 more...
Sources (1)
kmarius commented on 2020-01-21 13:11 (UTC)
roverton commented on 2019-02-20 20:09 (UTC)
Fair enough point, though with cmake only guaranteeing this behavior for the 3.13 versions it's still a good idea to update the PKGBUILDs using cmake for future proofing.
I was still on 3.13.3 because I'm running manjaro and 3.13.4 is just now being pushed out to those repos. I don't expect AUR maintainers to deal with that of course and do endeavour to work around any issues myself and share results; just in case someone else comes across the same issue(s).
Thanks for the quick responses and looking into it too!
Martchus commented on 2019-02-19 17:44 (UTC)
All packages should be updated. I would still recommend to update your system (cmake 3.13.4 is already in extra) before invoking makepkg.
Martchus commented on 2019-02-19 17:36 (UTC) (edited on 2019-02-19 17:36 (UTC) by Martchus)
I see you have edited your previous comment to contain the answer to my question. I'll update the PKGBUILDs then.
Martchus commented on 2019-02-19 17:34 (UTC)
I indeed get:
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
Does it help to append .
to the CMake line (so it becomes cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr" .
)?
roverton commented on 2019-02-19 17:03 (UTC) (edited on 2019-02-19 17:29 (UTC) by roverton)
+1 on the error. Trying to fix it myself right now, but I'll dump my output here in the meanwhile... Yes, src/cpp-utilities-4.17.0/CMakeLists.txt exists.
EDIT: suspect it is related to cmake 3.13.3 regression described here: https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/issues/28
cmake version on my machine is V3.13.3
EDIT2: confirmed. fix: adding a dot to the end of the cmake command in the build() target of PKGBUILD fixed the issue and the package builds/installs fine.
trizen output:
==> Making package: c++utilities 4.17.0-1 (Tue 19 Feb 2019 11:52:05 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading c++utilities-4.17.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 131 0 131 0 0 500 0 --:--:-- --:--:-- --:--:-- 498
100 147k 0 147k 0 0 259k 0 --:--:-- --:--:-- --:--:-- 259k
==> Validating source files with sha256sums...
c++utilities-4.17.0.tar.gz ... Passed
==> Extracting sources...
-> Extracting c++utilities-4.17.0.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
CMake Error: No source or binary directory provided
==> ERROR: A failure occurred in build().
Aborting...
:: Unable to build c++utilities - makepkg exited with code: 4
manual makepkg output:
c++utilities$ makepkg -o
==> Making package: c++utilities 4.17.0-1 (Tue 19 Feb 2019 11:57:42 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found c++utilities-4.17.0.tar.gz
==> Validating source files with sha256sums...
c++utilities-4.17.0.tar.gz ... Passed
==> Extracting sources...
-> Extracting c++utilities-4.17.0.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
c++utilities$ makepkg -sei
==> Making package: c++utilities 4.17.0-1 (Tue 19 Feb 2019 11:57:52 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CMake Error: No source or binary directory provided
==> ERROR: A failure occurred in build().
Aborting...
Martchus commented on 2019-02-11 21:38 (UTC)
I was able to build this for various architectures. Likely an issue on your end. Does the source directory contain or the CMakeLists.txt
?
pauby commented on 2019-02-11 17:55 (UTC)
Getting error 'CMake Error: No source or binary directory provided'?
Pinned Comments
Martchus commented on 2016-05-18 21:55 (UTC) (edited on 2016-10-31 11:37 (UTC) by Martchus)