[DSE-Dev] Bug#750331: setools: FTBFS: replcon.cc:73:25: error: invalid operands of types '<unresolved overloaded function type>' and 'long int' to binary 'operator!='

David Suárez david.sephirot at gmail.com
Mon Jun 2 18:17:12 UTC 2014


Source: setools
Version: 3.3.8-3
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140601 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> g++ -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 -fstack-protector --param=ssp-buffer-size=4 -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 function type>' and 'long int' to binary 'operator!='
>   if (lsetfilecon_raw != NULL)
>                          ^
> make[3]: *** [replcon.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/06/01/setools_3.3.8-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the SELinux-devel mailing list