Sox fails to find they system gsm.h because it is in /usr/include and not
/usr/include/gsm/
Emerge log and patch will be attached.
Reproducible: Always
Steps to Reproduce:
1.emerge sox
2.
3.
Actual Results:
See emerge log
emerge info:
Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.22-gentoo-r3 i686)
=================================================================
System uname: 2.6.22-gentoo-r3 i686 AMD Athlon(tm) 64 Processor 3800+
Timestamp of tree: Fri, 14 Sep 2007 00:20:01 +0000
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-gis
/usr/portage/local/layman/science /usr/portage/local/layman/sunrise
/usr/local/overlays/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi alsa apache2 atlas audiofile berkdb bitmap-fonts blas
bonobo bzip2 cairo calendar cdr cli cracklib crypt cscope cups curl dba dbus
dga doc dri dts dv dvd dvdr dvdread eds emacs emboss encode esd evo exif expat
f77 fam ffmpeg firefox flac fortran gb gd gdbm gif gimpprint gmp gnome gphoto2
gpm gstreamer gtk gtkhtml guile hal iconv idn imagemagick ipv6 jack java jpeg
jpeg2k kerberos lapack lcms ldap libcaca mad mhash midi mikmod mmx mng motif
mozcalendar mp3 mpeg mudflap mysql nas ncurses nls nptl nptlonly nvidia ogg
oggvorbis openal opengl openmp oss pam pcre pdf perl png postgres python qt3
qt3support qt4 quicktime readline recode reflection scanner sdl session shorten
slang snmp speex spell spl sqlite sse ssl svg tcl tcltk tcpd tetex theora tiff
tk truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs wmf x86
xface xine xml xml2 xorg xv xvid xvmc zlib" ALSA_CARDS="via82xx cmipci ens1371"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Nothing in entire Portage is using media-sound/gsm, even sox ebuild is
completely missing any references to it. So, since nothing is using it.. I've
simply changed gsm-1.0.12 to install gsm.h to /usr/include/gsm so sox won't
need a patch.