Package Details: c++utilities 5.27.2-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-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)

Required by (27)

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 »

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?

pauby commented on 2019-02-11 17:55 (UTC)

Getting error 'CMake Error: No source or binary directory provided'?

Martchus commented on 2017-07-16 13:20 (UTC) (edited on 2017-07-16 16:59 (UTC) by Martchus)

@sqfreak When writing that test I forgot that the result depends on the timezone. It currently only works for GMT+1. So you can safely ignore the failing test by passing `--nocheck` to makepkg args till the testcase is fixed. Thanks for reporting. Update: Tests should be fixed now.

sqfreak commented on 2017-07-16 02:52 (UTC)

I'm getting an error in the test in v4.9.0-1: 1: Executing test cases ... 1: ................F......... 1: 1: 1: !!!FAILURES!!! 1: Test Results: 1: Run: 25 Failures: 1 Errors: 0 1: 1: 1: 1) test: ChronoTests::testDateTime (F) line: 67 /home/[redacted]/Downloads/c++utilities/c++utilities/src/cpp-utilities-4.9.0/tests/chronotests.cpp 1: equality assertion failed 1: - Expected: Tuesday 2016-01-26 21:32:11 1: - Actual : Tuesday 2016-01-26 15:32:11 1: 1: 1/1 Test #1: c++utilities_run_tests ...........***Failed 0.03 sec 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 0.04 sec The following tests FAILED: 1 - c++utilities_run_tests (Failed) Errors while running CTest make[3]: *** [CMakeFiles/check.dir/build.make:57: CMakeFiles/check] Error 8 make[2]: *** [CMakeFiles/Makefile2:338: CMakeFiles/check.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:345: CMakeFiles/check.dir/rule] Error 2 make: *** [Makefile:279: check] Error 2 ==> ERROR: A failure occurred in check().