Bug#1014133: asterisk: Asterisk fails to build from source

Ralf Schlatterbeck rsc at runtux.com
Thu Jun 30 18:58:38 BST 2022


Package: asterisk
Version: 1:16.16.1~dfsg-1+deb11u1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

I'm trying to build asterisk from source (bullseye) using:

dpkg-buildpackage -rfakeroot

Looks like the verification of the needed pjproject sub-project fails.
The last relevant lines from configure:

configure:9241: checking for embedded pjproject (may have to download)
configure:9243: result: configuring
configure:9310: result: failed
configure:9312: Unable to configure third-party/pjproject
configure:9314: error: Re-run the ./configure command with 'NOISY_BUILD=yes' appended to see error details.

If I re-run this, it tries to download the pjproject tarball and fails
to verify the checksum.
If I clean (debian/rules clean) and configure by hand it seems to be
able to verify (but fails later with a different error).

Let me know if I'm missing some trick here and if you need additional
information.
My plan (why I'm trying to re-build) is to include a simple patch to
res/res_pjsip_messaging.c to allow content-types other than text/plain.
But I'm failing on the unmodified Debian sources.


-- System Information:
Debian Release: 11.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-15-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages asterisk depends on:
ii  adduser                  3.118
ii  asterisk-config          1:16.16.1~dfsg-1+deb11u1
ii  asterisk-core-sounds-en  1.6.1-1
ii  asterisk-modules         1:16.16.1~dfsg-1+deb11u1
ii  libc6                    2.31-13+deb11u3
ii  libcap2                  1:2.44-1
ii  libcrypt1                1:4.4.18-4
ii  libedit2                 3.1-20191231-2+b1
ii  libjansson4              2.13.1-1.1
ii  libpopt0                 1.18-2
ii  libsqlite3-0             3.34.1-3
ii  libssl1.1                1.1.1n-0+deb11u3
ii  libsystemd0              247.3-7
ii  liburiparser1            0.9.4+dfsg-1+deb11u1
ii  libuuid1                 2.36.1-8+deb11u1
ii  libxml2                  2.9.10+dfsg-6.7+deb11u2
ii  libxslt1.1               1.1.34-4
ii  lsb-base                 11.1.0

Versions of packages asterisk recommends:
ii  asterisk-moh-opsound-gsm                         2.03-1.1
ii  asterisk-voicemail [asterisk-voicemail-storage]  1:16.16.1~dfsg-1+deb11u1
ii  sox                                              14.4.2+git20190427-2

Versions of packages asterisk suggests:
pn  asterisk-dahdi   <none>
ii  asterisk-dev     1:16.16.1~dfsg-1+deb11u1
pn  asterisk-doc     <none>
pn  asterisk-ooh323  <none>
pn  asterisk-opus    <none>
pn  asterisk-vpb     <none>

-- no debconf information



More information about the Pkg-voip-maintainers mailing list