Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600936 - dev-util/cmake-3.7.0 with app-arch/rpm-4.11.0.1 fails test 386 - RunCMake.CPack_RPM: debugedit binary could not be found!
Summary: dev-util/cmake-3.7.0 with app-arch/rpm-4.11.0.1 fails test 386 - RunCMake.CPa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-26 20:11 UTC by eroen
Modified: 2017-06-24 14:21 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,172.35 KB, application/x-xz)
2016-11-26 20:11 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2016-11-26 20:11:04 UTC
Created attachment 454466 [details]
build.log.xz

test 386
        Start 386: RunCMake.CPack_RPM

386: Test command: /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0_build/bin/cmake "-DTEST_TYPE=RPM" "-DCMAKE_MODULE_PATH=/var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake" "-DRunCMake_GENERATOR=Unix Makefiles" "-DRunCMake_GENERATOR_PLATFORM=" "-DRunCMake_GENERATOR_TOOLSET=" "-DRunCMake_MAKE_PROGRAM=/usr/bin/gmake" "-DRunCMake_SOURCE_DIR=/var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/CPack" "-DRunCMake_BINARY_DIR=/var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0_build/Tests/RunCMake/RPM/CPack" "-Dconfig_file=/var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0_build/Tests/RunCMake/CPack/conf/RPM_config.cmake" "-P" "/var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/CPack/RunCMakeTest.cmake"
386: Test timeout computed to be: 1500
386: -- MINIMAL - PASSED
386: -- RPM/MINIMAL - PASSED
386: -- SOURCE_PACKAGE - PASSED
386: -- SOURCE_PACKAGE-Build - PASSED
386: -- RPM/SOURCE_PACKAGE - PASSED
386: -- PARTIALLY_RELOCATABLE_WARNING - PASSED
386: -- RPM/PARTIALLY_RELOCATABLE_WARNING - PASSED
386: -- DEPENDENCIES - PASSED
386: -- DEPENDENCIES-Build - PASSED
386: -- RPM/DEPENDENCIES - PASSED
386: -- EMPTY_DIR - PASSED
386: -- EMPTY_DIR-Build - PASSED
386: -- RPM/EMPTY_DIR - PASSED
386: -- COMPONENTS_EMPTY_DIR - PASSED
386: -- COMPONENTS_EMPTY_DIR-Build - PASSED
386: -- RPM/COMPONENTS_EMPTY_DIR - PASSED
386: -- CUSTOM_NAMES - PASSED
386: -- CUSTOM_NAMES-Build - PASSED
386: -- RPM/CUSTOM_NAMES - PASSED
386: -- PER_COMPONENT_FIELDS - PASSED
386: -- RPM/PER_COMPONENT_FIELDS - PASSED
386: -- RPM_DIST - PASSED
386: -- RPM/RPM_DIST - PASSED
386: -- INSTALL_SCRIPTS - PASSED
386: -- RPM/INSTALL_SCRIPTS - PASSED
386: -- DEBUGINFO - PASSED
386: -- DEBUGINFO-Build - PASSED
386: CMake Error at /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/RunCMake.cmake:130 (message):
386:   RPM/DEBUGINFO - FAILED:
386: 
386:   Result is [1], not [0].
386: 
386:   stderr does not match that expected.
386: 
386:   Command was:
386: 
386:    command> "/var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0_build/bin/cmake" "-DRunCMake_TEST=DEBUGINFO" "-DRunCMake_TEST_FILE_PREFIX=DEBUGINFO" "-DRunCMake_SUBTEST_SUFFIX=" "-DGENERATOR_TYPE=RPM" "-Dsrc_dir=/var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/CPack" "-Dbin_dir=/var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0_build/Tests/RunCMake/RPM/CPack/DEBUGINFO-build" "-Dconfig_file=/var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0_build/Tests/RunCMake/CPack/conf/RPM_config.cmake" "-P" "/var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/CPack/VerifyResult.cmake"
386: 
386:   Actual stdout:
386: 
386:    actual-out> 
386: 
386:   Expected stderr to match:
386: 
386:    expect-err> ^CPackRPM: Will use GENERATED spec file: .*/Tests/RunCMake/RPM/CPack/DEBUGINFO-build/_CPack_Packages/.*/RPM/SPECS/debuginfo-applications.spec
386:    expect-err> CPackRPM: Will use GENERATED spec file: .*/Tests/RunCMake/RPM/CPack/DEBUGINFO-build/_CPack_Packages/.*/RPM/SPECS/debuginfo-headers.spec
386:    expect-err> CPackRPM: Will use GENERATED spec file: .*/Tests/RunCMake/RPM/CPack/DEBUGINFO-build/_CPack_Packages/.*/RPM/SPECS/debuginfo-libs.spec$
386: 
386:   Actual stderr:
386: 
386:    actual-err> CMake Error at /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/CPack/VerifyResult.cmake:37 (message):
386:    actual-err>   Found more than one file for file No.  '1'! Found files count '0'.  Files:
386:    actual-err>   ''
386:    actual-err> 
386:    actual-err>   CPack output: 'CPack: Create package using RPM
386:    actual-err> 
386:    actual-err>   CPack: Install projects
386:    actual-err> 
386:    actual-err>   CPack: - Run preinstall target for: DEBUGINFO
386:    actual-err> 
386:    actual-err>   CPack: - Install project: DEBUGINFO
386:    actual-err> 
386:    actual-err>   CPack: - Install component: applications
386:    actual-err> 
386:    actual-err>   CPack: - Install component: headers
386:    actual-err> 
386:    actual-err>   CPack: - Install component: libs
386:    actual-err> 
386:    actual-err>   CPack: Create package
386:    actual-err> 
386:    actual-err>   '
386:    actual-err> 
386:    actual-err>   CPack error: 'CMake Error at
386:    actual-err>   /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Modules/CPackRPM.cmake:1413
386:    actual-err>   (message):
386:    actual-err> 
386:    actual-err>     CPackRPM: debugedit binary could not be found! Required for debuginfo
386:    actual-err>     packaging.  See documentation of CPACK_RPM_DEBUGINFO_PACKAGE variable for
386:    actual-err>     details.
386:    actual-err> 
386:    actual-err>   Call Stack (most recent call first):
386:    actual-err> 
386:    actual-err>     /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Modules/CPackRPM.cmake:2070 (cpack_rpm_debugsymbol_check)
386:    actual-err>     /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Modules/CPackRPM.cmake:2442 (cpack_rpm_generate_package)
386:    actual-err> 
386:    actual-err>   
386:    actual-err> 
386:    actual-err>   
386:    actual-err> 
386:    actual-err>   CPack Error: Error while execution CPackRPM.cmake
386:    actual-err> 
386:    actual-err>   CPack Error: Error while execution CPackRPM.cmake
386:    actual-err> 
386:    actual-err>   CPack Error: Error while execution CPackRPM.cmake
386:    actual-err> 
386:    actual-err>   CPack Error: Problem compressing the directory
386:    actual-err> 
386:    actual-err>   CPack Error: Error when generating package: debuginfo
386:    actual-err> 
386:    actual-err>   ';
386:    actual-err> 
386:    actual-err>   CPack result: '';
386:    actual-err> 
386:    actual-err>   config file: 'set(RPM_EXECUTABLE "/usr/bin/rpm")
386:    actual-err> 
386:    actual-err>   set(RPMBUILD_EXECUTABLE "/usr/bin/rpmbuild")'
386: 
386: Call Stack (most recent call first):
386:   /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/RunCMake.cmake:144 (run_cmake)
386:   /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/CPack/CPackTestHelpers.cmake:69 (run_cmake_command)
386:   /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/CPack/CPackTestHelpers.cmake:85 (run_cpack_test_common_)
386:   /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/CPack/RunCMakeTest.cmake:20 (run_cpack_test)
386: 
386: 
386/420 Test #386: RunCMake.CPack_RPM ...............................***Failed   12.93 sec
-- MINIMAL - PASSED
-- RPM/MINIMAL - PASSED
-- SOURCE_PACKAGE - PASSED
-- SOURCE_PACKAGE-Build - PASSED
-- RPM/SOURCE_PACKAGE - PASSED
-- PARTIALLY_RELOCATABLE_WARNING - PASSED
-- RPM/PARTIALLY_RELOCATABLE_WARNING - PASSED
-- DEPENDENCIES - PASSED
-- DEPENDENCIES-Build - PASSED
-- RPM/DEPENDENCIES - PASSED
-- EMPTY_DIR - PASSED
-- EMPTY_DIR-Build - PASSED
-- RPM/EMPTY_DIR - PASSED
-- COMPONENTS_EMPTY_DIR - PASSED
-- COMPONENTS_EMPTY_DIR-Build - PASSED
-- RPM/COMPONENTS_EMPTY_DIR - PASSED
-- CUSTOM_NAMES - PASSED
-- CUSTOM_NAMES-Build - PASSED
-- RPM/CUSTOM_NAMES - PASSED
-- PER_COMPONENT_FIELDS - PASSED
-- RPM/PER_COMPONENT_FIELDS - PASSED
-- RPM_DIST - PASSED
-- RPM/RPM_DIST - PASSED
-- INSTALL_SCRIPTS - PASSED
-- RPM/INSTALL_SCRIPTS - PASSED
-- DEBUGINFO - PASSED
-- DEBUGINFO-Build - PASSED
CMake Error at /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/RunCMake.cmake:130 (message):
  RPM/DEBUGINFO - FAILED:

  Result is [1], not [0].

  stderr does not match that expected.

  Command was:

   command> "/var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0_build/bin/cmake" "-DRunCMake_TEST=DEBUGINFO" "-DRunCMake_TEST_FILE_PREFIX=DEBUGINFO" "-DRunCMake_SUBTEST_SUFFIX=" "-DGENERATOR_TYPE=RPM" "-Dsrc_dir=/var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/CPack" "-Dbin_dir=/var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0_build/Tests/RunCMake/RPM/CPack/DEBUGINFO-build" "-Dconfig_file=/var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0_build/Tests/RunCMake/CPack/conf/RPM_config.cmake" "-P" "/var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/CPack/VerifyResult.cmake"

  Actual stdout:

   actual-out> 

  Expected stderr to match:

   expect-err> ^CPackRPM: Will use GENERATED spec file: .*/Tests/RunCMake/RPM/CPack/DEBUGINFO-build/_CPack_Packages/.*/RPM/SPECS/debuginfo-applications.spec
   expect-err> CPackRPM: Will use GENERATED spec file: .*/Tests/RunCMake/RPM/CPack/DEBUGINFO-build/_CPack_Packages/.*/RPM/SPECS/debuginfo-headers.spec
   expect-err> CPackRPM: Will use GENERATED spec file: .*/Tests/RunCMake/RPM/CPack/DEBUGINFO-build/_CPack_Packages/.*/RPM/SPECS/debuginfo-libs.spec$

  Actual stderr:

   actual-err> CMake Error at /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/CPack/VerifyResult.cmake:37 (message):
   actual-err>   Found more than one file for file No.  '1'! Found files count '0'.  Files:
   actual-err>   ''
   actual-err> 
   actual-err>   CPack output: 'CPack: Create package using RPM
   actual-err> 
   actual-err>   CPack: Install projects
   actual-err> 
   actual-err>   CPack: - Run preinstall target for: DEBUGINFO
   actual-err> 
   actual-err>   CPack: - Install project: DEBUGINFO
   actual-err> 
   actual-err>   CPack: - Install component: applications
   actual-err> 
   actual-err>   CPack: - Install component: headers
   actual-err> 
   actual-err>   CPack: - Install component: libs
   actual-err> 
   actual-err>   CPack: Create package
   actual-err> 
   actual-err>   '
   actual-err> 
   actual-err>   CPack error: 'CMake Error at
   actual-err>   /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Modules/CPackRPM.cmake:1413
   actual-err>   (message):
   actual-err> 
   actual-err>     CPackRPM: debugedit binary could not be found! Required for debuginfo
   actual-err>     packaging.  See documentation of CPACK_RPM_DEBUGINFO_PACKAGE variable for
   actual-err>     details.
   actual-err> 
   actual-err>   Call Stack (most recent call first):
   actual-err> 
   actual-err>     /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Modules/CPackRPM.cmake:2070 (cpack_rpm_debugsymbol_check)
   actual-err>     /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Modules/CPackRPM.cmake:2442 (cpack_rpm_generate_package)
   actual-err> 
   actual-err>   
   actual-err> 
   actual-err>   
   actual-err> 
   actual-err>   CPack Error: Error while execution CPackRPM.cmake
   actual-err> 
   actual-err>   CPack Error: Error while execution CPackRPM.cmake
   actual-err> 
   actual-err>   CPack Error: Error while execution CPackRPM.cmake
   actual-err> 
   actual-err>   CPack Error: Problem compressing the directory
   actual-err> 
   actual-err>   CPack Error: Error when generating package: debuginfo
   actual-err> 
   actual-err>   ';
   actual-err> 
   actual-err>   CPack result: '';
   actual-err> 
   actual-err>   config file: 'set(RPM_EXECUTABLE "/usr/bin/rpm")
   actual-err> 
   actual-err>   set(RPMBUILD_EXECUTABLE "/usr/bin/rpmbuild")'

Call Stack (most recent call first):
  /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/RunCMake.cmake:144 (run_cmake)
  /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/CPack/CPackTestHelpers.cmake:69 (run_cmake_command)
  /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/CPack/CPackTestHelpers.cmake:85 (run_cpack_test_common_)
  /var/tmp/portage/dev-util/cmake-3.7.0/work/cmake-3.7.0/Tests/RunCMake/CPack/RunCMakeTest.cmake:20 (run_cpack_test)

(...)

99% tests passed, 1 tests failed out of 420

Label Time Summary:
Label1    =   0.21 sec (1 test)
Label2    =   0.21 sec (1 test)

Total Test time (real) = 909.70 sec

The following tests FAILED:
	386 - RunCMake.CPack_RPM (Failed)
Errors while running CTest
 * ERROR: dev-util/cmake-3.7.0::gentoo failed (test phase):
 *   Tests failed
 * 
 * Call stack:
 *               ebuild.sh, line  115:  Called src_test
 *             environment, line 3307:  Called virtx 'cmake_src_test'
 *             environment, line 4250:  Called nonfatal 'cmake_src_test'
 *   isolated-functions.sh, line  105:  Called cmake_src_test
 *             environment, line  966:  Called die
 * The specific snippet of code:
 *       "${BUILD_DIR}"/bin/ctest ${ctestargs} -E "(BootstrapTest|BundleUtilities|CTest.UpdateCVS|Fortran|Qt4Deploy|TestUpload)" || die "Tests failed";
Comment 1 eroen 2016-11-26 20:11:48 UTC
localhost ~ # emerge --info '=dev-util/cmake-3.7.0::gentoo'
Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.22-r4, 4.4.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     4043380 total,   2751724 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 26 Nov 2016 00:45:01 +0000
sh bash 4.3_p48
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       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.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
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/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-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"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS=""
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 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx mmxext modules multilib ncurses nls nptl openmp pam pcre readline seccomp session sse sse2 ssl tcpd unicode xattr zlib" ABI_X86="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" 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" 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="keyboard mouse evdev" 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="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-util/cmake-3.7.0::gentoo was built with the following:
USE="ncurses test -doc -emacs -qt5 -system-jsoncpp" ABI_X86="64"

localhost ~ # emerge -pqv '=dev-util/cmake-3.7.0::gentoo'
[ebuild   R   ] dev-util/cmake-3.7.0  USE="ncurses {test} -doc -emacs -qt5 -system-jsoncpp" 

 * IMPORTANT: 12 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-06-24 14:01:02 UTC
  # With debugedit we prepare source files list
  find_program(DEBUGEDIT_EXECUTABLE debugedit "/usr/lib/rpm/")
  if(NOT DEBUGEDIT_EXECUTABLE)
    message(FATAL_ERROR "CPackRPM: debugedit binary could not be found!"
      " Required for debuginfo packaging. See documentation of"
      " CPACK_RPM_DEBUGINFO_PACKAGE variable for details.")
  endif()

and we install it to /usr/libexec/rpm/debugedit
Comment 3 Michael Palimaka (kensington) gentoo-dev 2017-06-24 14:21:45 UTC
Thanks, restricted in git.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8461fe9a7c531c3cf46c9a7d500e51ad759fd01