You are not logged in.

#1 2021-09-27 21:10:35

TJM
Member
Registered: 2016-09-18
Posts: 118

[Solved] Inverted dependency of freetype2 and harfbuzz

I have recently encountered a compile error when building chromium, where seth suggest the lack of harfbuzz is to blame. Also, loqs recommends that harfbuzz should be a dependency of freetype2. However, Pacman shows that freetype2 is a dependency of harfbuzz.

[tjm@ArchPad ~]$ pacman -Qi freetype2
Name            : freetype2
Version         : 2.11.0-4
Description     : Font rasterization library
Architecture    : x86_64
URL             : https://www.freetype.org/
Licenses        : GPL
Groups          : None
Provides        : libfreetype.so=6-64
Depends On      : zlib  bzip2  sh  libpng  harfbuzz  brotli
Optional Deps   : None
Required By     : alacritty  android-sdk  cairo  chromium  dmenu  ffmpeg  fontconfig  graphicsmagick  harfbuzz  imlib2  ipe  jre
                  jre-openjdk-headless  jre10-openjdk-headless  jre11-openjdk-headless  lib32-freetype2  libass  libbluray  libgdiplus
                  libotf  libraqm  libwmf  libxfont2  mupdf  python-matplotlib  python-pillow  teeworlds  texlive-bin  thunderbird  vlc
                  webkit2gtk
Optional For    : lv2  suil
Conflicts With  : None
Replaces        : None
Installed Size  : 1621.18 KiB
Packager        : Evangelos Foutras <foutrelis@archlinux.org>
Build Date      : Tue 21 Sep 2021 02:39:56 PM PDT
Install Date    : Mon 27 Sep 2021 12:29:06 PM PDT
Install Reason  : Installed as a dependency for another package
Install Script  : Yes
Validated By    : Signature

[tjm@ArchPad ~]$

Is this a mistake or the maintainer should especially specify harfbuzz as dependency of chromium?

Last edited by TJM (2021-09-27 21:29:13)

Offline

#2 2021-09-27 21:17:14

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,295

Re: [Solved] Inverted dependency of freetype2 and harfbuzz

It's not inverted. They depend on each other.

Offline

#3 2021-09-27 21:27:24

TJM
Member
Registered: 2016-09-18
Posts: 118

Re: [Solved] Inverted dependency of freetype2 and harfbuzz

arojas wrote:

It's not inverted. They depend on each other.

Thanks for your reply. But it's interesting that the harfbuzz is not installed, given it's not an optional dependency and freetype2 has been installed.

Offline

#4 2021-09-27 21:35:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,498
Website

Re: [Solved] Inverted dependency of freetype2 and harfbuzz

TJM wrote:

IPacman shows that freetype2 is a dependency of harfbuzz.

Except the output you posted shows the opposite (though both are true - they are circular dependencies)

TJM wrote:

Is this a mistake...

Having one but not the other is a mistake you must have made on your system - this could only really happen if you installed freetype or removed harfbuzz with the '-d' flag (which is expected to break dependencies and should very rarely be used).  Check your pacman.log to see which you did and when.

TJM wrote:

... or the maintainer should especially specify harfbuzz as dependency of chromium?

If chromium actualy uses harbuzz itself, then yes, it should be listed as a dependency of chromium.  EDIT: and it is currently listed as a dependency of chromium.  So 1) you are not reading output of pacman at all, 2) you don't have the foggiest clue what you are doing at all, and 3) you've broken your system by removing packages that are required by other packages you have installed.

Congrats, your system is probably as much of a dumpster fire as your recent threads on these forums have been.

Last edited by Trilby (2021-09-27 21:39:24)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2021-09-27 22:12:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Inverted dependency of freetype2 and harfbuzz

Trilby wrote:

Congrats, your system is probably as much of a dumpster fire as your recent threads on these forums have been.

Is that why this is now mark solved? tongue


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB