<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>215215</bug_id>
          
          <creation_ts>2008-03-28 15:56 0000</creation_ts>
          <short_desc>app-office/openoffice-2.4.0 fails with a bad patch.</short_desc>
          <delta_ts>2008-03-29 20:34:29 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>zeekec@mad.scientist.com</reporter>
          <assigned_to>openoffice@gentoo.org</assigned_to>
          <cc>a_tevelev@yahoo.com</cc>
    
    <cc>che@chrekh.se</cc>
    
    <cc>eprparadocs@gmail.com</cc>
    
    <cc>esqualante@o2.pl</cc>
    
    <cc>fedux@lugmen.org.ar</cc>
    
    <cc>rdwald@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>zeekec@mad.scientist.com</who>
            <bug_when>2008-03-28 15:56:59 0000</bug_when>
            <thetext>The configure.in portion of the gentoo-2.4.0.diff is no longer valid (I don&apos;t know if it&apos;s still needed or not.).

&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; 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 &apos;src_unpack&apos;
 *             environment, line 2388:  Called die
 * The specific snippet of code:
 *                   die &quot;Failed Patch: ${patchname}!&quot;;
 *  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 &apos;/var/log/portage/app-office:openoffice-2.4.0:20080328-153535.log&apos;.
 * The ebuild environment file is located at &apos;/gentoo/tmp/portage/app-office/openoffice-2.4.0/temp/environment&apos;.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH=&quot;&quot; JAVA_HOME=&quot;/opt/sun-jdk-1.6.0.05&quot;
JAVACFLAGS=&quot;-source 1.4 -target 1.4&quot; COMPILER=&quot;&quot;
and of course, the output of emerge --info</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alchark@gmail.com</who>
            <bug_when>2008-03-28 18:17:50 0000</bug_when>
            <thetext>It seems that configure.in does not need to be patched. In my case, unpatched line 1080 is as follows:

elif test &quot;$with_tag&quot; = &quot;OOH680_m12&quot; ; then

and not as this:

elif test &quot;$with_tag&quot; = &quot;OOH680_m11&quot; ; then

After removing the configure.in section from the patch, it applies well.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>suka@gentoo.org</who>
            <bug_when>2008-03-28 21:50:39 0000</bug_when>
            <thetext>Yeah, stupid mistake, forgot to update the patch...

Thanks for reporting, should be fixed now</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>suka@gentoo.org</who>
            <bug_when>2008-03-29 20:34:29 0000</bug_when>
            <thetext>*** Bug 215357 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>