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)

main.log (44.0 KB) - added by harciga 11 years ago.
logfile
main.2.log (73.6 KB) - added by harciga 11 years ago.
another logfile, after a port clean mpd with mp-gcc49
main3.log (34.6 KB) - added by rouson@… 11 years ago.
Log file from an attempt to install on Mavericks.
xcodebuild-5.1.1.log (73.7 KB) - added by harciga 11 years ago.
logfile with xcode 5.1.1

Download all attachments as: .zip

Change History (10)

Changed 11 years ago by harciga

Attachment: main.log added

logfile

Changed 11 years ago by harciga

Attachment: main.2.log added

another logfile, after a port clean mpd with mp-gcc49

comment:1 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 in reply to:  1 ; 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@…

Attachment: main3.log added

Log file from an attempt to install on Mavericks.

comment:3 in reply to:  2 ; Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rouson@… added
Summary: mpd failed buildmpd: 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.)

Changed 11 years ago by harciga

Attachment: xcodebuild-5.1.1.log added

logfile with xcode 5.1.1

comment:4 in reply to:  3 ; 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 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:5 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from rmstonecipher@… to macports-tickets@…

rmstonecipher has retired. See #51138.

comment:6 in reply to:  4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Replying to starkhalo@…:

I'm attaching an updated logfile after running sudo port clean mpd -all

That's now the same as #43417.

Note: See TracTickets for help on using tickets.