<?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>160184</bug_id>
          
          <creation_ts>2007-01-05 01:54 0000</creation_ts>
          <short_desc>dev-libs/nspr : using (almost deprecated) gnuconfig_update</short_desc>
          <delta_ts>2007-04-24 14:04:41 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>Eclasses and Profiles</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>169751</dependson>
          <blocked>160173</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>flameeyes@gentoo.org</reporter>
          <assigned_to>mozilla@gentoo.org</assigned_to>
          <cc>vapier@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2007-01-05 01:54:32 0000</bug_when>
            <thetext>The following ebuilds/eclasses are using the almost deprecated gnuconfig_update function from gnuconfig.eclass:

./dev-libs/nspr/nspr-4.4.1-r2.ebuild:   gnuconfig_update
./dev-libs/nspr/nspr-4.6.1-r2.ebuild:   gnuconfig_update
./dev-libs/nspr/nspr-4.6.1-r3.ebuild:   gnuconfig_update
./dev-libs/nspr/nspr-4.6.2.ebuild:      gnuconfig_update
./dev-libs/nspr/nspr-4.6.3.ebuild:      gnuconfig_update
./dev-libs/nspr/nspr-4.6.3-r1.ebuild:   gnuconfig_update
./dev-libs/nspr/nspr-4.6.4.ebuild:      gnuconfig_update

This might be due by various reasons, and some of them cannot be worked around at the current time, so please find your case in the following list:

* the ebuild does not use econf, but ./configure, because it uses a very old version of autoconf that does not support the parameters we pass; [1]
* the software use config.{guess,sub} although not using autotools, thus econf cannot be used; [1]
* the ebuild uses ./configure just for fun; [2]
* the ebuild uses ../configure or variants thereof to run a different configure script than the one in the current directory; [3]
* the ebuild uses an autogen script or some other autotools-rebuilding script that calls ./configure; [4]
* the ebuild calls ./configure because it&apos;s doing an inline-build of another package. [1]

Then see the procedure to handle this bug:

[1] You cannot drop gnuconfig_update, so please leave the bug open, but set the status whiteboard to &quot;Waiting autoepatch&quot;.
[2] Fix the ebuild, use econf!
[3] econf accepts a ECONF_SOURCE variable to tell it to run the configure found in another directory; to run ../configure just use ECONF_SOURCE=&quot;..&quot; econf.
[4] Fix your autotools with http://www.gentoo.org/proj/en/qa/autofailure.xml adnd then use econf.

Once you&apos;re using econf, it will take care of updating gnuconfig by itself.

Thanks from Diego and Mike</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alonbl@gentoo.org</who>
            <bug_when>2007-01-05 13:47:43 0000</bug_when>
            <thetext>OK.
Added nspr-4.6.4-r1, please check it out.
I have masked it for now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alonbl@gentoo.org</who>
            <bug_when>2007-01-16 19:33:46 0000</bug_when>
            <thetext>ping mozilla</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>geekypenguin@gmail.com</who>
            <bug_when>2007-01-16 20:39:59 0000</bug_when>
            <thetext>Index: nspr-4.6.4-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.6.4-r1.ebuild,v
retrieving revision 1.1
diff -u -B -r1.1 nspr-4.6.4-r1.ebuild
--- nspr-4.6.4-r1.ebuild	5 Jan 2007 21:43:27 -0000	1.1
+++ nspr-4.6.4-r1.ebuild	16 Jan 2007 20:33:41 -0000
@@ -22,11 +22,11 @@
 src_unpack() {
 	unpack ${A}
 	cd &quot;${S}&quot;
-	EPATCH_OPTS=&quot;-p2&quot; epatch &quot;${FILESDIR}&quot;/${PN}-4.6.1-config.patch
-	EPATCH_OPTS=&quot;-p2&quot; epatch &quot;${FILESDIR}&quot;/${PN}-4.6.1-config-1.patch
+	epatch &quot;${FILESDIR}&quot;/${PN}-4.6.1-config.patch
+	epatch &quot;${FILESDIR}&quot;/${PN}-4.6.1-config-1.patch
 	epatch &quot;${FILESDIR}&quot;/${PN}-4.6.4-config-2.patch
-	EPATCH_OPTS=&quot;-p2&quot; epatch &quot;${FILESDIR}&quot;/${PN}-4.6.1-lang.patch
-	EPATCH_OPTS=&quot;-p2&quot; epatch &quot;${FILESDIR}&quot;/${PN}-4.6.1-prtime.patch
+	epatch &quot;${FILESDIR}&quot;/${PN}-4.6.1-lang.patch
+	epatch &quot;${FILESDIR}&quot;/${PN}-4.6.1-prtime.patch
 	eautoreconf
 }


Unless you have goo reason for needing the epatch ops? But I have yet to see any reason for it so I would revert it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alonbl@gentoo.org</who>
            <bug_when>2007-01-16 20:41:50 0000</bug_when>
            <thetext>Sure there is... What do you think, I just put it there?
Adding files without -j will put them at the wrong place.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>geekypenguin@gmail.com</who>
            <bug_when>2007-01-16 21:27:23 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; Sure there is... What do you think, I just put it there?
&gt; Adding files without -j will put them at the wrong place.
&gt; 

Aight mozilla herd has control of this package it has been surrendered by crypto, I will have that reverted and unmasked.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>geekypenguin@gmail.com</who>
            <bug_when>2007-01-16 21:39:59 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; Sure there is... What do you think, I just put it there?
&gt; Adding files without -j will put them at the wrong place.
&gt; 

# You do not have to specify &apos;-p&apos; option to patch, as it will
# try with -p0 to -p5 until it succeed, or fail at -p5.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alonbl@gentoo.org</who>
            <bug_when>2007-01-17 07:04:33 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; (In reply to comment #4)
&gt; &gt; Sure there is... What do you think, I just put it there?
&gt; &gt; Adding files without -j will put them at the wrong place.
&gt; &gt; 
&gt; 
&gt; # You do not have to specify &apos;-p&apos; option to patch, as it will
&gt; # try with -p0 to -p5 until it succeed, or fail at -p5.
&gt; 

This what I initially done.
Please try it your-self.
You will see that at least the pkg-config stuff is going to the wrong place.
But I don&apos;t mind.
If you are going to maintain it do whatever you feel right.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pingu@gentoo.org</who>
            <bug_when>2007-01-31 04:34:03 0000</bug_when>
            <thetext>So what&apos;s left to do here? Just remove the mask? Is everyone OK with unmasking as-is?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-02-02 15:32:53 0000</bug_when>
            <thetext>(In reply to comment #8)
&gt; So what&apos;s left to do here? Just remove the mask? Is everyone OK with unmasking
&gt; as-is?
&gt; 

Yeah, why not.

We should make it stable asap.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-02-05 12:23:11 0000</bug_when>
            <thetext>Unmasked the fixed version.

We&apos;ll request a stabilization of that version soon.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2007-02-05 12:34:49 0000</bug_when>
            <thetext>Reopen when the ebuilds are removed please, no one moment before.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-04-24 14:04:41 0000</bug_when>
            <thetext>This was finally done.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>