[MacPorts] #47412: uhd 3.8.2 build failed
#47412: uhd 3.8.2 build failed -------------------------------------+-------------------------------- Reporter: vmagditch@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: unistd.h file not found | Port: uhd -------------------------------------+-------------------------------- Error: org.macports.build for port uhd returned: command execution failed :info:build /opt/local/include/boost/config/posix_features.hpp:18:15: fatal error: 'unistd.h' file not found -- Ticket URL: <https://trac.macports.org/ticket/47412> MacPorts <https://www.macports.org/> Ports system for OS X
#47412: uhd @3.8.2: fatal error: 'unistd.h' file not found --------------------------+------------------------- Reporter: vmagditch@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: uhd | --------------------------+------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => michaelld@… * keywords: unistd.h file not found => Old description:
Error: org.macports.build for port uhd returned: command execution failed
:info:build /opt/local/include/boost/config/posix_features.hpp:18:15: fatal error: 'unistd.h' file not found
New description: {{{ Error: org.macports.build for port uhd returned: command execution failed }}} {{{ :info:build /opt/local/include/boost/config/posix_features.hpp:18:15: fatal error: 'unistd.h' file not found }}} -- Comment: This was not a clean build attempt. Please [https://guide.macports.org/chunked/project.html#project.tickets clean and try again]. The error comes from a boost header, but unistd.h is a standard system header and it should be in /usr/include. If it isn't, perhaps you haven't installed Xcode and the Xcode command line tools. Both are required for MacPorts. -- Ticket URL: <https://trac.macports.org/ticket/47412#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47412: uhd @3.8.2: fatal error: 'unistd.h' file not found --------------------------+------------------------- Reporter: vmagditch@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: uhd | --------------------------+------------------------- Comment (by michaelld@…): I'll 2nd Ryan's post: 1) I'm guessing you updated to the new Xcode, but didn't get the CLI tools. You can do this via: {{{ xcode-select --install }}} 2) In the future, we appreciate full logs starting from "clean", e.g.: {{{ sudo port clean uhd sudo port install uhd }}} and, then if the build errors out you'll have a clean log to post. -- Ticket URL: <https://trac.macports.org/ticket/47412#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47412: uhd @3.8.2: fatal error: 'unistd.h' file not found --------------------------+------------------------- Reporter: vmagditch@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: uhd | --------------------------+------------------------- Comment (by vmagditch@…): Replying to [comment:1 ryandesign@…]:
This was not a clean build attempt. Please [https://guide.macports.org/chunked/project.html#project.tickets clean and try again].
The error comes from a boost header, but unistd.h is a standard system header and it should be in /usr/include. If it isn't, perhaps you haven't installed Xcode and the Xcode command line tools. Both are required for MacPorts.
You right, I've missed Xcode command line tools Thank you -- Ticket URL: <https://trac.macports.org/ticket/47412#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47412: uhd @3.8.2: fatal error: 'unistd.h' file not found --------------------------+------------------------- Reporter: vmagditch@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: uhd | --------------------------+------------------------- Comment (by vmagditch@…): Replying to [comment:2 michaelld@…]:
I'll 2nd Ryan's post:
1) I'm guessing you updated to the new Xcode, but didn't get the CLI tools. You can do this via: {{{ xcode-select --install }}}
2) In the future, we appreciate full logs starting from "clean", e.g.: {{{ sudo port clean uhd sudo port install uhd }}} and, then if the build errors out you'll have a clean log to post.
:-) Short and sweet :-) Many thinks, I've got it -- Ticket URL: <https://trac.macports.org/ticket/47412#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47412: uhd @3.8.2: fatal error: 'unistd.h' file not found --------------------------+------------------------- Reporter: vmagditch@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: uhd | --------------------------+------------------------- Comment (by vmagditch@…): Not a defect -- Ticket URL: <https://trac.macports.org/ticket/47412#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#47412: uhd @3.8.2: fatal error: 'unistd.h' file not found --------------------------+------------------------- Reporter: vmagditch@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: invalid | Keywords: Port: uhd | --------------------------+------------------------- Changes (by larryv@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/47412#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts