#57830 closed defect (fixed)
graphviz-gui fails to build on Mojave (CompileXIB)
Reported by: | thomasleaute | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | akimd (Akim Demaille) | |
Port: | graphviz-gui |
Description
On macOS 10.14.2, attempting to install graphviz-gui fails at the build phase with the following error messages:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx/English.lproj/MainMenu.xib:global: error: Compiling for earlier than macOS 10.6 is no longer supported. [12] :info:build CompileXIB /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx/English.lproj/Export.xib (in target: application) :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx :info:build export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/.. :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module Graphviz --output-partial-info-plist /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx/build/graphviz.build/Release/application.build/English.lproj/Export-PartialInfo.plist --auto-activate-custom-fonts --target-device mac --minimum-deployment-target 10.14 --output-format human-readable-text --compile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx/build/Release/Graphviz.app/Contents/Resources/English.lproj/Export.nib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx/English.lproj/Export.xib :info:build CompileXIB /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx/English.lproj/Document.xib (in target: application) :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx :info:build export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/.. :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module Graphviz --output-partial-info-plist /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx/build/graphviz.build/Release/application.build/English.lproj/Document-PartialInfo.plist --auto-activate-custom-fonts --target-device mac --minimum-deployment-target 10.14 --output-format human-readable-text --compile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.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_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx/English.lproj/Document.xib :info:build CompileXIB /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx/English.lproj/Attributes.xib (in target: application) :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx :info:build export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/.. :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module Graphviz --output-partial-info-plist /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx/build/graphviz.build/Release/application.build/English.lproj/Attributes-PartialInfo.plist --auto-activate-custom-fonts --target-device mac --minimum-deployment-target 10.14 --output-format human-readable-text --compile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx/build/Release/Graphviz.app/Contents/Resources/English.lproj/Attributes.nib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx/English.lproj/Attributes.xib :info:build ** BUILD FAILED ** :info:build The following build commands failed: :info:build CompileXIB /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx/English.lproj/MainMenu.xib :info:build (1 failure) :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx" && /usr/bin/xcodebuild -alltargets -configuration Release build INSTALL_PATH=/Applications/MacPorts OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx/build/" SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.40.1/macosx/build/" MACOSX_DEPLOYMENT_TARGET=10.14 ARCHS=x86_64 SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++" PREFIX=/opt/local :info:build Exit code: 65 :error:build Failed to build graphviz-gui: command execution failed :debug:build Error code: NONE :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "$procedure $targetname"
Attachments (1)
Change History (14)
Changed 6 years ago by thomasleaute
comment:1 Changed 6 years ago by jmroot (Joshua Root)
Owner: | set to ryandesign |
---|---|
Status: | new → assigned |
comment:2 Changed 6 years ago by akimd (Akim Demaille)
Cc: | akimd added |
---|
comment:3 Changed 6 years ago by kencu (Ken)
Looks like the error might be this:
error: Compiling for earlier than macOS 10.6 is no longer supported.
so have to see why it's trying to do that.
comment:4 Changed 6 years ago by kupietools (Michael E. Kupietz)
Hi, is there a workaround? Trying in vain to get this package installed, and getting the same error.
I'm not especially proficient with the ins and outs of MacPorts or of compiling software on MacOS, so very simple step-by-step instructions to get this package installed would be appreciated. Thanks in advance.
comment:5 Changed 6 years ago by kencu (Ken)
comment:6 Changed 6 years ago by thomasleaute
When can we expect this fix to be available in MacPorts? It's still failing at the moment.
comment:7 Changed 6 years ago by kencu (Ken)
We are having a planning-type discussion about whether it is sensible to continue fixing the many broken xcodebuild ports individually (redundant but practical) or whether we hold off and wait for a "one fix to rule them all" fix that will fix all the broken builds at once.
Obviously it is best to fix them all at once, if possible, and the MacPorts' manager rightfully leans in that direction. BUT that elegant solution is not appearing to be at hand, and we want to fix the builds for users like yourself in the meantime.
comment:8 Changed 6 years ago by kencu (Ken)
In the meantime, if you would like this fix committed, please ask Ryan to consider committing the fix.
comment:9 Changed 6 years ago by Christian Walther <cwalther@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:10 Changed 6 years ago by akimd (Akim Demaille)
Thanks a lot!
But afaict, graphviz-gui-devel is still broken. I suppose it's about the same changes that are needed.
comment:12 follow-up: 13 Changed 6 years ago by kencu (Ken)
I broke a rule to push this through for you. If you can live without the -devel version for the moment, let's allow the maintainer to come to terms with this.
comment:13 Changed 6 years ago by akimd (Akim Demaille)
Replying to kencu:
I broke a rule to push this through for you. If you can live without the -devel version for the moment, let's allow the maintainer to come to terms with this.
I sure can. Thanks _a lot_ for your help!
Log file