<?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>202830</bug_id>
          
          <creation_ts>2007-12-19 23:25 0000</creation_ts>
          <short_desc>dev-libs/xerces-c-2.8.0 tries to use /usr/bin/true</short_desc>
          <delta_ts>2007-12-22 00:23:44 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>mikachu@gmail.com</reporter>
          <assigned_to>cpp@gentoo.org</assigned_to>
          <cc>alessandro.guido+bugzilla@gmail.com</cc>
    
    <cc>flameeyes@gentoo.org</cc>
    
    <cc>jochen.maes@sejo.be</cc>
    
    <cc>maekke@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>mikachu@gmail.com</who>
            <bug_when>2007-12-19 23:25:34 0000</bug_when>
            <thetext>&gt;&gt;&gt; Unpacking xerces-c-src_2_8_0.tar.gz to /neko/tmp/portage/dev-libs/xerces-c-2.8.0/work
 * Applying xerces-c-2.8.0-64bit_cast.patch ...                                             [ ok ]
 * Applying xerces-c-2.8.0-icu_ressource_fix.patch ...                                      [ ok ]
&gt;&gt;&gt; Source unpacked.
&gt;&gt;&gt; Compiling source in /neko/tmp/portage/dev-libs/xerces-c-2.8.0/work/xerces-c-src_2_8_0 ...
./runConfigure: line 800: /usr/bin/true: No such file or directory
 * 
 * ERROR: dev-libs/xerces-c-2.8.0 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2642:  Called die
 * The specific snippet of code:
 *       ./runConfigure -p ${target} -c &quot;$(tc-getCC)&quot; -x &quot;$(tc-getCXX)&quot; ${myconf} -m ${mloader} -n ${netaccessor} -t ${transcoder} -r ${thread} -b ${bitstobuild} &gt; configure.vars || diefunc &quot;$FUNCNAME&quot; &quot;$LINENO&quot; &quot;$?&quot; &quot;runConfigure failed&quot;;
 *  The die message:
 *   runConfigure failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at &apos;/neko/tmp/portage/dev-libs/xerces-c-2.8.0/temp/build.log&apos;.
 * The ebuild environment file is located at &apos;/neko/tmp/portage/dev-libs/xerces-c-2.8.0/temp/environment&apos;.
 * 

After symlinking /bin/true into /usr/bin/ the package installed successfully.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mikachu@gmail.com</who>
            <bug_when>2007-12-19 23:28:21 0000</bug_when>
            <thetext>Apparently the ebuild is responsible for this:

src_unpack() {
	unpack ${A}
	cd &quot;${S}&quot;

	sed -i \
		-e &apos;s|sh ./configure.*|/usr/bin/true|&apos; \
		src/xercesc/runConfigure || die &quot;sed failed&quot;

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>billydv1@verizon.net</who>
            <bug_when>2007-12-20 12:49:55 0000</bug_when>
            <thetext>Should we modify the ebuild?  It  emerged  fine  on  amd64  but  its  a  problem  on  x86</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>billydv1@verizon.net</who>
            <bug_when>2007-12-20 12:57:14 0000</bug_when>
            <thetext>Ive  removed  the  true  part  from  the  ebuild  and  it  seems  to  compile,  not  sure  what  that  does  though</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dev-zero@gentoo.org</who>
            <bug_when>2007-12-20 13:16:02 0000</bug_when>
            <thetext>@Billy: It&apos;s not an arch-issue. Seems that I had a stalled symlink from /usr/bin/true to /bin/true and it seems you have that one too on one of your machines.
Removing the part results in ./configure being run twice, not really usefull but it doesn&apos;t hurt either.
Anyway, should be solved now. Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-12-21 10:25:05 0000</bug_when>
            <thetext>*** Bug 202923 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-12-21 11:32:46 0000</bug_when>
            <thetext>*** Bug 202923 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-12-21 11:33:09 0000</bug_when>
            <thetext>Not fixed, reopen.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-12-22 00:23:44 0000</bug_when>
            <thetext>http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/xerces-c-2.8.0.ebuild?r1=1.1&amp;r2=1.2

If it still doesn&apos;t work for you, you need to come with something better than &quot;I have synced and nothing is fixed&quot;.

@dev-zero - sorry for the noise.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>