Opened 16 years ago

Closed 15 years ago

Last modified 12 years ago

#18811 closed defect (fixed)

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

Reported by: moody@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: GraphViz CompileXIB pdfkit.ibplugin Cc: cooljeanius (Eric Gallager)
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.

Attachments (1)

graphviz-build.txt (14.1 KB) - added by moody@… 16 years ago.
build of graphviz-gui on macbook pro

Download all attachments as: .zip

Change History (8)

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.

comment:4 in reply to:  3 Changed 16 years ago by moody@…

Replying to ryandesign@…:

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?

I have a set of files that I've been working with for a few years. I know they worked with my previous (working) GraphViz installation - back on my x86 32 MacBook Pro. I would try the graphs you suggest, but I now that I have a working version, I need to make some progress at my day job and am loath to revert my installation.

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?

Regarding pango/cairo, on my previous graphviz installation 2.20.1, I did use +no_pangocairo (or something to that effect), but for the 2.22.1_0 and the 2.23.20090308.0545 installation I didn't use any variants.

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.

I appreciate the effort you but into this. I'll keep you posted on my experience. If you need some information about the 2.23.2* build, don't hesitate to ask.

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

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

Resolution: fixed
Status: newclosed

There have been many releases of graphviz since this ticket was filed so I will assume it has been fixed upstream. If not, please open a new ticket with current details.

comment:7 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.