Summary: | app-office/libreoffice binary packages fail to install ("PYTHON_CFLAGS is invalid for python-r1 suite") | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas K. Hüttel <dilfridge> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chutz+bugs.gentoo.org, eugenecormier |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andreas K. Hüttel
2015-01-04 23:45:00 UTC
(In reply to Andreas K. Hüttel from comment #0) > Current recommendation is to delete the self-generated binary package and > re-install libreoffice from sources (or use libreoffice-bin). If rebuilding the package bothers someone then they should probably be using libreoffice-bin. > [I'm not versed enough in the binpackage format to write a "fixer" script. > What would need to be done is to unset PYTHON_CFLAGS in the stored > environment.] It can be done using qtbz2 and qxpak from portage-utils: 1) Use 'qtbz2 --split' to split the package into separate tbz2 and xpak files 2) Use 'qxpak --extract' to extrack the xpak file 3) Use bunzip2 to decompress environment.bz2 4) Use sed to edit the environment file appropriately 5) Use bzip2 to compress the environment file 6) Use 'qxpak --create' to create a new xpak file 7) Use 'qtbz2 --join' to join the tbz2 file with the new xpak file 8) Put the new tbz2 file in the appropriate place in $PKGDIR, and run 'emaint --fix binhost' to fix the digests in $PKGDIR/Packages Thanks a lot. Keeping the bug open for a while so people can find the information. (In reply to Andreas K. Hüttel from comment #2) > Thanks a lot. Keeping the bug open for a while so people can find the > information. A month is over, so closing. |