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
Created attachment 246167 [details, diff] Proposed patch
Created attachment 246169 [details] Proposed new ebuild applying the new patch
In portage
Thanks a lot!
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