All of lore.kernel.org
 help / color / mirror / Atom feed
* policycoreutils build failure
@ 2012-09-14 16:24 Pat McClory
  2012-09-14 16:59 ` Stephen Smalley
  0 siblings, 1 reply; 5+ messages in thread
From: Pat McClory @ 2012-09-14 16:24 UTC (permalink / raw)
  To: eparis, selinux@tycho.nsa.gov

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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: policycoreutils build failure
  2012-09-14 16:24 policycoreutils build failure Pat McClory
@ 2012-09-14 16:59 ` Stephen Smalley
  2012-09-14 17:28   ` Pat McClory
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Smalley @ 2012-09-14 16:59 UTC (permalink / raw)
  To: Pat McClory; +Cc: eparis, selinux@tycho.nsa.gov

On Fri, 2012-09-14 at 12:24 -0400, Pat McClory wrote:
> 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.

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

-- 
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: policycoreutils build failure
  2012-09-14 16:59 ` Stephen Smalley
@ 2012-09-14 17:28   ` Pat McClory
  2012-09-14 17:40     ` Eric Paris
  0 siblings, 1 reply; 5+ messages in thread
From: Pat McClory @ 2012-09-14 17:28 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: eparis, selinux@tycho.nsa.gov

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
On 09/14/2012 12:59 PM, Stephen Smalley wrote:
> On Fri, 2012-09-14 at 12:24 -0400, Pat McClory wrote:
>> 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.
>
> 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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: policycoreutils build failure
  2012-09-14 17:28   ` Pat McClory
@ 2012-09-14 17:40     ` Eric Paris
  2012-09-15 10:00       ` Daniel J Walsh
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Paris @ 2012-09-14 17:40 UTC (permalink / raw)
  To: Pat McClory; +Cc: Stephen Smalley, eparis, selinux@tycho.nsa.gov

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

On Fri, Sep 14, 2012 at 1:28 PM, Pat McClory <pmcclory@tresys.com> wrote:
> 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
>
> On 09/14/2012 12:59 PM, Stephen Smalley wrote:
>>
>> On Fri, 2012-09-14 at 12:24 -0400, Pat McClory wrote:
>>>
>>> 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.
>>
>>
>> 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 majordomo@tycho.nsa.gov
> 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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: policycoreutils build failure
  2012-09-14 17:40     ` Eric Paris
@ 2012-09-15 10:00       ` Daniel J Walsh
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel J Walsh @ 2012-09-15 10:00 UTC (permalink / raw)
  To: Eric Paris; +Cc: Pat McClory, Stephen Smalley, eparis, selinux@tycho.nsa.gov

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

On 09/14/2012 01:40 PM, Eric Paris wrote:
> 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.

> On Fri, Sep 14, 2012 at 1:28 PM, Pat McClory <pmcclory@tresys.com> wrote:
>> 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
>> 
>> On 09/14/2012 12:59 PM, Stephen Smalley wrote:
>>> 
>>> On Fri, 2012-09-14 at 12:24 -0400, Pat McClory wrote:
>>>> 
>>>> 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.
>>> 
>>> 
>>> 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
>> majordomo@tycho.nsa.gov 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
> majordomo@tycho.nsa.gov 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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-09-15 10:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-14 16:24 policycoreutils build failure Pat McClory
2012-09-14 16:59 ` Stephen Smalley
2012-09-14 17:28   ` Pat McClory
2012-09-14 17:40     ` Eric Paris
2012-09-15 10:00       ` Daniel J Walsh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.