[DSE-Dev] Bug#957477: libsepol: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:04:58 BST 2020


Package: src:libsepol
Version: 3.0-1
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/libsepol_3.0-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:137: multiple definition of `CIL_KEY_CATSET'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:137: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:136: multiple definition of `CIL_KEY_CATEGORY'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:136: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:135: multiple definition of `CIL_KEY_SENSITIVITY'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:135: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:134: multiple definition of `CIL_KEY_USERATTRIBUTESET'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:134: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:133: multiple definition of `CIL_KEY_USERATTRIBUTE'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:133: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:132: multiple definition of `CIL_KEY_USER'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:132: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:131: multiple definition of `CIL_KEY_ROLE'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:131: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:130: multiple definition of `CIL_KEY_TYPE'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:130: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:129: multiple definition of `CIL_KEY_TRANS'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:129: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:128: multiple definition of `CIL_KEY_TASK'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:128: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:127: multiple definition of `CIL_KEY_XATTR'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:127: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:126: multiple definition of `CIL_KEY_ANY'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:126: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:125: multiple definition of `CIL_KEY_SYMLINK'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:125: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:124: multiple definition of `CIL_KEY_PIPE'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:124: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:123: multiple definition of `CIL_KEY_SOCKET'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:123: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:122: multiple definition of `CIL_KEY_BLOCK'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:122: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:121: multiple definition of `CIL_KEY_CHAR'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:121: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:120: multiple definition of `CIL_KEY_DIR'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:120: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:119: multiple definition of `CIL_KEY_FILE'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:119: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:118: multiple definition of `CIL_KEY_GLOB'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:118: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:117: multiple definition of `CIL_KEY_RANGE'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:117: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:116: multiple definition of `CIL_KEY_ALL'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:116: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:115: multiple definition of `CIL_KEY_XOR'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:115: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:114: multiple definition of `CIL_KEY_TUNABLE'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:114: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:113: multiple definition of `CIL_KEY_CALL'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:113: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:112: multiple definition of `CIL_KEY_TYPECHANGE'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:112: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:111: multiple definition of `CIL_KEY_TYPETRANSITION'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:111: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:110: multiple definition of `CIL_KEY_DONTAUDIT'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:110: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:109: multiple definition of `CIL_KEY_ALLOW'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:109: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:108: multiple definition of `CIL_KEY_TUNABLEIF'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:108: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:107: multiple definition of `CIL_KEY_AUDITALLOW'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:107: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:106: multiple definition of `CIL_KEY_SCTP'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:106: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:105: multiple definition of `CIL_KEY_DCCP'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:105: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:104: multiple definition of `CIL_KEY_UDP'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:104: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:103: multiple definition of `CIL_KEY_TCP'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:103: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:102: multiple definition of `CIL_KEY_STAR'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:102: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:101: multiple definition of `CIL_KEY_OBJECT_R'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:101: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:100: multiple definition of `CIL_KEY_SELF'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:100: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:99: multiple definition of `CIL_KEY_CONDFALSE'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:99: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:98: multiple definition of `CIL_KEY_CONDTRUE'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:98: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:97: multiple definition of `CIL_KEY_CONS_INCOMP'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:97: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:96: multiple definition of `CIL_KEY_CONS_DOMBY'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:96: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:95: multiple definition of `CIL_KEY_CONS_DOM'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:95: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:94: multiple definition of `CIL_KEY_NEQ'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:94: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:93: multiple definition of `CIL_KEY_EQ'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:93: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:92: multiple definition of `CIL_KEY_NOT'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:92: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:91: multiple definition of `CIL_KEY_OR'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:91: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:90: multiple definition of `CIL_KEY_AND'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:90: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:89: multiple definition of `CIL_KEY_CONS_H2'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:89: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:88: multiple definition of `CIL_KEY_CONS_H1'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:88: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:87: multiple definition of `CIL_KEY_CONS_L2'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:87: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:86: multiple definition of `CIL_KEY_CONS_L1'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:86: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:85: multiple definition of `CIL_KEY_CONS_U3'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:85: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:84: multiple definition of `CIL_KEY_CONS_U2'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:84: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:83: multiple definition of `CIL_KEY_CONS_U1'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:83: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:82: multiple definition of `CIL_KEY_CONS_R3'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:82: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:81: multiple definition of `CIL_KEY_CONS_R2'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:81: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:80: multiple definition of `CIL_KEY_CONS_R1'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:80: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:79: multiple definition of `CIL_KEY_CONS_T3'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:79: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:78: multiple definition of `CIL_KEY_CONS_T2'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:78: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_internal.h:77: multiple definition of `CIL_KEY_CONS_T1'; ../cil/src/cil.lo:./src/../cil/src/cil_internal.h:77: first defined here
/usr/bin/ld: ../cil/src/cil_verify.lo:./src/../cil/src/cil_mem.h:39: multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:./src/../cil/src/cil_mem.h:39: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:50: libsepol.so.1] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:6: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:21: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the SELinux-devel mailing list