[Nut-upsdev] Bug#439986: Renaming `UPSCONN' to `UPSCONN_t' causes problems when upgrading.

Florian Forster octo at verplant.org
Wed Sep 12 07:04:04 UTC 2007


Hi Arnaud,

On Tue, Sep 11, 2007 at 08:53:21PM +0200, Arnaud Quette wrote:
> Since I'm preparing 2.2.1, I will add a typedef to manage the backward compat.
> I've fixed it in the subversion trunk and Testing branches.

thanks :)

> A last question: what is your use of this (wmnut or something else)?

It's collectd <http://collectd.org/>.

The story is this:
  First, a user complained that he couldn't build the plugin which
queries nut. After some debugging it turned out that his version of
libupsclient was linked against libssl. So I told him (how) to use
CFLAGS and put him off the next version which would use
`libupsclient-config' to get the flags right automatically. He came back
to me and said that the configure script detected the library correctly,
but he still had problems building the plugin. I saw in the CC output he
sent me that the type was missing and after upgrading my Debian packages
I could reproduce the problem..

I've added the appropriate checks to the configurescript now, but I
guess other client projects will have the same problem eventually..

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20070912/19a0ca77/attachment.pgp 


More information about the Nut-upsdev mailing list