Re: Help Needed: freetype <=> harfbuzz dependency loop affecting 5 Live Spins creation failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Neal Gompa wrote on 2021/02/22 6:39:
On Sun, Feb 21, 2021 at 10:13 AM Mamoru TASAKA
<mtasaka@xxxxxxxxxxxxxxxxx> wrote:

Hello, all:

Now I've decided to write to devel@ mailing list to ask for help.

Currently, 5 Live spins:
* Fedora-Astronomy_KDE-Live-34-20210221.n.0 https://koji.fedoraproject.org/koji/taskinfo?taskID=62419350
* Fedora-Scientific_KDE-Live-34-20210221.n.0 https://koji.fedoraproject.org/koji/taskinfo?taskID=62419370
* Fedora-Security-Live-34-20210221.n.0 https://koji.fedoraproject.org/koji/taskinfo?taskID=62419377
* Fedora-Cinnamon-Live-34-20210221.n.0 https://koji.fedoraproject.org/koji/taskinfo?taskID=62419431
* Fedora-LXQt-Live-34-20210221.n.0 https://koji.fedoraproject.org/koji/taskinfo?taskID=62419446
fail to be created due to the same bug:

Bug 1925922 - dependency loop with harfbuzz confuses xorg-x11-fonts-ISO8859-1-100dpi installation??
https://bugzilla.redhat.com/show_bug.cgi?id=1925922

Background (as far as I know)

With https://fedoraproject.org/wiki/Changes/EnableHarfBuzzInFreeType
https://bugzilla.redhat.com/show_bug.cgi?id=1906714 ,
on Fedora 34, freetype <=> harfbuzz depend on each other, causing dependency loop.
Now this is causing a problem - xorg-x11-fonts-ISO8859-1-100dpi has %postin scriptlet, which calls /usr/bin/mkfontdir
(which calls /usr/bin/mkfontscale) , which is in xorg-x11-font-utils , however at the time
%postin scriptlet of xorg-x11-fonts-ISO8859-1-100dpi is to be executed, "freetype" binary rpm
is not yet to be installed due to the dependency loop, which causes:

----------------------------------------------------------------
09:54:12,742 INF packaging: Configuring (running scriptlet for): xorg-x11-fonts-ISO8859-1-100dpi-7.5-27.fc34.noarch 1611907303 d34990ca2d30c51a49e168a636361c94eb9ec4a4995ed5724c9aab2cea71ac1f
09:54:12,760 INF dnf.rpm: mkfontscale: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory
warning: %post(xorg-x11-fonts-ISO8859-1-100dpi-7.5-27.fc34.noarch) scriptlet failed, exit status 127

09:54:12,761 ERR dnf.rpm: Error in POSTIN scriptlet in rpm package xorg-x11-fonts-ISO8859-1-100dpi
----------------------------------------------------------------
, which leads to live image creation failure for the above 5 spins.

Now freetype / harfbuzz maintainers asks xorg-x11-fonts-ISO8859-1-100dpi maintainer to
add some Requires(pre) dependency to "workaround" this issue - I wonder if this is the
"right" solution, however at least some action is needed.

Note that Fedora 34 beta freeze happens at 2021/Feb/23 14:00 UTC, so it is best that this issue can be
resolved soon. So - please someone look at this?


I've added a OrderWithRequires statement to tell RPM how to sort this:
https://src.fedoraproject.org/rpms/xorg-x11-font-utils/c/3f6e76ab132da44d2196c035492b34c37df4e4e8

That should help resolve this issue.


Unfortunately, this did not work.
e.g. Fedora-Astronomy_KDE-Live-34-20210222.n.0
     https://koji.fedoraproject.org/koji/taskinfo?taskID=62491131
(see "anaconda-packaging.log")

new xorg-x11-font-utils-1:7.5-49.fc34.x86_64 was pulled in, but freetype was
not installed at the time %postin scriptlet of
xorg-x11-fonts-ISO8859-1-100dpi-7.5-27.fc34.noarch ran.

Regards,
Mamoru
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux