Fedora Account System
Red Hat Associate
Red Hat Customer
memstomp failed to build from source in Fedora rawhide/f45 https://koji.fedoraproject.org/koji/taskinfo?taskID=147875380 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild Please fix memstomp at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, memstomp will be orphaned. Before branching of Fedora 46, memstomp will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 2150920 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2150921 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2150922 [details] state.log
Did some investigation. For the configure to work need to also link with the zstd library. Added -lzstd to the CFLAGS to allow the configure to work. There are some other issues further down the build process: CC libmemstomp_backtrace_symbols_la-backtrace-symbols.lo In file included from /usr/include/sys/cdefs.h:24, from memstomp.c:26: /usr/include/features.h:451:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 451 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from backtrace-symbols.c:48: /usr/include/features.h:451:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 451 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ backtrace-symbols.c: In function ‘translate_addresses_vec’: backtrace-symbols.c:187:35: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 187 | h = strrchr(arg.filename, '/'); | ^ memstomp.c:693:7: error: expected identifier or ‘(’ before ‘_Generic’ 693 | void *memchr (const void *__s, int __c, size_t __n) | ^~~~~~ memstomp.c:885:8: error: expected identifier or ‘(’ before ‘_Generic’ 885 | char * strstr (const char *__haystack, const char *__needle) | ^~~~~~ make[1]: *** [Makefile:638: libmemstomp_la-memstomp.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/wcohen/rpmbuild/BUILD/memstomp-0.1.4-build/memstomp-0.1.4-38573e7d' make: *** [Makefile:463: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.COAcmC (%build)
FEDORA-2026-8f06aa994e (memstomp-0.1.4-48.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-8f06aa994e
Tweaked the build now have memstomp-0.1.4-48.fc45 built.