Current-Users archive

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

Re: Build error for port-sparc



And with even more recent sources (updated on 2020-03-04 at
02:52:55 UTC), I'm getting an error even earlier in the build:

dependall ===> external/bsd/pam-u2f/bin/pamu2fcfg
#    create  pamu2fcfg/explicit_bzero.d
CC=/build/netbsd-compat/tools/x86_64/sparc/bin/sparc--netbsdelf-gcc /build/netbsd-compat/tools/x86_64/sparc/bin/nbmkdep -f explicit_bzero.d.tmp  --   -std=gnu99   --sysroot=/build/netbsd-compat/dest/sparc -I/build/netbsd-compat/src_ro/external/bsd/pam-u2f/dist -I/build/netbsd-compat/src_ro/external/bsd/pam-u2f/bin/pamu2fcfg -DPACKAGE='"pam_u2f"' -DVERSION='"1.0.9"' -DHAVE_UNISTD_H     /build/netbsd-compat/src_ro/external/bsd/pam-u2f/dist/explicit_bzero.c &&  mv -f explicit_bzero.d.tmp explicit_bzero.d
In file included from /build/netbsd-compat/src_ro/external/bsd/pam-u2f/dist/explicit_bzero.c:16:
/build/netbsd-compat/src_ro/external/bsd/pam-u2f/dist/util.h:9:10: fatal error: security/pam_appl.h: No such file or directory
 #include <security/pam_appl.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
nbmkdep: compile failed.
*** [explicit_bzero.d] Error code 1

Again, I'm seeing this _only_ for sparc.  I've done ``build.sh release''
for literally dozens of other $ARCH without any problems.

Anyone got a clue?



On Tue, 3 Mar 2020, Paul Goyette wrote:

With sources updated on 2020-03-02 at 13:13:48 UTC I am getting the
following build error when doing a ``build.sh release''

#   compile  ramdisk/gethost.o
/build/netbsd-compat/tools/x86_64/sparc/bin/sparc--netbsdelf-gcc -Os -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Werror --sysroot=/build/netbsd-compat/dest/sparc -DSMALL -DLIBHACK -D_REENTRANT -c -I/build/netbsd-compat/src_ro/distrib/utils/libhack/../../../lib/libc/net /build/netbsd-compat/src_ro/distrib/utils/libhack/gethost.c /build/netbsd-compat/src_ro/distrib/utils/libhack/gethost.c:76:1: error: function declaration isn't a prototype [-Werror=strict-prototypes]
int h_errno;
^~~
cc1: all warnings being treated as errors


+--------------------+--------------------------+-----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
+--------------------+--------------------------+-----------------------+


+--------------------+--------------------------+-----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
+--------------------+--------------------------+-----------------------+


Home | Main Index | Thread Index | Old Index