Skip to contentSkip to conversation

policycoreutils build failure

DISCUSSION Pat McClory 4 participants 5 messages Sep 14, 2012 – Sep 15, 2012 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hi Eric,

I tried to build your latest upstream push, and I'm having trouble building policycoreutils:

make[1]: Entering directory `/home/pmcclory/selinux/policycoreutils/po'
make[1]: *** No rule to make target ../gui/selinux.tbl', needed by policycoreutils.pot'. Stop. make[1]: Leaving directory `/home/pmcclory/selinux/policycoreutils/po'
make: *** [all] Error 1

it looks like policycoreutils/gui/selinux.tbl is added in commit f237aac4506e398367575319e7c0e7741ff7bce0 in the queue branch, but isn't in master.

pat mcclory

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 11 lines · Pat McClory

Hi Eric,

I tried to build your latest upstream push, and I'm having trouble building policycoreutils:

make[1]: Entering directory /home/pmcclory/selinux/policycoreutils/po' make[1]: *** No rule to make target ../gui/selinux.tbl', needed by `policycoreutils.pot'. Stop.
make[1]: Leaving directory `/home/pmcclory/selinux/policycoreutils/po'
make: *** [all] Error 1

Quoted 3 lines

it looks like policycoreutils/gui/selinux.tbl is added in commit f237aac4506e398367575319e7c0e7741ff7bce0 in the queue branch, but isn't in master.

Did you clean your tree first? Try a git clean -fdx and then building. Works for me.

cd selinux
git clean -fdx
make DESTDIR=~/obj install

Signature · 8 lines
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw

yes, that works for me. however just running 'make' (no install) doesn't, for the same reason.

looking at the policycoreutils/po/Makefile I see that the 'all' target has 'update-po' as a dependency, while 'install' does not. When I try to run 'make update-po' in policycoreutils/po I see the same issue.

pat mcclory

Quoted 16 lines · Stephen Smalley
Quoted 11 lines · Pat McClory

Hi Eric,

I tried to build your latest upstream push, and I'm having trouble building policycoreutils:

make[1]: Entering directory /home/pmcclory/selinux/policycoreutils/po' make[1]: *** No rule to make target ../gui/selinux.tbl', needed by `policycoreutils.pot'. Stop.
make[1]: Leaving directory `/home/pmcclory/selinux/policycoreutils/po'
make: *** [all] Error 1

Quoted 3 lines

it looks like policycoreutils/gui/selinux.tbl is added in commit f237aac4506e398367575319e7c0e7741ff7bce0 in the queue branch, but isn't in master.

Quoted 7 lines

Did you clean your tree first? Try a git clean -fdx and then building. Works for me.

cd selinux
git clean -fdx
make DESTDIR=~/obj install

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#3 lore raw

9f78846a5f7a567e1c2277c7cd05558cd625a868 Seems to be the problem. I added the Fedora po Makefile, but forgot to remove the one part I refuse to add upstream. I will not commit selinux.tbl upstream (and have to fight^Wwork with Dan to figure out a good way to handle it)

I'll remove the bad line from the makefile right now.

-Eric

Quoted 38 lines · Pat McClory

yes, that works for me. however just running 'make' (no install) doesn't, for the same reason.

looking at the policycoreutils/po/Makefile I see that the 'all' target has 'update-po' as a dependency, while 'install' does not. When I try to run 'make update-po' in policycoreutils/po I see the same issue.

pat mcclory

Quoted 19 lines · Stephen Smalley
Quoted 12 lines · Pat McClory

Hi Eric,

I tried to build your latest upstream push, and I'm having trouble building policycoreutils:

make[1]: Entering directory /home/pmcclory/selinux/policycoreutils/po' make[1]: *** No rule to make target ../gui/selinux.tbl', needed by `policycoreutils.pot'. Stop.
make[1]: Leaving directory `/home/pmcclory/selinux/policycoreutils/po'
make: *** [all] Error 1

Quoted 3 lines

it looks like policycoreutils/gui/selinux.tbl is added in commit f237aac4506e398367575319e7c0e7741ff7bce0 in the queue branch, but isn't in master.

Quoted 7 lines

Did you clean your tree first? Try a git clean -fdx and then building. Works for me.

cd selinux
git clean -fdx
make DESTDIR=~/obj install

Quoted 5 lines

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#4 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 8 lines · Eric Paris

9f78846a5f7a567e1c2277c7cd05558cd625a868 Seems to be the problem. I added the Fedora po Makefile, but forgot to remove the one part I refuse to add upstream. I will not commit selinux.tbl upstream (and have to fight^Wwork with Dan to figure out a good way to handle it)

I'll remove the bad line from the makefile right now.

-Eric

I agree it should not be added. This file is basically a list of the boolean comments that we want to get translated. I am not sure if there is a really good way of doing this. We could attempt to create the file from the installed policy on the fly, when you do a make update-po and then only people who use that command would end up with this file.

Quoted 42 lines · Pat McClory
Quoted 32 lines

yes, that works for me. however just running 'make' (no install) doesn't, for the same reason.

looking at the policycoreutils/po/Makefile I see that the 'all' target has 'update-po' as a dependency, while 'install' does not. When I try to run 'make update-po' in policycoreutils/po I see the same issue.

pat mcclory

Quoted 22 lines · Stephen Smalley
Quoted 12 lines · Pat McClory

Hi Eric,

I tried to build your latest upstream push, and I'm having trouble building policycoreutils:

make[1]: Entering directory /home/pmcclory/selinux/policycoreutils/po' make[1]: *** No rule to make target ../gui/selinux.tbl', needed by policycoreutils.pot'. Stop. make[1]: Leaving directory /home/pmcclory/selinux/policycoreutils/po' make: *** [all] Error 1

Quoted 3 lines

it looks like policycoreutils/gui/selinux.tbl is added in commit f237aac4506e398367575319e7c0e7741ff7bce0 in the queue branch, but isn't in master.

Did you clean your tree first? Try a git clean -fdx and then building. Works for me.

Quoted 8 lines
Quoted 2 lines

cd selinux git clean -fdx make DESTDIR=~/obj install

-- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

Quoted 5 lines

-- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBUUc8ACgkQrlYvE4MpobMVQACgj6I3x8Zo+Q0f/ilSmCQd8L0I /aAAn0X3ULsnSbzVUUp8fYqVpmGP1Trf
=mLgF
-----END PGP SIGNATURE-----

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.