> On 6 Nov 2019, at 22:16, Antoine Jacoutot <ajacou...@bsdfrog.org> wrote:
>
> On Mon, Nov 04, 2019 at 04:52:28PM -0700, David Gwynne wrote:
>> CVSROOT: /cvs
>> Module name: src
>> Changes by: d...@cvs.openbsd.org 2019/11/04 16:52:28
>>
>> Modified files:
>> sys/conf : files
>> sys/netinet : in.h in_proto.c ip_gre.h
>> Removed files:
>> sys/net : if_mobileip.c if_mobileip.h
>>
>> Log message:
>> remove mobileip(4)
>>
>> noone seems to use it, and we should not encourage people to use
>> it by having it available. it's been disabled for most of the last
>> release and noones asked for it in 6.6, so i'm taking that as an
>> ok for this removal.
>
> That broke the shells/nsh port.
looks like naddy handled the fallout?
dlg
>
>>>> Building on exopi-4 under shells/nsh
> BDEPENDS = [databases/sqlite3]
> DIST = [shells/nsh:nsh-1.0.20170819-23f1338b.tar.gz]
> FULLPKGNAME = nsh-1.0.20170819p0
> RDEPENDS = [databases/sqlite3]
> (Junk lock obtained for exopi-4 at 1573038885.26)
>>>> Running depends in shells/nsh at 1573038885.33
> /usr/sbin/pkg_add -aI -Drepair sqlite3-3.29.0
> was: /usr/sbin/pkg_add -aI -Drepair sqlite3-3.29.0
> /usr/sbin/pkg_add -aI -Drepair sqlite3-3.29.0
>>>> Running show-prepare-results in shells/nsh at 1573038886.83
> ===> shells/nsh
> ===> nsh-1.0.20170819p0 depends on: sqlite3-* -> sqlite3-3.29.0
> ===> Verifying specs: c curses edit sqlite3
> ===> found c.96.0 curses.14.0 edit.5.2 sqlite3.37.7
> sqlite3-3.29.0
> (Junk lock released for exopi-4 at 1573038887.53)
> distfiles size=130272
>>>> Running build in shells/nsh at 1573038887.61
> ===> shells/nsh
> ===> Checking files for nsh-1.0.20170819p0
> `/exopi-cvs/ports/distfiles/nsh-1.0.20170819-23f1338b.tar.gz' is up to date.
>>> (SHA256) nsh-1.0.20170819-23f1338b.tar.gz: OK
> ===> Extracting for nsh-1.0.20170819p0
> ===> Patching for nsh-1.0.20170819p0
> ===> Applying OpenBSD patch patch-MANUAL
> Hmm... Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |$OpenBSD: patch-MANUAL,v 1.1 2017/07/10 20:10:36 sthen Exp $
> |
> |Index: MANUAL
> |--- MANUAL.orig
> |+++ MANUAL
> --------------------------
> Patching file MANUAL using Plan A...
> Hunk #1 succeeded at 128.
> Hunk #2 succeeded at 143.
> done
> ===> Applying OpenBSD patch patch-stats_c
> Hmm... Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |$OpenBSD: patch-stats_c,v 1.9 2017/11/27 22:03:24 sthen Exp $
> |
> |Index: stats.c
> |--- stats.c.orig
> |+++ stats.c
> --------------------------
> Patching file stats.c using Plan A...
> Hunk #1 succeeded at 484.
> Hunk #2 succeeded at 528.
> Hunk #3 succeeded at 691.
> done
> ===> Compiler link: clang -> /usr/bin/clang
> ===> Compiler link: clang++ -> /usr/bin/clang++
> ===> Compiler link: cc -> /usr/bin/cc
> ===> Compiler link: c++ -> /usr/bin/c++
> ===> Generating configure for nsh-1.0.20170819p0
> ===> Configuring for nsh-1.0.20170819p0
> ===> Building for nsh-1.0.20170819p0
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> arp.c
> sh
> /exopi-obj/pobj/nsh-1.0.20170819/nsh-23f1338bc463170bbf583096468c47248cfa548e/compile.sh
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> compile.c
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> main.c
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> genget.c
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> commands.c
> commands.c:457:44: warning: expression which evaluates to zero treated as a
> null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *argv[] = { PKILL, "-9", "-t", line, '\0' };
> ^~~~
> commands.c:1679:36: warning: expression which evaluates to zero treated as a
> null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *argv[] = { x->cmd, x->arg, '\0' };
> ^~~~
> commands.c:1726:35: warning: size argument in 'strlcpy' call appears to be
> size of the source; expected the size of the destination
> [-Wstrlcpy-strlcat-size]
> strlcpy(saveline, line, sizeof(line));
> ~~~~~~~^~~~~
> commands.c:1726:28: note: change size argument to be the size of the
> destination
> strlcpy(saveline, line, sizeof(line));
> ^~~~~~~~~~~~
> sizeof(saveline)
> commands.c:1882:43: warning: expression which evaluates to zero treated as a
> null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *argv[] = { SAVESCRIPT, NSHRC_TEMP, '\0' };
> ^~~~
> commands.c:2078:36: warning: expression which evaluates to zero treated as a
> null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *argv[] = { PFCTL, "-sinfo", '\0' };
> ^~~~
> commands.c:2091:63: warning: expression which evaluates to zero treated as a
> null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *args[NOPTFILL] = { NULL, NULL, NULL, NULL, NULL, NULL, '\0' };
> ^~~~
> commands.c:2156:14: warning: expression which evaluates to zero treated as a
> null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> args[i] = '\0';
> ^~~~
> commands.c:2175:15: warning: expression which evaluates to zero treated as a
> null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> args[i] = '\0';
> ^~~~
> 8 warnings generated.
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> stats.c
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> kroute.c
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> ctl.c
> ctl.c:113:48: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_pf_test[] = { PFCTL, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:128:50: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_ospf_test[] = { OSPFD, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:147:52: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_ospf6_test[] = { OSPF6D, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:166:52: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_eigrp_test[] = { EIGRPD, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:185:54: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_bgp_test[] = { BGPD, "-nf", REQTEMP, NULL, '\0' };
> ^~~~
> ctl.c:208:48: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_rip_test[] = { RIPD, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:225:48: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_ldp_test[] = { LDPD, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:242:54: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_ipsec_test[] = { IPSECCTL, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:257:48: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_ike_test[] = { IKED, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:282:52: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_dvmrp_test[] = { DVMRPD, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:302:56: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_ifstate_test[] = { IFSTATED, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:326:50: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_nppp_test[] = { NPPPD, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:345:50: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_dhcp_test[] = { DHCPD, "-nc", REQTEMP, '\0' };
> ^~~~
> ctl.c:359:50: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_snmp_test[] = { SNMPD, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:374:49: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_sshd_test[] = { SSHD, "-tf", REQTEMP, '\0' };
> ^~~~
> ctl.c:388:48: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_ntp_test[] = { NTPD, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:401:52: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_relay_test[] = { RELAYD, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:426:50: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_smtp_test[] = { SMTPD, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:501:50: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *ctl_ldap_test[] = { LDAPD, "-nf", REQTEMP, '\0' };
> ^~~~
> ctl.c:548:68: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *step_args[NOPTFILL] = { NULL, NULL, NULL, NULL, NULL, NULL, '\0'
> };
> ^~~~
> ctl.c:549:67: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *tmp_args[NOPTFILL] = { NULL, NULL, NULL, NULL, NULL, NULL, '\0'
> };
> ^~~~
> ctl.c:688:37: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *argv[] = { editor, tmpfile, '\0' };
> ^~~~
> 22 warnings generated.
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> show.c
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> if.c
> if.c:760:47: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *args[] = { PKILL, "dhclient", ifname, '\0' };
> ^~~~
> if.c:761:42: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *args_set[] = { DHCLIENT, ifname, '\0' };
> ^~~~
> if.c:1359:48: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *cmd[] = { DHCRELAY, "-i", ifname, NULL, '\0' };
> ^~~~
> if.c:1391:43: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *killcmd[] = { PKILL, "-xf", NULL, '\0' };
> ^~~~
> if.c:1559:44: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *vnet_argv[] = { "vnetid", argv[0], '\0' };
> ^~~~
> if.c:1560:43: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> char *par_argv[] = { "parent", argv[2], '\0' };
> ^~~~
> if.c:2149:37: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> "/var/run/rtadvd.0", ifname, '\0' };
> ^~~~
> if.c:2167:16: warning: expression which evaluates to zero treated as a null
> pointer constant of type 'char *' [-Wnon-literal-null-conversion]
> ifname, '\0' };
> ^~~~
> 8 warnings generated.
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> version.c
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> route.c
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> conf.c
> conf.c:1290:23: warning: unused variable 'sin6mask' [-Wunused-variable]
> struct sockaddr_in6 *sin6mask = (struct sockaddr_in6 *)samask;
> ^
> 1 warning generated.
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> complete.c
> complete.c:298:5: warning: explicitly assigning value of variable of type
> 'int' to itself [-Wself-assign]
> ch = ch; /* not used */
> ~~ ^ ~~
> 1 warning generated.
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> ieee80211.c
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> bridge.c
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> tunnel.c
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> media.c
> cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith
> -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c
> sysctl.c
> sysctl.c:103:52: error: use of undeclared identifier 'MOBILEIPCTL_ALLOW'
> { "mobileip", { CTL_NET, PF_INET, IPPROTO_MOBILE,
> MOBILEIPCTL_ALLOW, MIB_STOP, 0 }, 0, 1 },
> ^
> 1 error generated.
> *** Error 1 in
> /exopi-obj/pobj/nsh-1.0.20170819/nsh-23f1338bc463170bbf583096468c47248cfa548e
> (<sys.mk>:87 'sysctl.o')
> *** Error 1 in shells/nsh
> (/exopi-cvs/ports/infrastructure/mk/bsd.port.mk:2787
> '/exopi-obj/pobj/nsh-1.0.20170819/.build_done')
> *** Error 1 in shells/nsh
> (/exopi-cvs/ports/infrastructure/mk/bsd.port.mk:2453 'build')
> ===> Exiting shells/nsh with an error
> *** Error 1 in /exopi-cvs/ports (infrastructure/mk/bsd.port.subdir.mk:137
> 'build')
>>>> Ended at 1573038899.45
> Error: job failed with 256 on exopi-4 at 1573038899
>
>
>
>>
>
> --
> Antoine