[collectd] collectd-3.10.1-alt2: rebuild failed
Florian Forster
octo at verplant.org
Tue Oct 17 10:05:39 CEST 2006
Hi,
On Sat, Oct 14, 2006 at 10:16:09PM +0300, Michael Shigorin wrote:
> after recent gcc/glibc updates collectd was one of packages which
> stopped to rebuild (frankly, it was quite a surprise -- since so far
> it's been total pleasure to package and use).
it's surprising for me, too.
> In file included from apcups.c:32:
> collectd.h:132:1: error: "syslog" redefined
> In file included from /usr/include/sys/syslog.h:207,
> from /usr/include/syslog.h:1,
> from collectd.h:82,
> from apcups.c:32:
> /usr/include/bits/syslog.h:28:1: error: this is the location of the previous definition
Apparently `syslog', the function, is defined in both, <syslog.h> and
<bits/syslog.h>. The latter doesn't even exist on systems I've checked
so far..
> Our gcc/glibc maintainer mentioned manual syslog redefinition as a
> culprit and suggested to either fix it and mail you a patch (which is
> a bit beyond me) or at least notify of these two lines.
There is no such redefinition within collectd, and if I interpret the
error correctly the redefinition is in <bits/syslog.h>.. Which version
of the GNU libc did you upgrade to?
Thanks for the report, I'll see if I can reproduce the bug and find a
fix for it.
> PS: the site has a "3.10.0" on download button, but link is proper (to
> 3.10.1). Guess this is a FAQ though. :-)
Thanks for the hint, I'll fix that as soon as I get home :)
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://mailman.verplant.org/pipermail/collectd/attachments/20061017/7ae91693/attachment.pgp
More information about the collectd
mailing list