Created attachment 178257 [details] patch-libpkg_pkg__add.c Sorry, I'm not good at English. An error occurred when installing ports with many files. OS: FreeBSD 10.3-RELEASE Memory: 256MB Ports: devel/boost-libs [Error Log] ===> Installing for boost-libs-1.62.0_1 ===> Checking if boost-libs already installed ===> Registering installation for boost-libs-1.62.0_1 Installing boost-libs-1.62.0_1... pkg-static: Fail to create temporary file: /usr/local/include/boost/mpl/aux_/preprocessed/mwcw/.set_c.hpp.YdrHuxoysVh1: File exists *** Error code 70
good catch, thanks you! (note your english is good :)) Note at the same place there was 2 other fd leaks I will fix
A commit references this bug: Author: bapt Date: Sun Dec 25 15:15:38 UTC 2016 New revision: 429439 URL: https://svnweb.freebsd.org/changeset/ports/429439 Log: Fix file descriptor leak that might lead to errors on packages with lots of files PR: 215544 Submitted by: pasokondokoro@gmail.com Changes: head/ports-mgmt/pkg/Makefile head/ports-mgmt/pkg/files/patch-libpkg_pkg__add.c