Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266655 - app-portage/himerge-0.30.36 Simple Ebuild Syntax Issues
Summary: app-portage/himerge-0.30.36 Simple Ebuild Syntax Issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-18 16:44 UTC by John R. Graham
Modified: 2009-07-29 14:37 UTC (History)
1 user (show)

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


Attachments
Patch fixes the noted issues. (himerge-syntax-patches.patch,1.08 KB, patch)
2009-04-18 21:26 UTC, John R. Graham
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John R. Graham gentoo-dev 2009-04-18 16:44:38 UTC
On line 27 of the ebuild, the package atom operand to "has_version" is not quoted, resulting in '>=' bring interpreted as redirection.

On line On line 28, "built_with_use" was misspelled as "build_with_use".

I can't really vouch for the rest of the ebuild.  Patch coming.

- John
Comment 1 Shinji 2009-04-18 19:56:18 UTC
Here are the contents of the log file and the errors caused by this bug:

/usr/portage/app-portage/himerge/himerge-0.30.36.ebuild: line 27: =www-client/mozilla-firefox-3.0: No such file or directory
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m ERROR: app-portage/himerge-0.30.36 failed.
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m                ebuild.sh, line   49:  Called pkg_setup
 ^[[31;01m*^[[0m   himerge-0.30.36.ebuild, line   35:  Called built_with_use '-o' 'dev-haskell/gtk2hs' 'firefox' 'seamonkey' 'xulrunner'
 ^[[31;01m*^[[0m            eutils.eclass, line 1763:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m                                        die)   die "$PKG does not actually support the $1 USE flag!";;
 ^[[31;01m*^[[0m  The die message:
 ^[[31;01m*^[[0m   dev-haskell/gtk2hs-0.9.12.1 does not actually support the firefox USE flag!
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant.
 ^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/app-portage/himerge-0.30.36/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/app-portage/himerge-0.30.36/temp/die.env'.
 ^[[31;01m*^[[0m 
Comment 2 John R. Graham gentoo-dev 2009-04-18 21:26:43 UTC
Created attachment 188832 [details, diff]
Patch fixes the noted issues.

Yeah, that's why I didn't submit the patch as I wasn't sure it was complete.  Had a *lot* of dependencies to build, now done.  The attached patch is comprehensive and, after the patch, the package builds.  Looks like a work in progress that was accidentally released to stable.
Comment 3 John R. Graham gentoo-dev 2009-04-18 21:29:28 UTC
Forgot to describe the additional issues.  "built_with_use" was referencing a non-existent USE flag on dev-haskell/gtk2hs, namely "firefox".  After that, the thing builds but I'm not a Haskell expert so I can go no further.

- John
Comment 4 John R. Graham gentoo-dev 2009-07-29 14:37:30 UTC
Closing this bug as himerge-0.30.36 is no longer in Portage and subsequent ebuilds no longer exhibit the reported issues.

- John