Cannot emerge app-admin/syslog-ng-1.6.8-r1. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: wopr-mobile ~ # emerge --newuse -Du world Calculating world dependencies ...done! >>> emerge (1 of 2) app-admin/syslog-ng-1.6.8-r1 to / >>> md5 files ;-) syslog-ng-1.6.6.ebuild >>> md5 files ;-) syslog-ng-1.6.5-r2.ebuild >>> md5 files ;-) syslog-ng-1.6.8.ebuild >>> md5 files ;-) syslog-ng-1.6.7.ebuild >>> md5 files ;-) syslog-ng-1.6.8-r1.ebuild >>> md5 files ;-) files/digest-syslog-ng-1.6.6 >>> md5 files ;-) files/digest-syslog-ng-1.6.7 >>> md5 files ;-) files/digest-syslog-ng-1.6.8 >>> md5 files ;-) files/digest-syslog-ng-1.6.5-r2 >>> md5 files ;-) files/digest-syslog-ng-1.6.8-r1 >>> md5 files ;-) files/syslog-ng.conf.gentoo.hardened >>> md5 files ;-) files/syslog-ng.rc6 >>> md5 files ;-) files/syslog-ng.logrotate >>> md5 files ;-) files/syslog-ng.conf.debian >>> md5 files ;-) files/syslog-ng.conf.gentoo >>> md5 src_uri ;-) syslog-ng-1.6.8.tar.gz >>> Unpacking source... >>> Unpacking syslog-ng-1.6.8.tar.gz to /var/tmp/portage/syslog-ng-1.6.8-r1/work * Replacing obsolete head/tail with POSIX compliant ones * - fixed configure >>> Source unpacked. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --disable-dependency-tracking --with-libol=/usr/bin --disable-full-static --enable-tcp-wrapper checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether build environment is sane... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... none checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for bison... bison -y checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking whether make sets $(MAKE)... (cached) yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for unistd.h... (cached) yes checking door.h usability... no checking door.h presence... no checking for door.h... no checking stropts.h usability... yes checking stropts.h presence... yes checking for stropts.h... yes checking sys/strlog.h usability... no checking sys/strlog.h presence... no checking for sys/strlog.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/klog.h usability... yes checking sys/klog.h presence... yes checking for sys/klog.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking tcpd.h usability... yes checking tcpd.h presence... yes checking for tcpd.h... yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for modern utmp... yes checking for global timezone variable... yes checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for I_CONSLOG... no checking for O_LARGEFILE... yes checking for res_init in <resolv.h>... yes checking for working alloca.h... yes checking for alloca... yes checking for vprintf... yes checking for _doprnt... no checking for res_init in -lresolv... no checking for __res_init in -lresolv... yes checking for door_create in -ldoor... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for select... yes checking for snprintf... yes checking for vsnprintf... yes checking for strerror... yes checking for inet_aton... yes checking for strncpy... yes checking for getutent... yes checking for getopt_long... yes checking for strcasecmp... yes checking for strptime... yes checking for TCP wrapper library... -lwrap checking whether to enable Sun STREAMS support... no checking whether to enable Sun door support... no checking whether to enable TCP wrapper support... yes checking whether to enable spoof_source support... no checking how to enable static linking for certain libraries... GNU or Solaris checking libol version >= 0.3.16... ok configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/tests/Makefile config.status: creating doc/Makefile config.status: creating doc/sgml/Makefile config.status: creating contrib/Makefile config.status: creating syslog-ng.spec config.status: creating src/config.h config.status: executing depfiles commands Making all in src make[1]: Entering directory `/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src' cd /var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8 && /bin/sh /var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/missing --run autoheader touch /var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src/config.h.in cd .. && /bin/sh ./config.status src/config.h config.status: creating src/config.h config.status: src/config.h is unchanged make all-recursive make[2]: Entering directory `/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src' Making all in . make[3]: Entering directory `/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src -I. -march=pentium-m -O2 -pipe -Wall -I/var/tmp/portage/libol-0.3.16/work/libol-0.3.16/src -D_GNU_SOURCE -c `test -f 'main.c' || echo '/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src/'`main.c In file included from main.c:26: syslog-ng.h:31:21: objects.h: No such file or directory In file included from cfgfile.h:29, from main.c:27: sources.h:30:23: read_line.h: No such file or directory In file included from sources.h:32, from cfgfile.h:29, from main.c:27: log.h:30:16: io.h: No such file or directory In file included from sources.h:32, from cfgfile.h:29, from main.c:27: log.h:39: error: parse error before "UINT32" log.h:39: warning: no semicolon at end of struct or union log.h:43: error: parse error before "pri" log.h:43: warning: type defaults to `int' in declaration of `pri' log.h:43: warning: data definition has no type or storage class log.h:44: error: parse error before "flags" log.h:44: warning: type defaults to `int' in declaration of `flags' log.h:44: warning: data definition has no type or storage class log.h:51: error: parse error before '}' token In file included from log.h:54, from sources.h:32, from cfgfile.h:29, from main.c:27: log.h.x:4: error: field `super' has incomplete type In file included from sources.h:32, from cfgfile.h:29, from main.c:27: log.h:93: error: parse error before "length" log.h:94: error: parse error before "pri" In file included from cfgfile.h:29, from main.c:27: sources.h:33:18: list.h: No such file or directory In file included from cfgfile.h:29, from main.c:27: sources.h:64: error: parse error before "dgram" In file included from filters.h:33, from cfgfile.h:30, from main.c:27: filters.h.x:4: error: field `super' has incomplete type filters.h.x:40: error: field `super' has incomplete type In file included from cfgfile.h:30, from main.c:27: filters.h:63: error: parse error before "valid" filters.h:64: error: parse error before "valid" In file included from center.h:32, from cfgfile.h:32, from main.c:27: center.h.x:4: error: field `super' has incomplete type center.h.x:39: error: field `super' has incomplete type center.h.x:40: error: parse error before "UINT32" center.h.x:40: warning: no semicolon at end of struct or union center.h.x:45: error: parse error before '}' token In file included from cfgfile.h:32, from main.c:27: center.h:69: error: parse error before "UINT32" center.h:81: warning: "struct resource_node" declared inside parameter list center.h:81: warning: its scope is only this definition or declaration, which is probably not what you want In file included from cfgfile.h:35, from main.c:27: cfgfile.h.x:4: error: field `super' has incomplete type cfgfile.h.x:10: error: parse error before "UINT32" cfgfile.h.x:10: warning: no semicolon at end of struct or union cfgfile.h.x:11: warning: type defaults to `int' in declaration of `keep_hostname' cfgfile.h.x:11: warning: data definition has no type or storage class cfgfile.h.x:12: error: parse error before "mark_freq" cfgfile.h.x:12: warning: type defaults to `int' in declaration of `mark_freq' cfgfile.h.x:12: warning: data definition has no type or storage class cfgfile.h.x:13: error: parse error before "sync_freq" cfgfile.h.x:13: warning: type defaults to `int' in declaration of `sync_freq' cfgfile.h.x:13: warning: data definition has no type or storage class cfgfile.h.x:14: error: parse error before "stats_freq" cfgfile.h.x:14: warning: type defaults to `int' in declaration of `stats_freq' cfgfile.h.x:14: warning: data definition has no type or storage class cfgfile.h.x:15: error: parse error before "time_reopen" cfgfile.h.x:15: warning: type defaults to `int' in declaration of `time_reopen' cfgfile.h.x:15: warning: data definition has no type or storage class cfgfile.h.x:16: error: parse error before "time_reap" cfgfile.h.x:16: warning: type defaults to `int' in declaration of `time_reap' cfgfile.h.x:16: warning: data definition has no type or storage class cfgfile.h.x:18: error: parse error before "use_time_recvd" cfgfile.h.x:18: warning: type defaults to `int' in declaration of `use_time_recvd' cfgfile.h.x:18: warning: data definition has no type or storage class cfgfile.h.x:19: error: parse error before "use_fqdn" cfgfile.h.x:19: warning: type defaults to `int' in declaration of `use_fqdn' cfgfile.h.x:19: warning: data definition has no type or storage class cfgfile.h.x:20: error: parse error before "use_dns" cfgfile.h.x:20: warning: type defaults to `int' in declaration of `use_dns' cfgfile.h.x:20: warning: data definition has no type or storage class cfgfile.h.x:21: error: parse error before "check_hostname" cfgfile.h.x:21: warning: type defaults to `int' in declaration of `check_hostname' cfgfile.h.x:21: warning: data definition has no type or storage class cfgfile.h.x:22: error: parse error before '*' token cfgfile.h.x:23: warning: type defaults to `int' in declaration of `create_dirs' cfgfile.h.x:23: warning: data definition has no type or storage class cfgfile.h.x:24: error: parse error before "sanitize_filenames" cfgfile.h.x:24: warning: type defaults to `int' in declaration of `sanitize_filenames' cfgfile.h.x:24: warning: data definition has no type or storage class cfgfile.h.x:31: error: parse error before "dns_cache" cfgfile.h.x:31: warning: type defaults to `int' in declaration of `dns_cache' cfgfile.h.x:31: warning: data definition has no type or storage class cfgfile.h.x:32: error: parse error before "dns_cache_size" cfgfile.h.x:32: warning: type defaults to `int' in declaration of `dns_cache_size' cfgfile.h.x:32: warning: data definition has no type or storage class cfgfile.h.x:33: error: parse error before "dns_cache_expire" cfgfile.h.x:33: warning: type defaults to `int' in declaration of `dns_cache_expire' cfgfile.h.x:33: warning: data definition has no type or storage class cfgfile.h.x:34: error: parse error before "dns_cache_expire_failed" cfgfile.h.x:34: warning: type defaults to `int' in declaration of `dns_cache_expire_failed' cfgfile.h.x:34: warning: data definition has no type or storage class cfgfile.h.x:36: error: parse error before "gc_busy_threshold" cfgfile.h.x:36: warning: type defaults to `int' in declaration of `gc_busy_threshold' cfgfile.h.x:36: warning: data definition has no type or storage class cfgfile.h.x:37: error: parse error before "gc_idle_threshold" cfgfile.h.x:37: warning: type defaults to `int' in declaration of `gc_idle_threshold' cfgfile.h.x:37: warning: data definition has no type or storage class cfgfile.h.x:38: error: parse error before "log_msg_size" cfgfile.h.x:38: warning: type defaults to `int' in declaration of `log_msg_size' cfgfile.h.x:38: warning: data definition has no type or storage class cfgfile.h.x:40: error: conflicting types for 'sources' center.h.x:41: error: previous declaration of 'sources' was here cfgfile.h.x:41: error: conflicting types for 'filters' center.h.x:42: error: previous declaration of 'filters' was here cfgfile.h.x:42: error: conflicting types for 'destinations' center.h.x:43: error: previous declaration of 'destinations' was here cfgfile.h.x:45: error: parse error before '}' token cfgfile.h.x:75: error: field `super' has incomplete type cfgfile.h.x:110: error: field `super' has incomplete type In file included from main.c:27: cfgfile.h:114: error: parse error before "UINT32" main.c:29:20: format.h: No such file or directory main.c:30:20: werror.h: No such file or directory main.c:31:19: queue.h: No such file or directory main.c:32:24: pkt_buffer.h: No such file or directory In file included from main.c:51: main.c.x:4: error: field `super' has incomplete type main.c.x:19: error: variable `reread_config_class' has initializer but incomplete type main.c.x:20: error: `STATIC_HEADER' undeclared here (not in a function) main.c.x:20: warning: excess elements in struct initializer main.c.x:20: warning: (near initialization for `reread_config_class') main.c.x:21: error: `callback_class' undeclared here (not in a function) main.c.x:21: warning: excess elements in struct initializer main.c.x:21: warning: (near initialization for `reread_config_class') main.c.x:21: warning: excess elements in struct initializer main.c.x:21: warning: (near initialization for `reread_config_class') main.c.x:21: warning: excess elements in struct initializer main.c.x:21: warning: (near initialization for `reread_config_class') main.c.x:22: warning: excess elements in struct initializer main.c.x:22: warning: (near initialization for `reread_config_class') main.c.x:24: warning: excess elements in struct initializer main.c.x:24: warning: (near initialization for `reread_config_class') main.c.x:30: error: field `super' has incomplete type main.c.x:45: error: variable `report_stats_class' has initializer but incomplete type main.c.x:46: warning: excess elements in struct initializer main.c.x:46: warning: (near initialization for `report_stats_class') main.c.x:47: warning: excess elements in struct initializer main.c.x:47: warning: (near initialization for `report_stats_class') main.c.x:47: warning: excess elements in struct initializer main.c.x:47: warning: (near initialization for `report_stats_class') main.c.x:47: warning: excess elements in struct initializer main.c.x:47: warning: (near initialization for `report_stats_class') main.c.x:48: warning: excess elements in struct initializer main.c.x:48: warning: (near initialization for `report_stats_class') main.c.x:50: warning: excess elements in struct initializer main.c.x:50: warning: (near initialization for `report_stats_class') main.c.x:56: error: field `super' has incomplete type main.c.x:76: error: variable `syslog_backend_class' has initializer but incomplete type main.c.x:77: warning: excess elements in struct initializer main.c.x:77: warning: (near initialization for `syslog_backend_class') main.c.x:78: error: `io_backend_class' undeclared here (not in a function) main.c.x:78: warning: excess elements in struct initializer main.c.x:78: warning: (near initialization for `syslog_backend_class') main.c.x:78: warning: excess elements in struct initializer main.c.x:78: warning: (near initialization for `syslog_backend_class') main.c.x:78: warning: excess elements in struct initializer main.c.x:78: warning: (near initialization for `syslog_backend_class') main.c.x:79: warning: excess elements in struct initializer main.c.x:79: warning: (near initialization for `syslog_backend_class') main.c.x:81: warning: excess elements in struct initializer main.c.x:81: warning: (near initialization for `syslog_backend_class') main.c: In function `do_reread_config': main.c:68: warning: implicit declaration of function `CAST' main.c:68: error: `reread_config' undeclared (first use in this function) main.c:68: error: (Each undeclared identifier is reported only once main.c:68: error: for each function it appears in.) main.c:68: error: `self' undeclared (first use in this function) main.c:82: warning: implicit declaration of function `io_callout' main.c:91: error: `debug_flag' undeclared (first use in this function) main.c:95: warning: implicit declaration of function `notice' main.c:119: warning: implicit declaration of function `exit' main.c: In function `do_report_stats': main.c:137: error: `report_stats' undeclared (first use in this function) main.c:137: error: `self' undeclared (first use in this function) main.c:139: error: `pktbuf_dropped_pkts' undeclared (first use in this function) main.c: In function `main_loop': main.c:186: warning: braces around scalar initializer main.c:186: warning: (near initialization for `s.super') main.c:186: warning: excess elements in scalar initializer main.c:186: warning: (near initialization for `s.super') main.c:186: confused by earlier errors, bailing out make[3]: *** [main.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src' make: *** [all-recursive] Error 1 !!! ERROR: app-admin/syslog-ng-1.6.8-r1 failed. !!! Function src_compile, Line 41, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo i686) ================================================================= System uname: 2.6.13-gentoo i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.12.0_pre7 dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium-m -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig cvs digest distlocks fixpackages sandbox sfperms sign strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 acpi alsa avi berkdb bitmap-fonts browserplugin cairo cdr crypt cups curl dbus divx4linux dvd dvdr dvdread emboss encode exif fame firefox foomaticdb fortran gdbm gif glitz gnome gpm gstreamer hal imlib ipv6 java jpeg libg++ libwww lzo mad mikmod mjpeg mmx mng mono moznocompose moznoirc moznomail mp3 mpeg ncurses nls nomotif nptl nvidia ogg oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline spell sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts usb vorbis win32codecs wmf xml2 xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
I see the problem. I've masked -r1 until I fix the bug which is actually in libol.
fixed in CVS. resync and try it again.
*** Bug 104563 has been marked as a duplicate of this bug. ***
*** Bug 104627 has been marked as a duplicate of this bug. ***