Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210043 - media-sound/sox-14.0.1: Re-add amrnb/amrwb USE flags
Summary: media-sound/sox-14.0.1: Re-add amrnb/amrwb USE flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-13 20:22 UTC by Sebastian
Modified: 2008-02-24 15:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sox-14.0.1-r1.ebuild (sox-14.0.1-r1.ebuild,1.70 KB, text/plain)
2008-02-13 20:23 UTC, Sebastian
Details
stdout.log.bz2 (stdout.log.bz2,10.51 KB, text/plain)
2008-02-13 20:34 UTC, Sebastian
Details
stdout.log.bz2 (stdout.log.bz2,10.51 KB, application/octet-stream)
2008-02-13 20:35 UTC, Sebastian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian 2008-02-13 20:22:49 UTC
Hi all,

amrnb/wb is currently not available in the current sox ebuilds. There's a comment that reads "Fails to compile here ...". Anyway, I tried sox-14.0.1 with both current amr-nb and amr-wb and it compiles fine.

Please consider re-adding the amr USE flags.

Thanks
Sebastian

Reproducible: Always
Comment 1 Sebastian 2008-02-13 20:23:41 UTC
Created attachment 143440 [details]
sox-14.0.1-r1.ebuild

Ebuild with re-added amr USE flags
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-13 20:25:38 UTC
Uh... it fails here as well. Adding broken stuff is a bad idea.
Comment 3 Sebastian 2008-02-13 20:26:26 UTC
Maybe we need to update the deps to amrnb-7.0.0.0 and amrwb-7.0.0.2 as well. I can't test older ebuilds because these are the only ones in the tree. I'm just saying... in case somebody still has older versions installed and the amr-enabled sox ebuild bombs out.
Comment 4 Sebastian 2008-02-13 20:27:51 UTC
Hi Jakub,

which versions of the amr libs are you using?
Comment 5 Sebastian 2008-02-13 20:33:29 UTC
I re-emerged sox with amr support and piped the output to stdout.log and stderr.log so you can see that it actually works.

There's not much in stderr:

>>> Regenerating /etc/ld.so.cache...
>>> Regenerating /etc/ld.so.cache...

;)

Here's my emerge --info:

Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23.16 i686)
=================================================================
System uname: 2.6.23.16 i686 AMD Sempron(tm) 2400+
Timestamp of tree: Sun, 10 Feb 2008 12:46:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/home/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="buildpkg ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/home/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="/home/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="3dnow 3dnowext X aotuv bzip2 cups fontconfig gdbm gif gnutls gs iconv jpeg kde kdeenablefinal logrotate mmx mmxext ncurses nls nptl pccts pcre perl png pop ppds python readline smtp spell sse ssl svg threads tiff truetype unicode x86 xml xorg xpm zlib" ALSA_CARDS="ice1712" ALSA_PCM_PLUGINS="route" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Sebastian 2008-02-13 20:34:42 UTC
Created attachment 143442 [details]
stdout.log.bz2

STDOUT output
Comment 7 Sebastian 2008-02-13 20:35:46 UTC
Created attachment 143443 [details]
stdout.log.bz2

Sorry, last attachment had wrong file type
Comment 8 Alexis Ballier gentoo-dev 2008-02-13 23:09:29 UTC
Actually it's been a while since I tried this and it failed. I just tried again and it seems to be good.


(In reply to comment #2)
> Uh... it fails here as well. Adding broken stuff is a bad idea.

can we have a hint about what's failing for your ?

Comment 9 Jakub Moc (RETIRED) gentoo-dev 2008-02-14 18:07:27 UTC
Well it crapped out on loads of undefined references. Maybe it sucks with --as-needed or whatnot.
Comment 10 Sebastian 2008-02-19 01:52:08 UTC
In sox-14.0.0 amr doesn't work because of a missing header file:

amr-nb.c:55:17: error: amr.h: No such file or directory

The header is referenced in src/amr-wb.c and src/amr-nb.c (#include "amr.h"). Somehow upstream had forgotten to include the header in the release. It magically appeared in 14.0.1, though. :)
Comment 11 Alexis Ballier gentoo-dev 2008-02-24 15:41:44 UTC
works fine here too, thanks Sebastian, I've added the useflags to 14.0.1; I've had no problem with undefined references & friends so...