Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565676 - dev-util/cmake-3.3.2-r1 fails to emerge
Summary: dev-util/cmake-3.3.2-r1 fails to emerge
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-13 13:33 UTC by Jeffrey Ratcliffe
Modified: 2017-11-06 08:07 UTC (History)
0 users

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


Attachments
build.log (build.log,47.58 KB, text/x-log)
2015-11-13 13:33 UTC, Jeffrey Ratcliffe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Ratcliffe 2015-11-13 13:33:29 UTC
Created attachment 416840 [details]
build.log

dev-util/cmake-3.3.1-r1
dev-util/cmake-3.2.2

both have the same problem.

$ emerge --info '=dev-util/cmake-3.3.2-r1::gentoo_prefix'
Portage 2.2.10.1-prefix (python 2.7.8-final-0, prefix/linux/amd64, gcc-4.7.3, unavailable, 2.6.18-238.9.1.el5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.18-238.9.1.el5-x86_64-Intel-R-_Xeon-R-_CPU_E5-1620_0_@_3.60GHz-with-redhat-5.6-Tikanga
KiB Mem:    16352048 total,   4664460 free
KiB Swap:   17825784 total,  17825592 free
Timestamp of tree: Tue, 10 Nov 2015 08:41:03 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p48-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1
dev-lang/python:          2.7.8, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/sandbox:         2.6-r1::local-repo
sys-devel/autoconf:       2.69
sys-devel/automake:       1.14
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.2.4-r01.5, 4.7.3-r1, 4.8.4
sys-devel/gcc-config:     1.8-r00.1
sys-devel/libtool:        2.4.6-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
Repositories: gentoo_prefix local-repo
ACCEPT_KEYWORDS="~amd64-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -O2 -pipe"
DISTDIR="/home/jeff/prefix/gentoo/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/home/jeff/prefix/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/jeff/prefix/gentoo/"
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="/scratch"
PORTDIR="/home/jeff/prefix/gentoo/usr/portage"
PORTDIR_OVERLAY="/home/jeff/prefix/gentoo/usr/local/portage"
USE="X amd64 bash-completion berkdb bzip2 cairo cleartype cli corefonts cracklib crypt cxx djvu dri emacs fontconfig fortran gdbm gif gtk iconv ipv6 jpeg mmx mmxext modules ncurses nls nptl openmp pcre png prefix prefix-guest readline seccomp session sse sse2 ssl svg tcpd tiff truetype type1 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" CPU_FLAGS_X86="mmx mmxext sse sse2" 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

build log attached

$ emerge -pqv '=dev-util/cmake-3.3.2-r1::gentoo_prefix'
[ebuild     U ] dev-util/cmake-3.3.2-r1 [2.8.12.2-r1] USE="emacs ncurses -doc% -qt4 -qt5 -system-jsoncpp% {-test}"
Comment 1 Benda Xu gentoo-dev 2015-12-21 04:36:08 UTC
I had a similar problem on RHEL with cmake-3.3.

The cause was tracked to be mismatching kernel ABI (2.6.18) and kernel headers (3.16 in your case).

Could you please test the cmake build with linux-headers-2.6.19.2-r2.ebuild at

  https://gitweb.gentoo.org/dev/heroxbd.git/tree/sys-kernel/linux-headers ?
Comment 2 Jeffrey Ratcliffe 2016-01-07 15:17:47 UTC
Thanks for the help. I tried your

linux-headers-2.6.19.2-r2.ebuild

It depends on unifdef, which failed to emerge due to it ignoring the prefix. I fixed that by patching DESTDIR to ED, but on reflection, I imagine bumping EAPI from 4->5 probably would also have done it.

Nevertheless, linux-headers-2.6.19.2-r2.ebuild also fails to emerge:

>>> Install linux-headers-2.6.19.2-r2 into /scratch/portage/sys-kernel/linux-headers-2.6.19.2-r2/image/ category sys-kernel
make -j5 headers_install INSTALL_HDR_PATH=/scratch/portage/sys-kernel/linux-headers-2.6.19.2-r2/image///home/jeff/gentoo/usr/include/.. ARCH=x86_64 CROSS_COMPILE=x86_64-pc-linux-gnu-
Makefile:1442: *** mixed implicit and normal rules.  Stop.

The CROSS_COMPILE variable looked wrong, so I overrode it by defining install_headers() without it in linux-headers-2.6.19.2-r2.ebuild, but it still failed to emerge in the same way.

Any ideas?
Comment 3 Fabian Groffen gentoo-dev 2016-01-19 20:34:50 UTC
I noticed the other day our toolchain on ELF-platforms is foobar-ed, it may be related to this one.
Comment 4 Rolf Eike Beer archtester 2017-11-04 20:23:41 UTC
That version is long gone from portage tree, is this still an issue with recent versions?
Comment 5 Jeffrey Ratcliffe 2017-11-06 08:07:02 UTC
Whatever the reason, 3.9.3 emerged for me.