Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD-current/amd64 build release failure



hi,

build.sh with 18 June commit failed and needs a fix as follows.  if it is already well-known, sorry for noise.

build errors:
% ./build.sh -U -u -j4 release
(snip)
In file included from /home/src/sys/compat/netbsd32/netbsd32_netbsd.c:114:0:
/home/src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c:67:8: error: 'NETBSD32_SYS_compat_50_netbsd32_quotactl' undeclared here (not in a function); did you mean 'NETBSD32_SYS_compat_50_netbsd32_wait4'
?
      { NETBSD32_SYS_compat_50_netbsd32_quotactl, "compat_netbsd32_50" },
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        NETBSD32_SYS_compat_50_netbsd32_wait4
/home/src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c:68:8: error: 'NETBSD32_SYS_compat_43_oquota' undeclared here (not in a function); did you mean 'NETBSD32_SYS_compat_43_owait'?
      { NETBSD32_SYS_compat_43_oquota, "compat_netbsd32_43" },
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        NETBSD32_SYS_compat_43_owait
--- kern-GENERIC ---

fix:
diff --git a/sys/compat/netbsd32/netbsd32_syscalls_autoload.c b/sys/compat/netbsd32/netbsd32_syscalls_autoload.c
index 212b8cd..f51857c 100644
--- a/sys/compat/netbsd32/netbsd32_syscalls_autoload.c
+++ b/sys/compat/netbsd32/netbsd32_syscalls_autoload.c
@@ -64,8 +64,10 @@ static struct sc_autoload netbsd32_syscalls_autoload[] = {
            { NETBSD32_SYS_compat_43_netbsd32_ogetrlimit, "compat_netbsd32_43" },
            { NETBSD32_SYS_compat_43_netbsd32_osetrlimit, "compat_netbsd32_43" },
            { NETBSD32_SYS_compat_43_netbsd32_killpg, "compat_netbsd32_43" },
+#if defined(QUOTA)
            { NETBSD32_SYS_compat_50_netbsd32_quotactl, "compat_netbsd32_50" },
            { NETBSD32_SYS_compat_43_oquota, "compat_netbsd32_43" },
+#endif /* QUOTA */
            { NETBSD32_SYS_compat_43_netbsd32_ogetsockname, "compat_netbsd32_43" },
            { NETBSD32_SYS_netbsd32_nfssvc, "compat_netbsd32_nfssrv" },
            { NETBSD32_SYS_compat_43_netbsd32_ogetdirentries, "compat_netbsd32_43" },

Best regards,
--
Motoyuki OHMORI <ohmori%tottori-u.ac.jp@localhost>



Home | Main Index | Thread Index | Old Index