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: 46
Popularity: 0.79
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

1 2 3 4 5 Next › Last »

7hr08ik commented on 2023-12-06 10:11 (UTC)

I will look at a clean chroot. Thank you

Martchus commented on 2023-12-06 10:08 (UTC) (edited on 2023-12-06 10:25 (UTC) by Martchus)

The dependency is supposed to be computed to libc++utilities.so=5-64 because the librarie's so version number is 5 and it is a 64-bit library. This is not supposed to change until a major version bump happens. Only then you'd normally run into the issue that an upgrade of c++utilities forces you to uninstall dependend packages first.

In your case there's a . instead of a - separating these two parts which looks wrong but I have no idea what you might have done to end up with this wrong format. Note that only Arch Linux is generally supported; I cannot help with other distributions like Manjaro.

Note that the best way of building Arch packages is https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot. This way you would not run into problems like this. The packages in my binary repository are also built using that method.

7hr08ik commented on 2023-12-06 09:44 (UTC)

Hi, sorry but I keep getting this issue, and the only way I have to solve is to remove and re-install syncthingtray

Warning: installing c++utilities(5.24.3-1) breaks
dependency 'libc++utilities.so=5.64' required by qtutilities
Add qtutilities to remove

7hr08ik commented on 2023-11-26 17:22 (UTC)

Apologies, a recent update seems to have changed some of my base pcakages

Martchus commented on 2023-11-26 16:43 (UTC)

Before attempting to build any AUR package, you generally have to make sure your build environment contains the base-devel package and all its dependencies because those packages do not need to be (and supposedly also should not be) explicitly mentioned in the PKGBUILD.

7hr08ik commented on 2023-11-26 13:36 (UTC)

EDIT:

My fault. My system was missing "patch" package.

Installed "patch" all working now.

7hr08ik commented on 2023-11-26 13:17 (UTC)

Hello, im having trouble installing this.

Building c++utilities...
==> Making package: c++utilities 5.24.2-2 (Sun 26 Nov 2023 13:15:19 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading c++utilities-5.24.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  187k  100  187k    0     0   296k      0 --:--:-- --:--:-- --:--:--  572k
  -> Found 0001-Enable-tidy-tests-only-by-default-via-ENABLE_DEVEL_D.patch
  -> Found 0002-Enable-AppStream-tests-only-by-default-via-ENABLE_DE.patch
==> Validating source files with sha256sums...
    c++utilities-5.24.2.tar.gz ... Passed
    0001-Enable-tidy-tests-only-by-default-via-ENABLE_DEVEL_D.patch ... Skipped
    0002-Enable-AppStream-tests-only-by-default-via-ENABLE_DE.patch ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting c++utilities-5.24.2.tar.gz with bsdtar
==> Starting prepare()...
/var/tmp/pamac-build-rob/c++utilities/PKGBUILD: line 27: patch: command not found
==> ERROR: A failure occurred in prepare().
    Aborting...

Martchus commented on 2023-11-22 13:26 (UTC)

I added two patches which should prevent these tests from running (without having to use --nocheck).

npreining commented on 2023-11-22 11:24 (UTC)

I can confirm that on my otherwise uptodate system, build fails the same way. Error message:

    Start 1: c++utilities_tidy_test

1: Test command: /usr/bin/clang-format "-output-replacements-xml" "-style=file" "application/argumentparser.h" "application/commandlineutils.h" "application/fakeqtconfigarguments.h" "application/global.h" "chrono/datetime.h" "chrono/period.h" "chrono/timespan.h" "chrono/format.h" "conversion/binaryconversion.h" "conversion/binaryconversionprivate.h" "conversion/conversionexception.h" "conversion/stringconversion.h" "conversion/stringbuilder.h" "io/ansiescapecodes.h" "io/binaryreader.h" "io/binarywriter.h" "io/bitreader.h" "io/buffersearch.h" "io/copy.h" "io/inifile.h" "io/path.h" "io/nativefilestream.h" "io/misc.h" "misc/flagenumclass.h" "misc/math.h" "misc/multiarray.h" "misc/parseerror.h" "misc/traits.h" "misc/levenshtein.h" "tests/testutils.h" "tests/cppunit.h" "tests/outputcheck.h" "application/argumentparserprivate.h" "application/argumentparser.cpp" "application/commandlineutils.cpp" "application/fakeqtconfigarguments.cpp" "chrono/datetime.cpp" "chrono/period.cpp" "chrono/timespan.cpp" "conversion/conversionexception.cpp" "conversion/stringconversion.cpp" "io/ansiescapecodes.cpp" "io/binaryreader.cpp" "io/binarywriter.cpp" "io/bitreader.cpp" "io/buffersearch.cpp" "io/inifile.cpp" "io/path.cpp" "io/nativefilestream.cpp" "io/misc.cpp" "misc/math.cpp" "misc/parseerror.cpp" "misc/levenshtein.cpp" "tests/testutils.cpp" "tests/cppunit.cpp" "tests/conversiontests.cpp" "tests/iotests.cpp" "tests/chronotests.cpp" "tests/argumentparsertests.cpp" "tests/traitstests.cpp" "tests/mathtests.cpp" "tests/misctests.cpp" "cmake/templates/cli-wrapper.cpp"
1: Working Directory: /home/norbert/.cache/yay/c++utilities/src/cpp-utilities-5.24.2
1: Test timeout computed to be: 1500
1: <?xml version='1.0'?>
1: <replacements xml:space='preserve' incomplete_format='false'>
1: </replacements>
1: <?xml version='1.0'?>
1: <replacements xml:space='preserve' incomplete_format='false'>
1: </replacements>

lots of those replacement double lines.....

1/2 Test #1: c++utilities_tidy_test ...........***Failed  Error regular expression found in output. Regex=[<replacement.*>.*</replacement>]  0.90 sec
test 2
    Start 2: c++utilities_run_tests

danielsz commented on 2023-11-22 09:45 (UTC)

It fails to build on me too. Same Error like @kohlerji.