The test suite for libosmocore fails on big-endian architectures

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Ruben Undheim ruben.undheim at gmail.com
Sun Dec 6 15:53:09 UTC 2015


Hi,

While building the package for Debian, apparently there is a problem
related to big-endian architectures.

Please see the logs here:
  https://buildd.debian.org/status/fetch.php?pkg=libosmocore&arch=powerpc&ver=0.9.0-1&stamp=1449330739
     and
  https://buildd.debian.org/status/package.php?p=libosmocore

It is related to the test case for smscb and the struct gsm341_ms_message:


+++ /«PKGBUILDDIR»/tests/testsuite.dir/at-groups/7/stdout 2015-12-05
15:51:53.463182812 +0000
@@ -1,4 +1,4 @@
-(srl) GS: 1 MSG_CODE: 1 UPDATE: 0
+(srl) GS: 0 MSG_CODE: 256 UPDATE: 1
 (msg) msg_id: 1293
-(dcs) group: 1 language: 0
+(dcs) group: 0 language: 1
 (pge) page total: 1 current: 1
7. testsuite.at:45: 7. smscb (testsuite.at:45): FAILED (testsuite.at:48)


Could you please suggest how we should fix this so that the package
also can build for powerpc and other big-endian architectures?

Thank you very much in advance.

Ruben



More information about the OpenBSC mailing list