[Bug 259639] ports-mgmt/poudriere-devel: Build of databases/ruby-bdb fails if USE_TMPFS is set to 'no' in poudriere.conf

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 04 Nov 2021 08:46:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259639

            Bug ID: 259639
           Summary: ports-mgmt/poudriere-devel: Build of
                    databases/ruby-bdb fails if USE_TMPFS is set to 'no'
                    in poudriere.conf
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: yasu@freebsd.org
                CC: bdrewery@FreeBSD.org, ruby@FreeBSD.org
                CC: bdrewery@FreeBSD.org, ruby@FreeBSD.org

Created attachment 229262
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229262&action=edit
Poudriere.conf used to build databases/ruby-bdb

Host: 13.0-RELEASE amd64, ZFS root
Poudriere: 3.3.99.20211017_2
Ports tree: ports aea6528e3c40 (main branch)

Build of databases/ruby-bdb fails as following if I set USE_TMPFS to 'no' in
poudriere.conf.

----------------------------------------------------------------------
=======================<phase: stage          >============================
===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=nobody UID=65534
GID=65534
===>  Staging for ruby27-bdb-0.6.6_8
===>   ruby27-bdb-0.6.6_8 depends on file: /usr/local/bin/ruby27 - found
===>   Generating temporary packing list
/usr/bin/install -c -m 0755 bdb.so
/wrkdirs/usr/ports/databases/ruby-bdb/work/stage/usr/local/lib/ruby/site_ruby/2.7/amd64-freebsd13
/usr/bin/strip
/wrkdirs/usr/ports/databases/ruby-bdb/work/stage/usr/local/lib/ruby/site_ruby/2.7/amd64-freebsd13/bdb.so/bin/mkdir
-p
/wrkdirs/usr/ports/databases/ruby-bdb/work/stage/usr/local/share/doc/ruby27/bdb/doc
(cd /wrkdirs/usr/ports/databases/ruby-bdb/work/bdb-0.6.6 && install  -m 0644
Changes README.en bdb.rd docs/*.rd
/wrkdirs/usr/ports/databases/ruby-bdb/work/stage/usr/local/share/doc/ruby27/bdb)
(cd /wrkdirs/usr/ports/databases/ruby-bdb/work/bdb-0.6.6/docs/doc && /bin/sh -c
'(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && 
/usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' &&
chmod 755 "$@"'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' &&
chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE .
/wrkdirs/usr/ports/databases/ruby-bdb/work/stage/usr/local/share/doc/ruby27/bdb/doc)
chmod: ./css/rdoc.css: Operation not permitted
chmod: ./css/fonts.css: Operation not permitted
chmod: ./js/search.js: Operation not permitted
chmod: ./js/darkfish.js: Operation not permitted
chmod: ./images/date.png: Operation not permitted
chmod: ./images/loadingAnimation.gif: Operation not permitted
chmod: ./images/brick.png: Operation not permitted
chmod: ./images/package.png: Operation not permitted
chmod: ./images/brick_link.png: Operation not permitted
chmod: ./images/ruby.png: Operation not permitted
chmod: ./images/bullet_toggle_plus.png: Operation not permitted
chmod: ./images/wrench_orange.png: Operation not permitted
chmod: ./images/find.png: Operation not permitted
chmod: ./images/delete.png: Operation not permitted
chmod: ./images/arrow_up.png: Operation not permitted
chmod: ./images/add.png: Operation not permitted
chmod: ./images/page_white_width.png: Operation not permitted
chmod: ./images/zoom.png: Operation not permitted
chmod: ./images/plugin.png: Operation not permitted
chmod: ./images/bullet_black.png: Operation not permitted
chmod: ./images/transparent.png: Operation not permitted
chmod: ./images/page_green.png: Operation not permitted
chmod: ./images/tag_green.png: Operation not permitted
chmod: ./images/bug.png: Operation not permitted
chmod: ./images/wrench.png: Operation not permitted
chmod: ./images/bullet_toggle_minus.png: Operation not permitted
chmod: ./images/tag_blue.png: Operation not permitted
chmod: ./images/page_white_text.png: Operation not permitted
chmod: ./images/macFFBgHack.png: Operation not permitted
chmod: ./fonts/Lato-Light.ttf: Operation not permitted
chmod: ./fonts/SourceCodePro-Regular.ttf: Operation not permitted
chmod: ./fonts/SourceCodePro-Bold.ttf: Operation not permitted
chmod: ./fonts/Lato-Regular.ttf: Operation not permitted
chmod: ./fonts/Lato-LightItalic.ttf: Operation not permitted
chmod: ./fonts/Lato-RegularItalic.ttf: Operation not permitted
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/ruby-bdb
build of databases/ruby-bdb | ruby27-bdb-0.6.6_8 ended at Thu Nov  4 17:28:06
JST 2021
build time: 00:00:36
!!! build failure encountered !!!
----------------------------------------------------------------------

Full build log:
https://www.utahime.org/FreeBSD/poudriere/data/logs/bulk/130amd64-default/2021-11-04_17h27m25s/logs/ruby27-bdb-0.6.6_8.log

If I change USE_TMPFS to 'yes', then build of databases/ruby-bdb succeeds.

The problem also happens with ports-mgmt/poudriere (3.3.7).

-- 
You are receiving this mail because:
You are the assignee for the bug.