custom policy guidelines
Wart
wart at kobold.org
Thu Jul 24 02:23:47 UTC 2008
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
More information about the fedora-selinux-list
mailing list