Port-evbmips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
building "security/sudo" on evbmips64-el?
Recalling these threads:
http://mail-index.netbsd.org/port-evbmips/2016/09/09/msg000284.html
http://mail-index.netbsd.org/port-evbmips/2016/09/11/msg000289.html
The test case in the second thread still fails (and is worked around)
the same now as then.
During the configure phase of "security/sudo", the following is printed:
checking whether the linker accepts -Wl,-z,relro... no
leading me to try building without taking any special measures.
Then, however, I run into the following infinite loop:
[...]
===> Building for sudo-1.8.17p1
--- all ---
for d in lib/util plugins/group_file plugins/sudoers plugins/system_group src include doc examples; do (cd $d && exec /usr/bin/make all) && continue; exit $?; done
--- event.lo ---
--- fatal.lo ---
--- event.lo ---
/bin/sh ../../libtool --tag=disable-static --mode=compile gcc -c -o event.lo -I../../include -I../.. -I. -I../.. -D_PATH_SUDO_CONF=\"/usr/pkg/etc/sudo.conf\" -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -ggdb -D_OPENBSD_SOURCE=1 -pthread -I/usr/include ./event.c
--- fatal.lo ---
/bin/sh ../../libtool --tag=disable-static --mode=compile gcc -c -o fatal.lo -I../../include -I../.. -I. -I../.. -D_PATH_SUDO_CONF=\"/usr/pkg/etc/sudo.conf\" -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -ggdb -D_OPENBSD_SOURCE=1 -pthread -I/usr/include ./fatal.c
libtool: compile: Waiting for fatal.o.lock to be removed
--- event.lo ---
libtool: compile: Waiting for event.o.lock to be removed
--- fatal.lo ---
libtool: compile: Waiting for fatal.o.lock to be removed
--- event.lo ---
libtool: compile: Waiting for event.o.lock to be removed
[...]
I normally have MAKE_JOBS set to "ncpu+1" (2 in this case). Forcing it
back to 1 for "sudo", I end up with a similar predicament:
[...]
===> Building for sudo-1.8.17p1
for d in lib/util plugins/group_file plugins/sudoers plugins/system_group src include doc examples; do (cd $d && exec /usr/bin/make all) && continue; exit $?; done
/bin/sh ../../libtool --tag=disable-static --mode=compile gcc -c -o event.lo -I../../include -I../.. -I. -I../.. -D_PATH_SUDO_CONF=\"/usr/pkg/etc/sudo.conf\" -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -ggdb -D_OPENBSD_SOURCE=1 -pthread -I/usr/include ./event.c
libtool: compile: Waiting for event.o.lock to be removed
libtool: compile: Waiting for event.o.lock to be removed
[...]
What's going on here? I've so-far built:
cwrappers-20170112
pkg_chk-2.0.8
pkg_tarup-1.9.1
pkg_rolling-replace-0.24.2
digest-20160304
perl-5.24.1
lintpkgsrc-4.92nb1
m4-1.4.17
libtool-base-2.4.6
bsdtar-3.3.1
gmake-4.1nb3
pkgconf-1.0.1
osabi-NetBSD-7.99.67
x11-links-1.05
fluxbox-1.3.7
on this system (Lemote YeeLoong) and not had any trouble so far.
(modulo the "soft-float" issue with "cwrappers").
In case it matters, I'm building entirely on local FFSv2 filesystem,
albeit via a USB->SATA adapter. The pkgsrc tree is on NFS.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index