Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 598370 - dev-ruby/facter-3.5.0: /.../config.cc:76:38: error: ‘const class hocon::config_object’ has no member named ‘key_set’
Summary: dev-ruby/facter-3.5.0: /.../config.cc:76:38: error: ‘const class hocon::confi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-28 16:55 UTC by Russell Knighton
Modified: 2016-11-11 17:13 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,73.21 KB, text/x-log)
2016-10-28 16:55 UTC, Russell Knighton
Details
environment (environment,179.22 KB, text/plain)
2016-10-28 16:55 UTC, Russell Knighton
Details
emerge-info.txt (emerge-info.txt,8.21 KB, text/plain)
2016-11-10 09:07 UTC, Toralf Förster
Details
dev-ruby:facter-3.5.0:20161110-023821.log (dev-ruby:facter-3.5.0:20161110-023821.log,85.55 KB, text/plain)
2016-11-10 09:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,270.30 KB, text/plain)
2016-11-10 09:07 UTC, Toralf Förster
Details
environment (environment,181.29 KB, text/plain)
2016-11-10 09:07 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Russell Knighton 2016-10-28 16:55:08 UTC
Created attachment 451768 [details]
build.log

Build fails with the following error:
[ 27%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/util/config/config.cc.o
cd /var/tmp/portage/dev-ruby/facter-3.5.0/work/facter-3.5.0_build/lib && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++  -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/var/tmp/portage/dev-ruby/facter-3.5.0/work/facter-3.5.0_build\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/var/tmp/portage/dev-ruby/facter-3.5.0/work/all/facter-3.5.0/lib/inc -I/var/tmp/portage/dev-ruby/facter-3.5.0/work/all/facter-3.5.0/vendor/rapidjson-0.11/include -I/var/tmp/portage/dev-ruby/facter-3.5.0/work/all/facter-3.5.0/../vendor/nowide/include -I/usr/include/leatherman/vendor   -DNDEBUG -march=x86-64 -mtune=generic -mcx16 -mfxsr -mmmx -mpopcnt -msahf -msse -msse2 -msse3 -O2 -pipe -fomit-frame-pointer  -Wno-maybe-uninitialized -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Wextra -fPIC   -o CMakeFiles/libfactersrc.dir/src/util/config/config.cc.o -c /var/tmp/portage/dev-ruby/facter-3.5.0/work/all/facter-3.5.0/lib/src/util/config/config.cc
/var/tmp/portage/dev-ruby/facter-3.5.0/work/all/facter-3.5.0/lib/src/util/config/config.cc: In function ‘std::unordered_map<std::__cxx11::basic_string<char>, long int> facter::util::config::load_ttls(hocon::shared_config)’:
/var/tmp/portage/dev-ruby/facter-3.5.0/work/all/facter-3.5.0/lib/src/util/config/config.cc:76:38: error: ‘const class hocon::config_object’ has no member named ‘key_set’
                 string fact = entry->key_set().front();
                                      ^
/var/tmp/portage/dev-ruby/facter-3.5.0/work/all/facter-3.5.0/lib/src/util/config/config.cc:77:48: error: ‘const class hocon::config’ has no member named ‘get_duration’
                 int64_t duration = entry_conf->get_duration("\"\"\"" + fact + "\"\"\"", time_unit::SECONDS);
                                                ^
/var/tmp/portage/dev-ruby/facter-3.5.0/work/all/facter-3.5.0/lib/src/util/config/config.cc:77:89: error: ‘time_unit’ has not been declared
                 int64_t duration = entry_conf->get_duration("\"\"\"" + fact + "\"\"\"", time_unit::SECONDS);
                                                                                         ^
make[2]: *** [lib/CMakeFiles/libfactersrc.dir/build.make:1218: lib/CMakeFiles/libfactersrc.dir/src/util/config/config.cc.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-ruby/facter-3.5.0/work/facter-3.5.0_build'
make[1]: *** [CMakeFiles/Makefile2:157: lib/CMakeFiles/libfactersrc.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-ruby/facter-3.5.0/work/facter-3.5.0_build'
make: *** [Makefile:142: all] Error 2


Command outputs:
mail ~ # emerge -pqv '=dev-ruby/facter-3.5.0::gentoo'
[ebuild     U ] dev-ruby/facter-3.5.0 [3.4.1] USE="-debug {-test}" RUBY_TARGETS="ruby21 -ruby22"

mail ~ # emerge --info '=dev-ruby/facter-3.5.0::gentoo'
Portage 2.3.2 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r2, 4.8.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.8.0-gentoo-x86_64-QEMU_Virtual_CPU_version_1.7.1-with-gentoo-2.3
KiB Mem:     2053964 total,    201252 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Fri, 28 Oct 2016 15:15:01 +0000
sh bash 4.4-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
ccache version 3.2.7 [enabled]
app-shells/bash:          4.4-r1::gentoo
dev-lang/perl:            5.24.0-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.7::gentoo
dev-util/cmake:           3.6.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.2::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo, 5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

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

local-repo
    location: /usr/local/portage
    masters: gentoo
    priority: 0

annunaki2k2
    location: /var/lib/layman/annunaki2k2
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=x86-64 -mtune=generic -mcx16 -mfxsr -mmmx -mpopcnt -msahf -msse -msse2 -msse3 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
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.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=x86-64 -mtune=generic -mcx16 -mfxsr -mmmx -mpopcnt -msahf -msse -msse2 -msse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distcc distcc-pump distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j18 -l1"
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="acl amd64 bash-completion berkdb bzip2 cli cracklib crypt cxx device-mapper dri fortran gdbm http2 iconv icu ipv6 ldap mmx mmxext modules multilib ncurses nls nptl openmp pam pcre readline seccomp session sse sse2 ssl tcpd unicode urandom vhosts vim-syntax xattr zlib" ABI_X86="32 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 http2 proxy proxy_html proxy_http substitute" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="en-GB en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-0" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby23" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa 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 Russell Knighton 2016-10-28 16:55:40 UTC
Created attachment 451770 [details]
environment
Comment 2 Toralf Förster gentoo-dev 2016-11-10 09:07:34 UTC
Created attachment 452864 [details]
emerge-info.txt

same at a tinderbox image
Comment 3 Toralf Förster gentoo-dev 2016-11-10 09:07:39 UTC
Created attachment 452866 [details]
dev-ruby:facter-3.5.0:20161110-023821.log
Comment 4 Toralf Förster gentoo-dev 2016-11-10 09:07:42 UTC
Created attachment 452868 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2016-11-10 09:07:45 UTC
Created attachment 452870 [details]
environment
Comment 6 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-11-11 17:13:21 UTC
updated cpp-hocon to 0.1.4 and removed the old cpp-hocon (0.1.2) mgorny confirmed this should be fixed