Run-time dependency gobject-introspection-1.0 found: YES 1.78.1 Dependency gobject-introspection-1.0 found: YES 1.78.1 (cached) Program /usr/bin/g-ir-scanner found: YES (/usr/bin/g-ir-scanner) Dependency gobject-introspection-1.0 found: YES 1.78.1 (cached) Program /usr/bin/g-ir-compiler found: YES (/usr/bin/g-ir-compiler) ../harfbuzz-8.3.1/util/meson.build:74:6: ERROR: File test-hb-subset-parsing.c does not exist. A full log can be found at /var/tmp/portage/media-libs/harfbuzz-8.3.1/work/harfbuzz-8.3.1-abi_x86_64.amd64/meson-logs/meson-log.txt ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_systemd_merged_usr-20240315-172503 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 18.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.0 Python 3.11.8 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.76.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21] Available Java Virtual Machines: [1] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): [1] php8.1 [2] php8.3 * go version go1.22.1 linux/amd64 HEAD of ::gentoo commit e5dd1b0a76b4ee860a24a906f9a2436e30259aa0 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Mar 17 10:04:08 2024 +0000 2024-03-17 10:04:07 UTC emerge -qpvO media-libs/harfbuzz [ebuild U ] media-libs/harfbuzz-8.3.1 [8.3.0] USE="cairo experimental glib graphite icu introspection truetype -debug -doc -test"
Created attachment 887826 [details] emerge-info.txt
Created attachment 887827 [details] emerge-history.txt
Created attachment 887828 [details] environment
Created attachment 887829 [details] etc.clang.tar.xz
Created attachment 887830 [details] etc.portage.tar.xz
Created attachment 887831 [details] media-libs:harfbuzz-8.3.1:20240317-101335.log
Created attachment 887832 [details] qlist-info.txt
Created attachment 887833 [details] temp.tar.xz
> * USE: abi_x86_64 amd64 cairo elibc_glibc experimental glib graphite icu introspection kernel_linux truetype It's USE=experimental.
I also get the message: ../harfbuzz-8.3.1/util/meson.build:74:6: ERROR: File test-hb-subset-parsing.c does not exist. During build.
* Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 3304: Called meson-multilib_src_configure * environment, line 2011: Called multilib-minimal_src_configure * environment, line 2193: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 2443: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2148: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2146: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 618: Called multilib-minimal_abi_src_configure * environment, line 2187: Called multilib_src_configure * environment, line 2668: Called meson_src_configure * environment, line 2086: Called die * The specific snippet of code: * meson setup "${MESONARGS[@]}" ) || die ============================================================================== I am currently using the no-multilib profile. This might be causing the failure: ------------------------------------------------------------------------------ # eselect profile list ..... [30] default/linux/amd64/23.0/no-multilib/systemd (stable) * .....
Well this is kind of annoying. The file in question (test-hb-subset-parsing.c) exists in the git repo (https://github.com/harfbuzz/harfbuzz/blob/8.3.1/util/test-hb-subset-parsing.c) but fails to make it in to the release tarball for whatever reason. You can compare https://github.com/harfbuzz/harfbuzz/releases/download/8.3.1/harfbuzz-8.3.1.tar.xz to https://github.com/harfbuzz/harfbuzz/archive/refs/tags/8.3.1.tar.gz.
Created attachment 890153 [details, diff] media-libs/harfbuzz-8.3.1 Hi guys! Just made a patch and it goes weel. Cheers, Vlad
A piece of log as a proof: >>> Completed installing media-libs/harfbuzz-8.3.1 into /var/tmp/portage/media-libs/harfbuzz-8.3.1/image * Final size of build directory: 126848 KiB (123.8 MiB) * Final size of installed tree: 13432 KiB ( 13.1 MiB) strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version /usr/lib64/libharfbuzz-cairo.so.0.60831.0 /usr/lib64/libharfbuzz-icu.so.0.60831.0 /usr/bin/hb-shape /usr/lib64/libharfbuzz-gobject.so.0.60831.0 /usr/bin/hb-view /usr/bin/hb-ot-shape-closure /usr/bin/hb-subset /usr/bin/hb-info /usr/lib64/libharfbuzz.so.0.60831.0 /usr/lib64/libharfbuzz-subset.so.0.60831.0 >>> Installing (1 of 1) media-libs/harfbuzz-8.3.1::gentoo
Out of interest - why does anyone even have USE=experimental enabled for harfbuzz? Are y'all enabling it in make.conf for gentoo-sources? YOu can do package.use...
(In reply to Sam James from comment #15) > Out of interest - why does anyone even have USE=experimental enabled for > harfbuzz? Are y'all enabling it in make.conf for gentoo-sources? YOu can do > package.use... Because of that: ~> emerge --depclean -pv harfbuzz 04/12/2024 01:12:06 PM Calculating dependencies... done! media-libs/harfbuzz-8.3.1 pulled in by: app-office/libreoffice-7.6.6.3 requires >=media-libs/harfbuzz-5.1.0:0/6.0.0=[graphite,icu], >=media-libs/harfbuzz-5.1.0:=[graphite,icu] app-office/scribus-1.6.1-r1 requires media-libs/harfbuzz:0/6.0.0=[icu], media-libs/harfbuzz:0=[icu] dev-java/openjdk-21.0.2_p13 requires media-libs/harfbuzz:0/6.0.0=, media-libs/harfbuzz:= dev-qt/qtbase-6.7.0-r1 requires media-libs/harfbuzz:=, media-libs/harfbuzz:0/6.0.0= dev-qt/qtgui-5.15.13 requires media-libs/harfbuzz:0/6.0.0=, media-libs/harfbuzz:= dev-qt/qtwebengine-6.7.0 requires media-libs/harfbuzz:=, media-libs/harfbuzz:0/6.0.0= gnome-base/librsvg-2.57.3 requires >=media-libs/harfbuzz-2.0.0:0/6.0.0=[abi_x86_64(-)], >=media-libs/harfbuzz-2.0.0:=[abi_x86_64(-)] gnome-extra/sushi-45.0 requires >=media-libs/harfbuzz-0.9.9:0/6.0.0=, >=media-libs/harfbuzz-0.9.9:= gui-libs/gtk-4.12.5 requires >=media-libs/harfbuzz-2.6.0:0/6.0.0=, >=media-libs/harfbuzz-2.6.0:= media-gfx/gimp-2.99.18 requires >=media-libs/harfbuzz-2.6.5:=, >=media-libs/harfbuzz-2.6.5:0/6.0.0= media-gfx/gnome-font-viewer-45.0 requires >=media-libs/harfbuzz-0.9.9:0/6.0.0=, >=media-libs/harfbuzz-0.9.9:= media-libs/freetype-2.13.2 requires >=media-libs/harfbuzz-1.3.0[truetype,abi_x86_64(-)] media-video/ffmpeg-6.1.1-r5 requires media-libs/harfbuzz:=[abi_x86_64(-)], media-libs/harfbuzz:0/6.0.0=[abi_x86_64(-)] net-libs/webkit-gtk-2.42.5-r410 requires >=media-libs/harfbuzz-1.4.2:=[icu(+)], >=media-libs/harfbuzz-1.4.2:0/6.0.0=[icu(+)] net-libs/webkit-gtk-2.42.5-r600 requires >=media-libs/harfbuzz-1.4.2:=[icu(+)], >=media-libs/harfbuzz-1.4.2:0/6.0.0=[icu(+)] www-client/chromium-123.0.6312.105 requires >=media-libs/harfbuzz-3:0=[icu(-)], >=media-libs/harfbuzz-3:0/6.0.0=[icu(-)] x11-drivers/nvidia-drivers-550.67 requires media-libs/harfbuzz:=, media-libs/harfbuzz:0/6.0.0= x11-libs/gtk+-3.24.41 requires >=media-libs/harfbuzz-2.2.0:0/6.0.0=, >=media-libs/harfbuzz-2.2.0:= x11-libs/pango-1.52.1 requires >=media-libs/harfbuzz-2.6.0:0/6.0.0=[glib(+),introspection,truetype(+),abi_x86_64(-)], >=media-libs/harfbuzz-2.6.0:=[glib(+),introspection,truetype(+),abi_x86_64(-)] x11-wm/mutter-45.5 requires >=media-libs/harfbuzz-2.6.0:0/6.0.0=, >=media-libs/harfbuzz-2.6.0:= >>> No packages selected for removal by depclean Packages installed: 1475 Packages in world: 142 Packages in system: 49 Required packages: 1475 Number to remove: 0
This issue also exists inside harfbuzz-8.4.0.
I can confirm that compiling with -experimental flag causes the package to build successfully. sam@gentoo.org: I have experimental inside my global use-flags. However, experimental is really only important for me inside the gentoo-sources packages. I try my best to only have global use flags because it simplifies the administration of my system.
The issue should be resolved upstream in 8.5. https://github.com/harfbuzz/harfbuzz/pull/4657
(In reply to dave@dave3.xyz from comment #18) > I have experimental inside my global use-flags. However, > experimental is really only important for me inside the gentoo-sources > packages. I try my best to only have global use flags because it simplifies > the administration of my system. Evidently this is doing the opposite for you. It's in the name. (In reply to Vladislav Mikhailikov from comment #16) > (In reply to Sam James from comment #15) > > Out of interest - why does anyone even have USE=experimental enabled for > > harfbuzz? [...] > > Because of that: > > ~> emerge --depclean -pv harfbuzz Nothing in the resulting list requires this flag to be set.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4504b048e316acbe29efabb272df2cd4c3714b5b commit 4504b048e316acbe29efabb272df2cd4c3714b5b Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-12 06:00:02 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-12 06:00:32 +0000 media-libs/harfbuzz: add 8.5.0 Closes: https://bugs.gentoo.org/927192 Signed-off-by: Sam James <sam@gentoo.org> media-libs/harfbuzz/Manifest | 1 + media-libs/harfbuzz/harfbuzz-8.5.0.ebuild | 104 ++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+)