apcupsd pkgsrc package install is slightly broken

Mark Cullen mark.r.cullen at gmail.com
Wed Jun 7 10:49:14 PDT 2006


I've been on to the maintainer and he says to report it to DF people.

"Well, I tested with both pkgsrc-current (updated today) and pkgsrc-2006Q1,
in both cases the example script got installed in /usr/pkg/share/examples.
So it looks like it's a DF-specific problem ...
The package's makefile itself should probably not set RCD_SCRIPT_SRC
to ${WRKSRC}/distributions/netbsd/apcupsd for non-netbsd systems,
but it looks like the configure script would need some adjystements as
well."
The problem: the rc.d script doesn't seem to get installed.

---
===========================================================================
===========================================================================
The following files should be created for apcupsd-3.8.6nb5:
        /etc/rc.d/apcupsd (m=0755)

===========================================================================
===> Please note the following:
===========================================================================
$NetBSD: MESSAGE,v 1.1 2001/10/31 22:52:51 zuntum Exp $
NOTE:  With most APC cables you must put a "local" flag in /etc/ttys for
       the port you connect your UPS to, and run "ttyflags -a" to turn it
       on the first time.
for complete documentation, see the html docs in
file:///usr/pkg/share/doc/html/apcupsd
===========================================================================

ls: /usr/pkg/share/examples/rc.d/apcupsd: No such file or directory
===> Registering installation for apcupsd-3.8.6nb5
pkg_create: can't stat `/usr/pkg/share/examples/rc.d/apcupsd'
apcupsd-3.8.6nb5 requires installed package gettext-lib-0.14.5
===> Cleaning for apcupsd-3.8.6nb5
===> Cleaning for libtool-base-1.5.22nb3
===> Cleaning for gettext-lib-0.14.5
===> Cleaning for gettext-tools-0.14.5
===> Cleaning for gmake-3.81
---
I've got the full build log if it's needed, and can provide any other info!

Anyone willing to take a quick look at this one? I don't have a clue :-)





More information about the Bugs mailing list