Re: custom policy guidelines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Wart wrote:
> The proposed guidelines on the wiki recommend a %define macro to embed
> the build-time selinux-policy version in the resulting -selinux
> subpackage Requires:
> 
> https://fedoraproject.org/wiki/PackagingDrafts/SELinux/PolicyModules#Runtime_Dependencies
> 
> This has worked fine for me in F-8 and F-9, but when I try to build the
> package (crossfire) in rawhide, mock now gives the error below.  Is this
> a temporary rawhide problem, or do the guidelines need to be updated?
> 
> --Wart
> 
> Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i386
> --nodeps builddir/build/SPECS/crossfire.spec']
> /etc/profile: line 38: /bin/hostname: No such file or directory
> sed: can't read /usr/share/selinux/devel/policyhelp: No such file or
> directory
> error:
> syntax error in expression
> error:
> /builddir/build/SPECS/crossfire.spec:91: parseExpressionBoolean returns -1
> Building target platforms: i386
> Building for target i386
> Child returncode was: 1
> EXCEPTION: Command failed. See logs for output.

For what it's worth, I get the same failure when building in koji:

http://koji.fedoraproject.org/koji/getfile?taskID=735236&name=build.log

--Wart

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux