Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342181 - media-libs/libresample-0.1.5 - real-time library for sample rate conversion
Summary: media-libs/libresample-0.1.5 - real-time library for sample rate conversion
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: https://ccrma.stanford.edu/~jos/resam...
Whiteboard:
Keywords:
: 675942 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-22 12:58 UTC by Oliver Jaksch
Modified: 2019-01-21 07:05 UTC (History)
2 users (show)

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


Attachments
ebuild for 'libresample-0.1.3.ebuild' (libresample-0.1.3.ebuild,633 bytes, text/plain)
2010-10-22 12:58 UTC, Oliver Jaksch
Details
log of 'media-libs/libresample' on amd64 (media-libs:libresample-0.1.3:20101202-063854.log,4.75 KB, text/plain)
2010-12-02 07:03 UTC, Oliver Jaksch
Details
output of 'emerge --info' (emerge.info,9.47 KB, text/plain)
2010-12-02 07:04 UTC, Oliver Jaksch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Jaksch 2010-10-22 12:58:20 UTC
real-time library for sampling rate conversion
used in asterisk by 'app/app_jack' & 'codec/codec_resample'
Comment 1 Oliver Jaksch 2010-10-22 12:58:54 UTC
Created attachment 251565 [details]
ebuild for 'libresample-0.1.3.ebuild'
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-23 16:27:06 UTC
Please don't CC maintainers when you cannot assign bugs.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2010-12-01 17:02:49 UTC
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 :)
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2010-12-01 19:02:34 UTC
/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
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2010-12-01 19:03:09 UTC
This was never tested on AMD64. Please do not submit untested material again. Removing from tree.
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-12-01 21:24:20 UTC
Reopening
Comment 7 Oliver Jaksch 2010-12-02 07:03:55 UTC
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.
Comment 8 Oliver Jaksch 2010-12-02 07:04:17 UTC
Created attachment 256103 [details]
output of 'emerge --info'
Comment 9 Tony Vroon (RETIRED) gentoo-dev 2010-12-02 10:34:58 UTC
(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.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2019-01-21 07:02:49 UTC
*** Bug 675942 has been marked as a duplicate of this bug. ***