bryancall commented on issue #10954: URL: https://github.com/apache/trafficserver/issues/10954#issuecomment-4828155313
This was fixed by [PR #10983](https://github.com/apache/trafficserver/pull/10983) (merged 2024-01-22, first released in 10.0.0). The root cause: the post-install step chowns the directories listed in `CHOWN_DIRS`, which uses `CMAKE_INSTALL_FULL_CACHEDIR`. In the custom install layout this FULL variable was never explicitly defined, so it resolved to a system-prefix default (`/usr/local/var/trafficserver`) instead of the actual install prefix (`/usr/local/trafficserver/var/trafficserver`). The chown then failed because that path did not exist. PR #10983 explicitly sets `CMAKE_INSTALL_FULL_LOGDIR` and `CMAKE_INSTALL_FULL_CACHEDIR` to `${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_CACHEDIR}` in `cmake/layout.cmake`, so the chown now targets the correct, existing directory. Closing as resolved. Please reopen if you can still reproduce this on 10.0.0 or later. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
