[Pkg-net-snmp-devel] Bug#403079: net-snmp: FTBFS: ucd-snmp/disk.c:235:36: error: operator '||' has no right operand

Jochen Friedrich jochen at scram.de
Fri Dec 15 17:48:40 CET 2006


tag 403079 + confirmed
tag 403079 + pending
clone 403079 -1
reassign -1 autoconf
retitle -1 AC_FUNC_GETMNTENT not defining HAVE_GETMNTENT to 1 but to empty
thanks

Lucas Nussbaum schrieb:

> 'unreproducible' means that you tried to reproduce the issue, but
> couldn't, not just that you _think_ you wouldn't reproduce it, because
> this looks 'pretty strange'.

Updating autoconf did the trick to replicate this behaviour.
However, to me it looks like the problem is in autoconf indeed, so i'm
cloning and reassigning. If support of getmntent is found, HAVE_GETMNTENT
is defined empty instead of to 1, although the documentation states differently.
This change seems to have introduced the bug:

http://cvs.savannah.gnu.org/viewcvs/autoconf/autoconf/lib/autoconf/functions.m4?r1=1.108&r2=1.109

> When looking at the code, it is pretty clear that the failure is caused
> by HAVE_GETMNTENT not being defined at all. Bug #402116 (severity
> important, filed by Petr Salinger) confirms the problem and provides a
> patch that should fix the bug (I haven't tested it though).

I'll include a workaround for this autoconf bug in the next upload.





More information about the Pkg-net-snmp-devel mailing list