[MacPorts] #18811: graphviz-gui 2.22.1 fails to build - Unable to resolve plug-in dependency for "Document.xib".

MacPorts noreply at macports.org
Thu Mar 12 15:50:38 PDT 2009


#18811: graphviz-gui 2.22.1 fails to build -  Unable to resolve plug-in dependency
for "Document.xib".
-------------------------------------------------+--------------------------
 Reporter:  moody@…                              |       Owner:  ryandesign@…           
     Type:  defect                               |      Status:  new                    
 Priority:  Normal                               |   Milestone:  Port Bugs              
Component:  ports                                |     Version:  1.7.0                  
 Keywords:  GraphViz CompileXIB pdfkit.ibplugin  |        Port:  graphviz-gui           
-------------------------------------------------+--------------------------

Old description:

> 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.

New description:

 Mac OS 10.5.6 MacBook Pro[[BR]]
 XCode 3.1.1[[BR]]
 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.

--

Comment(by ryandesign@…):

 Replying to [comment:2 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.

-- 
Ticket URL: <http://trac.macports.org/ticket/18811#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list