/home/whirm: 29 files 1.9Gb (> emerge watchdog Calculating dependencies ...done! >>> emerge app-admin/watchdog-5.2 to / >>> md5 ;-) watchdog-5.2.tar.gz >>> Unpacking source... >>> Unpacking watchdog-5.2.tar.gz >>> Source unpacked. loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether build environment is sane... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for mawk... (cached) mawk checking for gcc... (cached) gcc checking whether the C compiler (gcc -march=athlon-mp -O3 -pipe -fomit-frame-pointer ) works... yes checking whether the C compiler (gcc -march=athlon-mp -O3 -pipe -fomit-frame-pointer ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... /usr/bin/install -c checking for sendmail... (cached) /usr/sbin/sendmail checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for paths.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for syslog.h... (cached) yes checking for unistd.h... (cached) yes checking for working const... (cached) yes checking for inline... (cached) inline checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for st_rdev in struct stat... (cached) yes checking for sys_siglist declaration in signal.h or unistd.h... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking whether gcc needs -traditional... (cached) no checking return type of signal handlers... (cached) void checking for vprintf... (cached) yes checking for gethostname... (cached) yes checking for select... (cached) yes checking for socket... (cached) yes checking for strcspn... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strstr... (cached) yes checking for strtoul... (cached) yes checking for uname... (cached) yes checking whether to log via syslog... yes checking whether to include NFS support... yes checking for minimum value accepted as reboot cause... 2 checking for timer margin used by kernel... 60 checking for config filename... /etc/watchdog/watchdog.conf checking for config file line length... 80 checking for pid filename... /var/run/watchdog.pid checking for random seed filename... /var/run/random-seed creating ./config.status creating Makefile creating src/Makefile creating include/config.h Making all in src make[1]: Entering directory `/var/tmp/portage/watchdog-5.2/work/watchdog-5.2/src' gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c file_table.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c file_stat.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c fstab.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c iface.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c ifdown.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c keep_alive.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c load.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c lomount.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c memory.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c mntent.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c mount.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c net.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c nfsmount.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c nfsmount_clnt.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c nfsmount_xdr.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c pidfile.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c quotactl.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c shutdown.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c sundries.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c temp.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -march=athlon-mp -O3 -pipe -fomit-frame-pointer -c test_binary.c sundries.c:143: conflicting types for `die' ../include/sundries.h:54: previous declaration of `die' make[1]: *** [sundries.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/watchdog-5.2/work/watchdog-5.2/src' make: *** [all-recursive] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -156, Exitcode 2 !!! (no error message) root /home/whirm: 29 files 1.9Gb (> ***** system updated at the date of 30/09/02.
this business of everything on one line due to konqueror is fairly hard to read. can you just attach a log please?
Created attachment 4347 [details] log In multiple Lines ^_^ ok here is it!
watchdog build works with gcc 2.95.x, but fails with gcc 3.2. HTH finding the problem.
This looks like a gcc 3.2 related issue; I still run 2.95 and don't plan to switch, so I guess I'm a bad assignee for this bug. Punting back to bug-wranglers.
I have added a patch to watchdog to allow it to compile properly. Thanks for reporting the bug!