[MacPorts] #36241: cmake fails to build
#36241: cmake fails to build ------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: cmake ------------------------+-------------------------------- cmake fails to build, even after cleaning and trying to install again. Log is attached. -- Ticket URL: <https://trac.macports.org/ticket/36241> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36241: cmake fails to build in presence of elf.h -------------------------+------------------- Reporter: macports@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cmake | -------------------------+------------------- Changes (by cal@…): * owner: macports-tickets@… => css@… Comment: Please remember to Cc (or assign to) the maintainer, if any. It seems the build fails, because you have `/usr/include/elf.h` on your system, but that file doesn't contain what CMake expects it to contain. Since Apple systems do not use ELF as binary format, building ELF support into CMake is probably wrong. On my system, the relevant test fails (because `/usr/include/elf.h` doesn't exist): {{{ :) clemens@cSchlepptop:/opt/dports/devel/cmake$ port log | grep elf.h -- Looking for elf.h -- Looking for elf.h - not found }}} So, who- or whatever put this file in `/usr/include` should not have done so. `/usr/include` is Apple land and should not be modified by anybody but Apple. Move the file aside or delete it, clean and retry. -- Ticket URL: <https://trac.macports.org/ticket/36241#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36241: cmake fails to build in presence of elf.h -------------------------+-------------------- Reporter: macports@… | Owner: css@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: cmake | -------------------------+-------------------- Changes (by cal@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/36241#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36241: cmake fails to build in presence of elf.h -------------------------+-------------------- Reporter: macports@… | Owner: css@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: cmake | -------------------------+-------------------- Changes (by cal@…): * cc: cal@… (added) -- Ticket URL: <https://trac.macports.org/ticket/36241#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts