venomlinux / ports

Contain all ports used by scratchpkg
https://venomlinux.org/
76 stars 48 forks source link

3.0/main/firefox-103.0.1 building fails with harfbuzz not found in pkg-config search path #1310

Closed Ouaille-Aime-Scier closed 2 years ago

Ouaille-Aime-Scier commented 2 years ago

0:05.52 checking for nodejs... /usr/bin/node (18.7.0) 0:05.53 checking for gtk+-wayland-3.0 >= 3.14 xkbcommon >= 0.4.1 libdrm >= 2.4... no 0:05.53 WARNING: Package gtk+-wayland-3.0 was not found in the pkg-config search path. 0:05.53 WARNING: Perhaps you should add the directory containinggtk+-wayland-3.0.pc' 0:05.53 WARNING: to the PKG_CONFIG_PATH environment variable 0:05.53 WARNING: Package 'gtk+-wayland-3.0', required by 'virtual:world', not found 0:05.55 checking for pango >= 1.22.0... no 0:05.55 ERROR: Package harfbuzz was not found in the pkg-config search path. 0:05.55 ERROR: Perhaps you should add the directory containing harfbuzz.pc' 0:05.55 ERROR: to the PKG_CONFIG_PATH environment variable 0:05.55 ERROR: Package 'harfbuzz', required by 'pango', not found *** Fix above errors and then restart with "./mach build" ==> ERROR: Build failed: firefox-103.0.1-1

Visone-Selektah commented 2 years ago

Check if revdep shows some errors about harfbuzz

Ouaille-Aime-Scier commented 2 years ago

Check if revdep shows some errors about harfbuzz

Yes I have done a revdep and I have rebuild harfbuzz but no matter firefox upgrading still fails. Perhaps an issue due to this commit : https://github.com/venomlinux/ports/pull/1309/commits/0a4ab99d18e85b3ffe921e4653bc9f9791bf27d9

Visone-Selektah commented 2 years ago

There's this fix pending to merge https://github.com/venomlinux/ports/pull/1303/commits/e361477dbbd5477d05ccc30e0b3e686d1a173318

lumarogit commented 2 years ago

Check if revdep shows some errors about harfbuzz

Yes I have done a revdep and I have rebuild harfbuzz but no matter firefox upgrading still fails. Perhaps an issue due to this commit : https://github.com/venomlinux/ports/pull/1309/commits/0a4ab99d18e85b3ffe921e4653bc9f9791bf27d9

Hi, check the installation files with 'scratch files harfbuzz' and see if the libraries are installed in /usr/lib64, i recently had a problem with this.

Try uninstalling harfbuzz and removing the package from the cache in '/var/cache/scratchpkg/packages' and reinstalling it. Another way to see what lib64 points to is with 'scratch provide /usr/lib64/$' (can check '/usr/lib/$' too). The problem is with harfbuzz, not harfbuzz-icu, based on the data you show.

Ouaille-Aime-Scier commented 2 years ago

Hi, check the installation files with 'scratch files harfbuzz' and see if the libraries are installed in /usr/lib64, i recently had a problem with this. Try uninstalling harfbuzz and removing the package from the cache in '/var/cache/scratchpkg/packages' and reinstalling it. Another way to see what lib64 points to is with 'scratch provide /usr/lib64/$' (can check '/usr/lib/$' too). The problem is with harfbuzz, not harfbuzz-icu, based on the data you show.

Ok thanks I will do it this evening after work.

Ouaille-Aime-Scier commented 2 years ago

Hi, check the installation files with 'scratch files harfbuzz' and see if the libraries are installed in /usr/lib64, i recently had a problem with this. Try uninstalling harfbuzz and removing the package from the cache in '/var/cache/scratchpkg/packages' and reinstalling it. Another way to see what lib64 points to is with 'scratch provide /usr/lib64/$' (can check '/usr/lib/$' too). The problem is with harfbuzz, not harfbuzz-icu, based on the data you show. sudo scratch files harfbuzz 5.1.0 1 usr/ usr/lib64/ usr/lib64/libharfbuzz.so.0.50100.0 usr/lib64/libharfbuzz-subset.so.0.50100.0 usr/lib64/libharfbuzz-gobject.so.0.50100.0 usr/lib64/girepository-1.0/ usr/lib64/girepository-1.0/HarfBuzz-0.0.typelib usr/lib64/pkgconfig/ usr/lib64/pkgconfig/harfbuzz.pc usr/lib64/pkgconfig/harfbuzz-subset.pc usr/lib64/pkgconfig/harfbuzz-gobject.pc usr/lib64/cmake/ usr/lib64/cmake/harfbuzz/ usr/lib64/cmake/harfbuzz/harfbuzz-config.cmake usr/lib64/libharfbuzz.so.0 usr/lib64/libharfbuzz.so usr/lib64/libharfbuzz-subset.so.0 usr/lib64/libharfbuzz-subset.so usr/lib64/libharfbuzz-gobject.so.0 usr/lib64/libharfbuzz-gobject.so usr/include/ usr/include/harfbuzz/ usr/include/harfbuzz/hb-gobject-enums.h usr/include/harfbuzz/hb-gobject.h usr/include/harfbuzz/hb-gobject-structs.h usr/include/harfbuzz/hb-aat-layout.h usr/include/harfbuzz/hb-aat.h usr/include/harfbuzz/hb-blob.h usr/include/harfbuzz/hb-buffer.h usr/include/harfbuzz/hb-common.h usr/include/harfbuzz/hb-cplusplus.hh usr/include/harfbuzz/hb-deprecated.h usr/include/harfbuzz/hb-draw.h usr/include/harfbuzz/hb-face.h usr/include/harfbuzz/hb-font.h usr/include/harfbuzz/hb-map.h usr/include/harfbuzz/hb-ot-color.h usr/include/harfbuzz/hb-ot-deprecated.h usr/include/harfbuzz/hb-ot-font.h usr/include/harfbuzz/hb-ot-layout.h usr/include/harfbuzz/hb-ot-math.h usr/include/harfbuzz/hb-ot-meta.h usr/include/harfbuzz/hb-ot-metrics.h usr/include/harfbuzz/hb-ot-name.h usr/include/harfbuzz/hb-ot-shape.h usr/include/harfbuzz/hb-ot-var.h usr/include/harfbuzz/hb-ot.h usr/include/harfbuzz/hb-set.h usr/include/harfbuzz/hb-shape-plan.h usr/include/harfbuzz/hb-shape.h usr/include/harfbuzz/hb-style.h usr/include/harfbuzz/hb-unicode.h usr/include/harfbuzz/hb.h usr/include/harfbuzz/hb-ft.h usr/include/harfbuzz/hb-glib.h usr/include/harfbuzz/hb-subset.h usr/include/harfbuzz/hb-subset-repacker.h usr/include/harfbuzz/hb-version.h usr/share/ usr/share/gir-1.0/ usr/share/gir-1.0/HarfBuzz-0.0.gir usr/bin/ usr/bin/hb-view usr/bin/hb-shape usr/bin/hb-subset usr/bin/hb-ot-shape-closure

lumarogit commented 2 years ago

As root run this: scratch remove harfbuzz' rm /var/cache/scratchpkg/packages/harfbuzz* scratch install harfbuzz revdep -r

Try install firefox again.

Ouaille-Aime-Scier commented 2 years ago

scratch remove harfbuzz

rm /var/cache/scratchpkg/packages/harfbuzz*

scratch install harfbuzz

revdep -r

All done (info : no broken package for revdep) but same error when upgrading Firefox

ghost commented 2 years ago

maybe installing harfbuzz-icu? idk this error don't happened to me while i was upgrading it

lumarogit commented 2 years ago

It is not necessary to build firefox, I don't have it installed, only harfbuzz.

emmett1 commented 2 years ago

Try rebuild harfbuzz, harfbuzz-icu and gtk3 (for wayland support). scratch install -fr harfbuzz scratch install -fr harfbuzz-icu scratch install wayland scratch install -fr gtk3

Ouaille-Aime-Scier commented 2 years ago

Try rebuild harfbuzz, harfbuzz-icu and gtk3 (for wayland support). scratch install -fr harfbuzz scratch install -fr harfbuzz-icu scratch install wayland scratch install -fr gtk3

1/ the reinstall of harfbuzz went fine as usual

2/ the reinstall of harfbuzz-icu get : ninja: Entering directory/var/cache/scratchpkg/work/harfbuzz-icu/src/build' ninja: no work to do. Installing src/libharfbuzz.so.0.50100.0 to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64 Installing src/libharfbuzz-subset.so.0.50100.0 to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64 Installing src/libharfbuzz-icu.so.0.50100.0 to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64 Installing src/hb-gobject-enums.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz Installing src/libharfbuzz-gobject.so.0.50100.0 to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64 Installing src/HarfBuzz-0.0.gir to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/share/gir-1.0 Installing src/HarfBuzz-0.0.typelib to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64/girepository-1.0 Installing util/hb-view to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/bin Installing util/hb-shape to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/bin Installing util/hb-subset to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/bin Installing util/hb-ot-shape-closure to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/bin Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-icu.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-gobject.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-gobject-structs.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-aat-layout.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-aat.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-blob.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-buffer.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-common.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-cplusplus.hh to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-deprecated.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-draw.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-face.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-font.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-map.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-ot-color.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-ot-deprecated.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-ot-font.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-ot-layout.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-ot-math.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-ot-meta.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-ot-metrics.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-ot-name.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-ot-shape.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-ot-var.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-ot.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-set.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-shape-plan.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-shape.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-style.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-unicode.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/build/src/hb-version.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-ft.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-glib.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-subset.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/harfbuzz-5.1.0/src/hb-subset-repacker.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz/ Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/build/src/hb-version.h to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/include/harfbuzz Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/build/meson-private/harfbuzz.pc to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64/pkgconfig Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/build/meson-private/harfbuzz-subset.pc to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64/pkgconfig Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/build/meson-private/harfbuzz-icu.pc to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64/pkgconfig Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/build/src/harfbuzz-config.cmake to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64/cmake/harfbuzz Installing /var/cache/scratchpkg/work/harfbuzz-icu/src/build/meson-private/harfbuzz-gobject.pc to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64/pkgconfig Installing symlink pointing to libharfbuzz.so.0.50100.0 to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64/libharfbuzz.so.0 Installing symlink pointing to libharfbuzz.so.0 to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64/libharfbuzz.so Installing symlink pointing to libharfbuzz-subset.so.0.50100.0 to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64/libharfbuzz-subset.so.0 Installing symlink pointing to libharfbuzz-subset.so.0 to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64/libharfbuzz-subset.so Installing symlink pointing to libharfbuzz-icu.so.0.50100.0 to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64/libharfbuzz-icu.so.0 Installing symlink pointing to libharfbuzz-icu.so.0 to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64/libharfbuzz-icu.so Installing symlink pointing to libharfbuzz-gobject.so.0.50100.0 to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64/libharfbuzz-gobject.so.0 Installing symlink pointing to libharfbuzz-gobject.so.0 to /var/cache/scratchpkg/work/harfbuzz-icu/src/PKG/usr/lib64/libharfbuzz-gobject.so

3/ the reinstall of wayland went fine

4/ the reinstall of gtk3 get : `==> Build start: gtk3-3.24.34-1

Package 'harfbuzz', required by 'pango', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. ==> ERROR: Build failed: gtk3-3.24.34-1`

emmett1 commented 2 years ago

Whats the output of scratch provide /usr/lib64/$?

Ouaille-Aime-Scier commented 2 years ago

scratch provide /usr/lib64/$?

graphviz usr/lib64/ harfbuzz usr/lib64/ wayland usr/lib64/

emmett1 commented 2 years ago

Something is wrong with your system, /usr/lib64 should not be used in venom. Try rebuild graphviz, harfbuzz then wayland. (Rebuild = scratch install -fr pkg)