Bug 256689 - ports-mgmt/poudriere: complains about UNAME_r and OSVERSION disagreement
Summary: ports-mgmt/poudriere: complains about UNAME_r and OSVERSION disagreement
Status: New
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-06-18 08:47 UTC by Victor Sudakov
Modified: 2021-08-15 15:41 UTC (History)
1 user (show)

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 Victor Sudakov 2021-06-18 08:47:55 UTC
On i386 jails, poudriere-3.3.6 complains:

[00:00:00] Creating the reference jail... done
[00:00:00] Mounting system devices for 114i386-default
[00:00:00] Mounting ports/packages/distfiles
[00:00:00] Using packages from previously failed build: /poudriere/data/packages/114i386-default/.building
[00:00:00] Mounting packages from: /poudriere/data/packages/114i386-default
[00:00:01] Copying /var/db/ports from: /usr/local/etc/poudriere.d/options
[00:00:01] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf
/etc/resolv.conf -> /poudriere/data/.m/114i386-default/ref/etc/resolv.conf
[00:00:01] Starting jail 114i386-default
make: "/usr/ports/Mk/bsd.port.mk" line 1201: UNAME_r (12.2-RELEASE-p8) and OSVERSION (1104001) do not agree on major version number.
make: "/usr/ports/Mk/bsd.port.mk" line 1201: UNAME_r (12.2-RELEASE-p8) and OSVERSION (1104001) do not agree on major version number.
[00:00:01] Logs: /poudriere/data/logs/bulk/114i386-default/2021-06-18_15h46m49s
[00:00:01] Loading MOVED for /poudriere/data/.m/114i386-default/ref/usr/ports
make: "/usr/ports/Mk/bsd.port.mk" line 1201: UNAME_r (12.2-RELEASE-p8) and OSVERSION (1104001) do not agree on major version number.
[00:00:02] Error: Error looking up pre-build ports vars
[00:00:02] Cleaning up
[00:00:02] Unmounting file systems


Impossible to compile anythinng.

Seems we are celebrating the week of i386 jails!
Comment 1 Bryan Drewery freebsd_committer 2021-08-13 20:30:33 UTC
I would expect this if poudriere-devel created a jail and then poudriere 3.3 were used on the jail. Did that happen?
Comment 2 Bryan Drewery freebsd_committer 2021-08-13 22:27:01 UTC
This can also happen if something modifies /etc/make.conf or /etc/login.conf during the build.
Comment 3 Victor Sudakov 2021-08-15 15:41:27 UTC
(In reply to Bryan Drewery from comment #1)
> I would expect this if poudriere-devel created a jail and then poudriere 3.3 were used on the jail. Did that happen?

This could have happened. To be sure, with poudriere-3.3.6, I deleted all jails and recreated them from scratch, and after that I cannot reproduce the problem.