Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655130 - media-gfx/inkscape-0.92.3 - configure: error: Cannot find freetype-config
Summary: media-gfx/inkscape-0.92.3 - configure: error: Cannot find freetype-config
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Graphics Project
URL: https://gitlab.com/inkscape/inkscape/...
Whiteboard:
Keywords:
Depends on:
Blocks: freetype-config
  Show dependency tree
 
Reported: 2018-05-07 03:00 UTC by Viktor Yu. Kovalskii
Modified: 2022-05-10 19:49 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,25.48 KB, text/plain)
2018-05-07 03:01 UTC, Viktor Yu. Kovalskii
Details
inkscape-0.92.3-freetype_pkgconfig.patch (inkscape-0.92.3-freetype_pkgconfig.patch,489 bytes, patch)
2018-05-07 12:50 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Yu. Kovalskii 2018-05-07 03:00:19 UTC
checking for freetype-config... no
configure: error: Cannot find freetype-config

!!! Please attach the following file when seeking support:
!!! /slag/portage/media-gfx/inkscape-0.92.3/work/inkscape-0.92.3/config.log
Comment 1 Viktor Yu. Kovalskii 2018-05-07 03:01:13 UTC
Created attachment 530290 [details]
build.log
Comment 2 Viktor Yu. Kovalskii 2018-05-07 03:01:52 UTC
emerge --info
Portage 2.3.35 (python 3.6.5-final-0, default/linux/amd64/17.1/desktop, gcc-7.3.0, glibc-2.26-r6, 4.16.3-gentoo x86_64)
=================================================================
System uname: Linux-4.16.3-gentoo-x86_64-AMD_A8-6600K_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.4.1
KiB Mem:     7640720 total,     76144 free
KiB Swap:          0 total,         0 free
Head commit of repository gentoo: 5dee949abbff6f5c5a99f0b905bfb84b4fca3b13

Timestamp of repository flying: Thu, 19 Apr 2018 03:21:49 +0000
Head commit of repository mozilla: 396b8a2cf20489e1275c096fee11009fa37974ae

Head commit of repository science: 367a3e9287d0c00636a4845a55fcf97af93026df

sh bash 4.4_p19
ld GNU ld (Gentoo 2.30 p2) 2.30.0
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.14-r2::gentoo, 3.6.5-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.11.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.35.5::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            7.3.0-r1::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.16-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r6::gentoo
Repositories:

gentoo
    location: /slag/gentoo-tree
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000

flying
    location: /slag/layman/flying
    masters: gentoo

mozilla
    location: /slag/layman/mozilla
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/mozilla.git
    masters: gentoo
    priority: 50

science
    location: /slag/layman/science
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/sci.git
    masters: gentoo
    priority: 50

Installed sets: @toolchain
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=bdver2 -mtune=bdver2 -O2 -pipe -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -fstack-protector-strong --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=bdver2 -mtune=bdver2 -O2 -pipe -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -fstack-protector-strong --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048"
DISTDIR="/slag/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --with-bdeps=y --quiet-build"
FCFLAGS="-march=bdver2 -mtune=bdver2 -O2 -pipe -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -fstack-protector-strong --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048"
FEATURES="assume-digests binpkg-logs buildpkg ccache cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=bdver2 -mtune=bdver2 -O2 -pipe -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -fstack-protector-strong --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048"
GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles/ http://trumpetti.atm.tut.fi/gentoo"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru ru_RU"
MAKEOPTS="-j2"
PKGDIR="/slag/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="/slag"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bs2b bzip2 cairo caps cdr cli consolekit cups custom-cflags custom-optimization cxx dbus djvu dri dts dvd dvdr emboss enca encode exceptions exif ffmpeg flac fontconfig fortran gif gimp glamor gmp gpm harfbuzz iconv icu idn jbig jit jpeg jpeg2k kde kwallet latex lcms libass libnotify libsamplerate lm_sensors lz4 lzma lzo mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit postscript ppds pulseaudio qml qt3support qt5 rar readline samba seccomp slang sndfile spell sqlite ssl startup-notification subversion svg taglib tcpd theora threads tiff truetype udev udisks unicode upower usb utils vdpau vorbis wavpack wayland webengine webp wxwidgets x264 xattr xcb xml xmp xv xvid zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="ru ru_RU" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LLVM_TARGETS="AMDGPU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6 python2_7" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm aarch64" QEMU_USER_TARGETS="x86_64 i386 arm aarch64" RUBY_TARGETS="ruby25" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, ENV_UNSET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-07 12:50:18 UTC
Created attachment 530308 [details, diff]
inkscape-0.92.3-freetype_pkgconfig.patch

Possible fix.
Comment 4 Larry the Git Cow gentoo-dev 2018-05-07 12:59:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4a3c2ef0e7dad033886a82881e495c4ef67453a

commit e4a3c2ef0e7dad033886a82881e495c4ef67453a
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-05-07 12:58:23 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-05-07 12:59:02 +0000

    media-gfx/inkscape: Use pkg-config to find freetype
    
    Bug: https://bugs.gentoo.org/655130
    Package-Manager: Portage-2.3.36, Repoman-2.3.9

 .../files/inkscape-0.92.3-freetype_pkgconfig.patch | 18 +++++++++
 media-gfx/inkscape/inkscape-0.92.3.ebuild          | 43 ++++++++++++----------
 2 files changed, 41 insertions(+), 20 deletions(-)
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-23 13:53:34 UTC
Approved and merged by upstream.
Comment 6 . 2018-06-28 22:42:41 UTC
now stabilize v0.92.3 or backport the patch to v0.92.2 as it faces the same issue