Package: src:hexer
Version: 1.0.6-2
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean
make -j2 distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Makefile:81: warning: ignoring prerequisites on suffix rule definition
rm -f hexer myc gen_testfile buffer.o tio.o edit.o main.o hexer.o readline.o
regex.o exh.o set.o map.o signal.o util.o commands.o helptext.o calc.o bin2c
rm -f config-test.o
rm -f config.h
rm -f helptext.c TESTFILE
rm -f tags core *.bak
rm -f *~
sed '/\#\#\# DO NOT DELETE THIS LINE \#\#\#/q' \
< Makefile > Makefile~
echo >> Makefile~
mv -f Makefile~ Makefile
rm -f depend
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
dh_auto_build
make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Makefile:81: warning: ignoring prerequisites on suffix rule definition
[ ! -e config.h.auto ] || rm config.h.auto
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -Wl,-z,relro -Wl,-z,now
-specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -o
bin2c bin2c.c
echo "/* Autogenerated by Makefile and config-test.c */" > config.h.auto
for item in \
SIGTYPE_INT \
ALLOCA_H \
VASPRINTF \
; do \
echo "Testing for $item"; \
if cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -D"TEST_$item" -c -o config-test.o -Werror
config-test.c; then \
value=1; \
else \
value=0; \
fi; \
echo "- result: $value"; \
printf "\\n#define HAVE_%s\\t%d\\n" "$item" "$value" >> config.h.auto; \
done
Testing for SIGTYPE_INT
config-test.c: In function âmainâ:
config-test.c:82:40: error: passing argument 2 of âsignalâ from
incompatible pointer type [-Wincompatible-pointer-types]
82 | buf[0] = '0' + (signal(SIGINT, handler) != SIG_ERR);
| ^~~~~~~
| |
| int (*)(void)
In file included from /usr/include/features.h:510,
from /usr/include/signal.h:25,
from config-test.c:44:
/usr/include/signal.h:93:23: note: expected â__sighandler_tâ {aka âvoid
(*)(int)â} but argument is of type âint (*)(void)â
93 | extern __sighandler_t __REDIRECT_NTH (signal,
| ^~~~~~~~~~~~~~
- result: 0
Testing for ALLOCA_H
- result: 1
Testing for VASPRINTF
- result: 1
[ ! -e config.h ] || rm config.h
mv config.h.auto config.h
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -c -o buffer.o buffer.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -c -o tio.o tio.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -c -o edit.o edit.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -c -o main.o main.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -c -o hexer.o hexer.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -c -o readline.o readline.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -c -o regex.o regex.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -c -o exh.o exh.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -c -o set.o set.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -c -o map.o map.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -c -o signal.o signal.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -c -o util.o util.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -c -o commands.o commands.c
./bin2c -n helptext -o helptext.c help.txt
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -c -o calc.o calc.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DHE_DEFAULT_PAGER=\"pager\"
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
-DHEXER_VERSION=\"1.0.6\" -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pipe
-std=c99 -Wall -W -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-prototypes -Wnested-externs -Wredundant-decls
-Wstrict-prototypes -Wwrite-strings -c -o helptext.o helptext.c
cc -Wl,-z,relro -Wl,-z,now
-specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -o
hexer buffer.o tio.o edit.o main.o hexer.o readline.o regex.o exh.o set.o map.o
signal.o util.o commands.o helptext.o calc.o -lcurses -lm
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
env HEXER_PROG='/<<PKGBUILDDIR>>/hexer' python3 -m pytest -vv --
debian/tests/python/tests/unit
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in <module>
raise SystemExit(pytest.console_main())
~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201,
in console_main
code = main()
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 156,
in main
config = _prepareconfig(args, plugins)
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 341,
in _prepareconfig
config = pluginmanager.hook.pytest_cmdline_parse(
pluginmanager=pluginmanager, args=args
)
File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs,
firstresult)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in
_hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in
_multicall
raise exception.with_traceback(exception.__traceback__)
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in
_multicall
teardown.throw(exception) # type: ignore[union-attr]
~~~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/helpconfig.py", line 105, in
pytest_cmdline_parse
config = yield
^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in
_multicall
res = hook_impl.function(*args)
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1140,
in pytest_cmdline_parse
self.parse(args)
~~~~~~~~~~^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1494,
in parse
self._preparse(args, addopts=addopts)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1381,
in _preparse
self.pluginmanager.load_setuptools_entrypoints("pytest11")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 421, in
load_setuptools_entrypoints
plugin = ep.load()
File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 179, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/libtmux/pytest_plugin.py", line 15, in
<module>
from libtmux.test import TEST_SESSION_PREFIX, get_test_session_name, namer
File "/usr/lib/python3/dist-packages/libtmux/test.py", line 13, in <module>
from typing_extensions import Self
ModuleNotFoundError: No module named 'typing_extensions'
make[1]: *** [debian/rules:21: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:31: binary] Error 2
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/202502/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and 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 add an affects on src:hexer, so that this is still
visible in the BTS web page for this package.
Thanks.