[MacPorts] #66041: openjdk11-bootstrap fails to install as a non-root user

MacPorts noreply at macports.org
Thu Oct 20 23:40:21 UTC 2022


#66041: openjdk11-bootstrap fails to install as a non-root user
-------------------------+---------------------------------
 Reporter:  AgilentGCMS  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.7.2
 Keywords:               |       Port:  openjdk11-bootstrap
-------------------------+---------------------------------
 I have to install and run macports as a non-root user on a work laptop.
 The port openjdk-bootstrap fails because it tries to create a folder in
 {{{/Library}}} instead of the user's library folder. Specifically,
 {{{
 --->  Fetching distfiles for openjdk11-bootstrap
 --->  Attempting to fetch openjdk-11_osx-x64_bin.tar.gz from
 https://download.java.net/java/ga/jdk11/
 --->  Verifying checksums for openjdk11-bootstrap
 --->  Extracting openjdk11-bootstrap
 --->  Configuring openjdk11-bootstrap
 --->  Building openjdk11-bootstrap
 --->  Staging openjdk11-bootstrap into destroot
 Warning: openjdk11-bootstrap installs files outside the common directory
 structure.
 --->  Installing openjdk11-bootstrap @11_1
 --->  Activating openjdk11-bootstrap @11_1
 Error: Failed to activate openjdk11-bootstrap: can't create directory
 "/Library/Java/JavaVirtualMachines/openjdk11-bootstrap": permission denied
 }}}

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


More information about the macports-tickets mailing list