Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686502 - dev-util/cmake-3.14.4 - CMake Error at CMakeLists.txt:380 (message): CMAKE_USE_SYSTEM_LIBRHASH is ON but LibRHash is not found!
Summary: dev-util/cmake-3.14.4 - CMake Error at CMakeLists.txt:380 (message): CMAKE_...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-21 19:17 UTC by Xavier Miller
Modified: 2019-08-09 18:11 UTC (History)
0 users

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


Attachments
build.log.bz2 (build.log.bz2,5.72 KB, application/x-bzip)
2019-05-21 19:23 UTC, Xavier Miller
Details
CMakeError.log (CMakeError.log,12.39 KB, text/plain)
2019-05-21 19:23 UTC, Xavier Miller
Details
CMakeOutput.log (CMakeOutput.log,119.25 KB, text/plain)
2019-05-21 19:23 UTC, Xavier Miller
Details
build log (build.log.bz2,5.95 KB, application/x-bzip2)
2019-08-09 18:09 UTC, Xavier Miller
Details
CMakeError.log (CMakeError.log,12.25 KB, text/x-log)
2019-08-09 18:11 UTC, Xavier Miller
Details
CMakeOutput.log (CMakeOutput.log,88.58 KB, text/x-log)
2019-08-09 18:11 UTC, Xavier Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller gentoo-dev 2019-05-21 19:17:47 UTC
---------------------------------------------                                                                                                                                                                                               
CMake has bootstrapped.  Now run gmake.                                                                                                                                                                                                     
>>> Source prepared.                                                                                                                                                                                                                        
>>> Configuring source in /var/tmp/portage/dev-util/cmake-3.14.4/work/cmake-3.14.4 ...                                                                                                                                                      
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-util/cmake-3.14.4/work/cmake-3.14.4_build"                                                                                                                                                  
/var/tmp/portage/dev-util/cmake-3.14.4/work/cmake-3.14.4/Bootstrap.cmk/cmake -C /var/tmp/portage/dev-util/cmake-3.14.4/work/cmake-3.14.4_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_USE_SYSTEM_L
IBRARIES=ON -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=no -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_DOC_DIR=/share/doc/cmake-3.14.4 -DCMAKE_MAN_DIR=/share/man -DCMAKE_DATA_DIR=/share/cmake -DSPHINX_MAN=no -DSPHINX_HTML=no -DBUILD_CursesDialog=yes -DB
UILD_TESTING=no -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-util/cmake-3.14.4/work/cmake-3.14.4_build/gentoo_toolchain.cmake  /var/tmp/portage/dev-util/cmake-3.14.4/work/cmake-3.14.4                            
loading initial cache file /var/tmp/portage/dev-util/cmake-3.14.4/work/cmake-3.14.4_build/gentoo_common_config.cmake                                                                                                                        
CMake Warning (dev) at gentoo_common_config.cmake:8 (SET):                                                                                                                                                                                  
  implicitly converting 'BOOLEAN' to 'STRING' type.                                                                                                                                                                                         
This warning is for project developers.  Use -Wno-dev to suppress it.                                                                                                                                                                       
[...]
-- Using system-installed BZIP2
-- Using system-installed CURL
-- Using system-installed EXPAT
-- Using system-installed FORM
-- Using system-installed LIBARCHIVE
-- Using system-installed LIBLZMA
-- Using system-installed LIBRHASH
-- Using system-installed LIBUV
-- Using system-installed ZLIB
-- Could NOT find LibRHash (missing: LibRHash_LIBRARY) 
CMake Error at CMakeLists.txt:380 (message):
  CMAKE_USE_SYSTEM_LIBRHASH is ON but LibRHash is not found!
Call Stack (most recent call first):
  CMakeLists.txt:682 (CMAKE_BUILD_UTILITIES)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/dev-util/cmake-3.14.4/work/cmake-3.14.4_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/dev-util/cmake-3.14.4/work/cmake-3.14.4_build/CMakeFiles/CMakeError.log".
Comment 1 Xavier Miller gentoo-dev 2019-05-21 19:19:18 UTC
Armv7 in a QEMU chroot, cmake is not yet installed.

 emerge --info '=dev-util/cmake-3.14.4::gentoo'                                                                                                                                                                                    
Portage 2.3.66 (python 3.6.8-final-0, default/linux/arm/17.0/armv7a, gcc-9.1.0, glibc-2.29-r2, 5.1.3-gentoo armv7l)                                                                                                                         
=================================================================                                                                                                                                                                           
                         System Settings                                                                                                                                                                                                    
=================================================================                                                                                                                                                                           
System uname: Linux-5.1.3-gentoo-armv7l-Intel-R-_Core-TM-_i7-8850H_CPU_@_2.60GHz-with-gentoo-2.6                                                                                                                                            
KiB Mem:    16192068 total,  13205000 free                                                                                                                                                                                                  
KiB Swap:          0 total,         0 free                                                                                                                                                                                                  
Head commit of repository gentoo: 4aeb106e88d3020696359e2aab6311f9356599ff                                                                                                                                                                  
                                                                                                                                                                                                                                            
Head commit of repository local: c09d753472fa23ee33ea8f81b20948000891c3f9                                                                                                                                                                   
                                                                                                                                                                                                                                            
sh bash 5.0_p7                                                                                                                                                                                                                              
ld GNU gold (Gentoo 2.32 p2 2.32.0) 1.16                                                                                                                                                                                                    
app-shells/bash:          5.0_p7::gentoo                                                                                                                                                                                                    
dev-lang/perl:            5.28.2-r1::gentoo                                                                                                                                                                                                 
dev-lang/python:          2.7.16::gentoo, 3.6.8::gentoo                                                                                                                                                                                     
dev-util/pkgconfig:       0.29.2::gentoo                                                                                                                                                                                                    
sys-apps/baselayout:      2.6-r1::gentoo                                                                                                                                                                                                    
sys-apps/openrc:          0.41.2::gentoo                                                                                                                                                                                                    
sys-apps/sandbox:         2.17::gentoo                                                                                                                                                                                                      
sys-devel/autoconf:       2.69-r4::gentoo                                                                                                                                                                                                   
sys-devel/automake:       1.16.1-r1::gentoo                                                                                                                                                                                                 
sys-devel/binutils:       2.32-r1::gentoo                                                                                                                                                                                                   
sys-devel/gcc:            9.1.0::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /var/portage/repos/gentoo
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000

local
    location: /usr/local/portage
    sync-type: git
    sync-uri: /data/nas/xavier/git_repos/local_overlay.git/
    masters: gentoo

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="@FREE as-is freedist"
CBUILD="armv7a-unknown-linux-gnueabihf"
CFLAGS="-march=armv7-a -mfpu=neon -mfloat-abi=hard -O2 -pipe -fomit-frame-pointer"
CHOST="armv7a-unknown-linux-gnueabihf"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=armv7-a -mfpu=neon -mfloat-abi=hard -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build=n --buildpkg"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 -march=armv7-a"
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 preserve-libs p
rotect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l3"
PKGDIR="/var/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="arm armv5te armv6 armv6t2 armv7 bzip2 cli crypt cups cxx dri exif gif headless-awt iconv jpeg ncurses nls nptl openmp pcre pdf png pnm readline seccomp sqlite ssl svg tcpd tiff truetype unicode zlib" APACHE2_MODULES="authn_core aut
hz_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 deflat
e 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 she
ets words" 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 m
tk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="fr nl" LCD_DEVICES="bayrad cfontz cfontz63
3 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon 
websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Xavier Miller gentoo-dev 2019-05-21 19:23:08 UTC
Created attachment 577512 [details]
build.log.bz2
Comment 3 Xavier Miller gentoo-dev 2019-05-21 19:23:33 UTC
Created attachment 577514 [details]
CMakeError.log
Comment 4 Xavier Miller gentoo-dev 2019-05-21 19:23:53 UTC
Created attachment 577516 [details]
CMakeOutput.log
Comment 5 Xavier Miller gentoo-dev 2019-05-21 22:02:54 UTC
Same problem on a raspberry pi1 chroot (armv6j)

 emerge --info '=dev-util/cmake-3.14.4::gentoo'
Portage 2.3.66 (python 3.6.8-final-0, default/linux/arm/17.0/armv6j, gcc-9.1.0, glibc-2.29-r2, 5.1.3-gentoo armv7l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.1.3-gentoo-armv7l-Intel-R-_Celeron-R-_2957U_@_1.40GHz-with-gentoo-2.6
KiB Mem:     3959576 total,    732112 free
KiB Swap:    4094972 total,   3696380 free
Head commit of repository gentoo: 4aeb106e88d3020696359e2aab6311f9356599ff

Head commit of repository local: c09d753472fa23ee33ea8f81b20948000891c3f9

sh bash 5.0_p7
ld GNU gold (Gentoo 2.32 p2 2.32.0) 1.16
app-shells/bash:          5.0_p7::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.8::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.17::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.1.0::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /var/portage/repos/gentoo
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000

local
    location: /usr/local/portage
    sync-type: git
    sync-uri: /data/nas/xavier/git_repos/local_overlay.git/
    masters: gentoo

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="@FREE as-is freedist"
CBUILD="armv6j-unknown-linux-gnueabihf"
CFLAGS="-march=armv6j -mfpu=vfp -mfloat-abi=hard -O2 -pipe -fomit-frame-pointer"
CHOST="armv6j-unknown-linux-gnueabihf"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=armv6j -mfpu=vfp -mfloat-abi=hard -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build=n --buildpkg"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 -march=armv6j"
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 preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync"
FFLAGS="-O2 -pipe -march=armv6j"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_BE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l3"
PKGDIR="/var/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="arm armv6 bzip2 cli crypt cxx dri iconv ncurses nls nptl openmp pcre readline seccomp sqlite 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb v4 v5 v6" 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" L10N="fr nl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Xavier Miller gentoo-dev 2019-05-21 22:04:04 UTC
is it related to bug 650948 (or bug 650840)?
Comment 7 Xavier Miller gentoo-dev 2019-05-22 11:23:18 UTC
OK in the same context with amd64 architecture (new stage 3, switching to ~amd64, profile 17.1, gnu gold, latest toolchain)
Comment 8 Xavier Miller gentoo-dev 2019-05-24 11:01:49 UTC
I tried to disable system rhash, but then I get : " CMAKE_USE_SYSTEM_ZLIB is ON but a zlib is not found!"

So there is something wrong with the library detection in the cmake build.

What do I need to check?
Comment 9 Xavier Miller gentoo-dev 2019-05-24 18:59:44 UTC
(In reply to Xavier Miller from comment #6)
> is it related to bug 650948 (or bug 650840)?

Nope, because the bootstrap process doesn't find zlib too.

if I run

$ ./bootstrap --system-libs --no-system-jsoncpp --no-system-librhash --verbose

I get this 

-- Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.11")



==> a sed/grep problem?
Comment 10 Xavier Miller gentoo-dev 2019-05-24 21:47:50 UTC
OK !

I re-started from the official stage 3 (stage3-armv7a_hardfp-20180831.tar.bz2)

cmake can be emerged, my chroot was probably corrupted
Comment 11 Xavier Miller gentoo-dev 2019-08-09 14:36:08 UTC
I reopen the bug because newer versions of CMake don't work.

I cannot bootstrap CMake from any existing CMake versions on ~armv6j and ~amrv7a.

And I cannot re-emerge CMake from CMake.
Comment 12 Xavier Miller gentoo-dev 2019-08-09 14:36:36 UTC
new build.log will come this evening
Comment 13 Xavier Miller gentoo-dev 2019-08-09 18:04:08 UTC
# emerge --info '=dev-util/cmake-3.15.2::gentoo'
Portage 2.3.71 (python 3.6.9-final-0, default/linux/arm/17.0/armv7a, gcc-9.1.0, glibc-2.29-r4, 5.2.7-gentoo armv7l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.2.7-gentoo-armv7l-Intel-R-_Core-TM-_i7-8850H_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:    16191160 total,  11363764 free
KiB Swap:          0 total,         0 free
Head commit of repository gentoo: 5b7b57438d3997382c7803c96971c60e51d3774a

Head commit of repository local: c09d753472fa23ee33ea8f81b20948000891c3f9

sh bash 5.0_p7
ld GNU gold (Gentoo 2.32 p2 2.32.0) 1.16
app-shells/bash:          5.0_p7::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.1.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r4::gentoo
Repositories:

gentoo
    location: /var/portage/repos/gentoo
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000

local
    location: /usr/local/portage
    sync-type: git
    sync-uri: /data/nas/xavier/git_repos/local_overlay.git/
    masters: gentoo

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="@FREE as-is freedist"
CBUILD="armv7a-unknown-linux-gnueabihf"
CFLAGS="-O2 -pipe -march=armv7-a"
CHOST="armv7a-unknown-linux-gnueabihf"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build=n --buildpkg"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 -march=armv7-a"
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 preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersync"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j24 -l13"
PKGDIR="/var/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="arm armv5te armv6 armv6t2 armv7 bzip2 cli crypt cups cxx dri exif gif headless-awt iconv jpeg ncurses nls nptl openmp pcre pdf png pnm readline seccomp split-usr sqlite ssl svg tcpd tiff truetype 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="karbon sheets words" 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" L10N="fr nl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 14 Xavier Miller gentoo-dev 2019-08-09 18:05:03 UTC
# qemu-arm --version
qemu-arm version 4.0.0
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
Comment 15 Xavier Miller gentoo-dev 2019-08-09 18:05:44 UTC
[ebuild   R    ] app-emulation/qemu-4.0.0-r4::gentoo  USE="aio alsa bzip2 caps curl fdt filecaps gtk jpeg ncurses nls opengl pin-upstream-blobs png sdl seccomp static-user usb vhost-net vnc xattr -accessibility -capstone -debug -doc -glusterfs -gnutls -infiniband -iscsi -lzo -nfs -numa -pulseaudio -python -rbd -sasl (-selinux) -smartcard -snappy -spice -ssh (-static) -systemtap -tci -test -usbredir -vde -virgl -virtfs -vte -xen -xfs" PYTHON_TARGETS="python2_7 python3_6 -python3_5 -python3_7" QEMU_SOFTMMU_TARGETS="-aarch64 -alpha -arm -cris -hppa -i386 -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -x86_64 -xtensa -xtensaeb" QEMU_USER_TARGETS="arm -aarch64 -aarch64_be -alpha -armeb -cris -hppa -i386 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -tilegx -x86_64 -xtensa -xtensaeb" 0 KiB
Comment 16 Xavier Miller gentoo-dev 2019-08-09 18:09:34 UTC
Created attachment 586382 [details]
build log
Comment 17 Xavier Miller gentoo-dev 2019-08-09 18:11:27 UTC
Created attachment 586384 [details]
CMakeError.log
Comment 18 Xavier Miller gentoo-dev 2019-08-09 18:11:50 UTC
Created attachment 586386 [details]
CMakeOutput.log