>>> Emerging (2 of 11) app-office/libreoffice-l10n-4.2.6.3::gentoo * LibreOffice_4.2.6_Linux_x86_rpm_langpack_de.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * LibreOffice_4.2.6_Linux_x86_rpm_langpack_en-GB.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking LibreOffice_4.2.6_Linux_x86_rpm_langpack_de.tar.gz to /chroot/build/portage/app-office/libreoffice-l10n-4.2.6.3/work >>> Unpacking LibreOffice_4.2.6_Linux_x86_rpm_langpack_en-GB.tar.gz to /chroot/build/portage/app-office/libreoffice-l10n-4.2.6.3/work * ERROR: app-office/libreoffice-l10n-4.2.6.3::gentoo failed (unpack phase): * Missing directory: "LibreOffice_4.2.6.3_Linux_x86_rpm_langpack_de/RPMS/"
Ah crapperoni, the tarballs appear to create directories with "4.2.6.2" in the name, not 4.2.6.3. Possibly upstream oopsie?
diff -u -B -r1.1 libreoffice-l10n-4.2.6.3.ebuild --- libreoffice-l10n-4.2.6.3.ebuild 9 Sep 2014 21:33:23 -0000 1.1 +++ libreoffice-l10n-4.2.6.3.ebuild 10 Sep 2014 03:03:07 -0000 @@ -58,7 +58,9 @@ # for english we provide just helppack, as translation is always there if [[ ${lang} != en ]]; then - rpmdir="LibreOffice_${PV}_Linux_x86_rpm_langpack_${dir}/RPMS/" + # HACKFIX: Upstream tarballs for this release appear to have wrong + # version. Thus hardcoding the version here + rpmdir="LibreOffice_4.2.6.2_Linux_x86_rpm_langpack_${dir}/RPMS/" [[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\"" # First remove dictionaries, we want to use system ones. rm -rf "${S}/${rpmdir}/"*dict*.rpm
Don't forget to fix the helppack path too (8 lines down).
Fixed, thanks everyone.
*** Bug 522492 has been marked as a duplicate of this bug. ***