pkgsrc-Users archive

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

sudo 1.8.15 fails to build on NetBSD (-f weirdness)



Hej All,

I just noticed sudo was finally updated, so I gave it a try on NetBSD 7.99.1, no pkg specific options.
It doesn’t compile sudoers, so it won’t install.

=> Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb8
=> Tool dependency perl>=5.0: found perl-5.22.0
===> Overriding tools for sudo-1.8.15
===> Extracting for sudo-1.8.15
===> Patching for sudo-1.8.15
=> Applying pkgsrc patches for sudo-1.8.15
===> Creating toolchain wrappers for sudo-1.8.15
===> Configuring for sudo-1.8.15
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
configure: WARNING: unrecognized options: --with-nbsdops
[…]
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure: WARNING: unrecognized options: --with-nbsdops
=> Modifying libtool scripts to use pkgsrc libtool
[…]
/bin/sh ../../libtool  --mode=link gcc -std=gnu99 -o sudoreplay getdate.o locale.o sudoreplay.o -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -Wl,-z,relro  -Wc,-fstack-protector-all timestr.lo ../../lib/util/libsudo_util.la -lz
libtool: link: gcc -std=gnu99 -o .libs/sudoreplay getdate.o locale.o sudoreplay.o -Wl,-R/usr/pkg/lib -Wl,-z -Wl,relro -Wl,-fstack-protector-all .libs/timestr.o  ../../lib/util/.libs/libsudo_util.so -L/usr/pkgsrc/security/sudo/work/.buildlink/lib -lz  -Wl,-rpath -Wl,/usr/pkg/lib/sudo
ld: -f may not be used without -shared
*** [sudoreplay] Error code 1

make[1]: stopped in /usr/pkgsrc/security/sudo/work/sudo-1.8.15/plugins/sudoers
--- toke.lo ---
libtool: compile:  gcc -std=gnu99 -c -I../../include -I../.. -I. -DLIBDIR=\"/usr/pkg/lib\" -DLOCALEDIR=\"/usr/pkg/share/locale\" -D_PATH_SUDOERS=\"/usr/pkg/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 -D_FORTIFY_SOURCE=2 -O2 -D_OPENBSD_SOURCE=1 -fvisibility=hidden -fstack-protector-all ./toke.c -o toke.o >/dev/null 2>&1
1 error

make[1]: stopped in /usr/pkgsrc/security/sudo/work/sudo-1.8.15/plugins/sudoers
*** [all] Error code 2

make: stopped in /usr/pkgsrc/security/sudo/work/sudo-1.8.15
1 error

Any obvious solution apart from upgrading the system?

Cheers
	Oskar

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail



Home | Main Index | Thread Index | Old Index