Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: I was updating gcompris-qt to the latest release but fedpkg mockbuild returns the following blocking error: Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hepOSX [...] + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "release" -- Installing: /builddir/build/BUILD/gcompris-qt-26.0-build/BUILDROOT/usr/share/icons/hicolor/256x256/apps/gcompris-qt.png -- Installing: /builddir/build/BUILD/gcompris-qt-26.0-build/BUILDROOT/usr/share/icons/hicolor/scalable/apps/gcompris-qt.svg -- Installing: /builddir/build/BUILD/gcompris-qt-26.0-build/BUILDROOT/usr/share/metainfo/org.kde.gcompris.appdata.xml -- Installing: /builddir/build/BUILD/gcompris-qt-26.0-build/BUILDROOT/usr/share/applications/org.kde.gcompris.desktop -- Installing: /builddir/build/BUILD/gcompris-qt-26.0-build/BUILDROOT/usr/share/gcompris-qt/translations -- Installing: /builddir/build/BUILD/gcompris-qt-26.0-build/BUILDROOT/usr/share/gcompris-qt/translations/gcompris_teachers_qt_br.qm -- Installing: /builddir/build/BUILD/gcompris-qt-26.0-build/BUILDROOT/usr/share/gcompris-qt/translations/gcompris_teachers_qt_ca.qm -- Installing: /builddir/build/BUILD/gcompris-qt-26.0-build/BUILDROOT/usr/share/gcompris-qt/translations/gcompris_teachers_qt_ca [...] + /usr/bin/add-det --brp -j16 /builddir/build/BUILD/gcompris-qt-26.0-build/BUILDROOT Scanned 32 directories and 334 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/gcompris-qt-26.0-build/BUILDROOT/usr Scanned 31 directories and 334 files, considered 334 files, read 6 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Reading /builddir/build/BUILD/gcompris-qt-26.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: gcompris-qt-26.0-1.fc44.x86_64 error: Unusual locale length: "gcompris_teachers_qt_ca@valencia" in %lang(gcompris_teachers_qt_ca@valencia) Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MLfqee The problem seems to be that rpm has selected some value as the maximum length one of these filenames can have, and the gcompris-qt file exceeds this length. WIP spec file is available here: https://musuruan.fedorapeople.org/gcompris-qt.spec Version-Release number of selected component (if applicable): 6.0.1-2 How reproducible: Always Steps to Reproduce: 1. fedpkg mockbuild the aforementioned spec file Actual results: The following error is raised: error: Unusual locale length: "gcompris_teachers_qt_ca@valencia" in %lang(gcompris_teachers_qt_ca@valencia) Expected results: rpm should not raise this error
Thanks for the report, I've filed it upstream: https://github.com/rpm-software-management/rpm/issues/4114. Once fixed there, this will make its way into the Fedora package in the next rebase, most likely for the next RPM 6.0.x release.
That said, I can see this is blocking the update of your package. Is there a way to work around this in your spec?
(In reply to Michal Domonkos from comment #2) > That said, I can see this is blocking the update of your package. Is there a > way to work around this in your spec? AKAIK no.