<?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>106921</bug_id>
          
          <creation_ts>2005-09-22 13:30 0000</creation_ts>
          <short_desc>httperf build fails: needs libstat.a with parallel make (e.g. -j2)</short_desc>
          <delta_ts>2005-09-26 09:58:42 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>
          
          
          <keywords>Inclusion</keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dominik.buerkle@web.de</reporter>
          <assigned_to>ka0ttic@gentoo.org</assigned_to>
          <cc>benchmarks@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>dominik.buerkle@web.de</who>
            <bug_when>2005-09-22 13:30:17 0000</bug_when>
            <thetext>When make.conf contains &quot;parallel make&quot; configuration, e.g. 
 
MAKEOPTS=&quot;-j2&quot; 
 
then the build fails, because make &quot;doesn&apos;t know&quot; that dependency. 
Might be a make bug, but a workaround is easily possible. 

Reproducible: Always
Steps to Reproduce:
1. have MAKEOPTS=&quot;-j2&quot; in make.conf 
2. emerge httperf 
  
Actual Results:  
... 
ranlib libgen.a 
make[1]: Leaving directory `/var/tmp/portage/httperf-0.8/work/httperf-0.8/gen&apos; 
making all in stat 
make[1]: Entering directory 
`/var/tmp/portage/httperf-0.8/work/httperf-0.8/stat&apos; 
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib -I../gen  -DNDEBUG -D_GNU_SOURCE 
-D_XOPEN_SOURCE -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -O3 
-fomit-frame-pointer -ffast-math -pipe -Wall basic.c 
gcc -c -DHAVE_CONFIG_H -I. -I. -I./lib -DNDEBUG -D_GNU_SOURCE -D_XOPEN_SOURCE 
-march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -O3 -fomit-frame-pointer 
-ffast-math -pipe -Wall timer.c 
make: *** No rule to make target `stat/libstat.a&apos;, needed by `httperf&apos;.  Stop. 
make: *** Waiting for unfinished jobs.... 
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib -I../gen  -DNDEBUG -D_GNU_SOURCE 
-D_XOPEN_SOURCE -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -O3 
-fomit-frame-pointer -ffast-math -pipe -Wall sess_stat.c 
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -I../lib -I../gen  -DNDEBUG -D_GNU_SOURCE 
-D_XOPEN_SOURCE -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -O3 
-fomit-frame-pointer -ffast-math -pipe -Wall print_reply.c 
ar r libstat.a basic.o sess_stat.o print_reply.o 
ar: creating libstat.a 
ranlib libstat.a 
make[1]: Leaving directory 
`/var/tmp/portage/httperf-0.8/work/httperf-0.8/stat&apos; 
 
!!! ERROR: app-benchmarks/httperf-0.8 failed. 
!!! Function src_compile, Line 36, Exitcode 2 
!!! emake failed 
!!! If you need support, post the topmost build error, NOT this status 
message. 
 
httperf # vi httperf-0.8.ebuild 
 

Expected Results:  
compile cleanly 

including a line of  
  
MAKEOPTS=&quot;-j1&quot;  
  
in httperf-0.8.ebuild fixes this.  
Simply copying the ebuild to local portage-overlay dir...  
 
A note about the severity: for people having &quot;-j2&quot;+ settings, it&apos;s acutally a 
Blocker...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dominik.buerkle@web.de</who>
            <bug_when>2005-09-22 13:33:29 0000</bug_when>
            <thetext>Created an attachment (id=69025)
patch the ebuild to include MAKEOPTS=&quot;-j1&quot;

Though it might be a workaround against a make bug (is it?), I didn&apos;t put that
into the comment right above that line... You might wish to do so.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2005-09-26 09:58:42 0000</bug_when>
            <thetext>Fixed, thanks.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>69025</attachid>
            <date>2005-09-22 13:33 0000</date>
            <desc>patch the ebuild to include MAKEOPTS=&quot;-j1&quot;</desc>
            <filename>httperf-0.8.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9hcHAtYmVuY2htYXJrcy9odHRwZXJmL2h0dHBlcmYtMC44LmVidWls
ZAkyMDA1LTA4LTE3IDIyOjUxOjE4LjAwMDAwMDAwMCArMDIwMAorKysgL3Vzci9sb2NhbC9wb3J0
YWdlL2FwcC1iZW5jaG1hcmtzL2h0dHBlcmYvaHR0cGVyZi0wLjguZWJ1aWxkCTIwMDUtMDktMTQg
MTY6MzI6MzcuMDAwMDAwMDAwICswMjAwCkBAIC0xMiw2ICsxMiw3IEBACiBTTE9UPSIwIgogS0VZ
V09SRFM9In5taXBzIH5zcGFyYyB+eDg2IgogSVVTRT0iZGVidWcgc3NsIgorTUFLRU9QVFM9Ii1q
MSIKIAogREVQRU5EPSIiCiBSREVQRU5EPSIiCg==
</data>        

          </attachment>
    </bug>

</bugzilla>