Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163168 - net-snmp-5.2.1.2-r1 build error: syntax error in ucd-snmp/disk.c
Summary: net-snmp-5.2.1.2-r1 build error: syntax error in ucd-snmp/disk.c
Status: RESOLVED DUPLICATE of bug 156178
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-22 05:48 UTC by Brian Hwang
Modified: 2007-01-22 07:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Hwang 2007-01-22 05:48:33 UTC
net-snmp was one of the dependencies when emerging 'nasm'
on an almost new installation from stage3 of 2006.1.

USEs:
USE="-X aac aalib acl acpi alsa ao apache2 audiofile avahi bash-completion bzip2 cjk crypt ctype curl curlwrappers debug dio doc dvb encode examples exif ffmpeg fftw flac flash ftp gd fig hardened jpeg jpeg2k mad mime ming mmap mp3 mpeg mpi mplayer mysql nas ncurses ogg openal pdf php png posix recode sdl session sndfile sox spl sse ssl symlink theora threads tokenizer unicode x264 xvid zlib"

The last outputs:

ucd-snmp/disk.c:233:36: error: operator '||' has no right operand
ucd-snmp/disk.c:281:36: error: operator '||' has no right operand
ucd-snmp/disk.c:377:19: error: #if with no expression
ucd-snmp/disk.c:400:36: error: operator '||' has no right operand
ucd-snmp/disk.c:471:19: error: #if with no expression
ucd-snmp/disk.c:497:36: error: operator '||' has no right operand
make[2]: *** [ucd-snmp/disk.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/agent'
make: *** [subdirs] Error 1

!!! ERROR: net-analyzer/net-snmp-5.2.1.2-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  net-snmp-5.2.1.2-r1.ebuild, line 108:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

GCC version: Gentoo 4.1.1-r3
Kernel: 2.6.18 Hardened
emerge command line: emerge --deep nasm

Reproducible: Didn't try
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-22 07:29:50 UTC

*** This bug has been marked as a duplicate of bug 156178 ***