* Don't check for direct use of commands in PORTNAME [1]
* Split on first '@' to avoid breaking directory detection [2]
* Remove checks for deprecated INSTALLS_ICONS [3]
PR: 229627 [1]
260246 [2]
261556 [3]
Submitted by: gerald [1]
Derek Schrock <dereks@lifeofadishwasher.com> [2]
It seems like it is too easy to hit during Firefox builds and
then the server is gone and builds fail with:
sccache: error: Connection to server timed out
Since Firefox disables it itself do the same here.
Tested by: jrm
Poudriere builder jails seem to share one network namespace which
is problematic when building packages in parallel since sccache
binds to localhost:4226. This then leads to jails reusing the
sccache instance from other jails which is problematic and can
cause failures like
1/ missing files due to the filesystem separation:
sccache: caused by: No such file or directory (os error 2)
2/ the sccache instance suddenly going away when a parallel build
finishes and Poudriere shuts down the jail and kills all of its
processes:
sccache: error: failed to execute compile
sccache: caused by: Failed to send data to or receive data from server
sccache: caused by: Failed to read response header
sccache: caused by: failed to fill whole buffer
To properly namespace sccache instances we can use Unix sockets.
There is a request [1] for adding support for Unix sockets
upstream but no code has been written for that AFAICT. This
commit hacks in support for them which should be just about ok
for our purposes.
[1] https://github.com/mozilla/sccache/issues/933
Tested by: jrm
Drop maintainership of all ports as his own request. We thank Vladimir
for all his efforts and hope to welcome him back in the future.
PR: 261391
Approved by: Vladimir Chukharev (maintainer)
MFH: 2022Q1
while we fixed the symbol collision between libmd and libcrypto long
ago in dynamic linked program, the collision is still there somehow for
statically build programs.
The manual check for liblzma_libs for static linking that was added long
ago brings in a link to libmd before a link to libcrypto (this is since
FreeBSD 13.0+
This manual check is not necessary anymore anyway, so let's drop it.
Reported by: Franco Fitchner (from Opnsense)
Added
* Timeout switch
* Verbose switch
* CHANGELOG.md file
Changed
* Switch from external cURL to pycurl
* Display human-readable formatting of bytes, using metric (powers of
1000) representation
* Display only one decimal for bytes representation
* Code refactoring
* Installation is using entry_points instead of scripts
Removed
* Dependency to external cURL binary
It was inherited from devel/sccache which enables additional
features that need the ring crate. The sccache version here comes
with only local storage enabled and should build fine on other
archs too. This is untested but the ring crate is never compiled
according to the logs.
Changes:
- image: Add support for zfs image types, including send streams
- image: Run the post-build script before the build target
- Fix cleanup waiting on bad pids
- Fix logs summary showing in some wrong error contexts
- Assert we have a bootstrap pkg before acting on packages.
- Package fetch: Fix pkg bootstrap with fresh repo + version mismatch
- Package fetch: Never fetch packages if remote pkg is newer than ports
- Package fetch: always blacklist pkg
- Package fetch: Fetch before deleting packages for missing bootstrap
- Package fetch: Give an indication which packages are taken from cache
- sh: Update from FreeBSD 971677d5fd4cc6e776468
- bulk: Opportunistically start builders as needed. This also
makes startup of each more verbose.
- SIGINFO now goes to stderr
- SIGINFO: New output format, showing tmpfs usage, and cpu%/mem%(rss) from ps.
- Add a mechanishm to avoid building rust in tmpfs.
See poudriere.conf.sample for TMPFS_BLACKLIST and TMPFS_BLACKLIST_TMPDIR
- colors: Remove the need to evaluate \033 escape.
- bulk: Trim IGNORED packages in parallel.
Ports that fetch multiple distfiles from the same host can
especially benefit from this.
This is a glue application between libcurl and the ports
framework. It comes with a ports overlay that replaces the
default do-fetch and checksum targets.
This is an experiment. Use at your own risk.
WWW: https://github.com/t6/parfetch
Demo: https://asciinema.org/a/ogjs0MiCNZxqwYy2xliHfYEaM
Some unscientific but repeatable numbers: tokei (152 distfiles)
fetch is down from ~44s to ~3s. wlroots (34 distfiles) fetch is
down from ~12s to ~3s. rust makesum (28 distfiles) is down from
~90s to ~50s.
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Approved by: portmgr (blanket)
Sccache is a compiler cache but unlike ccache it comes with Rust
support. This package provides a standalone version of sccache
that can work in Poudriere jails with glue for hooking it up to
the ports framework by simply activating an overlay.
Based on tcberner's https://reviews.freebsd.org/D31243
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Approved by: portmgr (blanket)
portconfig is a dialog4ports replacement based on libbsddialog.
Note this version is build as semi static: libbsddialog and libncurses
has been linked statically and the binary remaind dynamic
Changes from 1.17.4 to 1.17.5
- pkg add: only runs triggers at the end of the equivalent of a transaction
- pkg search: fix the combinaison of -q and -o
- pkg fetch: correctly exit with error on fetch failures
- Improve error message when failing to drop privileges
Changes
- pkg add: only runs triggers at the end of the equivalent of a transaction
- pkg search: fix the combinaison of -q and -o
- pkg fetch: correctly exit with error on fetch failures
- Improve error message when failing to drop privileges
- Ensure no temporary files are left overs when ignoring some files in package
Changes:
- ensure pkg waits for the programs executed by the triggers
- bring back the fallback on the pkg add with mismatched version (with
regression fixed)
Changes:
- revert 2 regressions,
* periodic script for audit which reduced verbosity
* the fallback on version mismatch on pkg add
- prevent an endless recursion on the solver
- make fingerprint signature validation respect rootdir
MFH after: 1 week