Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927192 - media-libs/harfbuzz-8.3.1[experimental] - ../.../meson.build: ERROR: File test-hb-subset-parsing.c does not exist.
Summary: media-libs/harfbuzz-8.3.1[experimental] - ../.../meson.build: ERROR: File tes...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL: https://github.com/harfbuzz/harfbuzz/...
Whiteboard: fixed in 8.5.0 (?)
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2024-03-17 10:16 UTC by Toralf Förster
Modified: 2024-06-12 06:00 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.43 KB, text/plain)
2024-03-17 10:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,111.29 KB, text/plain)
2024-03-17 10:16 UTC, Toralf Förster
Details
environment (environment,139.73 KB, text/plain)
2024-03-17 10:16 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,972 bytes, application/x-xz)
2024-03-17 10:16 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.03 KB, application/x-xz)
2024-03-17 10:16 UTC, Toralf Förster
Details
media-libs:harfbuzz-8.3.1:20240317-101335.log (media-libs:harfbuzz-8.3.1:20240317-101335.log,8.32 KB, text/plain)
2024-03-17 10:16 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,190.84 KB, text/plain)
2024-03-17 10:16 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,33.35 KB, application/x-xz)
2024-03-17 10:16 UTC, Toralf Förster
Details
media-libs/harfbuzz-8.3.1 (test-hb-subset-parsing.c.diff,4.62 KB, patch)
2024-04-10 16:02 UTC, Vladislav Mikhailikov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-03-17 10:16:05 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2024-03-17 10:16:06 UTC
Created attachment 887826 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-03-17 10:16:07 UTC
Created attachment 887827 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-03-17 10:16:09 UTC
Created attachment 887828 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-03-17 10:16:11 UTC
Created attachment 887829 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-03-17 10:16:12 UTC
Created attachment 887830 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-03-17 10:16:13 UTC
Created attachment 887831 [details]
media-libs:harfbuzz-8.3.1:20240317-101335.log
Comment 7 Toralf Förster gentoo-dev 2024-03-17 10:16:14 UTC
Created attachment 887832 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-03-17 10:16:15 UTC
Created attachment 887833 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-17 10:20:28 UTC
> * USE:        abi_x86_64 amd64 cairo elibc_glibc experimental glib graphite icu introspection kernel_linux truetype

It's USE=experimental.
Comment 10 dave@dave3.xyz 2024-03-30 23:24:10 UTC
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.
Comment 11 dave@dave3.xyz 2024-04-01 00:55:48 UTC
 * 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) *
.....
Comment 12 Alex Barker 2024-04-03 01:54:15 UTC
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.
Comment 13 Vladislav Mikhailikov 2024-04-10 16:02:48 UTC
Created attachment 890153 [details, diff]
media-libs/harfbuzz-8.3.1

Hi guys!

Just made a patch and it goes weel.

Cheers,
Vlad
Comment 14 Vladislav Mikhailikov 2024-04-10 16:06:52 UTC
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
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-11 16:00:08 UTC
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...
Comment 16 Vladislav Mikhailikov 2024-04-12 10:13:29 UTC
(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
Comment 17 dave@dave3.xyz 2024-05-05 04:34:16 UTC
This issue also exists inside harfbuzz-8.4.0.
Comment 18 dave@dave3.xyz 2024-05-05 04:37:36 UTC
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.
Comment 19 Alex Barker 2024-06-07 03:28:58 UTC
The issue should be resolved upstream in 8.5.

https://github.com/harfbuzz/harfbuzz/pull/4657
Comment 20 Andreas Sturmlechner gentoo-dev 2024-06-07 14:12:40 UTC
(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.
Comment 21 Larry the Git Cow gentoo-dev 2024-06-12 06:00:57 UTC
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(+)