Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560758 - dev-ruby/facter-3.1.0 - CMake Error at lib/CMakeLists.txt:346 (endif): endif An ENDIF command was found outside of a proper IF ENDIF structure.
Summary: dev-ruby/facter-3.1.0 - CMake Error at lib/CMakeLists.txt:346 (endif): endif ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-18 10:15 UTC by Kobboi
Modified: 2015-09-23 02:42 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2015-09-18 10:15:49 UTC
* Package:    dev-ruby/facter-3.1.0
 * Repository: gentoo
 * Maintainer: prometheanfire@gentoo.org sysadmin@gentoo.org,ruby@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby19 ruby_targets_ruby20 userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking facter-3.1.0.tar.gz to /var/tmp/portage/dev-ruby/facter-3.1.0/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/facter-3.1.0/work
>>> Preparing source in /var/tmp/portage/dev-ruby/facter-3.1.0/work/all/facter-3.1.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/facter-3.1.0/work/all/facter-3.1.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-ruby/facter-3.1.0/work/facter-3.1.0_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/dev-ruby/facter-3.1.0/work/facter-3.1.0_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.0/work/facter-3.1.0_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-ruby/facter-3.1.0/work/facter-3.1.0_build/gentoo_toolchain.cmake  /var/tmp/portage/dev-ruby/facter-3.1.0/work/all/facter-3.1.0
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/dev-ruby/facter-3.1.0/work/facter-3.1.0_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/ruby19 (found suitable version "1.9.1", 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.44.0") 
-- Could NOT find JNI (missing:  JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) 
-- 
-- 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.

-- 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.

-- The following OPTIONAL packages have not been found:

 * 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.

-- 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 "2.7.10") 
-- 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 1.9.1 found.
CMake Error at lib/CMakeLists.txt:346 (endif):
  endif An ENDIF command was found outside of a proper IF ENDIF structure.
  Or its arguments did not match the opening IF command.


-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -O2 -march=native -pipe -fomit-frame-pointer 
C++             -O2 -march=native -pipe -fomit-frame-pointer  -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.0/work/facter-3.1.0_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/dev-ruby/facter-3.1.0/work/facter-3.1.0_build/CMakeFiles/CMakeError.log".
 * ERROR: dev-ruby/facter-3.1.0::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 4755:  Called cmake-utils_src_configure
 *   environment, line  903:  Called _execute_optionally 'src_configure'
 *   environment, line  299:  Called enable_cmake-utils_src_configure
 *   environment, line 1390:  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.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/facter-3.1.0::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =facter-3.1.0
 * The complete build log is located at '/var/tmp/portage/dev-ruby/facter-3.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/facter-3.1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/facter-3.1.0/work/facter-3.1.0_build'
 * S: '/var/tmp/portage/dev-ruby/facter-3.1.0/work/all/facter-3.1.0'


Reproducible: Always
Comment 1 Kobboi 2015-09-18 10:16:40 UTC
$ eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-bin-6 
  [2]   icedtea-bin-7  system-vm user-vm
  [3]   oracle-jdk-bin-1.8
Comment 2 Kobboi 2015-09-18 10:17:05 UTC
$ eix -e ruby
[I] dev-lang/ruby
     Available versions:  
     (1.9)  1.9.3_p551-r1{tbz2}
     (2.0)  2.0.0_p645 (~)2.0.0_p647{tbz2} (~)2.0.0_p647-r1{tbz2}
     (2.1)  [m]2.1.6-r1 [m](~)2.1.7
     (2.2)  [m](~)2.2.2-r1 [m](~)2.2.3
Comment 3 Kobboi 2015-09-18 10:17:28 UTC
     Installed versions:  1.9.3_p551-r1(1.9){tbz2}(08:21:15 AM 09/01/2015)(berkdb examples gdbm ipv6 ncurses rdoc readline ssl yaml -debug -doc -rubytests -socks5 -xemacs) 2.0.0_p647-r1(2.0){tbz2}(01:21:30 AM 09/14/2015)(berkdb examples gdbm ipv6 ncurses rdoc readline ssl -debug -doc -rubytests -socks5 -xemacs CPU_FLAGS_X86="sse2")
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-09-23 02:42:17 UTC
Fixed in place, build error.