| Summary: | dev-util/cmake-3.3.2-r1 fails to emerge | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Jeffrey Ratcliffe <Jeffrey.Ratcliffe> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Jeffrey Ratcliffe
2015-11-13 13:33:29 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 ? 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?
I noticed the other day our toolchain on ELF-platforms is foobar-ed, it may be related to this one. That version is long gone from portage tree, is this still an issue with recent versions? Whatever the reason, 3.9.3 emerged for me. |