Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352656 - app-office/libreoffice-3.3.0_rc4 +bash_completion fails to build
Summary: app-office/libreoffice-3.3.0_rc4 +bash_completion fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 08:52 UTC by Andreas Fink
Modified: 2011-01-25 17:20 UTC (History)
0 users

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


Attachments
build.log (build.log.bz2,247.69 KB, text/plain)
2011-01-25 08:54 UTC, Andreas Fink
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Fink 2011-01-25 08:52:08 UTC
Package fails in src_install.

Reproducible: Always

Steps to Reproduce:
1. USE=+bash-completion emerge libreoffice
2.
3.

Actual Results:  
Builds fine. Fails in src_install because it looks for ${D}/etc/bash-completion.d/ooffice.sh but there is only libreoffice.sh


I know this is not a help forum, however it would be nice if you know a way to install the package with a slightly modified ebuild without rebuilding the whole stuff?
The change is trivial to replace ooffice with libreoffice in the ebuild. But rebuilding the whole package again seems like a waste to me :(
Comment 1 Andreas Fink 2011-01-25 08:54:00 UTC
Created attachment 260649 [details]
build.log
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2011-01-25 11:14:58 UTC
Thanks for spotting this, this is now fixed in CVS. Unfortunately I really don't have a good hint how to get around recompiling :-/
Comment 3 Martin Jansa 2011-01-25 13:16:39 UTC
(In reply to comment #0)
> I know this is not a help forum, however it would be nice if you know a way to
> install the package with a slightly modified ebuild without rebuilding the
> whole stuff?

> The change is trivial to replace ooffice with libreoffice in the ebuild. But
> rebuilding the whole package again seems like a waste to me :(

ebuild /usr/portage/app-office/libreoffice/libreoffice-3.3.0.ebuild install
ebuild /usr/portage/app-office/libreoffice/libreoffice-3.3.0.ebuild qmerge

or just

ebuild /usr/portage/app-office/libreoffice/libreoffice-3.3.0.ebuild merge

this should skip already finished steps like fetch/unpack/compile
Comment 4 Andreas Fink 2011-01-25 14:22:04 UTC
in pkg_postinst BASHCOMPLETION_NAME=ooffice is still wrong.

@Martin: I'm not sure if the ebuild-trick works, since I needed to change the ebuild, so the digests do not match anymore. anyway i had to recompile because of the version bump to 3.3.0
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2011-01-25 17:20:15 UTC
(In reply to comment #4)
> in pkg_postinst BASHCOMPLETION_NAME=ooffice is still wrong.
> 
> @Martin: I'm not sure if the ebuild-trick works, since I needed to change the
> ebuild, so the digests do not match anymore. anyway i had to recompile because
> of the version bump to 3.3.0
> 

This also has been fixed a couple of hours ago