pkg icon indicating copy to clipboard operation
pkg copied to clipboard

OSMAJOR is wrong on poudriere with native-xtools if builder version is higher than jail's

Open rbgarga opened this issue 7 years ago • 1 comments

Consider a host running poudriere on FreeBSD 12.0-CURRENT and a ARM jail based on FreeBSD 11.2-RELEASE using native-xtools to speedup builds. OSMAJOR is being set based on __FreeBSD__, that come from compiler and in this case is 12.

Because of that pkg keeps saying there is a Major OS upgrade and asking user to run 'pkg-static upgrade -f pkg'.

The way we found to work it around on pfSense is this:

https://github.com/pfsense/FreeBSD-ports/commit/d6582ede793196ea7f08a8c723818f60254b58f0

rbgarga avatar Jul 06 '18 13:07 rbgarga

ping?

rbgarga avatar Jun 25 '20 12:06 rbgarga