On Mon, 01 Apr 2024 01:02:52 +0500 Andrey Rakhmatullin <w...@debian.org> wrote:
> Source: porg
> Version: 2:0.10-1.2
> Severity: serious
> Tags: ftbfs
> 
> https://buildd.debian.org/status/fetch.php?pkg=porg&arch=armel&ver=2%3A0.10-1.2%2Bb2&stamp=1711746873&raw=0
> 
> /bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I../..   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-
> time -D_FORTIFY_SOURCE=2 -W -ansi -Wshadow -Wmissing-declarations -Wall -g -O2
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-
> security -c -o libporg_log_la-log.lo `test -f 'log.c' || echo './'`log.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -W 
> -ansi
> -Wshadow -Wmissing-declarations -Wall -g -O2 -Werror=implicit-function-
> declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -c log.c  -fPIC 
> -DPIC
> -o .libs/libporg_log_la-log.o
> log.c: In function ‘open’:
> log.c:281:27: warning: ‘nonnull’ argument ‘path’ compared to NULL [-Wnonnull-
> compare]
>   281 |         if (!porg_tmpfile && path && !strncmp(path, "/proc/", 6))
>       |             ~~~~~~~~~~~~~~^~~~~~~
> log.c: In function ‘open64’:
> log.c:385:27: warning: ‘nonnull’ argument ‘path’ compared to NULL [-Wnonnull-
> compare]
>   385 |         if (!porg_tmpfile && path && !strncmp(path, "/proc/", 6))
>       |             ~~~~~~~~~~~~~~^~~~~~~
> log.c: In function ‘porg_get_absolute_path’:
> log.c:106:17: warning: ‘__builtin_strncpy’ output may be truncated copying 
> 4095
> bytes from a string of length 4095 [-Wstringop-truncation]
>   106 |                 strncpy(abs_path, aux, PORG_BUFSIZE - 1);
>       |                 ^
> log.c:100:17: warning: ‘__builtin_strncpy’ output may be truncated copying 
> 4095
> bytes from a string of length 4095 [-Wstringop-truncation]
>   100 |                 strncpy(abs_path, cwd, PORG_BUFSIZE - 1);
>       |                 ^
> /tmp/cc7rmZAz.s: Assembler messages:
> /tmp/cc7rmZAz.s:2214: Error: symbol `open64' is already defined
> /tmp/cc7rmZAz.s:2581: Error: symbol `openat64' is already defined
> /tmp/cc7rmZAz.s:3220: Error: symbol `creat64' is already defined
> /tmp/cc7rmZAz.s:3296: Error: symbol `fopen64' is already defined
> /tmp/cc7rmZAz.s:3380: Error: symbol `freopen64' is already defined

The problem seems to be that porg-log tries to provide their own version
of the open64/openat64/... symbols as a wrapper to the libc versions, but
they collide with the libc symbols on 32-bit platforms with LFS enabled,
where the libc version of the symbols are exposed as well.

Given the upstream's inactivity and inability of making another release
( as seen at https://sourceforge.net/p/porg/tickets/16/ ), I believe
we should probably remove this package before Debian 13 release. I will
try to do so within 1 month if no one objects. Please feel free to let
me know if you have any comments.

Thanks,
Boyuan Yang

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to