Opened 11 years ago
Closed 8 years ago
#43131 closed defect (duplicate)
mpd: fatal error: 'random' file not found
Reported by: | harciga | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | rouson@… | |
Port: | mpd |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
: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.
Attachments (4)
Change History (10)
Changed 11 years ago by harciga
Changed 11 years ago by harciga
Attachment: | main.2.log added |
---|
another logfile, after a port clean mpd with mp-gcc49
comment:1 follow-up: 2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to rmstonecipher@… |
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.
comment:2 follow-up: 3 Changed 11 years ago by harciga
Replying to 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
Changed 11 years ago by rouson@…
Log file from an attempt to install on Mavericks.
comment:3 follow-up: 4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | rouson@… added |
---|---|
Summary: | mpd failed build → mpd: fatal error: 'random' file not found |
Replying to 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.)
comment:4 follow-up: 6 Changed 11 years ago by harciga
Replying to 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 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 FWIWOk. 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/includeThis 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.)
comment:5 Changed 9 years ago by mf2k (Frank Schima)
Owner: | changed from rmstonecipher@… to macports-tickets@… |
---|
rmstonecipher has retired. See #51138.
comment:6 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Replying to starkhalo@…:
I'm attaching an updated logfile after running
sudo port clean mpd -all
That's now the same as #43417.
logfile