Can't build debian packages of libosmocore

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

Ciaby ciaby at autistici.org
Sun Aug 31 20:07:58 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I'm having this problem with the latest code from git:

root at boxie:~/gsm# git clone git://git.osmocom.org/libosmocore.git
Cloning into 'libosmocore'...
remote: Counting objects: 8770, done.
remote: Compressing objects: 100% (4055/4055), done.
remote: Total 8770 (delta 5642), reused 6765 (delta 4265)
Receiving objects: 100% (8770/8770), 1.62 MiB | 142 KiB/s, done.
Resolving deltas: 100% (5642/5642), done.
root at boxie:~/gsm# cd libosmocore
root at boxie:~/gsm/libosmocore# autoreconf -fi
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:5: installing `./missing'
src/Makefile.am: installing `./depcomp'
root at boxie:~/gsm/libosmocore# dpkg-buildpackage 
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package libosmocore
dpkg-buildpackage: source version 0.7.0
dpkg-buildpackage: source changed by Harald Welte <laforge at gnumonks.org>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build libosmocore

[...]

make[1]: Entering directory `/home/rhizomatica/gsm/libosmocore'
sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
dh_install
dh_install: usr/lib/libosmogsm.so.5.1.0 exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/libosmogsm.so.5 exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/libosmoctrl.so.0.0.0 exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/libosmoctrl.so.0 exists in debian/tmp but is not installed to anywhere
dh_install: missing files, aborting
make[1]: *** [override_dh_install] Error 2
make[1]: Leaving directory `/home/rhizomatica/gsm/libosmocore'
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2

So, it looks like it's trying to build a libosmogsm6 package, but only libosmogsm5.1.0 gets built.
I looked around, and the only reference I found is in src/gsm/Makefile.am, and it's correct (6:0:1).
What am I doing wrong? :)
Cheers

Ciaby
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iF4EAREKAAYFAlQDgJkACgkQC30ZhxNccpF5EgD/TmeKcYFpr8O/XXA6RRS7zm10
boe6pxAd8XVku0bVdXsBAJ8zOiPhkTmXlrBc3Tdefrx+subagwnBV1RV4dbses4M
=dqEo
-----END PGP SIGNATURE-----




More information about the OpenBSC mailing list