[DSE-Dev] Bug#748593: Acknowledgement (setools: FTBFS on hppa: gcj-4.9)

John David Anglin dave.anglin at bell.net
Sun May 18 17:19:06 UTC 2014


Without "export JAVACFLAGS := '-source 1.5 -target 1.5'", there is a  
compilation error here:

g++-4.8 -fno-strict-aliasing   -I/usr/include -I/usr/include -I../ 
libqpol/includ
e -I../libapol/include -I../libsefs/include -g -O2 -Wformat - 
Werror=format-secur
ity  -Wl,-O1 -Wl,--as-needed -o findcon findcon.o ../libsefs/src/ 
libsefs.a -lsql
ite3  -L/usr/lib/hppa-linux-gnu -L/usr/lib/hppa-linux-gnu ../libapol/ 
src/libapol
.a ../libqpol/src/libqpol.so -lbz2 -lselinux -lsepol
g++-4.8 -DHAVE_CONFIG_H -I. -I..    -fno-strict-aliasing   -I/usr/ 
include -I/usr
/include -I../libqpol/include -I../libapol/include -I../libsefs/ 
include -g -O2 -
Wformat -Werror=format-security -c -o replcon.o replcon.cc
replcon.cc: In function ‘int replcon_lsetfilecon(const char*,  
security_context_t
)’:
replcon.cc:73:25: warning: NULL used in arithmetic [-Wpointer-arith]
   if (lsetfilecon_raw != NULL)
                          ^
In file included from /usr/include/_G_config.h:15:0,
                  from /usr/include/libio.h:31,
                  from /usr/include/stdio.h:74,
                  from ../libapol/include/apol/util.h: 
37,                 from replcon.cc:31:
replcon.cc:73:25: error: invalid operands of types ‘<unresolved  
overloaded funct
ion type>’ and ‘int’ to binary ‘operator!=’
   if (lsetfilecon_raw != NULL)
                          ^
Makefile:585: recipe for target 'replcon.o' failed

Dave
--
John David Anglin	dave.anglin at bell.net



More information about the SELinux-devel mailing list