Package Details: libosmo-netif 1.6.0-2

Git Clone URL: https://aur.archlinux.org/libosmo-netif.git (read-only, click to copy)
Package Base: libosmo-netif
Description: Osmocom library for muxed audio
Upstream URL: https://osmocom.org/projects/libosmo-netif
Licenses: GPL-2.0-or-later
Conflicts: libosmo-netif-git
Provides: libosmonetif.so
Submitter: yuvadm
Maintainer: fixeria
Last Packager: fixeria
Votes: 2
Popularity: 0.000000
First Submitted: 2015-05-24 11:13 (UTC)
Last Updated: 2025-05-08 05:09 (UTC)

Latest Comments

fixeria commented on 2025-05-08 06:45 (UTC)

This looks like some kind of a race condition. Might be worth reporting a bug upstream if you can reproduce it reliably. We have at least one more developer running Arch in the team. As a workaround, you can bypass make check by passing --nocheck to makepkg. If you're using yay, the command would be: yay --mflags="--nocheck" -S ....

fixeria commented on 2025-05-08 06:39 (UTC)

@kistlin it's the first time I am seeing this problem. I cannot reproduce it locally, sorry.

Regarding the undefined reference ... in config.log, I am also seeing it:

391 configure:14410: checking for library containing sctp_send
392 configure:14446: gcc -o conftest  -std=gnu11 -Wall  -Wall  conftest.c  >&5
393 /usr/bin/ld: /tmp/cc76qIgz.o: in function `main':
394 conftest.c:(.text+0x5): undefined reference to `sctp_send'
395 collect2: error: ld returned 1 exit status
396 configure:14446: $? = 1

I don't think this is related, given that the configure script is producing Makefile and the library compiles.

kistlin commented on 2025-05-08 05:54 (UTC) (edited on 2025-05-08 05:57 (UTC) by kistlin)

Thanks for fixing the dependencies.

Now I'm stuck at a test error. The error also appears in the -git package.

libosmo-netif/src/libosmo-netif-1.6.0/tests/testsuite.dir/1/testsuite.log

#                             -*- compilation -*-
1. testsuite.at:4: testing stream_test ...
./testsuite.at:8: $abs_top_builddir/tests/stream/stream_test
--- experr  2025-05-08 07:19:49.598031277 +0200
+++ libosmo-netif/src/libosmo-netif-1.6.0/tests/testsuite.dir/at-groups/1/stderr    2025-05-08 07:19:49.858031215 +0200
@@ -1,8 +1,8 @@
 CLICONN(cli_test,){CLOSED} close()
-SRV(srv_link_test,127.0.0.11:1111) accept()ed new link from 127.0.0.1:8976
 CLICONN(cli_test,r=127.0.0.11:1111<->l=127.0.0.1:8976){CONNECTING} connection established

 {2.000001} autoreconnecting test step 11 [client NA, server OK], FD reg 1
+SRV(srv_link_test,127.0.0.11:1111) accept()ed new link from 127.0.0.1:8976
 CLICONN(cli_test,r=127.0.0.11:1111<->l=127.0.0.1:8976){CONNECTED} connected write
 CLICONN(cli_test,r=127.0.0.11:1111<->l=127.0.0.1:8976){CONNECTED} sending 29 bytes of data

@@ -54,10 +54,10 @@
 CLICONN(cli_test,r=127.0.0.11:1111<->l=127.0.0.1:8976){CLOSED} close()
 CLICONN(cli_test,r=127.0.0.11:1111<->l=127.0.0.1:8976){CLOSED} free(destroy)
 CLICONN(cli_test,){CLOSED} close()
-SRV(srv_link_test,127.0.0.11:1111) accept()ed new link from 127.0.0.1:8976
 CLICONN(cli_test,r=127.0.0.11:1111<->l=127.0.0.1:8976){CONNECTING} connection established

 {11.000012} non-reconnecting test step 7 [client NA, server OK], FD reg 1
+SRV(srv_link_test,127.0.0.11:1111) accept()ed new link from 127.0.0.1:8976
 CLICONN(cli_test,r=127.0.0.11:1111<->l=127.0.0.1:8976){CONNECTED} connected write
 CLICONN(cli_test,r=127.0.0.11:1111<->l=127.0.0.1:8976){CONNECTED} sending 29 bytes of data

@@ -109,8 +109,8 @@
 CLICONN(,r=127.0.0.11:1111<->l=127.0.0.1:8977){CONNECTED} destroy()
 CLICONN(,r=127.0.0.11:1111<->l=127.0.0.1:8977){CONNECTED} close()
 CLICONN(,r=127.0.0.11:1111<->l=127.0.0.1:8977){CLOSED} free(destroy)
-SRV(srv_link_test,127.0.0.11:1112) accept()ed new link from 127.0.0.1:8977
 CLICONN(,r=127.0.0.11:1112<->l=127.0.0.1:8977){CONNECTING} connection established
+SRV(srv_link_test,127.0.0.11:1112) accept()ed new link from 127.0.0.1:8977
 SRVCONN(,r=127.0.0.1:8977<->l=127.0.0.11:1112) connected write
 CLICONN(,r=127.0.0.11:1112<->l=127.0.0.1:8977){CONNECTED} received 24 bytes from srv
 CLICONN(,r=127.0.0.11:1112<->l=127.0.0.1:8977){CONNECTED} received 24 bytes from srv
--- expout  2025-05-08 07:19:49.598031277 +0200
+++ libosmo-netif/src/libosmo-netif-1.6.0/tests/testsuite.dir/at-groups/1/stdout    2025-05-08 07:19:49.858031215 +0200
@@ -49,141 +49,141 @@
 {20.000019} non-reconnecting test complete.

 ______________________________________Running test test_segm_ipa_stream_srv_____________________________________
 ...
  ==================================Test test_segm_ipa_stream_cli complete========================================

 Stream tests completed
1. testsuite.at:4: 1. stream_test (testsuite.at:4): FAILED (testsuite.at:8)
 ```

libosmo-netif/src/libosmo-netif-1.6.0/tests/testsuite.log

| configure:13452: gcc -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=libosmo-netif/src=/usr/src/debug/libosmo-netif -flto=auto -std=gnu11 -Wall -Wall -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto conftest.c >&5 | /usr/sbin/ld: /tmp/ccktx3U6.ltrans0.ltrans.o: in function main': | /usr/src/debug/libosmo-netif/libosmo-netif-1.6.0/conftest.c:38:(.text.startup+0xc): undefined reference tosctp_send' | collect2: error: ld returned 1 exit status | configure:13452: $? = 1 | configure: failed program was: | | / confdefs.h / | | #define PACKAGE_NAME "libosmo-netif ```

I'm not sure if the undefined reference is it, or else how to process the test output yet :). Have you had something like that in the past?

It looks like this dependency comes from lksctp-tools and I have that installed.