Package: src:fig2dev
Version: 1:3.2.7b-3
Severity: serious
Tags: sid bullseye patch

fig2dev fails autopkg test with stderr output on 32bit archs

make  test1
make[1]: Entering directory 
'/tmp/autopkgtest.No5cFl/build.GqQ/src/fig2dev/tests'
gcc -DHAVE_CONFIG_H -I. -I../..  -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\""
-Wdate-time -D_FORTIFY_SOURCE=2  -g -O2
-fdebug-prefix-map=/tmp/autopkgtest.No5cFl/build.GqQ/src=.
-fstack-protector-strong -Wformat -Werror=format-security -c -o test1.o test1.c
test1.c: In function ‘main’:
test1.c:60:33: warning: format ‘%ld’ expects argument of type ‘long int’, but
argument 2 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=]
   60 |   printf("File path too long, %ld > %d.\n", n + 10, BUFSIZ);
      |                               ~~^           ~~~~~~
      |                                 |             |
      |                                 long int      size_t {aka unsigned int}
      |                               %d
gcc  -g -O2 -fdebug-prefix-map=/tmp/autopkgtest.No5cFl/build.GqQ/src=. 
-fstack-prote

patch at
http://launchpadlibrarian.net/480599135/fig2dev_1%3A3.2.7b-3_1%3A3.2.7b-3ubuntu1.diff.gz

Reply via email to