Package Details: c++utilities 5.24.7-1

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
Provides: libc++utilities.so
Submitter: Martchus
Maintainer: Martchus
Last Packager: Martchus
Votes: 47
Popularity: 1.06
First Submitted: 2015-08-27 18:56 (UTC)
Last Updated: 2024-03-05 14:00 (UTC)

Dependencies (5)

Required by (15)

Sources (1)

Pinned Comments

Martchus commented on 2016-05-18 21:55 (UTC) (edited on 2016-10-31 11:37 (UTC) by Martchus)

All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs There also exist a binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

Martchus commented on 2020-02-05 11:24 (UTC)

see https://aur.archlinux.org/packages/tageditor/#comment-727871

dmshimself commented on 2020-02-05 11:18 (UTC)

I'm getting this at the moment with a makepkg -sri (and also with -sriC)

==> Checking buildtime dependencies... ==> Retrieving sources... -> Found c++utilities-5.2.0.tar.gz ==> Validating source files with sha256sums... c++utilities-5.2.0.tar.gz ... FAILED ==> ERROR: One or more files did not pass the validity check!

Martchus commented on 2020-01-21 14:26 (UTC)

@kmarius Cleaned it up. Thanks for letting me know.

kmarius commented on 2020-01-21 13:11 (UTC)

The file .sync-conflict-20190519-131723-PKPUQWZ.SRCINFO was mistakenly added in commit a9c299b0df8f on 2019-08-24.

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?