Hello, app-office/libreoffice-3.4.0 fails to unpack with USE="offlinehelp" and LINGUAS="de" It says "/usr/bin/rpm2tar: Line 156: ./LibO_3.4.0rc2_Linux_x86_helppack-rpm_de/RPMS//libobasis3.4-de-help-3.4.0-12.i586.rpm: No such file or directory" >>> Failed to emerge app-office/libreoffice-bin-3.4.0, Log file: >>> '/var/tmp/portage/app-office/libreoffice-bin-3.4.0/temp/build.log' * Messages for package app-office/libreoffice-bin-3.4.0: * ERROR: app-office/libreoffice-bin-3.4.0 failed (unpack phase): * failure unpacking ./LibO_3.4.0rc2_Linux_x86_helppack-rpm_de/RPMS//libobasis3.4-de-help-3.4.0-12.i586.rpm * * Call stack: * ebuild.sh, line 56: Called src_unpack * environment, line 2920: Called rpm_unpack './LibO_3.4.0rc2_Linux_x86_helppack-rpm_de/RPMS//libobasis3.4-de-help-3.4.0-12.i586.rpm' * environment, line 2780: Called die * The specific snippet of code: * rpm2tar -O "${a}" | tar xf - || die "failure unpacking ${a}"; * * If you need support, post the output of 'emerge --info =app-office/libreoffice-bin-3.4.0', * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-bin-3.4.0'. * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-bin-3.4.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-bin-3.4.0/temp/environment'. * S: '/var/tmp/portage/app-office/libreoffice-bin-3.4.0/work/libreoffice-bin-3.4.0' * * The following package has failed to build or install: * * (app-office/libreoffice-bin-3.4.0::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/app-office/libreoffice-bin-3.4.0/temp/build.log' Reproducible: Always Steps to Reproduce: 1. USE="offlinehelp" LINGUAS="de" emerge =app-office/libreoffice-bin-3.4.0
the same happens with LINGUAS="it"
ditto with LINGUAS="pl"
Found to be a tybo in ebuild. Fixable by a following patch, resulting in libreoffice-bin-3.4.0_p1.ebuild : --- libreoffice-bin-3.4.0.ebuild 2011-06-05 19:47:44.000000000 +0200 +++ libreoffice-bin-3.4.0_p1.ebuild 2011-06-06 21:41:20.564111428 +0200 @@ -8,6 +8,7 @@ IUSE="gnome java offlinehelp" +PV="${PV/_p*}" MY_PV="${PV/_/-}" MY_PV2="${PV}rc2" BVER="3.4.0-12" @@ -46,7 +47,7 @@ done for Y in ${LANGS2} ; do - [[ ${Y} != "en" ]] && SRC_URI="${SRC_URI} linguas_${X}? ( + [[ ${Y} != "en" ]] && SRC_URI="${SRC_URI} linguas_${Y}? ( amd64? ( offlinehelp? ( "${FILEPATH}"/x86_64/LibO_${PV}_Linux_x86-64_helppack-rpm_${Y/_/-}.tar.gz ) ) x86? ( offlinehelp? ( "${FILEPATH}"/x86/LibO_${PV}_Linux_x86_helppack-rpm_${Y/_/-}.tar.gz ) ) )" done
Created attachment 276043 [details, diff] Fix of typo in non-english environment Patch from libreoffice-bin-3.4.0.ebuild to libreoffice-bin-3.4.0_p1.ebuild * Enables _p1 suffix processing * Fixes typo in loop variable
I can confirm the bug with LINGUAS="it". The ebuild above solves the installation issue.
This is fixed in -r1, thanks for reporting and hunting down the stupid oversight! Closing.
*** Bug 371847 has been marked as a duplicate of this bug. ***