Bug 1010884 - /usr/share/selinux/devel/Makefile is not paralel
Summary: /usr/share/selinux/devel/Makefile is not paralel
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2013-09-23 09:04 UTC by Miroslav Suchý
Modified: 2017-02-26 01:37 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.13.1-225.10.fc25
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2017-02-26 01:37:43 UTC
Type: Bug

Attachments (Terms of Use)

Description Miroslav Suchý 2013-09-23 09:04:26 UTC
Description of problem:
If I try to build new selinux module with:
  make NAME=targeted -f /usr/share/selinux/devel/Makefile
it works. But if I pass %{_smp_mflags} to make (as required by fedora guidelines), ie. run:
  make -j8 NAME=targeted -f /usr/share/selinux/devel/Makefile
it will break with:

+ for selinuxvariant in targeted
+ make -j8 NAME=targeted -f /usr/share/selinux/devel/Makefile
/bin/sh: tmp/copr.mod.fc: No such file or directory
make: *** [tmp/copr.mod.fc] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from /var/tmp/rpm-tmp.aVlCof (%build)

Version-Release number of selected component (if applicable):

How reproducible:
one is enough :)

Steps to Reproduce:
1. create copr.fc  copr.if copr.te
2. in that directory run:
make NAME=targeted -f /usr/share/selinux/devel/Makefile
#this pass
3. and now run:
  make -j8 NAME=targeted -f /usr/share/selinux/devel/Makefile
#this will likely fail, if you have fast enough machine.

Workaround is easy - do not pass %{_smp_mflags} to make, but it will be nice if this can be fixed.

Comment 1 Jaroslav Reznik 2015-03-03 15:06:00 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:

Comment 2 Fedora End Of Life 2016-07-19 20:02:58 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 3 Miroslav Suchý 2016-07-27 14:33:27 UTC
Still valid.

Comment 4 Fedora Admin XMLRPC Client 2016-09-27 14:52:59 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora Update System 2017-02-22 21:07:17 UTC
selinux-policy-3.13.1-225.10.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-31d4ea5eb1

Comment 6 Fedora Update System 2017-02-26 01:37:43 UTC
selinux-policy-3.13.1-225.10.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.