real-time library for sampling rate conversion used in asterisk by 'app/app_jack' & 'codec/codec_resample'
Created attachment 251565 [details] ebuild for 'libresample-0.1.3.ebuild'
Please don't CC maintainers when you cannot assign bugs.
This is in portage now; I have requested ~x86 keywording separately as I only have AMD64 hardware these days. I took src_configure out and added IUSE in, but other then that no changes were necessary. Many thanks Oliver :)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../lib64/libresample.a(resample.c.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../lib64/libresample.a: could not read symbols: Bad value
This was never tested on AMD64. Please do not submit untested material again. Removing from tree.
Reopening
Created attachment 256101 [details] log of 'media-libs/libresample' on amd64 (In reply to comment #5) > This was never tested on AMD64. Please do not submit untested material again. > Removing from tree. No, it was tested on both, amd64 and x86. Each time I create an ebuild needed by my own I write and check this on a small and clean 'lab-pc' based on x86. When things go well I re-check this on amd64. And when everything's fine there too I make a third run on a x86 production-stable machine to see if all's still well and fit my needs/dependencys etc. Please have a look on attached log and info for details. But a new problem approaches as '/usr/lib64/libresample.a' collides with package 'net-libs/pjsip' for now. A quick look to the code of pjsip reveals that it contains at least some of the same code of 'libresample'. Maybe it's enough to emerge pjsip to get the same result as I achieved with libresample. I'll check and report.
Created attachment 256103 [details] output of 'emerge --info'
(In reply to comment #7) > No, it was tested on both, amd64 and x86. It was compiled on AMD64, but never tested. Testing involves rebuilding dependencies; in this case Asterisk. Build any Asterisk 1.6.2 branch against this libresample ebuild on any AMD64 Gentoo host and you will understand why I will not visit this bug again.
*** Bug 675942 has been marked as a duplicate of this bug. ***