[Pkg-alsa-devel] Bug#701448: alsa-plugins: ftbfs with eglibc-2.17
Matthias Klose
doko at debian.org
Sat Feb 23 11:35:50 UTC 2013
Package: src:alsa-plugins
Version: 1.0.25-2
Severity: important
Tags: sid jessie
User: debian-glibc at lists.debian.org
Usertags: ftbfs-glibc-2.17
The package fails to build in a test rebuild on at least amd64 with
eglibc-2.17, but succeeds to build with eglibc-2.13. The
severity of this report may be raised before the jessie release.
The test rebuild was done together with GCC-4.8, so some issues
might be caused by the updated GCC as well.
pcm_usb_stream.c:222:73: error: 'MREMAP_MAYMOVE' undeclared (first use in this function)
The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/alsa-plugins_1.0.25-2_unstable_gcc48.log
The last lines of the build log are at the end of this report.
To install eglibc from experimental,
apt-get -t experimental install libc6-dev
To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev
[...]
make[3]: Entering directory `/«PKGBUILDDIR»/oss'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -Wall -g -I/usr/include/alsa -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o ctl_oss.lo ctl_oss.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -Wall -g -I/usr/include/alsa -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c ctl_oss.c -fPIC -DPIC -o .libs/ctl_oss.o
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -module -avoid-version -export-dynamic -no-undefined -Wl,--no-undefined -Wl,-z,relro -Wl,-z,defs -o libasound_module_ctl_oss.la -rpath /usr/lib/x86_64-linux-gnu/alsa-lib ctl_oss.lo -lasound -lasound
libtool: link: gcc -shared -fPIC -DPIC .libs/ctl_oss.o -lasound -O2 -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,defs -Wl,-soname -Wl,libasound_module_ctl_oss.so -o .libs/libasound_module_ctl_oss.so
libtool: link: ( cd ".libs" && rm -f "libasound_module_ctl_oss.la" && ln -s "../libasound_module_ctl_oss.la" "libasound_module_ctl_oss.la" )
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -Wall -g -I/usr/include/alsa -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o pcm_oss.lo pcm_oss.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -Wall -g -I/usr/include/alsa -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c pcm_oss.c -fPIC -DPIC -o .libs/pcm_oss.o
pcm_oss.c: In function 'oss_start':
pcm_oss.c:100:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read(oss->fd, &tmp, 0);
^
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -module -avoid-version -export-dynamic -no-undefined -Wl,--no-undefined -Wl,-z,relro -Wl,-z,defs -o libasound_module_pcm_oss.la -rpath /usr/lib/x86_64-linux-gnu/alsa-lib pcm_oss.lo -lasound -lasound
libtool: link: gcc -shared -fPIC -DPIC .libs/pcm_oss.o -lasound -O2 -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,defs -Wl,-soname -Wl,libasound_module_pcm_oss.so -o .libs/libasound_module_pcm_oss.so
libtool: link: ( cd ".libs" && rm -f "libasound_module_pcm_oss.la" && ln -s "../libasound_module_pcm_oss.la" "libasound_module_pcm_oss.la" )
make[3]: Leaving directory `/«PKGBUILDDIR»/oss'
Making all in mix
make[3]: Entering directory `/«PKGBUILDDIR»/mix'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -Wall -g -I/usr/include/alsa -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o pcm_upmix.lo pcm_upmix.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -Wall -g -I/usr/include/alsa -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c pcm_upmix.c -fPIC -DPIC -o .libs/pcm_upmix.o
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -module -avoid-version -export-dynamic -no-undefined -Wl,--no-undefined -Wl,-z,relro -Wl,-z,defs -o libasound_module_pcm_upmix.la -rpath /usr/lib/x86_64-linux-gnu/alsa-lib pcm_upmix.lo -lasound -lasound
libtool: link: gcc -shared -fPIC -DPIC .libs/pcm_upmix.o -lasound -O2 -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,defs -Wl,-soname -Wl,libasound_module_pcm_upmix.so -o .libs/libasound_module_pcm_upmix.so
libtool: link: ( cd ".libs" && rm -f "libasound_module_pcm_upmix.la" && ln -s "../libasound_module_pcm_upmix.la" "libasound_module_pcm_upmix.la" )
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -Wall -g -I/usr/include/alsa -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o pcm_vdownmix.lo pcm_vdownmix.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -Wall -g -I/usr/include/alsa -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c pcm_vdownmix.c -fPIC -DPIC -o .libs/pcm_vdownmix.o
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -module -avoid-version -export-dynamic -no-undefined -Wl,--no-undefined -Wl,-z,relro -Wl,-z,defs -o libasound_module_pcm_vdownmix.la -rpath /usr/lib/x86_64-linux-gnu/alsa-lib pcm_vdownmix.lo -lasound -lasound
libtool: link: gcc -shared -fPIC -DPIC .libs/pcm_vdownmix.o -lasound -O2 -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,defs -Wl,-soname -Wl,libasound_module_pcm_vdownmix.so -o .libs/libasound_module_pcm_vdownmix.so
libtool: link: ( cd ".libs" && rm -f "libasound_module_pcm_vdownmix.la" && ln -s "../libasound_module_pcm_vdownmix.la" "libasound_module_pcm_vdownmix.la" )
make[3]: Leaving directory `/«PKGBUILDDIR»/mix'
Making all in usb_stream
make[3]: Entering directory `/«PKGBUILDDIR»/usb_stream'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -Wall -g -I/usr/include/alsa -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o pcm_usb_stream.lo pcm_usb_stream.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -Wall -g -I/usr/include/alsa -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c pcm_usb_stream.c -fPIC -DPIC -o .libs/pcm_usb_stream.o
pcm_usb_stream.c: In function 'snd_pcm_us_prepare':
pcm_usb_stream.c:222:3: warning: implicit declaration of function 'mremap' [-Wimplicit-function-declaration]
uus->s = mremap(uus->s, sizeof(struct usb_stream), uus->s->read_size, MREMAP_MAYMOVE);
^
pcm_usb_stream.c:222:73: error: 'MREMAP_MAYMOVE' undeclared (first use in this function)
uus->s = mremap(uus->s, sizeof(struct usb_stream), uus->s->read_size, MREMAP_MAYMOVE);
^
pcm_usb_stream.c:222:73: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [pcm_usb_stream.lo] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/usb_stream'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
More information about the Pkg-alsa-devel
mailing list