Re: net-mgmt/nagios-check_bacula15 build failures

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
On 1/23/26 04:25, Dan Langille wrote:
> At the following we see:
> 
> ...
> !!! Jail is newer than host. (Jail: 1600009, Host: 1600007) !!!
> !!! This is not supported. !!!
> !!! Host kernel must be same or newer than jail. !!!
> !!! Expect build failures. !!!

It first failed for main-amd64-default for:

=>> Building net-mgmt/nagios-check_bacula15
build started at Thu Jan 15 06:48:18 UTC 2026
. . .
Ports top last git commit: 4e2183ec0d23c757cc9ca0b97b2b8b66f55edf75
Ports top unclean checkout: no
Port dir last git commit: b64b73fd938d5b2788547d16ed6a76493acc9142
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.4-15-g61aba751
Host OSVERSION: 1600007
Jail OSVERSION: 1600008
. . .
!!! Jail is newer than host. (Jail: 1600008, Host: 1600007) !!!
. . .


But the prior build (which worked) was:

=>> Building net-mgmt/nagios-check_bacula15
build started at Thu Jan  1 05:12:49 -00 2026
. . .
Ports top last git commit: 6e10fe590d1706e856a9d067aef1a25ca2056050
Ports top unclean checkout: no
Port dir last git commit: b64b73fd938d5b2788547d16ed6a76493acc9142
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.4-15-g61aba751
Host OSVERSION: 1600000
Jail OSVERSION: 1600007
. . .
!!! Jail is newer than host. (Jail: 1600007, Host: 1600000) !!!
. . .

Note that the "Port dir last git commit" did not change so something
outside the port changed to make the difference.

> ...
> Compiling conio.c
> --- bbconsjson.o ---
> Compiling bbconsjson.c
> --- conio.o ---
> conio.c:150:23: error: variable has incomplete type 'struct termios'
>   150 | static struct termios old_term_params;

My guess here is that previously struct termios use was working via some
form of header pollution by FreeBSD and that one or more explicit
includes are needed someplace.

>       |                       ^
> conio.c:150:15: note: forward declaration of 'termios'
>   150 | static struct termios old_term_params;
>       |               ^
> conio.c:939:19: error: variable has incomplete type 'struct termios'
>   939 |    struct termios t;
>       |                   ^
> conio.c:150:15: note: forward declaration of 'termios'
>   150 | static struct termios old_term_params;
>       |               ^
> conio.c:954:11: error: use of undeclared identifier 'VMIN'
>   954 |    t.c_cc[VMIN] = 1; /* satisfy read after 1 char */
>       |           ^
> conio.c:955:11: error: use of undeclared identifier 'VTIME'
>   955 |    t.c_cc[VTIME] = 0;

Same for VMIN and VTIME.

>       |           ^
> ...
> 
> Is that the cause of the build failure? I don't think so, but wanted to check.
> 
> re https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/p648a61d8ce9b_seacc501eff/logs/errors/nagios-check_bacula15-15.0.3.log

For reference:

<https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/p4e2183ec0d23_s75556c7e99/logs/errors/nagios-check_bacula15-15.0.3.log>

was the failure log that I extracted from above.


-- 
===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.