[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ax25mail-utils 0.14 released



Re: David Ranch
> [ Debian package maintainers - please include this version into the upcoming
> distribution freeze ]

Hi David,

the "multiple definition" problem is unfortunately still present:

gcc -g -Wall -g -O2 -ffile-prefix-map=/srv/projects/afu/ax25/ax25mail-utils/ax25mail-utils=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-stringop-truncation  -Wl,-z,relro -o axgetlist axgetlist.o auth.o calls.o common.o conbbs.o  
/usr/bin/ld: conbbs.o:./axgetlist/conbbs.c:37: multiple definition of `mycall'; axgetlist.o:./axgetlist/axgetlist.c:45: first defined here
/usr/bin/ld: conbbs.o:./axgetlist/conbbs.c:38: multiple definition of `bbscall'; axgetlist.o:./axgetlist/axgetlist.c:46: first defined here

There are also some strncat/cpy warnings that make the build fail
because -Wall is in the build flags (upstream choice via
configure.ac):

In file included from /usr/include/string.h:495,
                 from axgetlist.c:19:
In function ‘strncat’,
    inlined from ‘load_config’ at axgetlist.c:127:42:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ output may be truncated copying 1 byte from a string of length 255 [-Wstringop-truncation]
  136 |   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘load_config’ at axgetlist.c:130:47:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Could you fix that an make a quick new release? The deadline is around
Feb 6th the latest.

Christoph


Reply to: