Trying to upgrade ruby to 2.2.6_1,1 on FreeBSD 11.0-RELEASE-p4. When it failed the first time, I was left with no ruby installation at all. Did 'make clean' then reinstalled with portmaster which also ended the same way: ===> Installing for ruby-2.2.6_1,1 ===> Checking if ruby already installed ===> Registering installation for ruby-2.2.6_1,1 Installing ruby-2.2.6_1,1... pkg-static: Fail to create temporary file: /usr/local/share/ri/2.2/system/ObjectSpace/.trace_object_allocations_start-c.ri.ZfTr7VgAc6WN: File exists *** Error code 70 Stop. make[1]: stopped in /usr/ports/lang/ruby22 *** Error code 1 Stop. make: stopped in /usr/ports/lang/ruby22 ===>>> Installation of ruby-2.2.6_1,1 (lang/ruby22) failed ===>>> Aborting update
Assigning to ruby@ properly after summary correction with proper port name.
What is the solution? the same error 9.3-RELEASE-p43
What version of pkg is in use?
pkg-1.9.4 Now with the pkg-1.9.4_1 version of the error does not appear
I believe the problem was caused by an out-of-date portsnap server, sourcefire. As I was accumulating a number of ports that would not update, I changed servers and then lang/ruby22 also updated. Since I opened this ticket, I don't know if I should close it since others have reported the same issue. I wouldn't know if theirs was caused by the same thing.
This is a file descriptor leak in pkg(8) -- it's not ruby specific. Fixed in git by: https://github.com/freebsd/pkg/commit/6724cf95c993fd7e541def65ccc7c1fca3eca2de
Closing, not a ruby bug. Thanks for the info Matthew.
Note that this is fixed in pkg 1.9.4_1