New release
https://master.dl.sourceforge.net/project/shed/shed/shed%201.16/shed-1.16.tar.gz
I've spun up a unstable vm and tested myself.
Also I've manually applied the two debian patches related to CFLAGS and man
page.
ThanksAlex
On Tuesday, 5 December 2023 at 22:39:57 GMT, Santiago Vila
<[email protected]> wrote:
Package: src:shed
Version: 1.15-5
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
autoreconf: warning: autoconf input should be named 'configure.ac', not
'configure.in'
aclocal: warning: autoconf input should be named 'configure.ac', not
'configure.in'
configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are
deprecated.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from...
configure.in:2: the top level
configure.in:48: warning: AC_OUTPUT should be used without arguments.
configure.in:48: You should run autoupdate.
automake: warning: autoconf input should be named 'configure.ac', not
'configure.in'
configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are
deprecated. For more info, see:
configure.in:2:
https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:3: installing './compile'
automake: warning: autoconf input should be named 'configure.ac', not
'configure.in'
dh_auto_configure
./configure --build=x86_64-linux-gnu --prefix=/usr
--includedir=\${prefix}/include --mandir=\${prefix}/share/man
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
--disable-option-checking --disable-silent-rules
--libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run
--disable-maintainer-mode --disable-dependency-tracking
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
large file support: yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for ncurses.h... yes
checking for getopt.h... yes
checking for initscr in -lncurses... yes
checking for pow in -lm... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
dh_auto_build
make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"shed\" -DVERSION=\"1.15\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1
-DHAVE_LIBNCURSES=1 -DHAVE_LIBM=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall
-DSHED_LFS=1 -D_FILE_OFFSET_BITS=64 -DSHED_CYGFIX=0 -DSHED_NOFOLLOW=0 -c -o
util.o util.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"shed\" -DVERSION=\"1.15\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1
-DHAVE_LIBNCURSES=1 -DHAVE_LIBM=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall
-DSHED_LFS=1 -D_FILE_OFFSET_BITS=64 -DSHED_CYGFIX=0 -DSHED_NOFOLLOW=0 -c -o
shed.o shed.c
In file included from shed.c:35:
shed.c: In function ‘mainloop’:
shed.c:410:29: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct
_win_st’}
410 | mvaddch(stdscr->_cury,stdscr->_curx-1,' ');
| ^~
shed.c:410:43: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct
_win_st’}
410 | mvaddch(stdscr->_cury,stdscr->_curx-1,' ');
| ^~
shed.c:411:26: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct
_win_st’}
411 | move(stdscr->_cury,stdscr->_curx-1);
| ^~
shed.c:411:40: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct
_win_st’}
411 | move(stdscr->_cury,stdscr->_curx-1);
| ^~
util.c: In function ‘getascii’:
util.c:45:5: warning: ‘__builtin_strncpy’ output truncated before terminating
nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
45 | strncpy(s," ",3);
| ^
util.c:61:9: warning: ‘__builtin_strncpy’ output truncated before terminating
nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
61 | strncpy(s," ",3);
| ^
util.c:65:9: warning: ‘__builtin_strncpy’ output may be truncated copying 3
bytes from a string of length 3 [-Wstringop-truncation]
65 | strncpy(s,c!=127?ascii_long_desc[c]:"DEL",3);
| ^
make[1]: *** [Makefile:409: shed.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202312/
About the archive rebuild: The build was made using virtual machines
from AWS, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.