Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora SELinux Support (http://www.linux-archive.org/fedora-selinux-support/)
-   -   error rebuilding source rpm selinux-policy-3.6.32-89.fc12.src.rpm (http://www.linux-archive.org/fedora-selinux-support/334430-error-rebuilding-source-rpm-selinux-policy-3-6-32-89-fc12-src-rpm.html)

yersinia 03-02-2010 09:36 AM

error rebuilding source rpm selinux-policy-3.6.32-89.fc12.src.rpm
 
I do

*rpmbuild --rebuild selinux-policy-3.6.32-89.fc12.src.rpm

(as described here http://danwalsh.livejournal.com/26428.html)
and have this result


......................
echo '</policy>' >> doc/policy.xml
if test -x /usr/bin/xmllint && test -f doc/policy.dtd; then
*************** /usr/bin/xmllint --noout --path doc/ --dtdvalid doc/policy.dtd doc/policy.xml ;

******* fi
Updating policy/modules.conf and policy/booleans.conf
python -E support/sedoctool.py -b policy/booleans.conf -m policy/modules.conf -x doc/policy.xml
Updating policy/modules.conf and policy/booleans.conf

python -E support/sedoctool.py -b policy/booleans.conf -m policy/modules.conf -x doc/policy.xml
+ cp -f selinux_config/modules-targeted.conf ./policy/modules.conf
+ cp -f selinux_config/booleans-targeted.conf ./policy/booleans.conf

+ cp -f selinux_config/users-targeted ./policy/users
+ make UNK_PERMS=allow NAME=targeted TYPE=mcs DISTRO=redhat UBAC=n DIRECT_INITRC=n MONOLITHIC=n POLY=y MLS_CATS=1024 MCS_CATS=1024 base.pp
make: *** No rule to make target `base.pp'.* Stop.

error: Bad exit status from /home/machbuild/rpmbuild/tmp/rpm-tmp.kuOKrS (%install)

Perhaps i miss something ?

Thanks in advance



--
selinux mailing list
selinux@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/selinux

Dominick Grift 03-02-2010 09:56 AM

error rebuilding source rpm selinux-policy-3.6.32-89.fc12.src.rpm
 
On 03/02/2010 11:36 AM, yersinia wrote:
> I do
>
> rpmbuild --rebuild selinux-policy-3.6.32-89.fc12.src.rpm
>
> (as described here http://danwalsh.livejournal.com/26428.html)
> and have this result
>
> ......................
> echo '</policy>' >> doc/policy.xml
> if test -x /usr/bin/xmllint && test -f doc/policy.dtd; then
> /usr/bin/xmllint --noout --path doc/ --dtdvalid
> doc/policy.dtd doc/policy.xml ;
> fi
> Updating policy/modules.conf and policy/booleans.conf
> python -E support/sedoctool.py -b policy/booleans.conf -m
> policy/modules.conf -x doc/policy.xml
> Updating policy/modules.conf and policy/booleans.conf
> python -E support/sedoctool.py -b policy/booleans.conf -m
> policy/modules.conf -x doc/policy.xml
> + cp -f selinux_config/modules-targeted.conf ./policy/modules.conf
> + cp -f selinux_config/booleans-targeted.conf ./policy/booleans.conf
> + cp -f selinux_config/users-targeted ./policy/users
> + make UNK_PERMS=allow NAME=targeted TYPE=mcs DISTRO=redhat UBAC=n
> DIRECT_INITRC=n MONOLITHIC=n POLY=y MLS_CATS=1024 MCS_CATS=1024 base.pp
> make: *** No rule to make target `base.pp'. Stop.
> error: Bad exit status from /home/machbuild/rpmbuild/tmp/rpm-tmp.kuOKrS
> (%install)
>
> Perhaps i miss something ?

Maybe it was an error in 3.6.32-89? I just tried the same with 3.6.32-96:

rpmbuild --rebuild selinux-policy-3.6.32-96.fc12.src.rpm

<snip>
Wrote:
/home/dgrift/rpmbuild/RPMS/noarch/selinux-policy-3.6.32-96.fc12.noarch.rpm
Wrote:
/home/dgrift/rpmbuild/RPMS/noarch/selinux-policy-doc-3.6.32-96.fc12.noarch.rpm
Wrote:
/home/dgrift/rpmbuild/RPMS/noarch/selinux-policy-targeted-3.6.32-96.fc12.noarch.rpm
Wrote:
/home/dgrift/rpmbuild/RPMS/noarch/selinux-policy-minimum-3.6.32-96.fc12.noarch.rpm
Wrote:
/home/dgrift/rpmbuild/RPMS/noarch/selinux-policy-mls-3.6.32-96.fc12.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.49uwWK
+ umask 022
+ cd /home/dgrift/rpmbuild/BUILD
+ cd serefpolicy-3.6.32
+ /bin/rm -fR
/home/dgrift/rpmbuild/BUILDROOT/selinux-policy-3.6.32-96.fc12.x86_64
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.O7uwYd
+ umask 022
+ cd /home/dgrift/rpmbuild/BUILD
+ rm -rf serefpolicy-3.6.32
+ exit 0

Worked fine here but i might be overlooking something.

> Thanks in advance
>
>
>
>
> --
> selinux mailing list
> selinux@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/selinux


--
selinux mailing list
selinux@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/selinux

yersinia 03-02-2010 10:26 AM

error rebuilding source rpm selinux-policy-3.6.32-89.fc12.src.rpm
 
On Tue, Mar 2, 2010 at 11:56 AM, Dominick Grift <domg472@gmail.com> wrote:

On 03/02/2010 11:36 AM, yersinia wrote:



Maybe it was an error in 3.6.32-89? I just tried the same with 3.6.32-96:


*
rpmbuild --rebuild selinux-policy-3.6.32-96.fc12.src.rpm


No also this version in update-testing repo give me the same identical error.
So i switched to another user for doing the build and worked.

Probably i have some strange macro in my .rpmmacros. Thanks



--
selinux mailing list
selinux@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/selinux


All times are GMT. The time now is 12:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.