Bug 237189
Summary: | libpri-1.4.0-3.fc7.src.rpm fails to build as non-root, pathissue on restorecon | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | R P Herrold <herrold> |
Component: | libpri | Assignee: | Jeffrey C. Ollie <jeff> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-11-19 05:35:20 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: |
Description
R P Herrold
2007-04-19 22:00:52 UTC
scrape from the end of a build: install -m 755 libpri.so.1.0 /var/tmp/libpri-1.4.0-root-herrold/usr/lib if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux status:" |grep -q "enabled"); then restorecon -v /var/tmp/libpri-1.4.0-root-herrold/usr/lib/libpri.so.1.0; fi /bin/sh: restorecon: command not found make: *** [install] Error 127 error: Bad exit status from /var/tmp/rpm-tmp.22370 (%install) workaround proof of issue: $ cat ./wrap-libpri.sh #!/bin/sh # # export PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/sbin:/usr/sbin rpmbuild --rebuild libpri-1.4.0-3.fc7.src.rpm # ... Wrote: /home/herrold/rpmbuild/RPMS/i386/libpri-1.4.0-3.i386.rpm Wrote: /home/herrold/rpmbuild/RPMS/i386/libpri-devel-1.4.0-3.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.81303 + umask 022 I am unable to reproduce the problem with the current version: http://koji.fedoraproject.org/koji/buildinfo?buildID=23261 Please give this version a try. |