Bug 510259

Summary: FTBS: kdelibs package fail to build on non-smp machine
Product: [Fedora] Fedora Reporter: CHIKAMA Masaki <masaki.chikama>
Component: kdelibsAssignee: Kevin Kofler <kevin>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: fedora, jreznik, kevin, lorenzo, ltinkl, rdieter, smparrish, than
Target Milestone: ---Keywords: EasyFix, Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.2.95-4.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-08 16:45:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
kdelibs-4.1.96-parallel_devel2.patch none

Description CHIKAMA Masaki 2009-07-08 14:07:53 UTC
Created attachment 350942 [details]
kdelibs-4.1.96-parallel_devel2.patch

Description of problem:
 The kdelibs package fail to build on non-smp machine with this message.

[ 77%] Generating kde3supportwidgets.cpp
cd /builddir/build/BUILD/kdelibs-4.2.4/sh4-redhat-linux-gnu/kdewidgets && ../bin
/bin/sh: ../bin/makekdewidgets4.shell: No such file or directory

This result is from kdelibs-4.2.4-2.fc11, but I think rawhide package also has the same problem.
I made a patch to build it successfully. I checked the patch on these two cases.

1. mock --define="%_smp_mflags -j2" -r fedora-11-i386 kdelibs-4.2.4-2.patched.fc11.src.rpm
2. mock --define="%_smp_mflags -j1" -r fedora-11-i386 kdelibs-4.2.4-2.patched.fc11.src.rpm


Version-Release number of selected component (if applicable):
kdelibs-4.2.4-2.fc11

How reproducible:
100% on non-smp machine.

Steps to Reproduce:
1. mock -r fedora-11-i386 kdelibs-4.2.4-2.fc11.src.rpm
2.
3.
  
Actual results:
 build failed

Expected results:
 build succeeded

Additional info:

Comment 1 Rex Dieter 2009-07-08 14:51:50 UTC
Good spot!  thanks.

Comment 2 Kevin Kofler 2009-07-08 15:24:33 UTC
Fix committed to Rawhide, now building.

I also committed a fixed 4.2.4-4.fc11 to F11 CVS, but I don't think it makes sense to push an update just for this, the fix will get picked up by the next F10/F11 update.

Comment 3 CHIKAMA Masaki 2009-07-10 04:01:07 UTC
No problem. Thank you!

Comment 4 Fedora Update System 2009-07-26 08:29:37 UTC
kdelibs-4.2.4-6.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/kdelibs-4.2.4-6.fc11

Comment 5 Fedora Update System 2009-07-26 08:31:13 UTC
kdelibs-4.2.4-6.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/kdelibs-4.2.4-6.fc10

Comment 6 Fedora Update System 2009-07-28 18:23:20 UTC
kdelibs-4.2.4-6.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2009-07-28 18:26:51 UTC
kdelibs-4.2.4-6.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.