Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89457 - Error in mozilla-firefox-1.0.3.ebuild during seding
Summary: Error in mozilla-firefox-1.0.3.ebuild during seding
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-17 14:06 UTC by Fabio Rossi
Modified: 2005-05-30 15:58 UTC (History)
0 users

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


Attachments
mozilla-firefox-1.0.3.ebuild.patch (mozilla-firefox-1.0.3.ebuild.patch,511 bytes, patch)
2005-04-17 14:07 UTC, Fabio Rossi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2005-04-17 14:06:32 UTC
There is an error in the mozilla-firefox 1.0.3 ebuild in the src_install() function: a backslash is missing in a sed command.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Fabio Rossi 2005-04-17 14:07:52 UTC
Created attachment 56540 [details, diff]
mozilla-firefox-1.0.3.ebuild.patch

Add a backslash to a sed command
Comment 2 Joe Wells 2005-05-03 14:07:45 UTC
I'm seeing this bug also.  The error output you get while emerge is installing looks like this:

------------------------------------------------------------------------
sed: option requires an argument -- e
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

  -n, --quiet, --silent
                 suppress automatic printing of pattern space
  -e script, --expression=script
                 add the script to the commands to be executed
  -f script-file, --file=script-file
                 add the contents of script-file to the commands to be executed
  -i[SUFFIX], --in-place[=SUFFIX]
                 edit files in place (makes backup if extension supplied)
  -l N, --line-length=N
                 specify the desired line-wrap length for the `l' command
  --posix
                 disable all GNU extensions.
  -r, --regexp-extended
                 use extended regular expressions in the script.
  -s, --separate
                 consider files as separate rather than as a single continuous
                 long stream.
  -u, --unbuffered
                 load minimal amounts of data from the input files and flush
                 the output buffers more often
      --help     display this help and exit
      --version  output version information and exit

If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret.  All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.

E-mail bug reports to: bonzini@gnu.org .
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
/usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.0.3.ebuild: line 143: s:/lib/firefox-1.0.3:/lib/MozillaFirefox:g: No such file or directory
--------------------------------------------------------------------------

After checking the ebuild carefully vs. the installed files, it seems this bug has no actual effect on the installed files.  However, the error message is quite annoying and likely to cause other people in the future to waste time tracking it down.  :-(

I therefore highly recommend applying the patch proposed by Fabio Rossi.
Comment 3 Fabio Rossi 2005-05-14 09:26:48 UTC
The same error for mozilla-firefox-1.0.4 ebuild
Comment 4 Fabio Rossi 2005-05-17 09:19:25 UTC
Resolved on 17 May 2005, thanks to Saleem Abdulrasool.