Summary: | app-admin/syslog-ng-1.6.11 compile fails with LOG_CRON undeclared error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Hsia <xanderhsia> |
Component: | Current packages | Assignee: | Mr. Bones. (RETIRED) <mr_bones_> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | jer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
syslog-ng emerge log
emerge info |
Description
Alexander Hsia
2006-09-12 08:45:51 UTC
Created attachment 96799 [details]
syslog-ng emerge log
Created attachment 96800 [details]
emerge info
Works fine for me so it's likely something broken locally rather then a problem with the package. Please attach the output of "emerge -evp syslog-ng" # emerge -evp syslog-ng These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] virtual/libiconv-0 0 kB [ebuild N ] sys-devel/gettext-0.15 USE="nls -doc -emacs -nocxx" 7,892 kB [ebuild N ] virtual/libintl-0 0 kB [ebuild N ] sys-apps/sed-4.1.5 USE="nls -static" 0 kB [ebuild N ] sys-kernel/linux-headers-2.6.17 USE="-gcc64" 0 kB [ebuild N ] sys-devel/gcc-config-1.3.13-r3 0 kB [ebuild N ] app-misc/pax-utils-0.1.13 USE="-caps" 0 kB [ebuild N ] dev-libs/gmp-4.2.1 USE="-doc -nocxx" 0 kB [ebuild N ] sys-libs/gpm-1.20.1-r5 USE="(-selinux)" 559 kB [ebuild N ] sys-libs/ncurses-5.5-r3 USE="gpm unicode -bootstrap -build -debug -doc -minimal -nocxx -trace" 2,259 kB [ebuild N ] sys-devel/m4-1.4.6 USE="nls" 495 kB [ebuild N ] sys-devel/gnuconfig-20060702 38 kB [ebuild N ] sys-devel/bison-2.2 USE="nls -static" 0 kB [ebuild N ] sys-apps/texinfo-4.8-r4 USE="nls -build -static" 1,486 kB [ebuild N ] sys-apps/groff-1.19.2-r1 USE="X" 2,835 kB [ebuild N ] sys-devel/binutils-config-1.9-r1 0 kB [ebuild N ] sys-devel/binutils-2.17 USE="nls -multislot -multitarget -test -vanilla" 13,482 kB [ebuild N ] sys-apps/man-1.6d USE="nls" 0 kB [ebuild N ] perl-core/Test-Simple-0.64 69 kB [ebuild N ] virtual/perl-Test-Simple-0.64 0 kB [ebuild N ] dev-perl/Locale-gettext-1.05 7 kB [ebuild N ] sys-apps/help2man-1.36.4 USE="nls" 83 kB [ebuild N ] sys-devel/libtool-1.5.22 0 kB [ebuild N ] dev-util/pkgconfig-0.21 USE="-hardened" 0 kB [ebuild N ] x11-misc/util-macros-1.1.0 USE="-debug" 0 kB [ebuild N ] x11-proto/kbproto-1.0.3 USE="-debug" 0 kB [ebuild N ] x11-proto/xextproto-7.0.2 USE="-debug" 0 kB [ebuild N ] x11-proto/xf86bigfontproto-1.1.2 USE="-debug" 0 kB [ebuild N ] x11-proto/inputproto-1.3.2 USE="-debug" 0 kB [ebuild N ] x11-proto/xproto-7.0.7 USE="-debug" 0 kB [ebuild N ] x11-libs/libXau-1.0.2 USE="-debug" 0 kB [ebuild N ] x11-proto/bigreqsproto-1.0.2 USE="-debug" 0 kB [ebuild N ] x11-libs/libXdmcp-1.0.2 USE="-debug" 0 kB [ebuild N ] x11-proto/xcmiscproto-1.1.2 USE="-debug" 0 kB [ebuild N ] x11-libs/xtrans-1.0.1 USE="-debug" 0 kB [ebuild N ] x11-libs/libX11-1.0.3 USE="-debug -ipv6" 0 kB [ebuild N ] x11-libs/libICE-1.0.1 USE="-debug -ipv6" 0 kB [ebuild N ] x11-libs/libSM-1.0.1 USE="-debug -ipv6" 0 kB [ebuild N ] x11-libs/libXt-1.0.2 USE="-debug" 0 kB [ebuild N ] app-portage/portage-utils-0.1.21 USE="python" 67 kB [ebuild N ] dev-java/java-config-wrapper-0.12 7 kB [ebuild N ] app-shells/bash-3.1_p17 USE="nls -afs -bashlogger -vanilla" 2,517 kB [ebuild N ] sys-libs/readline-5.1_p4 1,986 kB [ebuild N ] sys-apps/diffutils-2.8.7-r1 USE="nls -static" 1,037 kB [ebuild N ] dev-libs/openssl-0.9.8c USE="zlib -bindist -emacs -test" 0 kB [ebuild N ] app-misc/ca-certificates-20050804 0 kB [ebuild N ] sys-libs/gdbm-1.8.3-r2 USE="berkdb" 0 kB [ebuild N ] dev-libs/expat-2.0.0 0 kB [ebuild N ] sys-libs/zlib-1.2.3 USE="-build" 415 kB [ebuild N ] dev-lang/python-2.4.3-r3 USE="berkdb gdbm ncurses readline ssl -bootstrap -build -doc -ipv6 -nocxx -tk -ucs2" 0 kB [ebuild N ] dev-java/java-config-2.0.28 15 kB [ebuild N ] dev-python/python-fchksum-1.7.1 0 kB [ebuild N ] x11-libs/libXext-1.0.1 USE="-debug" 0 kB [ebuild N ] sys-devel/make-3.81 USE="nls -static" 0 kB [ebuild N ] sys-apps/sandbox-1.2.18.1 0 kB [ebuild N ] dev-python/pycrypto-2.0.1-r5 USE="-bindist -gmp -test" 0 kB [ebuild N ] sys-apps/portage-2.1.1 USE="-build -doc (-selinux)" LINGUAS="-pl" 0 kB [ebuild N ] sys-apps/sysvinit-2.86-r5 USE="(-ibm) (-selinux) -static" 0 kB [ebuild N ] sys-apps/attr-2.4.32 USE="nls" 0 kB [ebuild N ] sys-apps/acl-2.2.39 USE="nls" 0 kB [ebuild N ] sys-devel/automake-1.8.5-r3 0 kB [ebuild N ] sys-apps/coreutils-6.1 USE="acl nls (-selinux) -static" 0 kB [ebuild N ] sys-apps/baselayout-1.12.4-r7 USE="unicode -bootstrap -build -static" 0 kB [ebuild N ] sys-apps/hotplug-base-20040401 0 kB [ebuild N ] sys-fs/udev-100 USE="(-selinux)" 0 kB [ebuild N ] sys-kernel/gentoo-sources-2.6.17-r8 USE="-build -symlink (-ultra1)" 0 kB [ebuild N ] media-sound/alsa-headers-1.0.12 0 kB [ebuild N ] media-libs/alsa-lib-1.0.12 USE="-doc" 0 kB [ebuild N ] x11-libs/libXi-1.0.1 USE="-debug" 0 kB [ebuild N ] x11-proto/recordproto-1.13.2 USE="-debug" 0 kB [ebuild N ] x11-libs/libXtst-1.0.1 USE="-debug" 0 kB [ebuild N ] x11-proto/printproto-1.0.3 USE="-debug" 0 kB [ebuild N ] x11-libs/libXp-1.0.0 USE="-debug" 0 kB [ebuild N ] dev-java/sun-jdk-1.5.0.08 USE="X alsa nsplugin -doc -examples -jce" 0 kB [ebuild N ] virtual/jdk-1.5.0 0 kB [ebuild N ] virtual/jre-1.5.0 0 kB [ebuild N ] sys-libs/db-4.3.29-r2 USE="java -bootstrap -doc -nocxx -tcl -test" 0 kB [ebuild N ] sys-devel/libperl-5.8.8-r1 USE="berkdb gdbm -debug -ithreads" 0 kB [ebuild N ] dev-lang/perl-5.8.8-r2 USE="berkdb gdbm -build -debug -doc -ithreads -perlsuid" 0 kB [ebuild N ] sys-devel/autoconf-2.60 USE="-emacs" 1,334 kB [ebuild N ] sys-devel/automake-1.5 514 kB [ebuild N ] perl-core/Test-Harness-2.62 0 kB [ebuild N ] app-admin/perl-cleaner-1.04.3 0 kB [ebuild N ] perl-core/PodParser-1.34 0 kB [ebuild N ] sys-devel/autoconf-2.13 433 kB [ebuild N ] sys-devel/autoconf-wrapper-3.2-r2 0 kB [ebuild N ] sys-devel/automake-1.6.3 0 kB [ebuild N ] sys-devel/automake-1.7.9-r1 0 kB [ebuild N ] sys-devel/automake-1.4_p6 0 kB [ebuild N ] sys-devel/automake-wrapper-1-r1 0 kB [ebuild N ] sys-devel/automake-1.9.6-r2 0 kB [ebuild N ] dev-libs/mpfr-2.2.0_p14 0 kB [ebuild N ] sys-devel/gcc-4.1.1-r1 USE="fortran gtk nls (-altivec) -bootstrap -build -doc -gcj (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB [ebuild N ] sys-libs/timezone-data-2006k 0 kB [ebuild N ] sys-libs/glibc-2.4-r3 USE="nls nptl nptlonly profile -build -glibc-omitfp -hardened (-multilib) (-selinux)" 0 kB [ebuild N ] dev-libs/libol-0.3.18 337 kB [ebuild N ] sys-apps/tcp-wrappers-7.6-r8 USE="-ipv6" 0 kB [ebuild N ] sys-devel/flex-2.5.33-r1 USE="nls -static" 0 kB [ebuild N ] app-admin/syslog-ng-1.6.11 USE="tcpd -hardened (-selinux) -static" 0 kB Total size of downloads: 37,878 kB Seems like syslog-ng secretly depends on some virtual/cron. (In reply to comment #5) > Seems like syslog-ng secretly depends on some virtual/cron. > Sorry, that's just silly. But this might be helpful: cd /var/tmp/portage; diff -u syslog-ng-*/work/syslog-ng*/src/syslog-names.c --- syslog-ng-1.6.11/work/syslog-ng-1.6.11/src/syslog-names.c 2006-09-27 15:54 :18.000000000 +0200 +++ syslog-ng-2.0_rc3/work/syslog-ng-2.0rc3/src/syslog-names.c 2006-06-12 10:42 :23.000000000 +0200 <snip> +#ifdef LOG_CRON + {"cron", LOG_CRON}, #endif - { "cron", LOG_CRON }, <snip> Apparently something changed between 1.6* and 2.0*. LOG_CRON is defined in /usr/include/sys/syslog.h, part of sys-libs/glibc. Same goes for 1.6.9 as for 1.6.11, btw. And yet I still cannot reproduce this error on a similar system. Alexander: did you use the gcc upgrading guide[1]? [1] http://www.gentoo.org/doc/en/gcc-upgrading.xml LOG_CRON is defined in /usr/include/sys/syslog.h which is supplied by glibc. I'm totally unable to reproduce this bug. I've tried various combos of gcc and so on but it builds fine for me. I'm going to close this with NEEDINFO but please reopen if the cause is determined. Thanks. |