• net-mgmt/nagios-check_bacula15 build failures

    From Dan Langille@dan@langille.org to muc.lists.freebsd.ports on Fri Jan 23 07:25:39 2026
    From Newsgroup: muc.lists.freebsd.ports

    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. !!!
    ...
    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;
    | ^
    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;
    | ^
    ...

    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
    --
    Dan Langille
    dan@langille.org


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Mark Millard@marklmi@yahoo.com to muc.lists.freebsd.ports on Fri Jan 23 10:24:43 2026
    From Newsgroup: muc.lists.freebsd.ports

    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



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2