Bug#897718: cdebconf: ftbfs with GCC-8

2018-07-23 Thread Julien Cristau
On 07/18/2018 02:09 AM, Cyril Brulebois wrote:
> Hi,
> 
> Matthias Klose  (2018-05-04):
>> The package fails to build in a test rebuild on at least amd64 with
>> gcc-8/g++-8, but succeeds to build with gcc-7/g++-7. The
>> severity of this report will be raised before the buster release.
>>
>> The full build log can be found at:
>> http://aws-logs.debian.net/2018/05/01/gcc8/cdebconf_0.243_unstable_gcc8.log.gz
>> The last lines of the build log are at the end of this report.
>>
>> To build with GCC 8, either set CC=gcc-8 CXX=g++-8 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-8/porting_to.html
> 
> FWIW the severity of this bug report just got upgraded to serious but it
> can be directly reproduced in an up-to-date sid system, as gcc-defaults
> doesn't seem to have been switched to gcc-8 yet.
> 
> It'd be nice if someone could take a look and fix the bug though. :)
> 

https://salsa.debian.org/installer-team/cdebconf/merge_requests/2 fixes
the build failure for me.  There's a number of warnings in non-Werror
parts of the code base that might be worth looking at, too.

Cheers,
Julien



Bug#897718: cdebconf: ftbfs with GCC-8

2018-07-17 Thread Cyril Brulebois
Hi,

Matthias Klose  (2018-05-04):
> Package: src:cdebconf
> Version: 0.243
> Severity: normal
> Tags: sid buster
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-8
> 
> 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-8/g++-8, but succeeds to build with gcc-7/g++-7. The
> severity of this report will be raised before the buster release.
> 
> The full build log can be found at:
> http://aws-logs.debian.net/2018/05/01/gcc8/cdebconf_0.243_unstable_gcc8.log.gz
> The last lines of the build log are at the end of this report.
> 
> To build with GCC 8, either set CC=gcc-8 CXX=g++-8 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-8/porting_to.html

FWIW the severity of this bug report just got upgraded to serious but it
can be directly reproduced in an up-to-date sid system, as gcc-defaults
doesn't seem to have been switched to gcc-8 yet.

It'd be nice if someone could take a look and fix the bug though. :)



Cheers,
-- 
Cyril Brulebois (k...@debian.org)
D-I release manager -- Release team member -- Freelance Consultant


signature.asc
Description: PGP signature


Bug#897718: cdebconf: ftbfs with GCC-8

2018-05-04 Thread Matthias Klose
Package: src:cdebconf
Version: 0.243
Severity: normal
Tags: sid buster
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-8

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-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/cdebconf_0.243_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 8, either set CC=gcc-8 CXX=g++-8 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-8/porting_to.html

[...]
make[5]: Leaving directory 
'/<>/debian/build-deb/src/modules/frontend/passthrough'
cp passthrough/passthrough.so .
make -C text
make[5]: Entering directory 
'/<>/debian/build-deb/src/modules/frontend/text'
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat 
-Werror=format-security  -O2 -D_GNU_SOURCE -g -D_DEBUG_ -I. 
-I/<>/debian/build-deb/src -I/<>/src  
-I/<>/debian/build-deb -fPIC -o text.opic -c 
/<>/src/modules/frontend/text/text.c
/<>/src/modules/frontend/text/text.c: In function 'get_answer':
/<>/src/modules/frontend/text/text.c:194:2: warning: ignoring 
return value of 'fgets', declared with attribute warn_unused_result 
[-Wunused-result]
  fgets(answer, size, stdin);
  ^~
/<>/src/modules/frontend/text/text.c: In function 'printlist':
/<>/src/modules/frontend/text/text.c:308:3: warning: ignoring 
return value of 'asprintf', declared with attribute warn_unused_result 
[-Wunused-result]
   asprintf(&(fchoices[i]), "%3d: %s,", i+1, 
choices->choices_translated[i]);
   ^
Creating DSO text.so from text.opic
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat 
-Werror=format-security  -O2 -D_GNU_SOURCE -g -D_DEBUG_ -I. 
-I/<>/debian/build-deb/src -I/<>/src  -shared -o 
text.so text.opic -Wl,-z,relro -lpthread -Wl,--as-needed  
make[5]: Leaving directory 
'/<>/debian/build-deb/src/modules/frontend/text'
cp text/text.so .
make -C newt
make[5]: Entering directory 
'/<>/debian/build-deb/src/modules/frontend/newt'
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat 
-Werror=format-security  -O2 -D_GNU_SOURCE -g -D_DEBUG_ -I. 
-I/<>/debian/build-deb/src -I/<>/src  
-I/<>/debian/build-deb -fPIC -o newt.opic -c 
/<>/src/modules/frontend/newt/newt.c
/<>/src/modules/frontend/newt/newt.c: In function 
'show_multiselect_window':
/<>/src/modules/frontend/newt/newt.c:719:21: warning: ignoring 
return value of 'asprintf', declared with attribute warn_unused_result 
[-Wunused-result]
 asprintf(&tmp, "%s, %s", ans, choices[i]);
 ^
Creating DSO newt.so from newt.opic
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat 
-Werror=format-security  -O2 -D_GNU_SOURCE -g -D_DEBUG_ -I. 
-I/<>/debian/build-deb/src -I/<>/src  -shared -o 
newt.so newt.opic -Wl,-z,relro -lpthread -Wl,--as-needed  -lnewt -lslang 
-ltextwrap
make[5]: Leaving directory 
'/<>/debian/build-deb/src/modules/frontend/newt'
cp newt/newt.so .
make -C gtk
make[5]: Entering directory 
'/<>/debian/build-deb/src/modules/frontend/gtk'
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 
-fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat 
-Werror=format-security  -O2 -D_GNU_SOURCE -g -D_DEBUG_ -I. 
-I/<>/debian/build-deb/src -I/<>/src -pthread 
-I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include 
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/uuid 
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 
-I/usr/include/fribidi -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-DGSEAL_ENABLE -funsigned-char -fstrict-aliasing -Wall -W -Werror 
-Wno-error=unused-result -Wno-error=deprecated-declarations -Wundef 
-Wwrite-strings -Wsign-compare -Wno-unused-parameter -Winit-self 
-Wpointer-arith -Wredun