Opened 2 years ago

Closed 2 years ago

#64257 closed defect (invalid)

graphviz: error: C compiler cannot create executables

Reported by: mrkapqa Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: lion Cc: mascguy (Christopher Nielsen)
Port: graphviz

Description

Hello,

on 10.7.5 port mpv failed at configuring graphviz.

Please see attachment,

Thanks.

Attachments (1)

graphviz.log (28.2 KB) - added by mrkapqa 2 years ago.

Download all attachments as: .zip

Change History (7)

Changed 2 years ago by mrkapqa

Attachment: graphviz.log added

comment:1 Changed 2 years ago by reneeotten (Renee Otten)

is this failure with mpv any different than the other Trac ticket you reported?

comment:2 Changed 2 years ago by mrkapqa

thanks,

i could not tell,

however, graphviz also fails for port ffmpeg.

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

Cc: mascguy added
Keywords: mpv graphviz removed
Owner: set to ryandesign
Port: graphviz added; mpv removed
Status: newassigned
Summary: (lion,mpv) failed to configure graphvizgraphviz: error: C compiler cannot create executables

Replying to reneeotten:

is this failure with mpv any different than the other Trac ticket you reported?

I see no similarity with that ticket.

What I see in the log is what appears to be something fundamentally broken about either the Xcode installation or the compiler, I don't know; I don't recall seeing this before:

configure:5527: /opt/local/bin/clang-mp-9.0 --version >&5
2021-12-21 14:56:23.435 xcodebuild[4283:70b] CFPreferences: user home directory at file://localhost/opt/local/var/macports/home/ is unavailable. User domains will be volatile.
2021-12-21 14:56:23.706 xcodebuild[4283:70b] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/DVTFoundation/DVTFoundation-1195/Framework/Classes/FilePaths/DVTFilePath.m:364
Details:  fsrep is absolute (starts with /) ('/opt/local/libexec/llvm-9.0/bin/clang') parentPath must be nil but it is not ('<DVTFilePath:0x400e55b40:'/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin'>')
Object:   <DVTFilePath>
Method:   +_filePathForParent:fileSystemRepresentation:length:allowCreation:
Thread:   <NSThread: 0x40010a220>{name = (null), num = 1}
Hints: None
Backtrace:
  0  0x0000000105eef77f -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DVTFoundation)
  1  0x0000000105eef5d5 _DVTAssertionFailureHandler (in DVTFoundation)
... rest of stderr output deleted ...

Has duplicate #64258.

Googling the error message, I found this:

https://stackoverflow.com/questions/7788993/xcode-crashing-on-startup-parentpath-must-be-nil-but-it-is-not

See if any of the suggestions there help, or try your own search for the error message.

comment:4 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

See also #56336 for possible suggestions.

comment:5 Changed 2 years ago by mrkapqa

thanks, seem to have resolved this issue for ffmpeg by re-installing, xcode 4.6.3 for lion, command line tools for lion april 2013, and latest macports.pkg for lion.

there seem however other factors included for mpv which iam not able to resolve atm, so please close this ticket.

comment:6 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed

Reinstalling MacPorts should not have been necessary but I'm glad you got it working.

Note: See TracTickets for help on using tickets.