Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286081 - =media-sound/libifp-module-1.0.0.2 doesn't compile with Linux >= 2.6.31
Summary: =media-sound/libifp-module-1.0.0.2 doesn't compile with Linux >= 2.6.31
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
: 287966 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-23 13:29 UTC by Martin d'Anjou
Modified: 2011-03-20 17:36 UTC (History)
3 users (show)

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


Attachments
build log (build.log,11.01 KB, text/plain)
2009-09-23 13:32 UTC, Martin d'Anjou
Details
build environment (environment,129.27 KB, text/plain)
2009-09-23 13:33 UTC, Martin d'Anjou
Details
Linux kernel 2.6.31 changed API for nls utf, this tries to fix the sources here to match the new API (libifp-module-1.0.0.2-kernel-2.6.31.patch,1.07 KB, patch)
2009-09-25 18:23 UTC, Arttu Valo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin d'Anjou 2009-09-23 13:29:21 UTC
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
Comment 1 Martin d'Anjou 2009-09-23 13:32:42 UTC
Created attachment 205018 [details]
build log
Comment 2 Martin d'Anjou 2009-09-23 13:33:11 UTC
Created attachment 205019 [details]
build environment
Comment 3 Arttu Valo 2009-09-23 23:43:07 UTC
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.
Comment 4 Arttu Valo 2009-09-25 18:23:56 UTC
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?
Comment 5 Martin d'Anjou 2009-09-26 10:06:14 UTC
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
Comment 6 James Ausmus 2009-10-06 23:17:55 UTC
*** Bug 287966 has been marked as a duplicate of this bug. ***
Comment 7 James Ausmus 2009-10-06 23:37:29 UTC
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.
Comment 8 James Ausmus 2009-10-07 15:59:07 UTC
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

Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2009-10-07 16:13:47 UTC
+  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...       
Comment 10 Patrick McLean gentoo-dev 2011-02-22 17:15:01 UTC
I no longer have the hardware or any interest in this package...
Comment 11 Martin d'Anjou 2011-02-24 00:06:15 UTC
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.
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2011-03-20 17:36:16 UTC
Removed from tree as planned