Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58358 - app-admin/sysklogd-1.4.1-r11 fails to emerge
Summary: app-admin/sysklogd-1.4.1-r11 fails to emerge
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-26 00:30 UTC by postmodern
Modified: 2004-11-14 04:18 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 postmodern 2004-07-26 00:30:22 UTC
app-admin/sysklogd-1.4.1-r11 fails to emerge.

Reproducible: Always
Steps to Reproduce:
1. emerge rsync; emerge sysklogd
2.
3.

Actual Results:  
]1;]2;Started emerge on: Jul 26, 2004 00:38:45]1;]2; *** emerge 
sysklogd]1;]2; >>> emerge (1 of 1) app-admin/sysklogd-1.4.1-r11 to
/]1;]2; === (1 of 1) Cleaning
(app-admin/sysklogd-1.4.1-r11::/usr/portage/app-admin/sysklogd/sysklogd-1.4.1-r11.ebuild)]1;]2;
=== (1 of 1) Compiling/Merging
(app-admin/sysklogd-1.4.1-r11::/usr/portage/app-admin/sysklogd/sysklogd-1.4.1-r11.ebuild)syslogd.c:
In function `main':
syslogd.c:1126: warning: passing arg 6 of `recvfrom' from incompatible pointer type
In file included from /usr/include/linux/spinlock.h:8,
                 from /usr/include/linux/signal.h:5,
                 from ksym_mod.c:92:
/usr/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
In file included from /usr/include/asm/current.h:7,
                 from /usr/include/asm/processor.h:18,
                 from /usr/include/linux/spinlock.h:16,
                 from /usr/include/linux/signal.h:5,
                 from ksym_mod.c:92:
/usr/include/asm/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here
(not in a function)
/usr/include/asm/pda.h:26: error: requested alignment is not a constant
In file included from /usr/include/linux/spinlock.h:16,
                 from /usr/include/linux/signal.h:5,
                 from ksym_mod.c:92:
/usr/include/asm/processor.h:67: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared
here (not in a function)
/usr/include/asm/processor.h:67: error: requested alignment is not a constant
/usr/include/asm/processor.h:230: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared
here (not in a function)
/usr/include/asm/processor.h:230: error: requested alignment is not a constant
In file included from /usr/include/linux/list.h:7,
                 from ksym_mod.c:102:
/usr/include/linux/prefetch.h: In function `prefetch_range':
/usr/include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared
(first use in this function)
/usr/include/linux/prefetch.h:64: error: (Each undeclared identifier is reported
only once
/usr/include/linux/prefetch.h:64: error: for each function it appears in.)
ksym_mod.c: In function `InitMsyms':
ksym_mod.c:266: warning: int format, different type arg (arg 3)
make: *** [ksym_mod.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: app-admin/sysklogd-1.4.1-r11 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)

]1;]2; *** terminating.]1;]2;xterm

Expected Results:  
success

Gentoo Base System version 1.4.16
Portage 2.0.50-r9 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.4.20040605-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 x86_64 4
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-pipe -O3"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb cdr crypt encode esd foomaticdb gdbm gif
gnome gphoto2 gpm gtk gtk2 imlib jpeg libg++ libwww mikmod motif mozilla mpeg
multilib ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png python
quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"
Comment 1 postmodern 2004-07-26 00:33:41 UTC
Sorry forgot to include stdin along with stderr stream in my error log.

]1;]2;Started emerge on: Jul 26, 2004 00:41:07]1;]2; *** emerge  sysklogd]1;]2; >>> emerge (1 of 1) app-admin/sysklogd-1.4.1-r11 to /]1;]2; === (1 of 1) Cleaning (app-admin/sysklogd-1.4.1-r11::/usr/portage/app-admin/sysklogd/sysklogd-1.4.1-r11.ebuild)]1;]2; === (1 of 1) Compiling/Merging (app-admin/sysklogd-1.4.1-r11::/usr/portage/app-admin/sysklogd/sysklogd-1.4.1-r11.ebuild)>>> Unpacking source...
>>> Unpacking sysklogd-1.4.1.tar.gz to /var/tmp/portage/sysklogd-1.4.1-r11/work
 [32;01m*[0m Applying sysklogd-1.4.1-SO_BSDCOMPAT.patch...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying sysklogd-1.4.1-2.6.headers.patch...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
gcc  -pipe -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS -DFSSTND -DSYSLOGD_PIDNAME=\"syslogd.pid\"  -c syslogd.c
gcc  -pipe -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -c pidfile.c
syslogd.c: In function `main':
syslogd.c:1126: warning: passing arg 6 of `recvfrom' from incompatible pointer type
gcc  -pipe -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DFSSTND   -c klogd.c
gcc  -pipe -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DALLOW_KERNEL_LOGGING -c syslog.c
gcc  -pipe -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DFSSTND  -c ksym.c
gcc  -pipe -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DFSSTND  -c ksym_mod.c
In file included from /usr/include/linux/spinlock.h:8,
                 from /usr/include/linux/signal.h:5,
                 from ksym_mod.c:92:
/usr/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
In file included from /usr/include/asm/current.h:7,
                 from /usr/include/asm/processor.h:18,
                 from /usr/include/linux/spinlock.h:16,
                 from /usr/include/linux/signal.h:5,
                 from ksym_mod.c:92:
/usr/include/asm/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/pda.h:26: error: requested alignment is not a constant
In file included from /usr/include/linux/spinlock.h:16,
                 from /usr/include/linux/signal.h:5,
                 from ksym_mod.c:92:
/usr/include/asm/processor.h:67: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:67: error: requested alignment is not a constant
/usr/include/asm/processor.h:230: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:230: error: requested alignment is not a constant
In file included from /usr/include/linux/list.h:7,
                 from ksym_mod.c:102:
/usr/include/linux/prefetch.h: In function `prefetch_range':
/usr/include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in this function)
/usr/include/linux/prefetch.h:64: error: (Each undeclared identifier is reported only once
/usr/include/linux/prefetch.h:64: error: for each function it appears in.)
ksym_mod.c: In function `InitMsyms':
ksym_mod.c:266: warning: int format, different type arg (arg 3)
make: *** [ksym_mod.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: app-admin/sysklogd-1.4.1-r11 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)

Calculating dependencies    ...done!
>>> emerge (1 of 1) app-admin/sysklogd-1.4.1-r11 to /
>>> md5 src_uri ;-) sysklogd-1.4.1.tar.gz
]1;]2; *** terminating.]1;]2;xterm
Comment 2 Elie De Brauwer 2004-07-28 10:45:43 UTC
Another confirmation on the same package but looks like a different error, this
starts at the beginning right after unpacking the source and applying the patches.

>>> Source unpacked.
gcc  -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSYSV -fomit-frame-po                            inter -Wall -fno-strength-reduce -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS -DFSSTN                            D -DSYSLOGD_PIDNAME=\"syslogd.pid\"  -c syslogd.c
gcc  -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSYSV -fomit-frame-po                            inter -Wall -fno-strength-reduce -c pidfile.c
gcc  -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSYSV -fomit-frame-po                            inter -Wall -fno-strength-reduce -DFSSTND   -c klogd.c
gcc  -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSYSV -fomit-frame-po                            inter -Wall -fno-strength-reduce -DALLOW_KERNEL_LOGGING -c syslog.c
syslogd.c: In function `main':
syslogd.c:1126: warning: passing arg 6 of `recvfrom' from incompatible pointer t                            ype
gcc  -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSYSV -fomit-frame-po                            inter -Wall -fno-strength-reduce -DFSSTND  -c ksym.c
gcc  -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSYSV -fomit-frame-po                            inter -Wall -fno-strength-reduce -DFSSTND  -c ksym_mod.c
In file included from /usr/include/linux/spinlock.h:6,
                 from /usr/include/linux/module.h:11,
                 from ksym_mod.c:120:
/usr/include/asm/system.h: In function `__cmpxchg':
/usr/include/asm/system.h:195: error: `LOCK_PREFIX' undeclared (first use in thi                            s function)
/usr/include/asm/system.h:195: error: (Each undeclared identifier is reported on                            ly once
/usr/include/asm/system.h:195: error: for each function it appears in.)
/usr/include/asm/system.h:195: error: syntax error before string constant
/usr/include/asm/system.h:201: error: syntax error before string constant
/usr/include/asm/system.h:207: error: syntax error before string constant
/usr/include/asm/system.h:213: error: syntax error before string constant
ksym_mod.c: In function `InitMsyms':
ksym_mod.c:266: warning: int format, different type arg (arg 3)
make: *** [ksym_mod.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: app-admin/sysklogd-1.4.1-r11 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)

And yet another emerge info:

root@psychotic /home/helios # emerge info
Portage 2.0.50-r9 (default-amd64-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 x86_64 4
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.du.se/pub/os/gentoo http://gentoo.mirror.sdv.fr http://ftp.gentoo.skynet.be/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X amd64 apm arts avi berkdb cdr crypt encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mikmod motif mozilla mpeg ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang snmp spell ssl tcpd truetype xml2 xmms xv zlib"
Comment 3 Danny van Dyk (RETIRED) gentoo-dev 2004-07-31 04:37:00 UTC
These seem to be 2 bugs with the same cause: bad linux-headers.

Try to remerge the linux headers or upgrade to linux26-headers.
If these bugs can't be solved by that, reopen this report.

Resolved as WORKSFORME.
Comment 4 postmodern 2004-07-31 16:49:28 UTC
Found a conflict with the old linux-headers and the new linux26-headers. After removing the old headers all problems vanished.
Comment 5 Elie De Brauwer 2004-08-17 02:59:15 UTC
Ok works for me also with the new headers. Shouldn't it be better to give a more
verbose warning after a check for which headers are installed instead of simply failing to compile ?
Comment 6 Jan Schubert 2004-11-14 04:18:54 UTC
Yeah, helped me a lot, too (also at other packages where i had problems). So why the hell was there a dependency to linux(24)-headers, as long amd64 runs just with linux26...