Your message dated Sat, 14 Mar 2020 00:55:59 +0000
with message-id <20200314005559.blabn7gurywmneb3@debian>
and subject line Re: aide: ftbfs with GCC-9
has caused the Debian Bug report #925630,
regarding aide: ftbfs with GCC-9
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
925630: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925630
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:aide
Version: 0.16.1-1
Severity: normal
Tags: sid bullseye
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-9
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-9/g++-9, but succeeds to build with gcc-8/g++-8. 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/gcc9-20190321/aide_0.16.1-1_unstable_gcc9.log
The last lines of the build log are at the end of this report.
To build with GCC 9, either set CC=gcc-9 CXX=g++-9 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-9/porting_to.html
GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.
[...]
525 | void* dlopen(char*filename,int flag)
| ~~~~^~~~
../src/util.c: In function 'dlsym':
../src/util.c:530:18: warning: unused parameter 'handle' [-Wunused-parameter]
530 | void* dlsym(void*handle,char*symbol)
| ~~~~~^~~~~~
../src/util.c:530:30: warning: unused parameter 'symbol' [-Wunused-parameter]
530 | void* dlsym(void*handle,char*symbol)
| ~~~~~^~~~~~
../src/util.c: In function 'dlclose':
../src/util.c:535:20: warning: unused parameter 'handle' [-Wunused-parameter]
535 | void* dlclose(void*handle)
| ~~~~~^~~~~~
In file included from /usr/include/string.h:494,
from /usr/include/mutils/mincludes.h:62,
from /usr/include/mhash.h:6,
from ../include/db_config.h:97,
from ../include/aide.h:26,
from ../src/util.c:22:
In function 'strncpy',
inlined from 'expand_tilde' at ../src/util.c:375:17:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning:
'__builtin_strncpy' output truncated before terminating nul copying as many
bytes from a string as its length [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/util.c: In function 'expand_tilde':
../src/util.c:372:31: note: length computed here
372 | homedir_len = strlen(homedir);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
from /usr/include/mutils/mincludes.h:62,
from /usr/include/mhash.h:6,
from ../include/db_config.h:97,
from ../include/aide.h:26,
from ../src/util.c:22:
In function 'strncpy',
inlined from 'expand_tilde' at ../src/util.c:376:17:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning:
'__builtin_strncpy' output truncated before terminating nul copying as many
bytes from a string as its length [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/util.c: In function 'expand_tilde':
../src/util.c:371:28: note: length computed here
371 | path_len = strlen(path+sizeof(char));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gcc -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -W -Wall -g -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro
-static -o aide src/aide.o src/base64.o src/be.o src/commandconf.o
src/compare_db.o src/conf_lex.o src/conf_yacc.o src/db.o src/db_disk.o
src/db_file.o src/db_lex.o src/db_list.o src/db_sql.o src/do_md.o src/error.o
src/gen_list.o src/getopt1.o src/getopt.o src/list.o src/md.o src/snprintf.o
src/symboltable.o src/util.o -lm -lpcre -pthread -lmhash -lacl -lselinux
-laudit -lcap-ng -lattr -le2p -lz
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcap-ng.a(cap-ng.o):
in function `capng_change_id':
(.text+0x193e): warning: Using 'initgroups' in statically linked applications
requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libacl.a(la-__acl_to_any_text.o):
in function `__acl_to_any_text':
(.text+0x909): warning: Using 'getgrgid' in statically linked applications
requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libaudit.a(libaudit.o):
in function `audit_rule_fieldpair_data':
(.text+0x2194): warning: Using 'getgrnam' in statically linked applications
requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: (.text+0x25d4): warning: Using 'getpwnam' in statically linked
applications requires at runtime the shared libraries from the glibc version
used for linking
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libacl.a(la-__acl_to_any_text.o):
in function `__acl_to_any_text':
(.text+0x693): warning: Using 'getpwuid' in statically linked applications
requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libaudit.a(audit_logging.o):
in function `_resolve_addr':
(.text+0x8f): warning: Using 'getaddrinfo' in statically linked applications
requires at runtime the shared libraries from the glibc version used for linking
lto1: fatal error: bytecode stream in file
'/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libe2p.a' generated
with LTO version 7.1 instead of the expected 8.0
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:595: aide] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/aide'
make[2]: *** [Makefile:444: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/aide'
dh_auto_build: cd aide && make -j4 returned exit code 2
make[1]: *** [debian/rules:33: override_dh_auto_build-arch] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:25: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit
status 2
--- End Message ---
--- Begin Message ---
Version: 0.16.1-1
As mentioned in the earlier message, I am not seeing any build failure,
and as such I am closing this bug. Please re-open if you think its still
failing.
Build Architecture: amd64
Build Type: full
Build-Space: 26244
Build-Time: 27
Distribution: unstable
Host Architecture: amd64
Install-Time: 38
Job: /home/sudip/debian/aide/aide_0.16.1-1.dsc
Lintian: info
Machine Architecture: amd64
Package: aide
Package-Time: 68
Source-Version: 0.16.1-1
Space: 26244
Status: successful
Version: 0.16.1-1
--
Regards
Sudip
--- End Message ---