Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835740 - media-libs/harfbuzz fails to build with USE=introspection and ABI_X86="32": ../harfbuzz-3.4.0/src/meson.build:644:4: ERROR: Dependency "gobject-introspection-1.0" not found, tried pkgconfig and cmake
Summary: media-libs/harfbuzz fails to build with USE=introspection and ABI_X86="32": ....
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-21 13:46 UTC by Thomas Sachau
Modified: 2022-07-03 18:50 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,7.58 KB, text/plain)
2022-03-21 13:46 UTC, Thomas Sachau
Details
meson-log.txt (meson-log.txt,45.82 KB, text/plain)
2022-03-21 13:46 UTC, Thomas Sachau
Details
build.log with portage from main tree (build.log,7.53 KB, text/plain)
2022-03-27 16:32 UTC, Thomas Sachau
Details
meson-log.txt with main tree portage (meson-log.txt,45.82 KB, text/plain)
2022-03-27 16:33 UTC, Thomas Sachau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Sachau gentoo-dev 2022-03-21 13:46:13 UTC
See summary, build.log and meson-log.txt will follow.
Comment 1 Thomas Sachau gentoo-dev 2022-03-21 13:46:34 UTC
Created attachment 767511 [details]
build.log
Comment 2 Thomas Sachau gentoo-dev 2022-03-21 13:46:50 UTC
Created attachment 767512 [details]
meson-log.txt
Comment 3 David Seifert gentoo-dev 2022-03-21 15:03:32 UTC
Again, is this your portage-multilib fork?
Comment 4 Thomas Sachau gentoo-dev 2022-03-21 17:34:40 UTC
(In reply to David Seifert from comment #3)
> Again, is this your portage-multilib fork?

Again, how about you reading the bug and build.log first and maybe even try building the package with the flags mentioned in the summary?

Just a hint: ABI_X86="32 64" is provided by the multilib-eclass, not multilib-portage.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-21 17:42:23 UTC
Built fine for me in this configuration.

The point is you need to be mentioning what's special about your environment when filing bugs. It's not a problem per se, but it wastes time if people can't reproduce bugs and assume they should be able to hit it in their own environment without anything special going on.
Comment 6 Matt Turner gentoo-dev 2022-03-21 18:20:37 UTC
I can't reproduce the failure either, but many packages build introspection data only in the native ABI. Could you try this?

-               $(meson_feature introspection gobject)
+               $(meson_native_use_feature introspection gobject)
Comment 7 Matt Turner gentoo-dev 2022-03-21 18:22:26 UTC
(In reply to Thomas Sachau from comment #0)
> See summary, build.log and meson-log.txt will follow.

Please provide emerge --info.
Comment 8 Matt Turner gentoo-dev 2022-03-21 18:23:13 UTC
(In reply to Matt Turner from comment #6)
> I can't reproduce the failure either, but many packages build introspection
> data only in the native ABI. Could you try this?
> 
> -               $(meson_feature introspection gobject)
> +               $(meson_native_use_feature introspection gobject)

Huh. Looks like this won't work because harfbuzz's installed header files change based on the introspection USE flag.
Comment 9 Matt Turner gentoo-dev 2022-03-21 20:33:41 UTC
(In reply to Thomas Sachau from comment #4)
> (In reply to David Seifert from comment #3)
> > Again, is this your portage-multilib fork?
> 
> Again, how about you reading the bug and build.log first and maybe even try
> building the package with the flags mentioned in the summary?

So, he did, and he noticed and pointed out to me that your build log indicates that you're using your portage-multilib fork:

> USE: ... multilib_abi_amd64 multilib_abi_x86

Why would you obfuscate and refuse to answer his direct question in comment #1?
Comment 10 Thomas Sachau gentoo-dev 2022-03-27 16:32:05 UTC
In short:

If i enable multilib-eclass flags, multilib-portage does hand over the work to the eclass. Anyway, just to show that the issue is not related to multilib-portage, i did switch to the portage version from the main tree and did try to build harfbuzz with it. The result is the same, but i will add the logs anyway.

The question for me is: How does harfbuzz find gobject-introspection for the 32bit build for you? Maybe you can add those logs from your build?

emerge --info with the main tree portage:

Portage 3.0.30 (python 3.10.1-final-0, default/linux/amd64/17.1/hardened, gcc-11.2.1, glibc-2.34-r8, 5.10.88-gentoo x86_64)
=================================================================
System uname: Linux-5.10.88-gentoo-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.34
KiB Mem:    66007964 total,  20955080 free
KiB Swap:    1048572 total,   1044476 free
Head commit of repository gentoo: de5aa8cdf43eea0414b4faa513ce87c2b19e5dba

sh bash 5.1_p16
ld GNU ld (Gentoo 2.36.1 p4) 2.36.1
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.8.13::gentoo, 3.9.9-r1::gentoo, 3.10.1-r3::gentoo
dev-lang/rust:             1.58.1::gentoo
dev-util/cmake:            3.22.1::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.13.4-r2::gentoo, 1.16.5::gentoo
sys-devel/binutils:        2.36.1-r2::gentoo, 2.37_p1-r1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           12.0.1::gentoo, 13.0.1::gentoo
sys-devel/gcc:             6.5.0-r3::gentoo, 11.2.1_p20211127::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.1::gentoo
sys-devel/llvm:            12.0.1::gentoo, 13.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.16::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r8::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git+ssh://git@git.gentoo.org/repo/gentoo.git
    priority: -1000
    eclass-overrides: gentoo local

eclipse
    location: /var/lib/layman/eclipse
    masters: gentoo
    priority: 50
    eclass-overrides: gentoo local

enlightenment
    location: /var/lib/layman/enlightenment
    masters: gentoo
    priority: 50
    eclass-overrides: gentoo local

guru
    location: /var/lib/layman/guru
    masters: gentoo
    priority: 50
    eclass-overrides: gentoo local

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 50
    eclass-overrides: gentoo local

multilib-portage
    location: /var/lib/layman/multilib-portage
    masters: gentoo
    priority: 50
    eclass-overrides: gentoo local

tastytea
    location: /var/lib/layman/tastytea
    masters: guru gentoo
    priority: 50
    eclass-overrides: gentoo local

local
    location: /usr/local/portage
    masters: gentoo
    priority: 100
    eclass-overrides: gentoo local

Installed sets: @fonts
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live collision-protect distlocks ebuild-locks fixlafiles force-multilib ipc-sandbox merge-sync metadata-transfer network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.leaseweb.com/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en de"
MAKEOPTS="-j24 --load-average=32"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="3dnow X alsa amd64 crypt cups custom-cflags custom-cxxflags custom-optimization gpm hardened java5 java6 libglvnd libtirpc mmx ncurses nls nptl nsplugin ogg openmp opus pam pie readline scanner seccomp split-usr sse sse2 ssl ssp system-sqlite unicode v4l verify-sig vorbis vulkan xattr xinerama xtpax zlib" ADA_TARGET="gnat_2020" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-GB de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_9 python3_10 python3_8" RUBY_TARGETS="ruby26 ruby30" SANE_BACKENDS="hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hpsj5s hs2p" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 11 Thomas Sachau gentoo-dev 2022-03-27 16:32:36 UTC
Created attachment 768000 [details]
build.log with portage from main tree
Comment 12 Thomas Sachau gentoo-dev 2022-03-27 16:33:28 UTC
Created attachment 768001 [details]
meson-log.txt with main tree portage
Comment 13 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-06-30 09:56:29 UTC
(In reply to Thomas Sachau from comment #11)
> Created attachment 768000 [details]
> build.log with portage from main tree

Did you rebuild all packages after switching to mainstream portage?
Comment 14 Thomas Sachau gentoo-dev 2022-07-03 18:50:59 UTC
I had some environment setting causing this issue for every variant (multilib-portage itself, multilib-portage with eclass and portage with eclass). After fixing that, all variants do build harfbuzz fine, so closing this bug.