Opened 16 years ago

Last modified 12 years ago

#18811 closed defect

graphviz-gui 2.22.1 fails to build - Unable to resolve plug-in dependency for "Document.xib". — at Version 3

Reported by: moody@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: GraphViz CompileXIB pdfkit.ibplugin Cc:
Port: graphviz-gui

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Mac OS 10.5.6 MacBook Pro
XCode 3.1.1
MacPorts 1.7 (updated today)

The following is a reattempt at building after the first failure:

[peugeot:~] root# port search graphviz-gui
--->  Building graphviz-gui
Error: Target org.macports.build returned: shell command "cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz-gui/work/graphviz-2.22.1/macosx" && xcodebuild  -alltargets -configuration Release build OBJROOT=build/ SYMROOT=build/ PREFIX=/opt/local" returned error 1
Command output: === BUILDING NATIVE TARGET application OF PROJECT graphviz WITH CONFIGURATION Release ===

Checking Dependencies...

CompileXIB /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz-gui/work/graphviz-2.22.1/macosx/English.lproj/Document.xib
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz-gui/work/graphviz-2.22.1/macosx
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz-gui/work/graphviz-2.22.1/macosx/build/Release/Graphviz.app/Contents/Resources/English.lproj/Document.nib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz-gui/work/graphviz-2.22.1/macosx/English.lproj/Document.xib
/* com.apple.ibtool.errors */
Internal Error:
	Description: Unable to resolve plug-in dependency for "Document.xib".
	Recovery Suggestion: Locate the com.apple.pdfkit.ibplugin Interface Builder plug-in to continue opening this document. Consider using the --plugin option or Interface Builder's plug-in preferences to resolve this dependency.
** BUILD FAILED **

The following build commands failed:
application:
	CompileXIB /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz-gui/work/graphviz-2.22.1/macosx/English.lproj/Document.xib
(1 failure)


Error: Status 1 encountered during processing.

Attached is the complete output of the original attempt.

I will try to install XCode 3.1.2.

Change History (4)

Changed 16 years ago by moody@…

Attachment: graphviz-build.txt added

build of graphviz-gui on macbook pro

comment:1 Changed 16 years ago by blb@…

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

comment:2 in reply to:  description ; Changed 16 years ago by moody@…

Replying to moody@…:

Mac OS 10.5.6 MacBook Pro XCode 3.1.1 MacPorts 1.7 (updated today)

The following is a reattempt at building after the first failure:

[peugeot:~] root# port search graphviz-gui
--->  Building graphviz-gui
Error: Target org.macports.build returned: shell command "cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz-gui/work/graphviz-2.22.1/macosx" && xcodebuild  -alltargets -configuration Release build OBJROOT=build/ SYMROOT=build/ PREFIX=/opt/local" returned error 1
Command output: === BUILDING NATIVE TARGET application OF PROJECT graphviz WITH CONFIGURATION Release ===

Checking Dependencies...

CompileXIB /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz-gui/work/graphviz-2.22.1/macosx/English.lproj/Document.xib
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz-gui/work/graphviz-2.22.1/macosx
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz-gui/work/graphviz-2.22.1/macosx/build/Release/Graphviz.app/Contents/Resources/English.lproj/Document.nib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz-gui/work/graphviz-2.22.1/macosx/English.lproj/Document.xib
/* com.apple.ibtool.errors */
Internal Error:
	Description: Unable to resolve plug-in dependency for "Document.xib".
	Recovery Suggestion: Locate the com.apple.pdfkit.ibplugin Interface Builder plug-in to continue opening this document. Consider using the --plugin option or Interface Builder's plug-in preferences to resolve this dependency.
** BUILD FAILED **

The following build commands failed:
application:
	CompileXIB /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz-gui/work/graphviz-2.22.1/macosx/English.lproj/Document.xib
(1 failure)


Error: Status 1 encountered during processing.

Attached is the complete output of the original attempt.

I will try to install XCode 3.1.2.

Updated to XCode 3.1.2 and did a clean rebuild - which worked.

However, the GraphViz application itself would not load any (known to be valid) dot files.

Messages in the Console were not complete, but my gut tells me that the file loading was failing because dot was being passed a file type it did not recognize (as in dot -Tpdf).

I went ahead and tried to install the graphviz-devel-gui and it is working.

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

Description: modified (diff)

Replying to moody@…:

Updated to XCode 3.1.2 and did a clean rebuild - which worked.

Interesting. I uninstalled Xcode 3.1.2 (actually iPhone SDK 2.2.1) and reinstalled Xcode 3.1.1 (actually iPhone SDK 2.1) and was able to reproduce this problem. I modified the Graphviz ports to require Xcode 3.1.2 on Leopard in r48011.

However, the GraphViz application itself would not load any (known to be valid) dot files.

Which files? Have you tried the sample graphs that come with Graphviz in the directory /opt/local/share/graphviz/graphs?

Messages in the Console were not complete, but my gut tells me that the file loading was failing because dot was being passed a file type it did not recognize (as in dot -Tpdf).

-Tpdf should be a valid type for dot, at least assuming you have not disabled pango/cairo support using the +no_pangocairo variant. Have you tried using dot in the terminal? Does that work? If not, does it print an error?

I went ahead and tried to install the graphviz-devel-gui and it is working.

I'm surprised by this, since graphviz and graphviz-gui 2.22.1 were just released a few days ago; they should be virtually identical to graphviz-devel and graphviz-gui-devel at this time.

Note: See TracTickets for help on using tickets.