Package Details: libosmocore 1.7.0-1

Git Clone URL: https://aur.archlinux.org/libosmocore.git (read-only, click to copy)
Package Base: libosmocore
Description: core libs for osmocom
Upstream URL: https://osmocom.org/projects/libosmocore/
Licenses: GPL
Submitter: asdil12
Maintainer: matt9j
Last Packager: matt9j
Votes: 16
Popularity: 0.000744
First Submitted: 2012-03-08 09:58 (UTC)
Last Updated: 2022-07-03 21:17 (UTC)

Latest Comments

1 2 3 Next › Last »

dreieck commented on 2022-10-15 16:17 (UTC) (edited on 2022-10-15 16:17 (UTC) by dreieck)

A note to users which don't use systemd and whose compilations fail with systemd/sd-journal.h: No such file or directory:
→ Here I have made a package libosmocore-nosystemd-git which compiles and works on systemd-free systems. (It includes a split-out docs package.)

matt9j commented on 2022-07-03 21:20 (UTC)

Also, I suggest to build with '--enable-systemd-logging'. This option allows using systemd-journal as a logging target. Debian and CentOS packages are built with it. This adds a new dependency 'systemd-libs'. Maybe we could make it optional somehow?

I went ahead and enabled this to match the builds on other platforms. I think additional work would need to be done in the library itself to add runtime detection of the presence of systemd and switch on/off the journald capability dynamically to move the package to optdepends, so I've left systemd-libs as a full dependency for now.

fixeria commented on 2022-03-26 10:56 (UTC)

Also, I suggest to build with '--enable-systemd-logging'. This option allows using systemd-journal as a logging target. Debian and CentOS packages are built with it. This adds a new dependency 'systemd-libs'. Maybe we could make it optional somehow?

fixeria commented on 2022-03-26 10:51 (UTC)

Please change project URL to 'https://osmocom.org/projects/libosmocore/'. Thanks!

matt9j commented on 2022-01-31 02:21 (UTC)

@GNUtoo, thank you for the patch. I was not able to apply it cleanly (there is possibly some whitespace formatting getting mangled with the post to the AUR?), but I added the changes you indicated and created a commit with you as the author. Thank you for the fix for building in a clean environment!

GNUtoo commented on 2022-01-27 14:05 (UTC)

Hi,

I've a patch for libosmocore:

From 0abdef613152c6e78f276b8a164469a100eeb388 Mon Sep 17 00:00:00 2001
From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Date: Thu, 27 Jan 2022 15:00:26 +0100
Subject: [PATCH] Add libusb in makedepends

If we don't have libusb installed, the build fails:
 |  checking for LIBUSB... no
 |  configure: error: Package requirements (libusb-1.0) were not met:
 |
 |  Package 'libusb-1.0', required by 'virtual:world', not found
 |
 |  Consider adjusting the PKG_CONFIG_PATH environment variable if you
 |  installed software in a non-standard prefix.
 |
 |  Alternatively, you may set the environment variables LIBUSB_CFLAGS
 |  and LIBUSB_LIBS to avoid the need to call pkg-config.
 |  See the pkg-config man page for more details.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
 .SRCINFO | 2 +-
 PKGBUILD | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 3746a00..4671620 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = libosmocore
    pkgdesc = core libs for osmocom
    pkgver = 1.6.0
-   pkgrel = 1
+   pkgrel = 2
    url = http://bb.osmocom.org/trac/wiki/libosmocore
    arch = armv7h
    arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 8fb16d6..4b3f093 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@

 pkgname=libosmocore
 pkgver=1.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc="core libs for osmocom"
 arch=('armv7h' 'i686' 'x86_64')
 url="http://bb.osmocom.org/trac/wiki/libosmocore"
@@ -13,7 +13,7 @@ groups=()
 provides=()
 depends=('pcsclite' 'lksctp-tools' 'talloc' 'gnutls')
 optdepends=('libusb: libosmousb support')
-makedepends=('autoconf' 'automake' 'make' 'gcc' 'libtool' 'git' 'pkg-config')
+makedepends=('autoconf' 'automake' 'make' 'gcc' 'libtool' 'git' 'pkg-config' 'libusb')

 source=("git://git.osmocom.org/libosmocore.git#tag=$pkgver")
 md5sums=('SKIP')
-- 
2.34.1

semjon00 commented on 2022-01-14 11:53 (UTC)

Please update to 1.6.0

dreieck commented on 2021-09-30 12:43 (UTC)

I also get the error which @BoBeR182 reported:

Build fails for me with linking errors (/usr/bin/ld: [...] first defined here):

[...]
Making all in src/coding
make[2]: Entering directory '/[...]/libosmocore/src/libosmocore/src/coding'
  CC       gsm0503_interleaving.lo
  CC       gsm0503_tables.lo
  CC       gsm0503_mapping.lo
  CC       gsm0503_parity.lo
  CC       gsm0503_coding.lo
  CCLD     libosmocoding.la
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x128): multiple definition of `gsm0503_mcs_crc12'; .libs/gsm0503_parity.o:(.rodata+0x30): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x138): multiple definition of `gsm0503_mcs_crc8_hdr'; .libs/gsm0503_parity.o:(.rodata+0x40): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x160): multiple definition of `gsm0503_fire_crc40'; .libs/gsm0503_parity.o:(.rodata+0x60): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x140): multiple definition of `gsm0503_cs234_crc16'; .libs/gsm0503_parity.o:(.rodata+0x48): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x108): multiple definition of `gsm0503_tch_fr_crc3'; .libs/gsm0503_parity.o:(.rodata+0x10): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x100): multiple definition of `gsm0503_tch_efr_crc8'; .libs/gsm0503_parity.o:(.rodata+0x8): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0xf8): multiple definition of `gsm0503_amr_crc6'; .libs/gsm0503_parity.o:(.rodata+0x0): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x120): multiple definition of `gsm0503_rach_crc6'; .libs/gsm0503_parity.o:(.rodata+0x28): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x110): multiple definition of `gsm0503_sch_crc10'; .libs/gsm0503_parity.o:(.rodata+0x18): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:495: libosmocoding.la] Error 1
make[2]: Leaving directory '/[...]/libosmocore/src/libosmocore/src/coding'
make[1]: *** [Makefile:689: all-recursive] Error 1
make[1]: Leaving directory '/[...]/libosmocore/src/libosmocore'
make: *** [Makefile:470: all] Error 2

mansuetus commented on 2020-11-23 11:27 (UTC)

@BoBeR182 https://aur.archlinux.org/packages/libosmocore-git/

BoBeR182 commented on 2020-07-29 13:23 (UTC)

  CC       gsm0503_interleaving.lo
  CC       gsm0503_mapping.lo
  CC       gsm0503_tables.lo
  CC       gsm0503_parity.lo
  CC       gsm0503_coding.lo
  CCLD     libosmocoding.la
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x128): multiple definition of `gsm0503_mcs_crc12'; .libs/gsm0503_parity.o:(.rodata+0x30): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x138): multiple definition of `gsm0503_mcs_crc8_hdr'; .libs/gsm0503_parity.o:(.rodata+0x40): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x160): multiple definition of `gsm0503_fire_crc40'; .libs/gsm0503_parity.o:(.rodata+0x60): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x140): multiple definition of `gsm0503_cs234_crc16'; .libs/gsm0503_parity.o:(.rodata+0x48): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x108): multiple definition of `gsm0503_tch_fr_crc3'; .libs/gsm0503_parity.o:(.rodata+0x10): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x100): multiple definition of `gsm0503_tch_efr_crc8'; .libs/gsm0503_parity.o:(.rodata+0x8): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0xf8): multiple definition of `gsm0503_amr_crc6'; .libs/gsm0503_parity.o:(.rodata+0x0): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x120): multiple definition of `gsm0503_rach_crc6'; .libs/gsm0503_parity.o:(.rodata+0x28): first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:(.rodata+0x110): multiple definition of `gsm0503_sch_crc10'; .libs/gsm0503_parity.o:(.rodata+0x18): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:493: libosmocoding.la] Error 1