Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565008 - dev-ruby/facter-3.1.1 fails to emerge (cannot find -lpthreads)
Summary: dev-ruby/facter-3.1.1 fails to emerge (cannot find -lpthreads)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL: https://tickets.puppetlabs.com/browse...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-06 13:24 UTC by Fabio Coatti
Modified: 2015-11-17 21:11 UTC (History)
2 users (show)

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


Attachments
patch to download facter from github, not from puppetlabs (facter-3.1.1.patch,963 bytes, patch)
2015-11-11 19:46 UTC, Mark Szabo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Coatti 2015-11-06 13:24:44 UTC
emerge facter fails with this error:

>>> Emerging (1 of 1) dev-ruby/facter-3.1.1::gentoo
 * facter-3.1.1.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                 [ ok ]
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>>> Unpacking source...
>>> Unpacking facter-3.1.1.tar.gz to /var/tmp/portage/dev-ruby/facter-3.1.1/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/facter-3.1.1/work
>>> Preparing source in /var/tmp/portage/dev-ruby/facter-3.1.1/work/all/facter-3.1.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/facter-3.1.1/work/all/facter-3.1.1 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DUSE_JRUBY_SUPPORT=FALSE -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build/gentoo_toolchain.cmake  /var/tmp/portage/dev-ruby/facter-3.1.1/work/all/facter-3.1.1
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.9.3
-- The CXX compiler identification is GNU 4.9.3
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Boost version: 1.57.0
-- Found the following Boost libraries:
--   program_options
--   system
--   filesystem
--   date_time
--   regex
-- Found Ruby: /usr/bin/ruby (found suitable version "2.0.0", minimum required is "1.9") 
-- Found YAMLCPP: /usr/lib64/libyaml-cpp.so  
-- Found OPENSSL: /usr/lib64/libcrypto.so  
-- Found BLKID: /lib64/libblkid.so.1  
-- Found CURL: /usr/lib64/libcurl.so (found version "7.45.0") 
-- Found JNI: /etc/java-config-2/current-system-vm/jre/lib/amd64/libjawt.so  
-- Found Java: /etc/java-config-2/current-system-vm/bin/java (found version "1.7.0.80") 
-- 
-- The following OPTIONAL packages have been found:

 * Ruby (required version >= 1.9)
 * OPENSSL , An open-source implementation of the SSL and TLS protocols , <https://www.openssl.org/>
   Enables SSH fingerprinting facts on POSIX systems.
 * BLKID , The library for the Linux blkid utility , <http://en.wikipedia.org/wiki/Util-linux>
   Enables the partitions fact on Linux.
 * CURL , A free and easy-to-use client-side URL transfer library , <http://curl.haxx.se/libcurl/>
   Enables facts that require HTTP.
 * JNI , Java Native Interface (JNI) is a programming framework that enables Java code running in a Java Virtual Machine (JVM) to call and be called by native applications.
   Enables JRuby support in Facter.
 * Java , Java compiler for JNI.
   Enables JRuby support in Facter.

-- The following REQUIRED packages have been found:

 * Boost (required version >= 1.54)
 * YAMLCPP , A YAML emitter and parser written in C++ , <https://code.google.com/p/yaml-cpp/>
   Enables support for outputting facts as YAML.

-- Boost version: 1.57.0
-- Boost version: 1.57.0
-- Boost version: 1.57.0
-- Found the following Boost libraries:
--   log
--   log_setup
--   thread
--   date_time
--   filesystem
--   system
--   chrono
--   regex
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.57.0
-- Found the following Boost libraries:
--   date_time
--   chrono
--   system
-- Boost version: 1.57.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Found PythonInterp: /usr/bin/python (found version "3.4.3") 
CMake Error: File /var/tmp/portage/dev-ruby/facter-3.1.1/work/all/facter-3.1.1/lib/.gemspec.in does not exist.
CMake Error at lib/CMakeLists.txt:17 (configure_file):
  configure_file Problem configuring file


-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Ruby 2.0.0 found.
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=native -mtune=native -O2 -pipe  
C++             -march=native -mtune=native -O2 -pipe   -Wno-maybe-uninitialized
Linker flags:
Executable       -Wl,-O1 -Wl,--as-needed
Module           -Wl,-O1 -Wl,--as-needed
Shared           -Wl,-O1 -Wl,--as-needed

-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build/CMakeFiles/CMakeError.log".
 * ERROR: dev-ruby/facter-3.1.1::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   90:  Called src_configure
 *   environment, line 4835:  Called cmake-utils_src_configure
 *   environment, line  915:  Called _execute_optionally 'src_configure'
 *   environment, line  308:  Called enable_cmake-utils_src_configure
 *   environment, line 1432:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-ruby/facter-3.1.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/facter-3.1.1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =facter-3.1.1
 * The complete build log is located at '/var/tmp/portage/dev-ruby/facter-3.1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/facter-3.1.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build'
 * S: '/var/tmp/portage/dev-ruby/facter-3.1.1/work/all/facter-3.1.1'



Reproducible: Always




Portage 2.2.24 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-4.9.3, glibc-2.22-r1, 4.3.0-cova x86_64)
=================================================================
System uname: Linux-4.3.0-cova-x86_64-Intel-R-_Core-TM-_i5-3427U_CPU_@_1.80GHz-with-gentoo-2.2
KiB Mem:     8091656 total,    441372 free
KiB Swap:    8386556 total,   8327800 free
Timestamp of repository gentoo: Fri, 06 Nov 2015 08:15:01 +0000
sh bash 4.3_p42
ld ld di GNU (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r2::gentoo, 3.4.3::gentoo, 3.5.0-r1::gentoo
dev-util/cmake:           3.3.2-r1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.3::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

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

local
    location: /usr/overlay
    masters: gentoo

hacking-gentoo
    location: /var/lib/layman/hacking-gentoo
    sync-type: laymansync
    sync-uri: rsync://rsync.mad-hacking.net/hacking-gentoo-overlay/
    masters: gentoo hacking-gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /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/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -O2 -pipe "
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified 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://distfiles.gentoo.org"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext 3dnowprefetch X \ a52 aac aalib acl acpi aim alsa amd64 apng ares asf ati audio audiofile avahi bash-completion berkdb bidi bl branding bri bzip2 cairo caps ccdda cdda cdr cjk cli cracklib crypt cups curl cxx dba dbus declarative device-mapper dga divx divx4linux dparanoia dri dts dv dvb dvd dvdr dvdread eap-sim edl egl emboss encode ethereal evdev exif expat faad fam fame fbcon ffmpeg fftw firefox flac force-cgi-redirect fortran ftp gallium garmin gd gdbm gif gimp glamor gles2 gmedia gmp gnutls gphoto2 gpm gps gsm gtk h264 h323 iconv icq icu idn ifp ilbc imagemagick imap innodb ipod iproute2 ipv6 ithreads jabber java javascript joystick jpeg kde kipi kontact kvm lastfm lcms ldap libcaca libnotify libvirtd live lm_sensors lua lvm lxc lzma lzo mad maildir matroska mbox mdnsresponder-compat mhash mime mjpeg mmap mmx mmxext mng modules mozdevelop mozilla mp3 mp4 mpeg msn mtp multilib mysql ncurses network networkmanager new-hpcups nfsv4 njb nls nptl nptlonly nsplugin offensive ofx ogg oggvorbis ogm openal openexr opengl openmp oscar pam pango parted pcap pcre pdf phonon php plasma plotutils png policykit ppds pulseaudio qemu qml qt3support qt4 qt5 readline real rtc ruby samba sasl sdl seccomp semantic-desktop semantic-destkop session sha512 sip slang slp smartcard sndfile snmp sox speex spell srt sse sse2 ssh ssl ssse3 startup-notification svg symlink systemd tcltk tcpd telepathy theora threads tiff tk tremor truetype udev udisks unicode upower usb utempter v4l v4l2 vaapi vcd vde vhosts video videos vim-syntax virt-network virtualbox vorbis wav webkit widgets wifi wimax wmf wmp wps wxwidgets wxwindows x264 xanim xattr xcb xcomposite xface xft xine xinerama xml xosd xpm xscreensaver xsl xulrunner xv xvid zeroconf zlib zpm" ABI_X86="64 32" 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="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="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" DRACUT_MODULES="btrfs crypt crypt-gpg crypt-loop lvm plymouth systemd" 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" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="intel 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"
USE_PYTHON="2.7 3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Fabio Coatti 2015-11-06 13:25:04 UTC
/var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build/CMakeFiles/CMakeError.log:

Determining if the pthread_create exist failed with the following output:
Change Dir: /var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_98f9c/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_98f9c.dir/build.make CMakeFiles/cmTC_98f9c.dir/build
gmake[1]: Entering directory '/var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_98f9c.dir/CheckSymbolExists.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc     -DNDEBUG -march=native -mtune=native -O2 -pipe      -o CMakeFiles/cmTC_98f9c.dir/CheckSymbolExists.c.o -c /var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_98f9c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_98f9c.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc  -march=native -mtune=native -O2 -pipe      -Wl,-O1 -Wl,--as-needed  CMakeFiles/cmTC_98f9c.dir/CheckSymbolExists.c.o  -o cmTC_98f9c -rdynamic 
CMakeFiles/cmTC_98f9c.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text.startup+0x6): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_98f9c.dir/build.make:97: recipe for target 'cmTC_98f9c' failed
gmake[1]: *** [cmTC_98f9c] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_98f9c/fast' failed
gmake: *** [cmTC_98f9c/fast] Error 2

File /var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_98f0b/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_98f0b.dir/build.make CMakeFiles/cmTC_98f0b.dir/build
gmake[1]: Entering directory '/var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_98f0b.dir/CheckFunctionExists.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc     -DNDEBUG -march=native -mtune=native -O2 -pipe   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_98f0b.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_98f0b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_98f0b.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc  -march=native -mtune=native -O2 -pipe   -DCHECK_FUNCTION_EXISTS=pthread_create   -Wl,-O1 -Wl,--as-needed  CMakeFiles/cmTC_98f0b.dir/CheckFunctionExists.c.o  -o cmTC_98f0b -rdynamic -lpthreads 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_98f0b.dir/build.make:97: recipe for target 'cmTC_98f0b' failed
gmake[1]: *** [cmTC_98f0b] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/dev-ruby/facter-3.1.1/work/facter-3.1.1_build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_98f0b/fast' failed
gmake: *** [cmTC_98f0b/fast] Error 2
Comment 2 Kobboi 2015-11-08 19:02:18 UTC
Same here
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-11-10 05:59:37 UTC
not sure if it's a pthread thing, as it does find that, the problem seems to be the gemspec.  Touching this file gets us further (but not far enough)

/var/tmp/portage/dev-ruby/facter-3.1.1/work/all/facter-3.1.1/lib/.gemspec.in
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-11-10 06:24:02 UTC
well, it looks like no facter-3.x is working for me now...
Comment 5 Mark Szabo 2015-11-11 19:46:14 UTC
It looks like the facter-3.1.1.tar.gz which is downloaded from https://downloads.puppetlabs.com/facter/facter-3.1.1.tar.gz differs from which can be found on GitHub (https://github.com/puppetlabs/facter/archive/3.1.1.tar.gz)

I modified the ebuild and it works for me this way. I attached the patch I used.
Comment 6 Mark Szabo 2015-11-11 19:46:59 UTC
Created attachment 416710 [details, diff]
patch to download facter from github, not from puppetlabs
Comment 7 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-11-11 20:10:46 UTC
looks like it's fixed in 3.1.2 (release scheduled for 11/12/2015)
Comment 8 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-11-17 21:11:34 UTC
fixed in 3.1.2