Bug#403079: [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
Thu Dec 14 18:51:30 CET 2006


tag 403079 + unreproducible
severity 403079 normal
thanks

Hi Lucas,

> 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

  * 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




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