Bug 2341757

Summary: md5 calculation seems wrong on s390x
Product: [Fedora] Fedora Reporter: Akira TAGOH <tagoh>
Component: fontconfigAssignee: Akira TAGOH <tagoh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: ajax, fonts-bugs, gnome-sig, i18n-bugs, mclasen, rstrode, tagoh
Target Milestone: ---Flags: tagoh: mirror+
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: fontconfig-2.16.0-2.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-01-27 05:23:23 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:

Description Akira TAGOH 2025-01-23 14:25:37 UTC
The quote from https://kojipkgs.fedoraproject.org//work/tasks/6755/128366755/build.log:

stdout:
Running: Basic check
Running: With a subdir
Running: Subdir with a cache file
Running: Complicated directory structure
Running: Subdir with an out-of-date cache file
Running: Dir with an out-of-date cache file
Running: Keep mtime of the font directory
Font directories:
	/tmp/fontconfig.GJPlZ5tz/fonts
/tmp/fontconfig.GJPlZ5tz/fonts: skipping, existing cache is valid: 1 fonts, 0 dirs
/tmp/fontconfig.GJPlZ5tz/cache.dir: cleaning cache directory
/builddir/build/BUILD/fontconfig-2.16.0-build/fontconfig-2.16.0/redhat-linux-build/test/../fc-cache/fc-cache: succeeded
No bubblewrap installed. skipping...
Running: sysroot option
Running: creating cache file on sysroot
checking for cache file a30f6622dbbfa1d3775b2ea6bf423097
*** Test failed: creating cache file on sysroot
No cache for /tmp/fontconfig.GJPlZ5tz/fonts (a30f6622dbbfa1d3775b2ea6bf423097)
4be68271530736f34a51273485925a5d-le64.cache-9
CACHEDIR.TAG
Aborting from 'creating cache file on sysroot' with the exit code 1
stderr:
ls: cannot access '/builddir/build/BUILD/fontconfig-2.16.0-build/fontconfig-2.16.0/redhat-linux-build/test/sysroot//tmp/fontconfig.GJPlZ5tz/cache.dir/a30f6622dbbfa1d3775b2ea6bf423097*': No such file or directory

"/tmp/fontconfig.GJPlZ5tz/fonts" has to be decoded to "a30f6622dbbfa1d3775b2ea6bf423097" in md5 but it was "4be68271530736f34a51273485925a5d" somehow.

Reproducible: Always




$ printf "%s" "/tmp/fontconfig.GJPlZ5tz/fonts" | md5sum
a30f6622dbbfa1d3775b2ea6bf423097  -

Comment 1 Fedora Update System 2025-01-27 02:56:04 UTC
FEDORA-2025-d8268ecfc0 (fontconfig-2.16.0-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-d8268ecfc0

Comment 2 Fedora Update System 2025-01-27 05:23:23 UTC
FEDORA-2025-d8268ecfc0 (fontconfig-2.16.0-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.