Package: src:flpsed
Version: 0.7.3-8
Severity: normal
Tags: sid bookworm
User: d...@debian.org
Usertags: ftbfs-ac270

[This bug report is not targeted to the upcoming bullseye release]

The package fails to build in a test rebuild on at least amd64 with
autoconf 2.70, but succeeds to build with autoconf 2.69. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://qa-logs.debian.net/2020/09/26.ac270/flpsed_0.7.3-8_unstable_ac270.log
The last lines of the build log are at the end of this report.

To build with autoconf 2.70, please install the autoconf package from
experimental:  apt-get -t=experimental install autoconf 

[...]
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
checking for fltk-config... /usr/bin/fltk-config
checking for open in -lX11... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
   dh_auto_build
        make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make  all-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making all in src
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
g++ -DHAVE_CONFIG_H -I. -I..   -Wall -Wdate-time -D_FORTIFY_SOURCE=2  
-I/usr/include/cairo -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o GsWidget.o GsWidget.cxx
g++ -DHAVE_CONFIG_H -I. -I..   -Wall -Wdate-time -D_FORTIFY_SOURCE=2  
-I/usr/include/cairo -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o PSEditWidget.o PSEditWidget.cxx
g++ -DHAVE_CONFIG_H -I. -I..   -Wall -Wdate-time -D_FORTIFY_SOURCE=2  
-I/usr/include/cairo -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o PSEditor.o PSEditor.cxx
g++ -DHAVE_CONFIG_H -I. -I..   -Wall -Wdate-time -D_FORTIFY_SOURCE=2  
-I/usr/include/cairo -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o PSEditText.o PSEditText.cxx
In file included from /usr/include/string.h:495,
                 from PSEditText.cxx:8:
In function ‘char* strncat(char*, const char*, size_t)’,
    inlined from ‘void PSEditText::append_text(const char*)’ at 
PSEditText.cxx:45:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:34: warning: ‘char* 
__builtin_strncat(char*, const char*, long unsigned int)’ specified bound 
depends on the length of the source argument [-Wstringop-overflow=]
  136 |   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PSEditText.cxx: In member function ‘void PSEditText::append_text(const char*)’:
PSEditText.cxx:41:36: note: length computed here
   41 |  int len = (s?strlen(s):0) + strlen(s1) + 1;
      |                              ~~~~~~^~~~
In file included from /usr/include/string.h:495,
                 from PSEditText.cxx:8:
In function ‘char* strncat(char*, const char*, size_t)’,
    inlined from ‘void PSEditText::append_text(const char*)’ at 
PSEditText.cxx:45:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:34: warning: ‘char* 
__builtin_strncat(char*, const char*, long unsigned int)’ specified bound 
depends on the length of the source argument [-Wstringop-overflow=]
  136 |   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PSEditText.cxx: In member function ‘void PSEditText::append_text(const char*)’:
PSEditText.cxx:41:36: note: length computed here
   41 |  int len = (s?strlen(s):0) + strlen(s1) + 1;
      |                              ~~~~~~^~~~
GsWidget.cxx: In member function ‘int GsWidget::fd_copy(int, int, size_t)’:
GsWidget.cxx:277:8: warning: ignoring return value of ‘ssize_t write(int, const 
void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  277 |   write(to, buf, r);
      |   ~~~~~^~~~~~~~~~~~
g++ -DHAVE_CONFIG_H -I. -I..   -Wall -Wdate-time -D_FORTIFY_SOURCE=2  
-I/usr/include/cairo -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o PSEditModel.o PSEditModel.cxx
g++ -DHAVE_CONFIG_H -I. -I..   -Wall -Wdate-time -D_FORTIFY_SOURCE=2  
-I/usr/include/cairo -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o Postscript.o Postscript.cxx
g++ -DHAVE_CONFIG_H -I. -I..   -Wall -Wdate-time -D_FORTIFY_SOURCE=2  
-I/usr/include/cairo -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o PostscriptDSC.o PostscriptDSC.cxx
g++ -DHAVE_CONFIG_H -I. -I..   -Wall -Wdate-time -D_FORTIFY_SOURCE=2  
-I/usr/include/cairo -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o flpsed.o flpsed.cxx
gcc -DHAVE_CONFIG_H -I. -I..   -Wall -Wdate-time -D_FORTIFY_SOURCE=2  
-I/usr/include/cairo -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o util.o util.c
In file included from flpsed.cxx:32:
flpsed.cxx: In function ‘char* new_title(const char*)’:
../config.h:119:16: error: ‘rpl_malloc’ was not declared in this scope; did you 
mean ‘realloc’?
  119 | #define malloc rpl_malloc
      |                ^~~~~~~~~~
flpsed.cxx:148:24: note: in expansion of macro ‘malloc’
  148 |  char *title = (char*) malloc(title_len);
      |                        ^~~~~~
make[3]: *** [Makefile:429: flpsed.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:442: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:340: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to