Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 157034
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Matti Bickel <mabi@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Martin von Gagern <Martin.vGagern@gmx.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
goggles-0.7.10.ebuild Suggested goggles-0.7.10-r1.ebuild text/plain Martin von Gagern 2006-12-05 02:25 0000 1.51 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 157034 depends on: Show dependency tree
Bug 157034 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-12-03 16:57 0000
I included no version numbers in the summary, as this about both goggles-0.7.10
(latest x86) and 0.8.0-r1 (latest ~x86) as well as both fox-wrapper-1 (latest
x86) and fox-wrapper-2 (latest ~x86).

When I try to emerge goggles, I get the following error message:

 Check FOX Config    : FOUND
fox-wrapper: Set the WANT_FOX variable to the desired version of fox, e.g.:
fox-wrapper: Set the WANT_FOX variable to the desired version of fox, e.g.:
build/foxdetect: line 87: [: too many arguments
build/foxdetect: line 87: [: too many arguments
 Check FOX Library   : Not Found

The ebuild does not specify WANT_FOX.
The fox-wrapper script does not provide any default.
Note also that the goggles ebuilds do not depend on a specific fox slot.

I posted this as one single bug, because fixing either one might perhaps solve
the problem. Given the choice, I'd address both, to give the user a working
fox-config without the need to modify the environment, and to give ebuilds a
clear behaviour in case of fox API changes.

Related bugs:
* bug 141689 about a needed goggles version bump and other ebuild problems
* bug 111209 comment 4 simplified wrapper proposed by me, does defaults
* bug 111209 comment 8 about fox-wrapper checks being overengineering

------- Comment #1 From Paweł Hajdan jr 2006-12-04 09:47:30 0000 -------
Same error here:

fox-wrapper: Set the WANT_FOX variable to the desired version of fox, e.g.:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      OS Name: Linux
   OS Release: 2.6.18-gentoo-r3
   OS Machine: x86_64

 Build Config: build/config.linux
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
fox-wrapper: Set the WANT_FOX variable to the desired version of fox, e.g.:
./gb: line 228: [: WANT_FOX="1: integer expression expected
 Check FOX version   :              WANT_FOX="1.2" fox-config --version (Please
install latest FOX 1.2.x release)

!!! ERROR: media-video/goggles-0.7.4-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  goggles-0.7.4-r1.ebuild, line 35:   Called die

------- Comment #2 From Rob 2006-12-04 22:30:03 0000 -------
This effects all versions of goggles presently in Portage.  I have
x11-libs/fox/fox-1.4.34-r1 and x11-libs/fox-wrapper/fox-wrapper-1 installed and
tried to install the three versions of goggles in the tree (0.7.4-r1, 0.7.10,
and 0.8.0-r1 for future reference.)

It appears that goggles-0.7.10's build/foxdetect happens to like fox-1.2.1,
whereas goggles-0.8.0-r1 likes fox-1.4.5 as evident in the beginning of the
file:

FOX_VERSION="1.4.5"
FOX_MAJOR=1
FOX_MINOR=4
FOX_RELEASE=5

It appears that changing the 5's into 34's does not fix anything.  I do not
know how to go on further, but I'm guessing that the problems lie with
foxdetect being built for a specific version of fox....

------- Comment #3 From Martin von Gagern 2006-12-05 02:25:49 0000 -------
Created an attachment (id=103381) [details]
Suggested goggles-0.7.10-r1.ebuild

You might try this ebuild here.
1. exports WANT_FOX
2. depends on an explicit fox slot
3. fixes some sed command
4. checks each command in the install phase

It did work for me, not only compiled but started the gui all right.

------- Comment #4 From Matti Bickel 2006-12-05 15:03:12 0000 -------
Stuff is now in the tree, track bug #157266 for updates.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug