Bug 2504325

Summary: memstomp: FTBFS in Fedora rawhide/f45
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: memstompAssignee: Jeff Law <jlaw>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jlaw, mpolacek, wcohen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: memstomp-0.1.4-48.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-04 14:15:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2433833    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2026-07-21 20:24:38 UTC
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/

Comment 1 Fedora Release Engineering 2026-07-21 20:24:45 UTC
Created attachment 2150920 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2026-07-21 20:24:50 UTC
Created attachment 2150921 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2026-07-21 20:24:53 UTC
Created attachment 2150922 [details]
state.log

Comment 4 William Cohen 2026-07-29 13:31:51 UTC
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)

Comment 5 Fedora Update System 2026-08-04 14:00:11 UTC
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

Comment 6 William Cohen 2026-08-04 14:15:43 UTC
Tweaked the build now have memstomp-0.1.4-48.fc45 built.