Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336123 - media-sound/sox-14.3.1 don't compile with uclibc
Summary: media-sound/sox-14.3.1 don't compile with uclibc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-05 17:31 UTC by Erasmo Zubillaga
Modified: 2011-03-30 21:19 UTC (History)
0 users

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


Attachments
Proposed patch (sox-14.3.1-uclibc.patch,824 bytes, patch)
2010-09-05 17:32 UTC, Erasmo Zubillaga
Details | Diff
Proposed new ebuild applying the new patch (sox-14.3.1.ebuild,1.93 KB, text/plain)
2010-09-05 17:32 UTC, Erasmo Zubillaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erasmo Zubillaga 2010-09-05 17:31:10 UTC
sox-14.3.1 will not compile in uclibc based systems. Last lines of the emerge process following:

/bin/sh ../libtool --silent --tag=CC  --silent --mode=compile i686-pc-linux-uclibc-gcc -DHAVE_CONFIG_H -I.  -DLADSPA_PATH="\"/usr/lib/ladspa\"" -DPKGLIBDIR="\"/usr/lib/sox\"" -DDISTRO="\"Gentoo\""  -Wtraditional-conversion    -march=core2 -Os -pipe -fomit-frame-pointer -fsigned-char -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic -fopenmp -MT libsox_la-formats.lo -MD -MP -MF .deps/libsox_la-formats.Tpo -c -o libsox_la-formats.lo `test -f 'formats.c' || echo './'`formats.c
mv -f .deps/libsox_la-g72x.Tpo .deps/libsox_la-g72x.Plo
formats.c: In function 'rewind_pipe':
formats.c:399: error: 'FILE' has no member named '_IO_read_ptr'
formats.c:399: error: 'FILE' has no member named '_IO_read_base'
/bin/sh ../libtool --silent --tag=CC  --silent --mode=compile i686-pc-linux-uclibc-gcc -DHAVE_CONFIG_H -I.  -DLADSPA_PATH="\"/usr/lib/ladspa\"" -DPKGLIBDIR="\"/usr/lib/sox\"" -DDISTRO="\"Gentoo\""  -Wtraditional-conversion    -march=core2 -Os -pipe -fomit-frame-pointer -fsigned-char -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic -fopenmp -MT libsox_la-formats_i.lo -MD -MP -MF .deps/libsox_la-formats_i.Tpo -c -o libsox_la-formats_i.lo `test -f 'formats_i.c' || echo './'`formats_i.c
make[1]: *** [libsox_la-formats.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/libsox_la-raw.Tpo .deps/libsox_la-raw.Plo
mv -f .deps/libsox_la-formats_i.Tpo .deps/libsox_la-formats_i.Plo
make[1]: Leaving directory `/var/tmp/portage/media-sound/sox-14.3.0/work/sox-14.3.0/src'
make: *** [all-recursive] Error 1
 * ERROR: media-sound/sox-14.3.0 failed:
 *   emake failed.
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2583:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed."
 * 
 * If you need support, post the output of 'emerge --info =media-sound/sox-14.3.0',
 * the complete build log and the output of 'emerge -pqv =media-sound/sox-14.3.0'.
 * The complete build log is located at '/var/tmp/portage/media-sound/sox-14.3.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/sox-14.3.0/temp/environment'.
 * S: '/var/tmp/portage/media-sound/sox-14.3.0/work/sox-14.3.0'



Reproducible: Always

Steps to Reproduce:
emerge sox
Comment 1 Erasmo Zubillaga 2010-09-05 17:32:08 UTC
Created attachment 246167 [details, diff]
Proposed patch
Comment 2 Erasmo Zubillaga 2010-09-05 17:32:56 UTC
Created attachment 246169 [details]
Proposed new ebuild applying the new patch
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2011-03-29 12:43:53 UTC
In portage
Comment 4 Erasmo Zubillaga 2011-03-29 13:13:40 UTC
Thanks a lot!
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2011-03-30 21:19:19 UTC
Reported to upstream sf.net tracker page, under bugs with title "sox-14.3.2 and uClibc support in case this link doesn't work:

https://sourceforge.net/tracker/?func=detail&aid=3261249&group_id=10706&atid=110706