Bug#801535: asterisk: FTBFS in sid: linker errors due to missing B-D

Jonas Smedegaard dr at jones.dk
Mon Oct 12 13:50:51 UTC 2015


Quoting Tzafrir Cohen (2015-10-12 10:15:30)
> On Sun, Oct 11, 2015 at 11:34:32PM +0200, Jonas Smedegaard wrote:
> > Quoting Andreas Beckmann (2015-10-11 22:58:11)
> > > asterisk FTBFS in sid:
> > > 
> > > [...]
> > > x86_64-linux-gnu-gcc -o pjsip/dialplan_functions.o -c pjsip/dialplan_functions.c -MD -MT pjsip/dialplan_functions.o -MF .pjsip_dialplan_functions.o.d -MP -pthread -I/tmp/buildd/asterisk-13.1.0~dfsg/include -fgnu89-inline -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -I/usr/include/libxml2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations      -fPIC -DAST_MODULE=\"chan_pjsip\"  -DPJ_AUTOCONF=1 -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1 -DOPENSSL_NO_SSL2=1   
> > > /tmp/buildd/asterisk-13.1.0~dfsg/build_tools/make_linker_version_script chan_pjsip "" "/tmp/buildd/asterisk-13.1.0~dfsg"
> > > x86_64-linux-gnu-gcc  -o chan_pjsip.so -pthread -fPIE -pie -Wl,-z,relro -Wl,-z,now    -shared -Wl,--version-script,chan_pjsip.exports,--warn-common  chan_pjsip.o pjsip/dialplan_functions.o  -lpjsua2 -lstdc++ -lpjsua -lpjsip-ua -lpjsip-simple -lpjsip -lpjmedia-codec -lpjmedia -lpjmedia-videodev -lpjmedia-audiodev -lpjmedia -lpjnath -lpjlib-util -lsrtp -lpj -lm -lrt -lpthread -lSDL2 -lavformat-ffmpeg -lavcodec-ffmpeg -lswscale-ffmpeg -lavutil-ffmpeg -lv4l2 -lopencore-amrnb -lopencore-amrwb 
> > > /usr/bin/ld: cannot find -lSDL2
> > > /usr/bin/ld: cannot find -lavformat-ffmpeg
> > > /usr/bin/ld: cannot find -lavcodec-ffmpeg
> > > /usr/bin/ld: cannot find -lswscale-ffmpeg
> > > /usr/bin/ld: cannot find -lavutil-ffmpeg
> > > /usr/bin/ld: cannot find -lv4l2
> > > /usr/bin/ld: cannot find -lopencore-amrnb
> > > /usr/bin/ld: cannot find -lopencore-amrwb
> > > collect2: error: ld returned 1 exit status
> > > 
> > > These seem to be several Build-Depends missing, e.g. libsdl2-dev, libv4l-dev
> > > and the ffmpeg bits seem to have been reorganized as well.
> > 
> > I suspect ig might be pjsip growing dependencies on those libraries and 
> > injecting linkage flags into Asterisk, but instead of actively avoiding 
> > those it seems more sensible to me to consider solving bug#531728.
> 
> You are right. The git version of pjsip should look better.

Right - fails even when explicitly adding those build-dependencies, so 
something seems broken in pjproject and/or its relationship with ffmpeg 
- the former hasn't changed since August, but the latter was updated
from 2.7 to 2.8 on September 22.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20151012/97866590/attachment.sig>


More information about the Pkg-voip-maintainers mailing list