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

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu Dec 14 19:42:51 CET 2006


tag 403979 - unreproducible
tag 403979 + patch
severity 403079 serious
thanks

Hi Jochen,

> > During a rebuild of all packages in etch, I discovered that your package
> > failed to build on i386.
> > ucd-snmp/disk.c:235:36: error: operator '||' has no right operand
> > ucd-snmp/disk.c:283:36: error: operator '||' has no right operand
> 
> This is pretty strange.
> 
> 1. The build of this exact version succeeded on i386 just 3 weeks ago (accoring to buildd).
> 2. The error message looks like there is a bug in your CPP. According to
>    http://www.cs.cmu.edu/cgi-bin/info2www?(cpp.info)If

'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'.

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).

Thank you,

On 14/12/06 at 18:51 +0100, Jochen Friedrich wrote:
> tag 403079 + unreproducible

> severity 403079 normal
> thanks
> 
> Hi Lucas,
> 

> 
>   * Identifiers that are not macros, which are all considered to be the
>     number zero.
> 
> Obviously, your cpp does not replace nonexistent macros with zero but with
> nothing causing the OR operator to fail.
> 
> Thanks,
> Jochen
> 

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |




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