[MacPorts] #36313: Missing installed header file
#36313: Missing installed header file -----------------------+-------------------------------- Reporter: smirolo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: elftoolchain -----------------------+-------------------------------- When you include /opt/local/include/elftoolchain/libdwarf.h header, the compiler tries to include transitively elfdefinitions.h which is missing. I used the following workaround for now: $ port fetch elftoolchain $ tar jxvf /opt/local/var/macports/distfiles/elftoolchain/elftoolchain-0.5.1.tar.bz2 $ find elftoolchain-0.5.1 -name 'elfdefinitions.h' $ sudo install elftoolchain-0.5.1/common/elfdefinitions.h /opt/local/include/elftoolchain -- Ticket URL: <https://trac.macports.org/ticket/36313> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36313: Missing installed header file ---------------------------+---------------------- Reporter: smirolo@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: elftoolchain | ---------------------------+---------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => raimue@… Old description:
When you include /opt/local/include/elftoolchain/libdwarf.h header, the compiler tries to include transitively elfdefinitions.h which is missing.
I used the following workaround for now: $ port fetch elftoolchain $ tar jxvf /opt/local/var/macports/distfiles/elftoolchain/elftoolchain-0.5.1.tar.bz2 $ find elftoolchain-0.5.1 -name 'elfdefinitions.h' $ sudo install elftoolchain-0.5.1/common/elfdefinitions.h /opt/local/include/elftoolchain
New description: When you include /opt/local/include/elftoolchain/libdwarf.h header, the compiler tries to include transitively elfdefinitions.h which is missing. I used the following workaround for now: {{{ $ port fetch elftoolchain $ tar jxvf /opt/local/var/macports/distfiles/elftoolchain/elftoolchain-0.5.1.tar.bz2 $ find elftoolchain-0.5.1 -name 'elfdefinitions.h' $ sudo install elftoolchain-0.5.1/common/elfdefinitions.h /opt/local/include/elftoolchain }}} -- Comment: In the future, please use WikiFormatting and Cc the port maintainer(s). -- Ticket URL: <https://trac.macports.org/ticket/36313#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36313: Missing installed header file ---------------------------+---------------------- Reporter: smirolo@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: elftoolchain | ---------------------------+---------------------- Changes (by raimue@…): * status: new => closed * resolution: => fixed Comment: Thanks for the report! I committed an update to elftoolchain @0.6.1 in r98117. The updated patches fix the problem with the missing header file. -- Ticket URL: <https://trac.macports.org/ticket/36313#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts