- Package:
- src:kamailio
- Source:
- src:kamailio
- Submitter:
- Niko Tyni
- Date:
- 2025-07-24 18:54:02 UTC
- Severity:
- normal
This package failed to build from source with Perl 5.40 on arm64, but succeeded on the second try. https://buildd.debian.org/status/package.php?p=kamailio It looks the build invokes bison multiple times on the same file, presumably sometimes corrupting the result during parallel builds as there's no locking. I doubt it's really architecture specific. Maybe disable parallel building if there's no better fix? From https://buildd.debian.org/status/fetch.php?pkg=kamailio&arch=arm64&ver=5.8.3-1%2Bb1&stamp=1728980792&raw=0 bison -d -b core/cfg core/cfg.y bison -d -b core/cfg core/cfg.y Makefile.defs defs skipped Makefile.defs defs skipped gcc -fPIC -DPIC -pthread -DKSR_PTHREAD_MUTEX_SHARED -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DVERSION_NODATE -DNAME='"kamailio"' -DVERSION='"5.8.3"' -DARCH='"aarch64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 14.2.0"' -D__CPU_aarch64 -D__OS_linux -DVERSIONVAL=5008003 -DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLOCKLIST -DUSE_NAPTR -DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DUSE_SCTP -DNOSMP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKAROUND -DUSE_FUTEX -DHAVE_SELECT -DMOD_NAME='"async"' -DMOD_NAMEID='async' -c async_mod.c -o async_mod.o flex -o core/lex.yy.c core/cfg.lex gcc -pthread -DKSR_PTHREAD_MUTEX_SHARED -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DVERSION_NODATE -DNAME='"kamailio"' -DVERSION='"5.8.3"' -DARCH='"aarch64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 14.2.0"' -D__CPU_aarch64 -D__OS_linux -DVERSIONVAL=5008003 -DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLOCKLIST -DUSE_NAPTR -DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DUSE_SCTP -DNOSMP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKAROUND -DUSE_FUTEX -DHAVE_SELECT -c core/lex.yy.c -o core/lex.yy.o In file included from core/cfg.lex:40: core/cfg.tab.h:49: error: unterminated #ifndef 49 | #ifndef YYTOKENTYPE
We believe that the bug you reported is fixed in the latest version of kamailio, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1085171@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Victor Seva <vseva@debian.org> (supplier of updated kamailio package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Thu, 24 Jul 2025 18:45:33 +0200 Source: kamailio Architecture: source Version: 6.0.2-1 Distribution: unstable Urgency: medium Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org> Changed-By: Victor Seva <vseva@debian.org> Closes: 1085171 Changes: kamailio (6.0.2-1) unstable; urgency=medium . * New upstream version 6.0.2 * refresh patches * fix_parallel_bison.patch (Closes: #1085171) Checksums-Sha1: 8b85a86037a8467a9aaa856040ac05ffdc9461ca 5761 kamailio_6.0.2-1.dsc 54701eb18d36f13d48a9d9d589c06927e40cbe69 13084117 kamailio_6.0.2.orig.tar.gz 6efdb1bf20225da5bfa295448b4d434a6beb850d 228 kamailio_6.0.2.orig.tar.gz.asc ec1b3045e316cf4f55c793ec6a75102e2c957548 42072 kamailio_6.0.2-1.debian.tar.xz e9a002362c7dfa5c9eb8c4b90115f194202c1e48 41196 kamailio_6.0.2-1_amd64.buildinfo Checksums-Sha256: 8310ae9d34a0f532811ade2713c992eba6bb203df0788e981103eb725555d780 5761 kamailio_6.0.2-1.dsc 031dcc850649f1c0ae1944d95138624f65d6006805225c239caa90bdaa36f21d 13084117 kamailio_6.0.2.orig.tar.gz 964825bd4cd2756b13fc5877bbf7ad29b13f405c4965b79876b0024ca92ceeaf 228 kamailio_6.0.2.orig.tar.gz.asc 68388bcf8dbb920dc141ae77e952736fb5699a542079fd43c6df3da9f090de7a 42072 kamailio_6.0.2-1.debian.tar.xz 0d4e7d1c9f15c8b25948f4e9728f995c925bb56668c93423957a863621481e7a 41196 kamailio_6.0.2-1_amd64.buildinfo Files: 42114b96dc7d90f8bcf36fc36aab739c 5761 net optional kamailio_6.0.2-1.dsc e6dd08d4c8d78e7a073014a5cbe1d23b 13084117 net optional kamailio_6.0.2.orig.tar.gz 99b859f1a27cbb1ff2d5a805e142e207 228 net optional kamailio_6.0.2.orig.tar.gz.asc f6822bce289de0c9bc207ae78b43b1e1 42072 net optional kamailio_6.0.2-1.debian.tar.xz 069a583abec6e68e6e19d2c78b9f3c87 41196 net optional kamailio_6.0.2-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iIcEARYKAC8WIQQq6AO8RS0zF4SC1vh9e2XEKg7IsgUCaIJnRxEcdnNldmFAZGVi aWFuLm9yZwAKCRB9e2XEKg7IssAOAQCqsRI0kHXlg43W4Ga1FAK6E/J28vS77PO3 cDeVfMRfNwEA1OWNsPaW2O7ac/4ToLrE3O0KnAeV62fXYSusSfOpxgU= =wiuG -----END PGP SIGNATURE-----
We believe that the bug you reported is fixed in the latest version of kamailio, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1085171@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Victor Seva <vseva@debian.org> (supplier of updated kamailio package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Thu, 24 Jul 2025 19:30:05 +0200 Source: kamailio Architecture: source Version: 6.0.2-2 Distribution: unstable Urgency: medium Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org> Changed-By: Victor Seva <vseva@debian.org> Closes: 1085171 Changes: kamailio (6.0.2-2) unstable; urgency=medium . * rework fix_parallel_bison.patch (Closes: #1085171) Checksums-Sha1: 245f38a36b5548c6e249f56c44e8f723f88ac507 5761 kamailio_6.0.2-2.dsc 19fd1457ee1119f1e68a168852934fb6c49f0dfe 42152 kamailio_6.0.2-2.debian.tar.xz 20fca017739fb2fdcfbccfc27a9aedb9f5329c3e 41196 kamailio_6.0.2-2_amd64.buildinfo Checksums-Sha256: 0f91b564c010fbb6f5e39ab340faad05c878181a856cce46e0dfe3cbe86d5ab4 5761 kamailio_6.0.2-2.dsc 739df91d73d1cd4ae80f6c844ba67228ee70d67f1cfd3590e09b2ce7bc68df25 42152 kamailio_6.0.2-2.debian.tar.xz 43d0571cde982dd17a38a8ae8e6c57849439d95ed8a24e4b3d0df4a0c3c0fb0b 41196 kamailio_6.0.2-2_amd64.buildinfo Files: dafbf2f130f5922457382257f4e46f65 5761 net optional kamailio_6.0.2-2.dsc f7b02faa5d3e1da74a4fce12dec6dc75 42152 net optional kamailio_6.0.2-2.debian.tar.xz e25c6e70abaf9bc778510f2546f72e65 41196 net optional kamailio_6.0.2-2_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iIcEARYKAC8WIQQq6AO8RS0zF4SC1vh9e2XEKg7IsgUCaIJwOxEcdnNldmFAZGVi aWFuLm9yZwAKCRB9e2XEKg7Istv7AP9YxXm8WSuQ/SEuFavZyYHDuXpwSokwGXsz 0/FkCAri7wEA0ZEVh+JVx9H6Dq2Ha7NT09EFCw2r+J+sQj/v43mosQI= =CJpD -----END PGP SIGNATURE-----