Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522470 - app-office/libreoffice-l10n-4.2.6.3 fails to unpack
Summary: app-office/libreoffice-l10n-4.2.6.3 fails to unpack
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
: 522492 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-09-10 02:49 UTC by Patrick Lauer
Modified: 2014-09-10 08:31 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2014-09-10 02:49:04 UTC
>>> 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/"
Comment 1 Patrick Lauer gentoo-dev 2014-09-10 02:59:48 UTC
Ah crapperoni, the tarballs appear to create directories with "4.2.6.2" in the name, not 4.2.6.3.

Possibly upstream oopsie?
Comment 2 Patrick Lauer gentoo-dev 2014-09-10 03:03:24 UTC
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
Comment 3 Andrew Church 2014-09-10 04:08:11 UTC
Don't forget to fix the helppack path too (8 lines down).
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2014-09-10 08:12:24 UTC
Fixed, thanks everyone.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2014-09-10 08:31:00 UTC
*** Bug 522492 has been marked as a duplicate of this bug. ***