Skip to contentSkip to conversation

SE play machine

DISCUSSION Russell Coker 3 participants 3 messages Jul 11, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

It's back online. #selinux on irc.openprojects.net has the details.

If you don't want to login to the machine (or aren't allowed to) then you may still want to join IRC, there is some interesting discussion at times.

Russell Coker

--
You have received this message because you are subscribed to the selinux 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

RH util build bug?

I was installing the latest version of SEL on a fresh RH7.2 machine and I got an error when building the util's (see error message at bottom). In the past I've been building systems with RH7.1, so I checked and my other (7.1) system had a different version of /usr/bin/msgfmt (0.10.35 in 7.1 vs. 0.10.38 in 7.2), which is used to build tar-1.13.19 for selinux. When I put the 0.10.35 version on the new 7.2 machine I could finish the util's build without error.

I'm not sure if this is a bug in msgfmt or just some kind of incompatibility, but I thought I'd let everyone know.

David

make[3]: Entering directory `/usr/src/selinux-2002-07-08/selinux/utils/tar-1.13.19/po' PATH=../src:$PATH /usr/bin/xgettext --default-domain=tar --directory=.. \
--add-comments --keyword=_ --keyword=N_ \
--files-from=./POTFILES.in \
&& test ! -f tar.po \

   || ( rm -f ./tar.pot \
        && mv tar.po ./tar.pot )

rm -f cat-id-tbl.tmp
sed -f ../intl/po2tbl.sed ./tar.pot \
| sed -e "s/@PACKAGE NAME@/tar/" > cat-id-tbl.tmp
if cmp -s cat-id-tbl.tmp ./cat-id-tbl.c; then \
rm cat-id-tbl.tmp; \
else \
echo cat-id-tbl.c changed; \
rm -f ./cat-id-tbl.c; \
mv cat-id-tbl.tmp ./cat-id-tbl.c; \
fi
cat-id-tbl.c changed
cd . && rm -f stamp-cat-id && echo timestamp > stamp-cat-id file=./echo ko | sed 's,.*/,,'.gmo \
&& rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ko.po
ko.po:1431: invalid multibyte sequence
ko.po:1434: invalid multibyte sequence
found 2 fatal errors
make[3]: *** [ko.gmo] Error 1

--
You have received this message because you are subscribed to the selinux 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

Re: RH util build bug?

Quoted 7 lines · David Caplan

I was installing the latest version of SEL on a fresh RH7.2 machine and I got an error when building the util's (see error message at bottom). In the past I've been building systems with RH7.1, so I checked and my other (7.1) system had a different version of /usr/bin/msgfmt (0.10.35 in 7.1 vs. 0.10.38 in 7.2), which is used to build tar-1.13.19 for selinux. When I put the 0.10.35 version on the new 7.2 machine I could finish the util's build without error.

This is odd, since selinux/utils/tar-1.13.19 is a patched version of the tar-1.13.19-6 SRPM for RH7.2. I have successfully built this on RH7.2 without changing msgfmt, and was able to do so just now from a clean copy of the selinux archive downloaded from nsa.gov. The build did fail, however, when I did it in a working copy of the sourceforge nsa/selinux CVS tree. But a diff of a pristine copy of both showed no differences. It may be that building from the tar ball avoids regenerating this file due to the timestamp, so the problem doesn't show up.

--
Stephen D. Smalley, NAI Labs
[email protected]

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.