[MacPorts] #61800: graphviz-gui @2.40.1_2 ProcessProductPackaging fails

MacPorts noreply at macports.org
Thu Dec 10 18:21:10 UTC 2020


#61800: graphviz-gui @2.40.1_2 ProcessProductPackaging fails
-----------------------+--------------------
 Reporter:  jptrainor  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.4
 Keywords:             |       Port:
-----------------------+--------------------
 "sudo port install graphviz-gui" fails on MacOS 11.0.1 with Xcode 12.2.

 There appears to be a security problem that prevents successful install of
 graphviz-gui on MacOS 12.

 Log fragment showing the error:
 {{{
 :info:build     builtin-productPackagingUtility -entitlements -format xml
 -o
 /Volumes/ExtStorage/local/var/macports/build/_Volumes_ExtStorage_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/Graphviz.app.xcent
 :info:build error: could not write entitlements file: Error
 Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the
 file “Graphviz.app.xcent” in the folder “application.build”."
 UserInfo={NSURL=file:///Volumes/ExtStorage/local/var/macports/build/_Volumes_ExtStorage_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/Graphviz.app.xcent,
 NSUserStringVariant=Folder, NSUnderlyingError=0x7fcbc141aaa0 {Error
 Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
 :info:build ** BUILD FAILED **
 :info:build The following build commands failed:
 :info:build     ProcessProductPackaging ""
 build/graphviz.build/Release/application.build/Graphviz.app.xcent
 :info:build (1 failure)

 }}}


 The following work around works:


 {{{
 # fresh install fails
 $ sudo port install graphviz-gui

 # manually execute the failed command (cut from the log), this succeeds
 $ cd
 "/Volumes/ExtStorage/local/var/macports/build/_Volumes_ExtStorage_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz
 /graphviz-gui/work/graphviz-2.40.1/macosx" && /usr/bin/xcodebuild
 -UseNewBuildSystem=NO  -alltargets -configuration Release build
 INSTALL_PATH=/Applications/MacPorts
 OBJROOT="/Volumes/ExtStorage/local/var/macports/build/_Volumes_ExtStorage_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz
 /graphviz-gui/work/graphviz-2.40.1/macosx/build/"
 SYMROOT="/Volumes/ExtStorage/local/var/macports/build/_Volumes_ExtStorage_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=11.0 ARCHS=x86_64
 SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk"
 GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++"
 PREFIX=/opt/local

 # change out of the directory that the above command leaves the shell in
 $ cd

 # re-execute the install, this succeeds
 $ sudo port install graphviz-gui

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61800>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list