make package-recursive fails today [with noise] as follows: # make -C /usr/ports/databases/mysql55-server/ package-recursive ===> Building package for mysql-server-5.5.20 rmdir: /usr/ports/devel/cmake/work: Directory not empty *** [package-noinstall] Error code 1 (ignored) rmdir: /usr/ports/databases/mysql55-client/work: Directory not empty *** [package-noinstall] Error code 1 (ignored) The problem is that dependent packages aren't being cleaned: # find /usr/ports/devel/cmake/work | wc -l 5159 # find /usr/ports/databases/mysql55-client/work/ | wc -l 10620 How-To-Repeat: make -C /usr/ports/databases/mysql55-server/ package-recursive
Responsible Changed From-To: freebsd-ports-bugs->ale Fix synopsis and assign.
Responsible Changed From-To: ale->portmgr Apparently is a generic problem.
Here's a working, hacky patch that makes package-recursive work. check-already-installed and the installation code will need to be revised for the "ports 2.0" work that I have going on in the background. Thanks, -Garrett PS Please dupe ports/167191 to this bug.
For the record, the noise is actually 'good' in a way. I tested out changing ${RMDIR} ${WRKDIR} -> ${RM} -rf ${WRKDIR}, and that actually increased the amount of time required to compile packages. So, noise aside, I didn't care and just fixed the issue that needed to be fixed (package-recursive not working). Again, a better solution is going to be thought up soon. Thanks! -Garrett
Infrastructure PR.