Error while building osmo-bts for sysmoBTS

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/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Fri Feb 10 12:19:15 UTC 2017


I can reproduce this.

Just pulled the newest libosmocore and SDK
https://downloads.sysmocom.de/generic/sysmobts/201310-nightly/sdk/poky-eglibc-i686-meta-toolchain-osmo-armv5te-toolchain-osmo-1.5.4-20170210020032.sh
and got the same error.

Ivaylo, for now you could locally revert this revision to be able to continue:
  cd libosmocore
  git revert 2c717948d91540016067f87bb3e0913067d42647

For general solutions: the SDK apparently provides optarg, so we could use that
instead of argparse.

We could also try to find out why there is no argparse, but it seems to be more
effort; the potential reason being packaging choices further upstream that
might cause continuous efforts to work around??

~N

On Thu, Feb 09, 2017 at 06:25:51PM +0100, Ivaylo Kostov wrote:
> Hi,
> I was following the procedure "Compiling osmo-bts for sysmoBTS" and using
> poky/1.5.4/sysroots/armv5te-poky-linux-gnueabi
> 
> During execution of libosmocore project it failed with:
> ...
>    GEN      gsm0503_conv.c
> Traceback (most recent call last):
>   File "../../utils/conv_gen.py", line 26, in <module>
>     import sys, os, math, argparse
> ImportError:   CC       oap.lo
> No module named argparse
> Makefile:735: recipe for target 'gsm0503_conv.c' failed
> make[2]: *** [gsm0503_conv.c] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory '/home/ivaylo/net/osmo/libosmocore/src/gsm'
> Makefile:460: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/ivaylo/net/osmo/libosmocore'
> Makefile:327: recipe for target 'all' failed
> make: *** [all] Error 2
> ...
> 
> I am using:
> 
> Python 2.7.12+ (default, Sep 17 2016, 12:08:02)
> [GCC 6.2.0 20160914] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> 
> I think that something is broken.
> 
> regards,
> Ivaylo
> 
> -- 
> ------------------------------
> - Ivaylo Kostov <ikostov at sysmocom.de> <mailto:ikostov at sysmocom.de>
> http://www.sysmocom.de/
> =======================================================================
> * sysmocom - systems for mobile communications GmbH
> * Alt-Moabit 93
> * 10559 Berlin, Germany
> * Sitz / Registered office: Berlin, HRB 134158 B
> * Geschaeftsfuehrer / Managing Director: Harald Welte
> ------------------------------
> 

-- 
- Neels Hofmeyr <nhofmeyr at sysmocom.de>          http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Harald Welte
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20170210/8c72a5f6/attachment.bin>


More information about the OpenBSC mailing list