libifp-module is brought in by audacity. libifp-module does not emerge. # emerge world -uavDN These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] media-sound/libifp-module-1.0.0.2 0 kB [ebuild R ] media-libs/libifp-1.0.0.2 USE="modules* -doc -examples" 0 kB [ebuild U ] x11-libs/qscintilla-2.4 [2.3.2] USE="python qt4 -doc (-debug%) (-examples%)" 0 kB [ebuild U ] dev-python/qscintilla-python-2.4 [2.3.2-r2] USE="qt4 -debug%" 0 kB [ebuild U ] media-sound/audacity-1.3.8 [1.3.7] USE="alsa ffmpeg jack libsamplerate mp3 vorbis -flac -id3tag -ladspa -midi -soundtouch -twolame -vamp" 0 kB [ebuild N ] dev-cpp/pangomm-2.24.0 USE="-debug -doc" 0 kB [ebuild U ] dev-cpp/gtkmm-2.16.0 [2.12.7] USE="-debug -doc -examples -test" 0 kB [blocks b ] <dev-cpp/gtkmm-2.13:2.4 ("<dev-cpp/gtkmm-2.13:2.4" is blocking dev-cpp/pangomm-2.24.0) Total: 7 packages (4 upgrades, 2 new, 1 reinstall), Size of downloads: 0 kB Conflict: 1 block Would you like to merge these packages? [Yes/No] Yes >>> Emerging (1 of 7) media-sound/libifp-module-1.0.0.2 ... >>> Failed to emerge media-sound/libifp-module-1.0.0.2, Log file: >>> '/var/tmp/portage/media-sound/libifp-module-1.0.0.2/temp/build.log' * Messages for package media-sound/libifp-module-1.0.0.2: * * ERROR: media-sound/libifp-module-1.0.0.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3372: Called linux-mod_src_compile * environment, line 2614: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= all * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-sound/libifp-module-1.0.0.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/libifp-module-1.0.0.2/temp/environment'. Reproducible: Always Steps to Reproduce: emerge world -uavDN
Created attachment 205018 [details] build log
Created attachment 205019 [details] build environment
For anyone looking into this: http://lwn.net/Articles/2.6-kernel-api/ 2.6.31: "Unicode handling in the kernel has been updated, with functions like utf_mbstowcs() being renamed to utf8s_to_utf16s() for better readability." So, it could be a straightforward search-and-replace for a patch -- or then maybe not as also the parameter types have changed, e.g., from wchar_t* to unicode_t.
Created attachment 205224 [details, diff] Linux kernel 2.6.31 changed API for nls utf, this tries to fix the sources here to match the new API Danger, Will Robinson: this patch is an off-the-cuff attempt at fixing the function names to match those in kernel 2.6.31. It compiled on my box. I don't even have the hardware to test and see if it really works (some iRiver stuff?). Only a foolishly brave person should even try it. Also, upstream is one of the most dead ones I've seen recently. Last activity in 2005?
If you do not have an iRiver, or don't care about it, add this line to /etc/portage/package.use: media-libs/libifp -modules And audacity will emerge without pulling libifp or libifp-module
*** Bug 287966 has been marked as a duplicate of this bug. ***
The patch from comment #4 fixed the compilation for me - however, I don't currently have access to an iRiver device to do functional testing.
Also, can the summary of this bug be changed to something more sane/searchable? Maybe something like: media-sound/libifp-module-1.0.0.2 fails to compile against kernel-2.6.31 and later
+ 07 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> libifp-1.0.0.2.ebuild: + Replace USE modules with postinst message wrt #286081, because + libifp-module is broken and not maintained. So people won't run into it. Since noone seems to have the hardware, but everyone keeps installing it...
I no longer have the hardware or any interest in this package...
I now use linux mint where audacity comes pre-compiled. I no longer need this. Since I am the reporter of this bug, let me know if I should be the one closing it, or just close it.
Removed from tree as planned