Package: sox Version: 14.0.0-5 Severity: normal Hi,
While investigating another sox bug (crash on amd64 with certain
effects), I noticed that I couldn't get a build with debug symbols
even with DEB_BUILD_OPTIONS=noopt,nostrip. On further investigation, I
also noticed that the options to the compiler also do not include any
optimization switches. Needless to say, this probably makes sox many
times slower than it would otherwise be.
The culprit turns out to be this line in debian/rules:
DEB_CONFIGURE_SCRIPT_ENV += CFLAGS="-D_REENTRANT"
This in fact replaces the CFLAGS given to the configure script. The
command that is executed is actually (long line broken):
cd build-tree/sox-14.0.0 && CC="cc" CXX="g++" CFLAGS="-g -Wall -O2"
CXXFLAGS="-g -Wall -O2" CPPFLAGS="" LDFLAGS="" CFLAGS="-D_REENTRANT"
/home/sliedes/t/sox/sox-14.0.0/build-tree/sox-14.0.0/configure
--build=x86_64-linux-gnu --prefix=/usr
--includedir="\${prefix}/include" --mandir="\${prefix}/share/man"
--infodir="\${prefix}/share/info" --sysconfdir=/etc
--localstatedir=/var --libexecdir="\${prefix}/lib/sox"
--disable-maintainer-mode --disable-dependency-tracking --srcdir=.
--disable-lame
Note how CFLAGS is present twice, the latter one overriding the former
one.
I will probably file another bug report with more details on the crash
and a backtrace (and hopefully even a patch, although I've been rather
poor at following such promises lately due to lack of time) in the
coming days.
Sami
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.23.12-sli (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages sox depends on:
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libltdl3 1.5.24-2 A system independent dlopen wrappe
ii libsamplerate0 0.1.2-5 audio rate conversion library
ii libsox0 14.0.0-5 SoX library
Versions of packages sox recommends:
ii libsox-fmt-alsa 14.0.0-5 SoX alsa format I/O library
ii libsox-fmt-ao 14.0.0-5 SoX Libao format I/O library
ii libsox-fmt-base 14.0.0-5 Minimal set of SoX format librarie
ii libsox-fmt-oss 14.0.0-5 SoX OSS format I/O library
-- no debconf information
signature.asc
Description: Digital signature

