[MacPorts] #43131: mpd failed build
#43131: mpd failed build -------------------------+-------------------------------- Reporter: starkhalo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: mpd -------------------------+-------------------------------- :info:build In file included from src/util/LazyRandomEngine.cxx:21: :info:build src/util/LazyRandomEngine.hxx:25:10: fatal error: 'random' file not found :info:build #include <random> :info:build ^ :info:build 1 error generated. -- Ticket URL: <https://trac.macports.org/ticket/43131> MacPorts <http://www.macports.org/> Ports system for OS X
#43131: mpd failed build --------------------------+----------------------------- Reporter: starkhalo@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mpd | --------------------------+----------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => rmstonecipher@… Old description:
:info:build In file included from src/util/LazyRandomEngine.cxx:21: :info:build src/util/LazyRandomEngine.hxx:25:10: fatal error: 'random' file not found :info:build #include <random> :info:build ^ :info:build 1 error generated.
New description: {{{ :info:build In file included from src/util/LazyRandomEngine.cxx:21: :info:build src/util/LazyRandomEngine.hxx:25:10: fatal error: 'random' file not found :info:build #include <random> :info:build ^ :info:build 1 error generated. }}} -- Comment: Please remember to use WikiFormatting. mpd builds fine for me on Mavericks but I have not tested on Mountain Lion which I see is what you're running. What did you mean "with mp-gcc49"? I see no evidence in your second log of MacPorts gcc49 being used, nor would I expect there to be, since the mpd port does not offer a gcc49 variant; it's using clang, just as it should. The second log does have completely different errors than the first though. -- Ticket URL: <https://trac.macports.org/ticket/43131#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43131: mpd failed build --------------------------+----------------------------- Reporter: starkhalo@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mpd | --------------------------+----------------------------- Comment (by starkhalo@…): Replying to [comment:1 ryandesign@…]:
Please remember to use WikiFormatting. noted mpd builds fine for me on Mavericks but I have not tested on Mountain Lion which I see is what you're running.
What did you mean "with mp-gcc49"? I see no evidence in your second log of MacPorts gcc49 being used, nor would I expect there to be, since the mpd port does not offer a gcc49 variant; it's using clang, just as it should. just mentioned it because the latest portfile removed the compiler blacklisting PortGroup and I have `port select gcc` set to mp-gcc49 FWIW The second log does have completely different errors than the first though. Yup, and it's much longer
-- Ticket URL: <https://trac.macports.org/ticket/43131#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43131: mpd: fatal error: 'random' file not found --------------------------+----------------------------- Reporter: starkhalo@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mpd | --------------------------+----------------------------- Changes (by ryandesign@…): * cc: rouson@… (added) Comment: Replying to [comment:2 starkhalo@…]:
What did you mean "with mp-gcc49"? I see no evidence in your second log of MacPorts gcc49 being used, nor would I expect there to be, since the mpd port does not offer a gcc49 variant; it's using clang, just as it should. just mentioned it because the latest portfile removed the compiler blacklisting PortGroup and I have `port select gcc` set to mp-gcc49 FWIW
Ok. That shouldn't matter. Ports should ignore your `port select gcc` selection. (Any port that doesn't is faulty needs to have that fixed.) @rouson, your log says: {{{ :info:build The directory that should contain system headers does not exist: :info:build /usr/include }}} This indicates you have not installed the Xcode command line tools, which are required for using MacPorts. Please install them by running `xcode- select --install`. (This is specific to Mavericks and later.) -- Ticket URL: <https://trac.macports.org/ticket/43131#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43131: mpd: fatal error: 'random' file not found --------------------------+----------------------------- Reporter: starkhalo@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mpd | --------------------------+----------------------------- Comment (by starkhalo@…): Replying to [comment:3 ryandesign@…]: Glad to see the ticket active, I have updated my xcode to the latest version on OS X Mountain Lion (5.1.1 build 5B1008) and signed the `sudo xcodebuild -license`. I'm attaching an updated logfile after running `sudo port clean mpd -all`
Replying to [comment:2 starkhalo@…]:
What did you mean "with mp-gcc49"? I see no evidence in your second log of MacPorts gcc49 being used, nor would I expect there to be, since the mpd port does not offer a gcc49 variant; it's using clang, just as it should. just mentioned it because the latest portfile removed the compiler blacklisting PortGroup and I have `port select gcc` set to mp-gcc49 FWIW
Ok. That shouldn't matter. Ports should ignore your `port select gcc` selection. (Any port that doesn't is faulty needs to have that fixed.)
@rouson, your log says:
{{{ :info:build The directory that should contain system headers does not exist: :info:build /usr/include }}}
This indicates you have not installed the Xcode command line tools, which are required for using MacPorts. Please install them by running `xcode-select --install`. (This is specific to Mavericks and later.)
-- Ticket URL: <https://trac.macports.org/ticket/43131#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts