On 09/09/14 17:36, Stuart Henderson wrote:
Hmm. Is the -current installation on the same hardware as you were
previously running 5.5 on?
Yes.
There were only minor changes to NUT's APC driver between 2.7.1 and
2.7.2 so I'd guess that it's unlikely to be that, but it's easier to
check old NUT on new OpenBSD than the other way around, so it's
probably worth trying 2.7.1 on -current to narrow down whether it's
due to a NUT change or OpenBSD change.
That didn't work. The old package won't install on -current. Gives
this error
# pkg_add -v nut
Can't install nut-2.7.1p1 because of libraries
|library usb-1.0.1.1 not found
| /usr/local/lib/libusb-1.0.so.1.0 (libusb1-1.0.9p8): minor is too small
Direct dependencies for nut-2.7.1p1 resolve to libltdl-2.4.2p0
libusb-compat-0.1.5
Full dependency tree is libusb1-1.0.9p8 libusb-compat-0.1.5 libltdl-2.4.2p0
Packages at http://junkpile.org/nut-amd64/ or you can build them
yourself - check out a -current ports tree, then "cd
/usr/ports/sysutils/nut; TZ=UTC cvs up -D '2014/04/21 11:40:00'"
before building. So if 2.7.1 behaves the same as 2.7.2 we're probably
looking at some change in OpenBSD affecting this and probably need
help from USB developers, or if 2.7.1 fixes this then it probably
needs taking to the NUT mailing lists to ask for advice there.
I didn't fair much better trying to build from ports. I get this error
which totally hangs the ssh or console session. Seems like I've seen
this error before, but can't recall what it is. FTP proxy config error
maybe?
>> Fetch
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.35.tar.gz
Illegal EPRT command
Illegal PORT command
Guess I'll either try to build an older tarball from the NUT site or go
back to 5.5
Stan