Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] harfbuzz failed to build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1170

PostPosted: Sun Jan 03, 2021 9:40 pm    Post subject: [solved] harfbuzz failed to build Reply with quote

Upgrading my system emerging harfbuzz fails. Following the build.log How can this be fixed?

emerge --info:
Code:
Portage 3.0.12 (python 3.8.6-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.32-r3, 5.9.8-gentoo x86_64)
=================================================================
System uname: Linux-5.9.8-gentoo-x86_64-AMD_Ryzen_5_1600_Six-Core_Processor-with-glibc2.2.5
KiB Mem:    16396756 total,   3749300 free
KiB Swap:   33554428 total,  33551868 free
Timestamp of repository gentoo: Sun, 03 Jan 2021 19:30:02 +0000
Head commit of repository gentoo: 52458b1e6d792cfdd18fca1c261d393474657d65
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r5::gentoo, 3.8.6-r1::gentoo, 3.9.0-r1::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.29-r4::dantrell-gnome
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:

dantrell-gnome-3-38
    location: /var/lib/layman/dantrell-gnome-3-38
    masters: gentoo
    priority: 100

test
    location: /usr/local/portage
    masters: gentoo
    priority: 100

dantrell-gnome
    location: /var/lib/layman/dantrell-gnome
    masters: gentoo
    priority: 150

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
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 /usr/share/themes/oxygen-gtk/gtk-2.0"
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"
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 candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_CH.utf8"
LC_ALL="de_CH.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de de_DE el en fr fr_FR it tr"
MAKEOPTS="-j12"
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"
USE="X a52 aac acl acpi activities aes alsa amd64 avx avx2 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups d3d9 dbus declarative dri dri3 dts dvd dvdr eds egl elogind emboss encode evo exif fam ffmpeg flac fma3 fortran frei0r gdbm gif gimp glamor gnome gnome-keyring gnome-online-accounts gnutls gpm gtk gtk3 gtkstyle gui iconv icu introspection jpeg kde kdesu kipi kwallet lcms ldap libinput libnotify libsecret libtirpc llvm lm_sensors mad mmx mmxext mng mp3 mp4 mpeg mtp multilib nautilus ncurses nls nptl ocr ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 rdp readline realtime s3tc scanner sdl seccomp semantic-desktop sip spell spice split-usr sse sse2 sse3 sse4_1 sse4_2 sse4a ssh ssl ssse3 staging startup-notification svg tcpd theora tiff tracker truetype udev udisks unicode upower usb vaapi vcd vdpau vhost-net vkd3d vnc vorbis vpx vulkan wayland webrtc-aec widgets wxwidgets x264 x265 xa xattr xcb xml xv xvid xvmc zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" 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="mmx mmxext smp sse sse2 sse3 sse4_1 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="evdev" KERNEL="linux" L10N="de el en fr it tr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25 ruby26" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Code:
dev-util/meson
      Latest version available: 0.54.3
      Latest version installed: 0.54.3


re-emerging meson -1 did not help. Neither did emerging harfbuzz with makeopts j1.

Next package (libhandy) fails too with following build.log

Is there a problem with my python env?
Code:
eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python2.7
  [3]   python3.9 (fallback)


Last edited by Elleni on Mon Jan 04, 2021 7:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ionen
Veteran
Veteran


Joined: 06 Dec 2018
Posts: 1764

PostPosted: Sun Jan 03, 2021 10:08 pm    Post subject: Reply with quote

Code:
/usr/bin/env: „python3.7“: Datei oder Verzeichnis nicht gefunden
Considering you're using python3.8, that 3.7 wouldn't be found doesn't come as a surprise.

Does raise the question as to why this is happening...

Given bug #763243 exists (it's a specific test case, not supposed to happen normally), I assume it doesn't fully respect portage's python settings.. but I don't know.


Last edited by Ionen on Sun Jan 03, 2021 10:18 pm; edited 2 times in total
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1170

PostPosted: Sun Jan 03, 2021 10:16 pm    Post subject: Reply with quote

Isn't python-3.8 the default? I am asking as I don't if python 3.7 should exist on my system. I sure did not remove it intentionally. Should I install it manually? These are the packages that an emerge world -uDNav --with-bdeps=y would emerge:
Code:
emerge world -uDNav --with-bdeps=y && emerge --depclean && revdep-rebuild && etc-update && emerge @preserved-rebuild

These are the packages that would be merged, in order:

Calculating dependencies                ... done!               
[ebuild     U ~] media-libs/harfbuzz-2.7.4:0/0.9.18::gentoo [2.7.3:0/0.9.18::gentoo] USE="cairo glib graphite icu introspection truetype -debug -doc -static-libs -test" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild     U *] gui-libs/libhandy-1.0.3:1.0/0::dantrell-gnome [1.0.2:1.0/0::dantrell-gnome] USE="introspection vala -examples -glade -gtk-doc -test" 0 KiB
[ebuild  rR   ~] www-client/netsurf-3.10-r4::gentoo  USE="duktape gif gtk javascript jpeg mng png psl svg svgtiny truetype webp -bmp -fbcon -gtk2 -rosprite" 0 KiB
[ebuild     U *] x11-libs/gtk+-2.24.33:2::dantrell-gnome [2.24.32-r1:2::dantrell-gnome] USE="cups introspection (-aqua) -examples -test -vim-syntax -xinerama" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild     U  ] kde-apps/kio-extras-20.08.3-r1:5::gentoo [20.08.3:5::gentoo] USE="X activities handbook man mtp phonon sftp -debug -nfs -openexr -samba -taglib -test" 0 KiB
[ebuild     U  ] media-plugins/frei0r-plugins-1.7.0::gentoo [1.6.1::gentoo] USE="facedetect scale0tilt -doc" ABI_X86="32%* (64%*) (-x32)" 0 KiB
[ebuild  rR    ] media-video/ffmpeg-4.3.1:0/56.58.58::gentoo  USE="X alsa bzip2 chromium dav1d encode fdk frei0r gnutls gpl iconv mp3 network opengl openssl postproc pulseaudio sdl ssh svg theora threads truetype vaapi vdpau vorbis vpx vulkan x264 x265 xvid zlib -amr -amrenc (-appkit) -bluray -bs2b -cdio -chromaprint -codec2 -cpudetection (-cuda) -debug -doc -flite -fontconfig -fribidi -gcrypt -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -jpeg2k -kvazaar -ladspa -libaom -libaribb24 -libass -libcaca -libdrm -libilbc -libressl -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -openal -opencl -openh264 -opus -oss -pic -rav1e -rubberband -samba -snappy -speex -srt -static-libs -test -twolame -v4l -vidstab -wavpack -webp -zeromq -zimg -zvbi" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3 -3dnow -3dnowext -aes -avx -avx2 -fma3 -fma4 -sse4_2 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" VIDEO_CARDS="-nvidia" 0 KiB
[ebuild     U *] media-video/pipewire-0.3.18:0/0.3::dantrell-gnome [0.3.17:0/0.3::dantrell-gnome] USE="X bluetooth ffmpeg pulseaudio vulkan -debug -doc -gstreamer -jack (-systemd) -test" 0 KiB
[ebuild  rR    ] mail-client/thunderbird-78.6.0:0/78::gentoo  USE="clang dbus openh264 pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp wayland -debug -eme-free -hardened -hwaccel -jack -lto (-pgo) (-selinux) -wifi" L10N="de el fr it tr -af -ar -ast -be -bg -br -ca -cak -cs -cy -da -dsb -en-CA -en-GB -es-AR -es-ES -et -eu -fa -fi -fy -ga -gd -gl -he -hr -hsb -hu -hy -id -is -ja -ka -kab -kk -ko -lt -ms -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -sq -sr -sv -th -uz -vi -zh-CN -zh-TW" 0 KiB
[ebuild     U  ] media-video/simplescreenrecorder-0.4.2::gentoo [0.4.0::gentoo] USE="asm mp3 pulseaudio theora vorbis vpx x264 -jack" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild  rR   ~] www-client/firefox-84.0.1-r1:0/84::gentoo  USE="clang dbus gmp-autoupdate openh264 pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp wayland -debug -eme-free -geckodriver -hardened -hwaccel -jack -lto -pgo -screencast (-selinux) -wifi" L10N="de el fr it tr -ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -dsb -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tl -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" 0 KiB

Total: 11 packages (7 upgrades, 4 reinstalls), Size of downloads: 0 KiB
Back to top
View user's profile Send private message
Ionen
Veteran
Veteran


Joined: 06 Dec 2018
Posts: 1764

PostPosted: Sun Jan 03, 2021 10:26 pm    Post subject: Reply with quote

Yes it's default, and being gone is normal (would be naturally depcleaned after upgrading), I also see nothing wrong with your settings outright.

I wish I could help but I have no idea why it's still trying to use it right now.
Back to top
View user's profile Send private message
Ionen
Veteran
Veteran


Joined: 06 Dec 2018
Posts: 1764

PostPosted: Sun Jan 03, 2021 10:30 pm    Post subject: Reply with quote

Code:
Version: 0.54.3
Actually that you're still using meson 0.54.3 is one odd thing (it was removed from the tree in October), it should be upgrading to 0.55.3. With the changes with meson-format-array maybe there's something up...

Edit: Maybe try to re-emerge both, emerge -1av meson meson-format-array
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 765
Location: Earth

PostPosted: Mon Jan 04, 2021 5:31 pm    Post subject: Re: harfbuzz failed to build Reply with quote

Elleni wrote:
How can this be fixed?

Rebuild GLib first and then update @world:

Code:
emerge --ask --oneshot --nodeps --verbose dev-libs/glib

_________________
Dantrell B.
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1170

PostPosted: Mon Jan 04, 2021 6:17 pm    Post subject: Reply with quote

Thanks dantrell, that worked. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum