Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121782 - emerge unpack error with mozilla-firefox-bin-1.5.0.1 russian version
Summary: emerge unpack error with mozilla-firefox-bin-1.5.0.1 russian version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: InVCS
: 121883 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-05 22:47 UTC by Anton Bolshakov
Modified: 2006-02-06 14:30 UTC (History)
3 users (show)

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


Attachments
Fix for the ebuild (locale_xpi.patch,412 bytes, patch)
2006-02-06 04:30 UTC, Jakub Argasinski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2006-02-05 22:47:03 UTC
>>> Unpacking source...
>>> Unpacking firefox-1.5.0.1.tar.gz to /var/tmp/portage/mozilla-firefox-bin-1.5.0.1/work
 * Unpacking firefox-ru-1.5.0.1.xpi to /var/tmp/portage/mozilla-firefox-bin-1.5.0.1/work
>>> Source unpacked.
>>> Test phase [not enabled]: www-client/mozilla-firefox-bin-1.5.0.1

>>> Install mozilla-firefox-bin-1.5.0.1 into /var/tmp/portage/mozilla-firefox-bin-1.5.0.1/image/ category www-client
/usr/portage/eclass/mozextension.eclass: line 49: cd: /var/tmp/portage/mozilla-firefox-bin-1.5.0.1/work/firefox-ru-1.5.0.1.xpi: No such file or directory
sed: can't read /var/tmp/portage/mozilla-firefox-bin-1.5.0.1/work/firefox-ru-1.5.0.1.xpi/install.rdf: No such file or directory

!!! ERROR: www-client/mozilla-firefox-bin-1.5.0.1 failed.
!!! Function xpi_install, Line 51, Exitcode 2
!!! failed to determine extension id
Comment 1 Patrice Beaud 2006-02-05 23:31:23 UTC
I've got the same kind of error with french

>>> Install mozilla-firefox-bin-1.5.0.1 into /var/tmp/portage/mozilla-firefox-bin-1.5.0.1/image/ category www-client
/usr/portage/eclass/mozextension.eclass: line 49: cd: /var/tmp/portage/mozilla-firefox-bin-1.5.0.1/work/firefox-fr-1.5.0.1.xpi: No such file or directory
sed: can't read /var/tmp/portage/mozilla-firefox-bin-1.5.0.1/work/firefox-fr-1.5.0.1.xpi/install.rdf: No such file or directory


The path is wrong: the last directory should not contain '.xpi'.

/var/tmp/portage/mozilla-firefox-bin-1.5.0.1/work/firefox-fr-1.5.0.1.xpi/
->
/var/tmp/portage/mozilla-firefox-bin-1.5.0.1/work/firefox-fr-1.5.0.1/

The error comes from the call of xpi_install() in /usr/portage/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.5.0.1.ebuild

72c72
<               xpi_install ${WORKDIR}/firefox-${X}-${PV}.xpi
---
>               xpi_install ${WORKDIR}/firefox-${X}-${PV}

I modified and re-run ebuild <the ebuild> digest and portage updated successfully mozilla-firefox-bin
Comment 2 Paolo Pedroni 2006-02-06 02:20:22 UTC
Same fo me for italian:

>>> Unpacking source...
>>> Unpacking firefox-1.5.0.1.tar.gz to /var/tmp/portage/mozilla-firefox-bin-1.5.0.1/work
 * Unpacking firefox-it-1.5.0.1.xpi to /var/tmp/portage/mozilla-firefox-bin-1.5.0.1/work
>>> Source unpacked.
>>> Test phase [not enabled]: www-client/mozilla-firefox-bin-1.5.0.1

>>> Install mozilla-firefox-bin-1.5.0.1 into /var/tmp/portage/mozilla-firefox-bin-1.5.0.1/image/ category www-client
/usr/portage/eclass/mozextension.eclass: line 49: cd: /var/tmp/portage/mozilla-firefox-bin-1.5.0.1/work/firefox-it-1.5.0.1.xpi: No such file or directory
sed: impossibile leggere /var/tmp/portage/mozilla-firefox-bin-1.5.0.1/work/firefox-it-1.5.0.1.xpi/install.rdf: No such file or directory

!!! ERROR: www-client/mozilla-firefox-bin-1.5.0.1 failed.
!!! Function xpi_install, Line 51, Exitcode 2
!!! failed to determine extension id
!!! If you need support, post the topmost build error, NOT this status message.
Comment 3 Jakub Argasinski 2006-02-06 04:30:32 UTC
Created attachment 79019 [details, diff]
Fix for the ebuild

Same problem here with Polish version. Solution given by Patrice Beaud works for me too, created appropriate patch.
Comment 4 David Watzke 2006-02-06 05:46:13 UTC
Same on czech, thanks fo' patch, works. But

QA Notice: the following files contain runtime text relocations
 Text relocations force the dynamic linker to perform extra
 work at startup, waste system resources, and may pose a security
 risk.  On some architectures, the code may not even function
 properly, if at all.
 Please include this file in your report:
 /var/tmp/portage/mozilla-firefox-bin-1.5.0.1/temp/scanelf-textrel.log
TEXTREL opt/firefox/extensions/talkback@mozilla.org/components/libqfaservices.so


QA Notice: the following files contain executable stacks
 Files with executable stacks will not work properly (or at all!)
 on some architectures/operating systems.  A bug should be filed
 at http://bugs.gentoo.org/ to make sure the file is fixed.
 Please include this file in your report:
 /var/tmp/portage/mozilla-firefox-bin-1.5.0.1/temp/scanelf-exec.log
RWX --- --- opt/firefox/extensions/talkback@mozilla.org/components/libqfaservices.so

But it is OK anyway...
Comment 5 Jory A. Pratt 2006-02-06 06:22:49 UTC
Fixed in CVS thanks for reporting.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-02-06 14:30:06 UTC
*** Bug 121883 has been marked as a duplicate of this bug. ***