Failure to build policycoreutils from git
Hi,
__> tar zvvfx /usr/local/src/selinux-dev-release/policycoreutils-2.0.64.tar.gz __> cd policycoreutils-2.0.64
__> make
make[1]: Entering directory `/tmp/policycoreutils-2.0.64/setfiles'
cc -Werror -Wall -W -D_FILE_OFFSET_BITS=64 -I/usr/include -c -o setfiles.o setfiles.c
cc setfiles.o -lselinux -lsepol -L/usr/lib -o setfiles
…
cc setsebool.o -lsepol -lselinux -lsemanage -L/usr/lib -o setsebool
make[1]: Leaving directory `/tmp/policycoreutils-2.0.64/setsebool'
make[1]: Entering directory `/tmp/policycoreutils-2.0.64/po'
make[1]: *** No rule to make target ../gui/booleansPage.py', needed by policycoreutils.pot'. Stop. make[1]: Leaving directory `/tmp/policycoreutils-2.0.64/po'
make: *** [all] Error 1
Indeed, there is no policycoreutils-2.0.64/gui directory at
all. I think the pot file needs to be redone, without any extraneos directories, or a means for generating the gui dir should be given.
Thanks,
manoj
Signature · 8 lines
Manoj Srivastava <[email protected]> <http://www.golden-gryphon.com/> 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- 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 19 lines · Manoj Srivastava
Hi,
__> tar zvvfx /usr/local/src/selinux-dev-release/policycoreutils-2.0.64.tar.gz __> cd policycoreutils-2.0.64 __> makemake[1]: Entering directory `/tmp/policycoreutils-2.0.64/setfiles'
cc -Werror -Wall -W -D_FILE_OFFSET_BITS=64 -I/usr/include -c -o setfiles.osetfiles.c
cc setfiles.o -lselinux -lsepol -L/usr/lib -o setfiles…
cc setsebool.o -lsepol -lselinux -lsemanage -L/usr/lib -o setsebool
make[1]: Leaving directory `/tmp/policycoreutils-2.0.64/setsebool'
make[1]: Entering directory `/tmp/policycoreutils-2.0.64/po'
make[1]: *** No rule to make target../gui/booleansPage.py', needed bypolicycoreutils.pot'. Stop. make[1]: Leaving directory `/tmp/policycoreutils-2.0.64/po'
make: *** [all] Error 1
Quoted 7 lines
Indeed, there is no policycoreutils-2.0.64/gui directory at
all. I think the pot file needs to be redone, without any extraneos directories, or a means for generating the gui dir should be given.Thanks,
manoj
Hrm, those entries were added to POTFILES last September and haven't seemed to cause a problem. When I build I always build from the top of the repo and this didn't happen at all but indeed when I built from the policycoreutils directory it did.
I don't really know anything about POTFILES or generating it, the po patches were pretty much accepted blindly, perhaps a mistake in hindsight.
--
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 36 lines · Joshua Brindle
Quoted 22 lines · Manoj Srivastava
Hi,
__> tar zvvfx
/usr/local/src/selinux-dev-release/policycoreutils-2.0.64.tar.gz__> cd policycoreutils-2.0.64
__> make
make[1]: Entering directory `/tmp/policycoreutils-2.0.64/setfiles' cc -Werror -Wall -W -D_FILE_OFFSET_BITS=64 -I/usr/include -c -o setfiles.osetfiles.c
cc setfiles.o -lselinux -lsepol -L/usr/lib -o setfiles…
cc setsebool.o -lsepol -lselinux -lsemanage -L/usr/lib -o setsebool make[1]: Leaving directory
/tmp/policycoreutils-2.0.64/setsebool' make[1]: Entering directory/tmp/policycoreutils-2.0.64/po' make[1]: *** No rule to make target../gui/booleansPage.py', needed bypolicycoreutils.pot'. Stop.
make[1]: Leaving directory `/tmp/policycoreutils-2.0.64/po'
make: *** [all] Error 1Quoted 7 lines
Indeed, there is no policycoreutils-2.0.64/gui directory at all. I think the pot file needs to be redone, without any extraneos directories, or a means for generating the gui dir should be given.
Thanks,
manoj
Hrm, those entries were added to POTFILES last September and haven't seemed to cause a problem. When I build I always build from the top of the repo and this didn't happen at all but indeed when I built from the policycoreutils directory it did.
Quoted 8 lines
I don't really know anything about POTFILES or generating it, the po patches were pretty much accepted blindly, perhaps a mistake in hindsight.
--
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.
Yes you should remove the gui lines from the Makefile.* and probably POTFILES.*
Some one is working on a system-config-selinux package to remove the gui from policycoreutils and make it a separate package.
--
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 46 lines · Daniel J Walsh
Quoted 40 lines · Joshua Brindle
Quoted 22 lines · Manoj Srivastava
Hi,
__> tar zvvfx
/usr/local/src/selinux-dev-release/policycoreutils-2.0.64.tar.gz__> cd policycoreutils-2.0.64
__> make
make[1]: Entering directory `/tmp/policycoreutils-2.0.64/setfiles' cc -Werror -Wall -W -D_FILE_OFFSET_BITS=64 -I/usr/include -c -o setfiles.osetfiles.c
cc setfiles.o -lselinux -lsepol -L/usr/lib -o setfiles…
cc setsebool.o -lsepol -lselinux -lsemanage -L/usr/lib -o setsebool make[1]: Leaving directory
/tmp/policycoreutils-2.0.64/setsebool' make[1]: Entering directory/tmp/policycoreutils-2.0.64/po' make[1]: *** No rule to make target../gui/booleansPage.py', needed bypolicycoreutils.pot'. Stop.
make[1]: Leaving directory `/tmp/policycoreutils-2.0.64/po'
make: *** [all] Error 1Quoted 7 lines
Indeed, there is no policycoreutils-2.0.64/gui directory at all. I think the pot file needs to be redone, without any extraneos directories, or a means for generating the gui dir should be given.
Thanks,
manoj
Hrm, those entries were added to POTFILES last September and haven't seemed to cause a problem. When I build I always build from the top of the repo and this didn't happen at all but indeed when I built from the policycoreutils directory it did.
I don't really know anything about POTFILES or generating it, the po patches were pretty much accepted blindly, perhaps a mistake in hindsight.
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.
Quoted 6 lines
Yes you should remove the gui lines from the Makefile.* and probably POTFILES.*
Some one is working on a system-config-selinux package to remove the gui from policycoreutils and make it a separate package.
Ok, I removed the gui stuff from Makefile and POTFILES and regenerated the .po files, commited as policycoreutils 2.0.65. Thanks for pointing this out.
--
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.