Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617276 - media-gfx/graphite2-1.3.9-r1: cmake: command not found (when cross-compiling), needs to be BDEPEND
Summary: media-gfx/graphite2-1.3.9-r1: cmake: command not found (when cross-compiling)...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-02 19:52 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2020-12-10 19:42 UTC (History)
0 users

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


Attachments
build.log (build.log,4.21 KB, text/x-log)
2017-05-02 19:52 UTC, Paweł Hajdan, Jr. (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2017-05-02 19:52:23 UTC
Created attachment 471548 [details]
build.log

>>> Configuring source in /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/media-gfx/graphite2-1.3.9-r1
/work/graphite2-1.3.9 ...
 * .arm: running multilib-minimal_abi_src_configure
>>> Working in BUILD_DIR: "/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/media-gfx/graphite2-1.3.9-r1/work/graphite2-1.3.9-.arm"
cmake -C /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/media-gfx/graphite2-1.3.9-r1/work/graphite2-1.3.9-.arm/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DVM_MACHINE_TYPE=direct -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/media-gfx/graphite2-1.3.9-r1/work/graphite2-1.3.9-.arm/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/media-gfx/graphite2-1.3.9-r1/work/graphite2-1.3.9-.arm/gentoo_toolchain.cmake  /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/media-gfx/graphite2-1.3.9-r1/work/graphite2-1.3.9
/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/media-gfx/graphite2-1.3.9-r1/temp/environment: line 1445: cmake: command not found
 * ERROR: media-gfx/graphite2-1.3.9-r1::gentoo failed (configure phase):
 *   cmake failed

This is with sys-devel/crossdev-20160602-r1

# armv7a-hardfloat-linux-gnueabi-emerge --info
Portage 2.3.5 (python 3.4.6-final-0, default/linux/arm/13.0/armv7a, gcc-5.4.0, glibc-2.24-r1, 4.9.16-gentoo x86_64)
=================================================================
System uname: Linux-4.9.16-gentoo-x86_64-Intel-R-_Core-TM-_i3-5005U_CPU_@_2.00GHz-with-gentoo-2.3
KiB Mem:     3959228 total,   1023200 free
KiB Swap:   20971516 total,  20949200 free
Timestamp of repository gentoo: Sun, 30 Apr 2017 15:00:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p12::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.25::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /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="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/armv7a-hardfloat-linux-gnueabi/packages/"
PORTAGE_CONFIGROOT="/usr/armv7a-hardfloat-linux-gnueabi/"
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="/usr/armv7a-hardfloat-linux-gnueabi/tmp/"
USE="X acl arm armv5te armv6 armv6t2 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv icu ipv6 minizip modules ncurses nls nptl openmp pcre readline seccomp session ssl tcpd unicode zlib" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 vfp" 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" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap dummy v4l" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2017-05-03 10:03:37 UTC
Ah, manually installing cmake in the host (emerge -1av cmake) makes graphite compile succeed.

This may be more of an issue with crossdev / portage handling of such dependencies than graphite/cmake themselves.

I'm not sure yet what's the best Product / Component / Assignee for this bug.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2020-12-10 19:42:08 UTC
I suspect this is fixed via the transition to EAPI=7 (and introduction of BDEPEND). Please reopen if you still see the problem with current versions.