[This bug is NOT targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.
The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/notion_4.0.3+dfsg-1_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html
[...]
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/notion-4.0.3+dfsg'
NOTION_RELEASE=4.0.3+dfsg-1 CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/notion-4.0.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" dh_auto_build
make -j8 "INSTALL=install --strip-program=true"
make[2]: Entering directory '/build/reproducible-path/notion-4.0.3+dfsg'
set -e; for i in libmainloop libtu libextl mod_tiling mod_query mod_menu mod_dock mod_sp mod_sm de mod_statusbar mod_xinerama mod_xrandr mod_xkbevents mod_notionflux ioncore notion etc utils man po contrib/scripts; do make -C $i; done
make[3]: Entering directory '/build/reproducible-path/notion-4.0.3+dfsg/libmainloop'
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/notion-4.0.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -Wdate-time -D_FORTIFY_SOURCE=2 -c -o select.o select.c
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/notion-4.0.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -Wdate-time -D_FORTIFY_SOURCE=2 -c -o defer.o defer.c
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/notion-4.0.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -Wdate-time -D_FORTIFY_SOURCE=2 -c -o signal.o signal.c
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/notion-4.0.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hooks.o hooks.c
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/notion-4.0.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -I.. -I.. -I.. -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 -DCF_HAS_VA_COPY -MMD -Wdate-time -D_FORTIFY_SOURCE=2 -c -o exec.o exec.c
x86_64-linux-gnu-ar rcs libmainloop.a select.o defer.o signal.o hooks.o exec.o
make[3]: Leaving directory '/build/reproducible-path/notion-4.0.3+dfsg/libmainloop'
make[3]: Entering directory '/build/reproducible-path/notion-4.0.3+dfsg/libtu'
set -e; for i in test; do make -C $i; done
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/notion-4.0.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -Wdate-time -D_FORTIFY_SOURCE=2 -c -o iterable.o iterable.c
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/notion-4.0.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -Wdate-time -D_FORTIFY_SOURCE=2 -c -o map.o map.c
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/notion-4.0.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -Wdate-time -D_FORTIFY_SOURCE=2 -c -o misc.o misc.c
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/notion-4.0.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -Wdate-time -D_FORTIFY_SOURCE=2 -c -o obj.o obj.c
make[4]: Entering directory '/build/reproducible-path/notion-4.0.3+dfsg/libtu/test'
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/notion-4.0.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -Wdate-time -D_FORTIFY_SOURCE=2 -c -o objlist.o objlist.c
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/notion-4.0.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -Wdate-time -D_FORTIFY_SOURCE=2 -c -o optparser.o optparser.c
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/notion-4.0.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -Wdate-time -D_FORTIFY_SOURCE=2 -c -o output.o output.c
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/reproducible-path/notion-4.0.3+dfsg/libtu/test'
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/notion-4.0.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -MMD -W -Wall -pedantic -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DHAVE_X11_XFT -DHAVE_X11_BMF -DHAS_SYSTEM_ASPRINTF=1 -DNOTION_RELEASE='"4.0.3+dfsg-1"' -D_POSIX_C_SOURCE=200112L -W -Wall -pedantic -MMD -Wdate-time -D_FORTIFY_SOURCE=2 -c -o parser.o parser.c
obj.c: In function ‘destroy_obj’:
obj.c:43:13: error: too many arguments to function ‘d->destroy_fn’; expected 0, have 1
43 | d->destroy_fn(obj);
| ^ ~~~
In file included from obj.c:14:
objp.h:29:12: note: declared here
29 | void (*destroy_fn)();
| ^~~~~~~~~~
obj.c: In function ‘comp_fun’:
obj.c:130:14: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
130 | void *af=(void*)((DynFunTab*)a)->func;
| ^
obj.c:131:14: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
131 | void *bf=(void*)((DynFunTab*)b)->func;
| ^
obj.c: In function ‘lookup_dynfun’:
obj.c:192:20: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
192 | if((void*)df[ndx].func==(void*)func){
| ^
obj.c:192:41: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
192 | if((void*)df[ndx].func==(void*)func){
| ^
obj.c:196:20: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
196 | if((void*)df[ndx].func<(void*)func)
| ^
obj.c:196:40: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
196 | if((void*)df[ndx].func<(void*)func)
| ^
make[3]: *** [<builtin>: obj.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/notion-4.0.3+dfsg/libtu'
make[2]: *** [build/rules.mk:175: subdirs] Error 2
make[2]: Leaving directory '/build/reproducible-path/notion-4.0.3+dfsg'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:16: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/notion-4.0.3+dfsg'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2