I'm reviewing the Gauche scheme compiler
(
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=188168) and
today after updating my rawhide mirror I found that the package that
built yesterday no longer builds. I last updated yesterday, so I
think it might be the recent glibc-kernheaders update. It's kind of
hard to tell; a lot has changed recently. I've attached a complete
failed build log to the above bug; here's where it starts to go off:
source='os_dep.c' object='os_dep.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\"gc\"
-DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.7\"
-DPACKAGE_STRING=\"gc\ 6.7\" -DPACKAGE_BUGREPORT=\"Hans.Boehm(a)hp.com\"
-DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=7 -DPACKAGE=\"gc\"
-DVERSION=\"6.7\" -DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1
-DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1
-DATOMIC_UNCOLLECTABLE=1 -DDONT_ADD_BYTE_AT_END=1 -DLARGE_CONFIG=1 -I./include
-fexceptions -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -fexceptions -c -o os_dep.lo os_dep.c
os_dep.c:20:30: error: linux/version.h: No such file or directory
In file included from /usr/include/asm/signal.h:5,
from os_dep.c:27:
/usr/include/asm-x86_64/signal.h:6:27: error: linux/linkage.h: No such file or directory
In file included from /usr/include/asm-x86_64/signal.h:7,
from /usr/include/asm/signal.h:5,
from os_dep.c:27:
/usr/include/linux/time.h:9: error: redefinition of 'struct timespec'
/usr/include/linux/time.h:15: error: redefinition of 'struct timeval'
/usr/include/linux/time.h:42: error: redefinition of 'struct itimerspec'
In file included from /usr/include/asm/signal.h:5,
from os_dep.c:27:
/usr/include/asm-x86_64/signal.h:15: error: conflicting types for 'sigset_t'
/usr/include/signal.h:50: error: previous declaration of 'sigset_t' was here
In file included from /usr/include/asm/signal.h:5,
from os_dep.c:27:
/usr/include/asm-x86_64/signal.h:102: error: redefinition of 'struct sigaction'
/usr/include/asm-x86_64/signal.h:103: error: expected ':', ',',
';', '}' or '__attribute__' before '.' token
/usr/include/asm-x86_64/signal.h:113: error: redefinition of 'struct sigaltstack'
Any idea what's happening here?
- J<