osmo-iuh fails to regenerate from asn1 sources

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
Wed Nov 1 01:00:01 UTC 2017


I just noticed that osmo-iuh is not able to generate Iu protocols from ASN.1
sources anymore. This has probably been the case for a while, but it was
uncovered by the osmo-clean-workspace.sh scripts recently introduced.

There are some .h and .c files missing that sed wants to modify. I get:

sed -i '6i#include <constr_CHOICE.h>' RANAP_ChosenEncryptionAlgorithm.h RANAP_ChosenIntegrityProtectionAlgorithm.h RANAP_IMSI.h RANAP_PLMNidentity.h RANAP_RAB-ReleaseFailedList.c RANAP_RAB-ReleaseList.c RANAP_RAB-SetupOrModifyList.c RANAP_ResetResourceList.c RANAP_ResetResourceAckList.c
sed: can't read RANAP_ChosenEncryptionAlgorithm.h: No such file or directory
sed: can't read RANAP_ChosenIntegrityProtectionAlgorithm.h: No such file or directory
sed: can't read RANAP_IMSI.h: No such file or directory
sed: can't read RANAP_PLMNidentity.h: No such file or directory
sed: can't read RANAP_RAB-ReleaseFailedList.c: No such file or directory
sed: can't read RANAP_RAB-ReleaseList.c: No such file or directory
sed: can't read RANAP_RAB-SetupOrModifyList.c: No such file or directory
sed: can't read RANAP_ResetResourceList.c: No such file or directory
sed: can't read RANAP_ResetResourceAckList.c: No such file or directory
Makefile:2711: recipe for target 'regenerate-from-asn1-source' failed
make[1]: *** [regenerate-from-asn1-source] Error 2
make[1]: Leaving directory '/n/s/osmo/make-3G/osmo-iuh/src/ranap'


Notably, jenkins produces slightly different output, see

https://jenkins.osmocom.org/jenkins/job/osmo-iuh/34/label=linux_amd64_debian8/console
https://jenkins.osmocom.org/jenkins/job/gerrit-osmo-iuh/1/a1=default,a2=default,a3=default,a4=default,label=linux_amd64_debian8/console

Does anyone know what could have caused this?

~N
-------------- 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/20171101/cbc77863/attachment.bin>


More information about the OpenBSC mailing list