Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215215 - app-office/openoffice-2.4.0 fails with a bad patch.
Summary: app-office/openoffice-2.4.0 fails with a bad patch.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 215357 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-28 15:56 UTC by Erik Zeek
Modified: 2008-03-29 20:34 UTC (History)
6 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 Erik Zeek 2008-03-28 15:56:59 UTC
The configure.in portion of the gentoo-2.4.0.diff is no longer valid (I don't know if it's still needed or not.).

>>> Unpacking source...
>>> Unpacking ooo-build-2.4.0.5.tar.gz to /gentoo/tmp/portage/app-office/openoffice-2.4.0/work
 * Applying gentoo-2.4.0.diff ...

 * Failed Patch: gentoo-2.4.0.diff !
 *  ( /gentoo/portage/app-office/openoffice/files/2.4.0/gentoo-2.4.0.diff )
 *
 * Include in your bugreport the contents of:
 *
 *   /gentoo/tmp/portage/app-office/openoffice-2.4.0/temp/gentoo-2.4.0.diff-16549.out

 *
 * ERROR: app-office/openoffice-2.4.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 5419:  Called epatch 'src_unpack'
 *             environment, line 2388:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: gentoo-2.4.0.diff!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/app-office:openoffice-2.4.0:20080328-153535.log'.
 * The ebuild environment file is located at '/gentoo/tmp/portage/app-office/openoffice-2.4.0/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.05"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
Comment 1 Alexey Charkov 2008-03-28 18:17:50 UTC
It seems that configure.in does not need to be patched. In my case, unpatched line 1080 is as follows:

elif test "$with_tag" = "OOH680_m12" ; then

and not as this:

elif test "$with_tag" = "OOH680_m11" ; then

After removing the configure.in section from the patch, it applies well.
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2008-03-28 21:50:39 UTC
Yeah, stupid mistake, forgot to update the patch...

Thanks for reporting, should be fixed now
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2008-03-29 20:34:29 UTC
*** Bug 215357 has been marked as a duplicate of this bug. ***