Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645636 - www-client/firefox-bin-58.0 src_install(): sed: can't read .../work/firefox-58.0-xx-XX/install.rdf: No such file or directory
Summary: www-client/firefox-bin-58.0 src_install(): sed: can't read .../work/firefox-5...
Status: RESOLVED DUPLICATE of bug 645754
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-24 23:25 UTC by jorgicio
Modified: 2018-01-26 10:38 UTC (History)
7 users (show)

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


Attachments
mozextensions eclass (mext.patch,871 bytes, patch)
2018-01-25 00:19 UTC, Sven B.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jorgicio 2018-01-24 23:25:23 UTC
Hi!

I'm installing the firefox-bin package with the es_CL language, but it can't find the install.rdf file.

This is the log.

Thanks.

hackenherr:~# emerge firefox-bin                                                                                                                               [20:22:31]
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) www-client/firefox-bin-58.0::gentoo
>>> Downloading 'http://archive.mozilla.org/pub/mozilla.org/firefox/releases//58.0/linux-i686/xpi/es-CL.xpi'
--2018-01-24 20:22:45--  http://archive.mozilla.org/pub/mozilla.org/firefox/releases//58.0/linux-i686/xpi/es-CL.xpi
Resolving archive.mozilla.org (archive.mozilla.org)... 54.192.226.65
Connecting to archive.mozilla.org (archive.mozilla.org)|54.192.226.65|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 473175 (462K) [application/x-xpinstall]
Saving to: ‘/usr/portage/distfiles/firefox-58.0-es-CL.xpi’

/usr/portage/distfi 100%[===================>] 462,08K   500KB/s    in 0,9s    

2018-01-24 20:22:47 (500 KB/s) - ‘/usr/portage/distfiles/firefox-58.0-es-CL.xpi’ saved [473175/473175]

 * firefox-58.0-es-CL.xpi BLAKE2B SHA512 size ;-) ...                                                                                                              [ ok ]
>>> Downloading 'http://archive.mozilla.org/pub/mozilla.org/firefox/releases/58.0/linux-x86_64/en-US/firefox-58.0.tar.bz2'
--2018-01-24 20:22:47--  http://archive.mozilla.org/pub/mozilla.org/firefox/releases/58.0/linux-x86_64/en-US/firefox-58.0.tar.bz2
Resolving archive.mozilla.org (archive.mozilla.org)... 54.192.226.65
Connecting to archive.mozilla.org (archive.mozilla.org)|54.192.226.65|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 54189435 (52M) [application/x-tar]
Saving to: ‘/usr/portage/distfiles/firefox-bin_x86_64-58.0.tar.bz2’

/usr/portage/distfi 100%[===================>]  51,68M  2,50MB/s    in 21s     

2018-01-24 20:23:07 (2,52 MB/s) - ‘/usr/portage/distfiles/firefox-bin_x86_64-58.0.tar.bz2’ saved [54189435/54189435]

 * firefox-bin_x86_64-58.0.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking firefox-58.0-es-CL.xpi to /var/tmp/portage/www-client/firefox-bin-58.0/work
unpack firefox-58.0-es-CL.xpi: file format not recognized. Ignoring.
>>> Unpacking firefox-bin_x86_64-58.0.tar.bz2 to /var/tmp/portage/www-client/firefox-bin-58.0/work
 * Unpacking firefox-58.0-es-CL.xpi to /var/tmp/portage/www-client/firefox-bin-58.0/work
 * Selected language packs (first will be default): es-CL
>>> Source unpacked in /var/tmp/portage/www-client/firefox-bin-58.0/work
>>> Preparing source in /var/tmp/portage/www-client/firefox-bin-58.0/work/firefox ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/firefox-bin-58.0/work/firefox ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-client/firefox-bin-58.0/work/firefox ...
>>> Source compiled.
>>> Test phase [not enabled]: www-client/firefox-bin-58.0

>>> Install firefox-bin-58.0 into /var/tmp/portage/www-client/firefox-bin-58.0/image/ category www-client
sed: can't read /var/tmp/portage/www-client/firefox-bin-58.0/work/firefox-58.0-es-CL/install.rdf: No such file or directory
 * ERROR: www-client/firefox-bin-58.0::gentoo failed (install phase):
 *   failed to determine extension id
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_install
 *   environment, line 2883:  Called mozlinguas_src_install
 *   environment, line 2292:  Called xpi_install '/var/tmp/portage/www-client/firefox-bin-58.0/work/firefox-58.0-es-CL'
 *   environment, line 3766:  Called die
 * The specific snippet of code:
 *       emid="$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${x}"/install.rdf)" || die "failed to determine extension id";
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-bin-58.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-bin-58.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-bin-58.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-bin-58.0/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-bin-58.0/work/firefox-58.0-es-CL'
 * S: '/var/tmp/portage/www-client/firefox-bin-58.0/work/firefox'

>>> Failed to emerge www-client/firefox-bin-58.0, Log file:

>>>  '/var/tmp/portage/www-client/firefox-bin-58.0/temp/build.log'

 * Messages for package www-client/firefox-bin-58.0:

 * ERROR: www-client/firefox-bin-58.0::gentoo failed (install phase):
 *   failed to determine extension id
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_install
 *   environment, line 2883:  Called mozlinguas_src_install
 *   environment, line 2292:  Called xpi_install '/var/tmp/portage/www-client/firefox-bin-58.0/work/firefox-58.0-es-CL'
 *   environment, line 3766:  Called die
 * The specific snippet of code:
 *       emid="$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${x}"/install.rdf)" || die "failed to determine extension id";
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-bin-58.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-bin-58.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-bin-58.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-bin-58.0/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-bin-58.0/work/firefox-58.0-es-CL'
 * S: '/var/tmp/portage/www-client/firefox-bin-58.0/work/firefox'


Reproducible: Always
Comment 1 Sven B. 2018-01-25 00:19:19 UTC
Created attachment 516504 [details, diff]
mozextensions eclass

Seems like the xpi are plain webextensions now(ff58++).
So the xpi_install function from mozextension.eclass needs a new id source.

Perhaps something like that might work.
Comment 2 alpir 2018-01-25 07:08:11 UTC
Confirm this bug.
Comment 3 Thomas F. 2018-01-25 12:40:59 UTC
Same here (DE-language)
Comment 4 Zhu Sha Zang 2018-01-25 13:39:30 UTC
Same here. (pt and/or pt_BR language)

Regards
Comment 5 Jeunggu Park 2018-01-25 17:58:21 UTC
(In reply to Zhu Sha Zang from comment #4)
> Same here. (pt and/or pt_BR language)
> 
> Regards
Comment 6 Ian Stakenvicius (RETIRED) gentoo-dev 2018-01-25 19:03:08 UTC
This is confirmed, and Sven's analysis is accurate.  I'm working on something to address this, via bug 645754

*** This bug has been marked as a duplicate of bug 645754 ***