Package Details: bgpstream 2.3.0-1

Git Clone URL: https://aur.archlinux.org/bgpstream.git (read-only, click to copy)
Package Base: bgpstream
Description: An open-source software framework for live and historical BGP data analysis, supporting scientific research, operational monitoring, and post-event analysis
Upstream URL: https://bgpstream.caida.org
Licenses: GPL
Submitter: markzz
Maintainer: markzz (alistair)
Last Packager: markzz
Votes: 2
Popularity: 0.000000
First Submitted: 2018-12-05 16:42 (UTC)
Last Updated: 2024-12-18 14:00 (UTC)

Dependencies (5)

Required by (1)

Sources (1)

Latest Comments

cmos commented on 2022-12-03 15:08 (UTC)

To correct the build process, use the following patch:

diff '--color=auto' --unified --recursive --text src/libbgpstream-2.2.0/configure src.new/libbgpstream-2.2.0/configure
--- src/libbgpstream-2.2.0/configure    2021-04-16 23:22:22.000000000 +0200
+++ src.new/libbgpstream-2.2.0/configure        2022-12-03 15:46:44.855037976 +0100
@@ -13433,6 +13433,7 @@
        pthread_yield_func=unknown
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#define _GNU_SOURCE
 #include <pthread.h>
                         static void routine(void *a) { a = 0; }
                         static void *start_routine(void *a) { return a; }

and add these lines to PKGBUILD

-source=("https://github.com/CAIDA/libbgpstream/releases/download/v${pkgver}/libbgpstream-${pkgver}.tar.gz")
-md5sums=('19fdcc3514fbd639a2ea5ea0b154a6f4')
+source=("https://github.com/CAIDA/libbgpstream/releases/download/v${pkgver}/libbgpstream-${pkgver}.tar.gz" "configure.patch")
+md5sums=('19fdcc3514fbd639a2ea5ea0b154a6f4' '6b1a5c65736375b23388339589965567')
+
+prepare() {
+    cd "libbgpstream-$pkgver"
+    patch --forward --strip=2 --input="${srcdir}/configure.patch"
+}

Source: https://github.com/CAIDA/libbgpstream/issues/227

jogerj commented on 2022-05-12 04:26 (UTC)

Installed gcc version is 11.2.0

checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking for pthread_yield... no
checking for pthread_yeild_np... no
configure: error: could not find pthread_yield function
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: bgpstream