Bug#804460: asterisk: FTBFS: /usr/bin/ld: cannot find -lSDL2

Chris West (Faux) solo-debianbugs at goeswhere.com
Sun Nov 8 18:41:40 UTC 2015


Source: asterisk
Version: 1:13.1.0~dfsg-1.1
Severity: serious
Justification: fails to build from source
Tags: sid 
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build:

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/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   
/asterisk-13.1.0~dfsg/build_tools/make_linker_version_script chan_pjsip "" "/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
/asterisk-13.1.0~dfsg/Makefile.rules:138: recipe for target 'chan_pjsip.so' failed
make[3]: *** [chan_pjsip.so] Error 1
make[3]: Leaving directory '/asterisk-13.1.0~dfsg/channels'
Makefile:386: recipe for target 'channels' failed

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/asterisk.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)



More information about the Pkg-voip-maintainers mailing list