[MacPorts] #45005: cassandra fails to build
#45005: cassandra fails to build ------------------------+-------------------------------- Reporter: nicholas@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: cassandra ------------------------+-------------------------------- Cassandra (both version 1.2.3 that is currently in MacPorts, and version 2.1.0 that I submitted in #45004) fails to build because the destination folders for eight of the Maven artifacts cannot be created. For example: {{{ :info:build [artifact:dependencies] [WARNING] Unable to get resource 'commons-logging:commons-logging:jar:1.1.1' from repository apache (https://repository.apache.org/content/repositories/releases): Specified destination directory cannot be created: /opt/local/var/macports/home/.m2/repository/commons-logging/commons- logging/1.1.1 }}} The folder `/opt/local/var/macports/home` already existed on my system, but `/opt/local/var/macports/home/.m2`did not. I found that by manually creating `/opt/local/var/macports/home/.m2` and setting its mode to 0777, the build would succeed without any further issues. Perhaps some component of the build process is not running with the proper permissions? Full log file attached. -- Ticket URL: <https://trac.macports.org/ticket/45005> MacPorts <http://www.macports.org/> Ports system for OS X
#45005: cassandra fails to build -------------------------+-------------------------------- Reporter: nicholas@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: cassandra | -------------------------+-------------------------------- Comment (by ryandesign@…): The home directory should be the .home subdirectory of the work directory, to which ports are allowed to write. I'm not sure why in your situation here the home directory is being seen as /opt/local/var/macports/home instead. Regardless, anything any port is attempting to do to a home directory is likely irrelevant, as in the normal situation it's a temporary directory deleted after the build finishes. As such, the build could be changed to not do whatever it's doing to home, since it won't survive the install anyway. -- Ticket URL: <https://trac.macports.org/ticket/45005#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts