When linux-headers-2.6.7 are installed on an nptl system, sysklogd-1.4.1-r10 fails to emerge. Reproducible: Always Steps to Reproduce: 1. Emerge an nptl system 2. After "emerge system" emerge sysklogd Actual Results: emerge sysklogd Calculating dependencies ...done! >>> emerge (1 of 1) app-admin/sysklogd-1.4.1-r10 to / >>> md5 src_uri ;-) sysklogd-1.4.1.tar.gz >>> Unpacking source... >>> Unpacking sysklogd-1.4.1.tar.gz to /var/tmp/portage/sysklogd-1.4.1-r10/work * Applying sysklogd-1.4.1-SO_BSDCOMPAT.patch... [ ok ] * Applying sysklogd-1.4.1-2.6.headers.patch... [ ok ] >>> Source unpacked. gcc -O3 -march=athlon-tbird -mmmx -m3dnow -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURC E -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS -DFSSTND -DSYS LOGD_PIDNAME=\"syslogd.pid\" -c syslogd.c gcc -O3 -march=athlon-tbird -mmmx -m3dnow -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURC E -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -c pidfile.c gcc -O3 -march=athlon-tbird -mmmx -m3dnow -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURC E -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DFSSTND -c klogd.c gcc -O3 -march=athlon-tbird -mmmx -m3dnow -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURC E -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DALLOW_KERNEL_LOGGING -c syslog.c gcc -O3 -march=athlon-tbird -mmmx -m3dnow -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURC E -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DFSSTND -c ksym.c gcc -O3 -march=athlon-tbird -mmmx -m3dnow -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURC E -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DFSSTND -c ksym_mod.c In file included from ksym_mod.c:101: /usr/include/linux/list.h:26: error: redefinition of `struct list_head' /usr/include/linux/list.h:48: error: redefinition of `__list_add' /usr/include/linux/list.h:48: error: `__list_add' previously defined here /usr/include/linux/list.h:64: error: redefinition of `list_add' /usr/include/linux/list.h:64: error: `list_add' previously defined here /usr/include/linux/list.h:77: error: redefinition of `list_add_tail' /usr/include/linux/list.h:77: error: `list_add_tail' previously defined here /usr/include/linux/list.h:89: error: redefinition of `__list_add_rcu' /usr/include/linux/list.h:89: error: `__list_add_rcu' previously defined here /usr/include/linux/list.h:114: error: redefinition of `list_add_rcu' /usr/include/linux/list.h:114: error: `list_add_rcu' previously defined here /usr/include/linux/list.h:136: error: redefinition of `list_add_tail_rcu' /usr/include/linux/list.h:136: error: `list_add_tail_rcu' previously defined here /usr/include/linux/list.h:148: error: redefinition of `__list_del' /usr/include/linux/list.h:148: error: `__list_del' previously defined here /usr/include/linux/list.h:160: error: redefinition of `list_del' /usr/include/linux/list.h:160: error: `list_del' previously defined here /usr/include/linux/list.h:191: error: redefinition of `list_del_rcu' /usr/include/linux/list.h:191: error: `list_del_rcu' previously defined here /usr/include/linux/list.h:201: error: redefinition of `list_del_init' /usr/include/linux/list.h:201: error: `list_del_init' previously defined here /usr/include/linux/list.h:212: error: redefinition of `list_move' /usr/include/linux/list.h:212: error: `list_move' previously defined here /usr/include/linux/list.h:224: error: redefinition of `list_move_tail' /usr/include/linux/list.h:224: error: `list_move_tail' previously defined here /usr/include/linux/list.h:234: error: redefinition of `list_empty' /usr/include/linux/list.h:234: error: `list_empty' previously defined here /usr/include/linux/list.h:251: error: redefinition of `list_empty_careful' /usr/include/linux/list.h:251: error: `list_empty_careful' previously defined here /usr/include/linux/list.h:258: error: redefinition of `__list_splice' /usr/include/linux/list.h:258: error: `__list_splice' previously defined here /usr/include/linux/list.h:276: error: redefinition of `list_splice' /usr/include/linux/list.h:276: error: `list_splice' previously defined here /usr/include/linux/list.h:290: error: redefinition of `list_splice_init' /usr/include/linux/list.h:290: error: `list_splice_init' previously defined here /usr/include/linux/list.h:482: error: redefinition of `struct hlist_head' /usr/include/linux/list.h:486: error: redefinition of `struct hlist_node' /usr/include/linux/list.h:496: error: redefinition of `hlist_unhashed' /usr/include/linux/list.h:496: error: `hlist_unhashed' previously defined here /usr/include/linux/list.h:501: error: redefinition of `hlist_empty' /usr/include/linux/list.h:501: error: `hlist_empty' previously defined here /usr/include/linux/list.h:506: error: redefinition of `__hlist_del' /usr/include/linux/list.h:506: error: `__hlist_del' previously defined here /usr/include/linux/list.h:515: error: redefinition of `hlist_del' /usr/include/linux/list.h:515: error: `hlist_del' previously defined here /usr/include/linux/list.h:541: error: redefinition of `hlist_del_rcu' /usr/include/linux/list.h:541: error: `hlist_del_rcu' previously defined here /usr/include/linux/list.h:547: error: redefinition of `hlist_del_init' /usr/include/linux/list.h:547: error: `hlist_del_init' previously defined here /usr/include/linux/list.h:557: error: redefinition of `hlist_add_head' /usr/include/linux/list.h:557: error: `hlist_add_head' previously defined here /usr/include/linux/list.h:588: error: redefinition of `hlist_add_head_rcu' /usr/include/linux/list.h:588: error: `hlist_add_head_rcu' previously defined here /usr/include/linux/list.h:601: error: redefinition of `hlist_add_before' /usr/include/linux/list.h:601: error: `hlist_add_before' previously defined here /usr/include/linux/list.h:610: error: redefinition of `hlist_add_after' /usr/include/linux/list.h:610: error: `hlist_add_after' previously defined here make: *** [ksym_mod.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: app-admin/sysklogd-1.4.1-r10 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! (no error message) Expected Results: sysklogd should be successfully emerged Reverting to linux-headers-2.6.6 fixes this problem
Created attachment 33655 [details, diff] Patch Hi, Can you please try this patch on a patch inside /usr/portage/app-admin/sysklogd/files and tell me if it works? Thanks!
This patch fixes the problem on my system.
Now in CVS; this should reach Portage in an hour. If you still have some issues with sysklogd then please reopen this bug. Thanks!