<?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>170484</bug_id>
          
          <creation_ts>2007-03-11 20:23 0000</creation_ts>
          <short_desc>x11-plugins/enigmail-0.94.3-r1 fails: thunderbird-patches not applied</short_desc>
          <delta_ts>2007-03-11 21:19:51 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>2006.0</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>wuno@lsvw.de</reporter>
          <assigned_to>mozilla@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>wuno@lsvw.de</who>
            <bug_when>2007-03-11 20:23:44 0000</bug_when>
            <thetext>&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking thunderbird-2.0b2-source.tar.bz2 to /var/tmp/portage/x11-plugins/enigmail-0.94.3-r1/work
&gt;&gt;&gt; Unpacking mozilla-thunderbird-2.0_beta2-patches-0.2.tar.bz2 to /var/tmp/portage/x11-plugins/enigmail-0.94.3-r1/work
 * Unpacking enigmail-de-0.9x.xpi to /var/tmp/portage/x11-plugins/enigmail-0.94.3-r1/work
 * Applying various patches (bugfixes/updates) ...
 * Done with patching
&gt;&gt;&gt; Unpacking enigmail-0.94.3.tar.gz to /var/tmp/portage/x11-plugins/enigmail-0.94.3-r1/work/mozilla/mailnews/extensions
 * Applying 50_enigmail_no_upgrade-1.patch ...
  [ ok ]
 * Applying 70_enigmail-fix.patch ...
  [ ok ]
 * Running eautoreconf in &apos;/var/tmp/portage/x11-plugins/enigmail-0.94.3-r1/work/mozilla&apos; ...
 * Running autoconf ...
  [ ok ]
&gt;&gt;&gt; Source unpacked.
...
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: nsCOMPtr.o: relocation R_X86_64_PC32 against `nsGetServiceByContractIDWithError::operator()(nsID c
onst&amp;, void**) const&apos; can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
gmake[2]: *** [libxpcom_core.so] Error 1

Found out that that&apos;s due to bumping to mozilla-thunderbird-2.0_beta2-patches-0.2.tar.bz2. The patches are virtually the same as in the 0.1-patchset, however in 0.1 they were bzipped and in 0.2 they are not.
Looking at the corresponding changes in the mozilla-thunderbird-2.0_beta2.ebuild the line EPATCH_SUFFIX=&quot;patch&quot; has to be added to the enigmail ebuild then the mozilla-thunderbird patches are applied properly and enigmail compiles.
And why don&apos;t bump the patchset to 0.4 ? Compiled here as well
gcc-4.1.2 x86_64-pc-linux-gnu

Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wuno@lsvw.de</who>
            <bug_when>2007-03-11 20:26:36 0000</bug_when>
            <thetext>Created an attachment (id=112995)
patch for the enigmail-0.94.3-r1.ebuild 

this bumps also the tbpver to 0.4</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-03-11 21:19:51 0000</bug_when>
            <thetext>Fixed, thanks.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>112995</attachid>
            <date>2007-03-11 20:26 0000</date>
            <desc>patch for the enigmail-0.94.3-r1.ebuild </desc>
            <filename>enigmail-0.94.3-r1.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS94MTEtcGx1Z2lucy9lbmlnbWFpbC9lbmlnbWFpbC0wLjk0LjMtcjEu
ZWJ1aWxkCTIwMDctMDMtMTEgMTc6MzM6NTAuMDAwMDAwMDAwICswMTAwCisrKyAuL2VuaWdtYWls
LTAuOTQuMy1yMS5lYnVpbGQJMjAwNy0wMy0xMSAyMTowODo1Ny4wMDAwMDAwMDAgKzAxMDAKQEAg
LTEyLDcgKzEyLDcgQEAKIEVNVkVSPSR7UFZ9CiBUQlZFUj0iMi4wYjIiCiBNWV9UQlZFUj0iMi4w
X2JldGEyIgotVEJQVkVSPSIwLjIiCitUQlBWRVI9IjAuNCIKIAogREVTQ1JJUFRJT049IkdudXBn
IGVuY3J5cHRpb24gcGx1Z2luIGZvciB0aHVuZGVyYmlyZC4iCiBIT01FUEFHRT0iaHR0cDovL2Vu
aWdtYWlsLm1vemRldi5vcmciCkBAIC04OSw3ICs4OSw5IEBACiAJY2QgJHtTfSB8fCBkaWUgImNk
IGZhaWxlZCIKIAogCSMgQXBwbHkgb3VyIHBhdGNoZXMKLQlFUEFUQ0hfRk9SQ0U9InllcyIgZXBh
dGNoICIke1dPUktESVJ9Ii9wYXRjaAorCUVQQVRDSF9TVUZGSVg9InBhdGNoIiBcCisJRVBBVENI
X0ZPUkNFPSJ5ZXMiIFwKKwllcGF0Y2ggIiR7V09SS0RJUn0iL3BhdGNoCiAKIAkjIFVucGFjayB0
aGUgZW5pZ21haWwgcGx1Z2luCiAJY2QgJHtTfS9tYWlsbmV3cy9leHRlbnNpb25zIHx8IGRpZQo=
</data>        

          </attachment>
    </bug>

</bugzilla>