Bug 2341757 - md5 calculation seems wrong on s390x
Summary: md5 calculation seems wrong on s390x
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fontconfig
Version: rawhide
Hardware: s390x
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-23 14:25 UTC by Akira TAGOH
Modified: 2025-01-27 05:23 UTC (History)
7 users (show)

Fixed In Version: fontconfig-2.16.0-2.fc42
Clone Of:
Environment:
Last Closed: 2025-01-27 05:23:23 UTC
Type: ---
Embargoed:
tagoh: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-1411 0 None None None 2025-01-23 14:28:10 UTC
freedesktop.org Gitlab fontconfig fontconfig issues 446 0 None opened md5 calculation seems wrong on s390x 2025-01-23 14:26:36 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.