Package Details: ucommon 7.0.1-1

Git Clone URL: https://aur.archlinux.org/ucommon.git (read-only, click to copy)
Package Base: ucommon
Description: GNU Common C++ is a class framework that was specifically designed for telephony applications.
Upstream URL: https://www.gnu.org/software/commoncpp/
Licenses: LGPL3
Submitter: tredaelli
Maintainer: pmattern
Last Packager: pmattern
Votes: 8
Popularity: 0.000001
First Submitted: 2015-08-18 17:55 (UTC)
Last Updated: 2022-05-07 12:43 (UTC)

Latest Comments

1 2 Next › Last »

pmattern commented on 2023-11-16 23:21 (UTC)

The package has always been building just fine here since my last commit, both in a clean chroot or by invoking makepkg in a regular system.
No idea what makes you claim it doesn't build, maybe your makepkg.conf is outdated and/or featuring some custom settings.

Your remarkable orphan request is to be discussed in its corresponding ML thread.

fbrennan commented on 2023-11-03 20:19 (UTC)

I have asked for package to be orphaned, here is a patch that fixes build in mean time:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

- From 386bbe310d84c7135fece063f50855890d4e0b3c Mon Sep 17 00:00:00 2001
From: Fredrick Brennan <copypaste@kittens.ph>
Date: Fri, 3 Nov 2023 16:18:43 -0400
Subject: [PATCH] v7.0.1 pkgrel 2

- ---
 .SRCINFO |  2 +-
 PKGBUILD | 14 ++++++++++----
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index a18eff5..d84cfba 100644
- --- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = ucommon
    pkgdesc = GNU Common C++ is a class framework that was specifically designed for telephony applications.
    pkgver = 7.0.1
- - pkgrel = 1
+   pkgrel = 2
    url = https://www.gnu.org/software/commoncpp/
    arch = i686
    arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 0fb9984..65139b1 100644
- --- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,10 +2,11 @@
 # Contributor: Dominic Brekau <aur@dominic.brekau.de>
 # Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Fred Brennan <copypaste@kittens.ph>

 pkgname=ucommon
 pkgver=7.0.1
- -pkgrel=1
+pkgrel=2
 pkgdesc='GNU Common C++ is a class framework that was specifically designed for telephony applications.'
 arch=('i686' 'x86_64')
 url='https://www.gnu.org/software/commoncpp/'
@@ -19,11 +20,16 @@ sha256sums=('99fd0e2c69f24e4ca93d01a14bc3fc4e40d69576f235f80f7a8ab37c16951f3e')

 build() {
   mkdir build && cd build
- -  cmake "${srcdir}"/commoncpp-$pkgver -DCMAKE_INSTALL_PREFIX=/usr
- -  make
+  cmake "${srcdir}"/commoncpp-$pkgver -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SHARED_LINKER_FLAGS='-latomic' \
+    -DCMAKE_EXE_LINKER_FLAGS='-latomic' \
+    -DCMAKE_STATIC_LINKER_FLAGS='-latomic' \
+    -DBUILD_DISTFILE=ON
+  cmake --build .
 }

 package() {
   cd build
- -  make DESTDIR="${pkgdir}" install
+  cmake --install . --prefix "${pkgdir}"/usr
+  find "${pkgdir}"/usr/bin -type f -exec chmod -v ugo+x {} \;
 }
- -- 
2.42.0

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQS1rLeeEfG/f0nzK7hYUwVpYvFOWAUCZUVVsgAKCRBYUwVpYvFO
WHXxAQCINVBwBKQ83vXYhhUwJuzJk795pQBqJzSXvAcFJf8jEAD/cyardUAELX/z
tWCV2yL4JrqW7nUR+u7BLX6wNAaFcws=
=gSiF
-----END PGP SIGNATURE-----

malus commented on 2021-06-07 10:30 (UTC)

It's now forced to use c++14

jose1711 commented on 2021-06-06 22:29 (UTC)

@hemitheconyx thank you for sharing. hope maintainer will fix this one day.

hemitheconyx commented on 2021-06-02 22:08 (UTC)

@juniormarangao I had the same issue, edit the build function in PKGBUILD by adding CXXFLAGS=-std=c++14 after make (so the final line of the function is make CXXFLAGS=-std=c++14).

I think the issue comes from the fact that the last version of g++ sets c++17 as the default std, so you have to explicitly specify if you want to use an older std (since it appears this project doesn't compile under c++17).

juniormarangao commented on 2021-05-22 02:27 (UTC) (edited on 2021-05-22 13:43 (UTC) by juniormarangao)

Hey guys, in a fresh install of Arch, I am with problem with ucommon..

Here bellow that the terminal show:

In file included from ../inc/ucommon/ucommon.h:112,

from ../inc/commoncpp/config.h:42,

from tokenizer.cpp:41:

../inc/ucommon/temporary.h:58:21: error: ISO C++17 does not allow dynamic exception specifications

58 | #define THROWS(x) throw(x)

| ^~~~~

../inc/commoncpp/tokenizer.h:178:32: note: in expansion of macro 'THROWS'

178 | iterator &operator++() THROWS (NoSuchElementException);

| ^~~~~~

../inc/ucommon/temporary.h:58:21: error: ISO C++17 does not allow dynamic exception specifications

58 | #define THROWS(x) throw(x)

| ^~~~~

../inc/commoncpp/tokenizer.h:188:34: note: in expansion of macro 'THROWS'

188 | const char* operator*() THROWS (NoSuchElementException);

| ^~~~~~

../inc/ucommon/temporary.h:58:21: error: ISO C++17 does not allow dynamic exception specifications

58 | #define THROWS(x) throw(x)

| ^~~~~

tokenizer.cpp:73:70: note: in expansion of macro 'THROWS'

73 | StringTokenizer::iterator& StringTokenizer::iterator::operator ++ () THROWS (StringTokenizer::NoSuchElementException)

|

^~~~~~

../inc/ucommon/temporary.h:58:21: error: ISO C++17 does not allow dynamic exception specifications

58 | #define THROWS(x) throw(x)

| ^~~~~

tokenizer.cpp:109:55: note: in expansion of macro 'THROWS'

109 | const char * StringTokenizer::iterator::operator * () THROWS (StringTokenizer::NoSuchElementException)

| ^~~~~~

make[2]: *** [Makefile:502: tokenizer.lo] Erro 1

make[2]: Saindo do diretório '/home/junior/aur/twinkle/ucommon/src/ucommon-7.0.0/commoncpp'

make[1]: *** [Makefile:641: all-recursive] Erro 1

make[1]: Saindo do diretório '/home/junior/aur/twinkle/ucommon/src/ucommon-7.0.0'

make: *** [Makefile:436: all] Erro 2

. . . . Before, in another two installations, runs normally... so I do no understand what happend... Help pls

PhotonX commented on 2020-03-19 17:30 (UTC)

Hi, I am the car package's current maintainer. How should we solve this? In car the file /usr/bin/car is the main executable. What does it do in ucommon?

dreieck commented on 2020-03-19 17:10 (UTC)

Conflicts with car:

ucommon: /usr/bin/car exists in filesystem (owned by car)

thx1138 commented on 2015-08-28 18:21 (UTC)

$ gpg --keyserver keys.gnupg.net --recv-keys B1732A9CB37C87BA FC531209EA8888AD

Pietro_Pizzi commented on 2015-08-22 18:57 (UTC)

Additionally the Link you provide doesn't help in any way. I tried to understand what that "...but that can be automated in their gpg.conf..." means and come up with the explanation that i have to put 'keyserver-options auto-key-retriev' and 'auto-key-locate keyserver' in my '/etc/pacman.d/gnupg/gpg.conf'. That doesn't do the trick. Then i tried 'gpg --recv-key' and 'gpg --lsign' with the Pub.key and the PGP.key (B1732A9CB37C87BA, 5CF995AAD5CC1E4079F76C38B1732A9CB37C87BA) because i don't know exactly what '<KEYID>' means. It reads like i have to do this as a User but i tried it as root too. Nothing helps! I still get: ==> Verifying source file signatures with gpg... ucommon-6.5.3.tar.gz ... FAILED (unknown public key B1732A9CB37C87BA) ==> ERROR: One or more PGP signatures could not be verified! ==> ERROR: Makepkg was unable to build ucommon. Info: I use yaourt and yes i do a repo-update before every action.