[Bug 259639] ports-mgmt/poudriere{-devel}: databases/ruby-bdb fails to build with USE_TMPFS=NO in poudriere.conf: chmod: $file: Operation not permitted

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 15 Nov 2021 04:02:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259639

--- Comment #5 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
It use the commands we get when we run the following commands.

make -C /usr/ports/databases/ruby-bdb/ -V COPYTREE_BIN -V COPYTREE_SHARE

As you can see the result, all the output of cpio is discarded to /dev/null.
It may have contained an important message from cpio.

For example, yesterday...
I had set /am/paths_containing_symlink.../tmp/ports/work to WRKDIRPREFIX.
www/chromium uses ${COPYTREE_SHARE}, but chmod encountered an error that the
files do not exist.
I was searching for 2 hours to find the reason why the file was not copied, but
it was something I could notice in an instant if I had the cpio output.

0.531267769 write(2,"cpio: ",6)                  = 6 (0x6)
0.531284321 write(2,"Cannot extract through symlink /"...,191) = 191 (0xbf)
0.531299822 write(2,"\n",1)                      = 1 (0x1)

-- 
You are receiving this mail because:
You are on the CC list for the bug.