Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54660 - Updating to x11-libs/fox-1.2.4 breaks rezound and media-sound/rezound-0.9.0_beta ebuild
Summary: Updating to x11-libs/fox-1.2.4 breaks rezound and media-sound/rezound-0.9.0_b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Frank van de Pol (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-21 09:17 UTC by Janne Johansson
Modified: 2004-06-29 12:08 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janne Johansson 2004-06-21 09:17:58 UTC
After updating the fox library, the rezound won't start nor compile.

Reproducible: Always
Steps to Reproduce:


Actual Results:  
The configure step fails with:

checking for FXApp class in -lFOX-1.1... no
checking for FXApp class in -lFOX... no
configure: error:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   !!!!! Fatal Error:  libFOX missing, broken or outdated !!!!!

   My test couldn't find the class FXApp in libFOX

   If you don't have FOX, or need a more recent version, download
   the latest version at: http://fox-toolkit.org

   If you have FOX installed and the linker couldn't find it, you can specify
   the path by passing --with-FOX-path=/path/to/FOX to configure.
   You may also have to pass the FOX header path with the
   --with-FOX-include=   option. Setting these flags overrides the library
   test.

   If you have FOX and you believe it is up to date, you can override
   this check by passing --disable-FOX-check as an option to configure.
   specifying --with-FOX-path or --with-FOX-include will override the
   test for libFOX

   If you believe this error message is a result of a bug in the
   configure script, please report the bug to the Package Maintainers.
   See docs/INSTALL for information on submitting bug-reports.

   When submitting a bug report about this issue, please choose:
                "... Compile/Configure Issue"
   as the category of the bug.  Also, it would really help me if you
   include a screendump or script file of the error, see script(1) man
   page for info on how to record a script file.

   See config.log for compiler input and output.

   ReZound home page http://rezound.sourceforge.net
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


!!! ERROR: media-sound/rezound-0.9.0_beta failed.
!!! Function src_compile, Line 37, Exitcode 1
!!! (no error message)
Comment 1 Chris White (RETIRED) gentoo-dev 2004-06-21 11:27:51 UTC
Yes, I can confirm this bug too.  I'm re-assigning it to the package mantainer.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-22 13:42:58 UTC
What vesrion of fox do you have installed?
Comment 3 Janne Johansson 2004-06-22 15:01:59 UTC
Um, it would seem to be 1.2.4
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2004-06-23 01:30:42 UTC
*** Bug 54851 has been marked as a duplicate of this bug. ***
Comment 5 Frank van de Pol (RETIRED) gentoo-dev 2004-06-23 01:39:22 UTC
I'll have a look at this one
Comment 6 Chris White (RETIRED) gentoo-dev 2004-06-23 01:54:09 UTC
The source of the problem is actually Fox library.  They recently went to a new library/include directory that basically goes something like this:

-lFox-[major version]-[minor version]
/usr/include/fox-[major version]-[minor version]

Now, the pre-fox 1.2.4 releases went something like this:

-lFox
/usr/include/fox

Problem being, they're not going to find it there.  I contacted upstream and they don't plan on changing that naming convention.  So for now, the solution would be something like this:

if the version of fox is pre-1.2.4
	Configure should look for -lFox and /usr/include/fox
if the version of fox is >= 1.2.4
	Configure should look for -lFox-[major version]-[minor version]
	and /usr/include/fox-[major version]-[minor version]

sort of an odd way to do things, but that will hopefully go bye bye once the old fox ebuilds get depricated (leaving us with a standardized format :).
Comment 7 Frank van de Pol (RETIRED) gentoo-dev 2004-06-24 01:17:41 UTC
Chris, 
my preference is to forward port this application to the new libFOX. Unfortunate there are some (minor?) changes in the 1.2 API, so a straigth recompile doesn't work. I nailed a few but there are still some issues left.

Until the code is compatible with the 1.2 libFOX API we'll have to specify in the rezound package dependencies to not use the newer libraries. 
Can you try changing the DEPEND by adding a "<x11-libs/fox-1.2" and do a emerge --update.

The libFOX doesn't seem to be used too much, so a downgrade of that package should not break too many people's systems.
Comment 8 Frank van de Pol (RETIRED) gentoo-dev 2004-06-28 14:23:46 UTC
Created a pach to forward port rezound to libFox1.2.
Committed to CVS as rezound-0.9.0_beta-r1

Janne, can you verify that it now works for you?
thanks, 
Frank.
Comment 9 Janne Johansson 2004-06-28 20:51:05 UTC
Yes, it works fine. Thanks.
Comment 10 Frank van de Pol (RETIRED) gentoo-dev 2004-06-29 12:08:42 UTC
Thanks for helping us out. Closing this one.