Bug 258347 - ports-mgmt/poudriere-devel 3.3.99.20210904 produces failed builds, downgrading to 3.3.99.20210828 fixes it #917
Summary: ports-mgmt/poudriere-devel 3.3.99.20210904 produces failed builds, downgradin...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Bryan Drewery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-07 18:47 UTC by p5B2EA84B3
Modified: 2021-09-07 19:12 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (bdrewery)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p5B2EA84B3 2021-09-07 18:47:06 UTC
Saw https://github.com/freebsd/poudriere/issues/917 and confirm symptoms described there. 

While I tried to rerun bulk runs I noticed that the swapspace is not used at all. Likely this prevents allocation of sufficient memory space.

My related  poudriere.conf settings:

# When building packages, a memory device can be used to speedup the build.
# Only one of MFSSIZE or USE_TMPFS is supported. TMPFS is generally faster
# and will expand to the needed amount of RAM. MFS is a slower since it
# uses UFS and several abstraction layers.

# If set WRKDIRPREFIX will be mdmfs of the given size (mM or gG)
#MFSSIZE=4G

# Use tmpfs(5)
# This can be a space-separated list of options:
# wrkdir    - Use tmpfs(5) for port building WRKDIRPREFIX
# data      - Use tmpfs(5) for poudriere cache/temp build data
# localbase - Use tmpfs(5) for LOCALBASE (installing ports for packaging/testing)
# all       - Run the entire build in memory, including builder jails.
# yes       - Enables tmpfs(5) for wrkdir and data
# no        - Disable use of tmpfs(5)
# EXAMPLE: USE_TMPFS="wrkdir data"
USE_TMPFS=no

# How much memory to limit tmpfs size to for *each builder* in GiB
# (default: none)
#TMPFS_LIMIT=8

# How much memory to limit jail processes to for *each builder*
# in GiB (default: none)
#MAX_MEMORY=8
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-09-07 19:11:41 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3dd6478b9231fc9bf79ea7c7689d9edd759f648a

commit 3dd6478b9231fc9bf79ea7c7689d9edd759f648a
Author:     Bryan Drewery <bdrewery@FreeBSD.org>
AuthorDate: 2021-09-07 19:09:10 +0000
Commit:     Bryan Drewery <bdrewery@FreeBSD.org>
CommitDate: 2021-09-07 19:10:59 +0000

    ports-mgmt/poudriere-devel: Update to 3.3.0-961-g039b378dc

    Changes:
    - Fix random bulk crashes due to sh read bug [1]
    - bulk: Don't mention stale txz symlinks for -C-deleted packages

    PR:     258347 [1]

 ports-mgmt/poudriere-devel/Makefile | 6 ++----
 ports-mgmt/poudriere-devel/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 7 deletions(-)