Summary: | Error in emerging any package after gentoo-sources-2.4.26-r7 upgraded : compilations stop with error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Georg Sahli <g--g> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Georg Sahli
2004-08-10 16:10:37 UTC
these are my last /var/log/messages entries: Aug 11 01:20:05 unreal kde(pam_unix)[10727]: session closed for user xxxxx Aug 11 01:20:05 unreal kdm[10722]: X server for display :0 terminated unexpectedly Aug 11 01:20:05 unreal [10727]: pam_setcred(DELETE_CRED) for xxxxx failed: System error Aug 11 01:20:08 unreal kdm_greet[11953]: Can't open default user face Could find errors on partition /usr, and fixed with rebuild-tree. After that is was possible to emerge glibc. But again no other ebuilds can be emerged, checked partitions again and again, there are no more failures. Can still no longer make bzImage, it do break again and again with: make[1]: Entering directory `/usr/src/linux-2.4.26-gentoo-r8/drivers' make -C block make[2]: Entering directory `/usr/src/linux-2.4.26-gentoo-r8/drivers/block' make all_targets make[3]: Entering directory `/usr/src/linux-2.4.26-gentoo-r8/drivers/block' gcc -D__KERNEL__ -I/usr/src/linux-2.4.26-gentoo-r8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -nostdinc -iwithprefix include -DKBUILD_BASENAME=ll_rw_blk -DEXPORT_SYMTAB -c ll_rw_blk.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.26-gentoo-r8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -nostdinc -iwithprefix include -DKBUILD_BASENAME=blkpg -DEXPORT_SYMTAB -c blkpg.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.26-gentoo-r8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -nostdinc -iwithprefix include -DKBUILD_BASENAME=genhd -DEXPORT_SYMTAB -c genhd.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.26-gentoo-r8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -nostdinc -iwithprefix include -DKBUILD_BASENAME=elevator -c -o elevator.o elevator.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.26-gentoo-r8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -nostdinc -iwithprefix include -DKBUILD_BASENAME=floppy -c -o floppy.o floppy.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.26-gentoo-r8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -nostdinc -iwithprefix include -DKBUILD_BASENAME=rd -c -o rd.o rd.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.26-gentoo-r8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -nostdinc -iwithprefix include -DKBUILD_BASENAME=loop -DEXPORT_SYMTAB -c loop.c rm -f block.o ld -m elf_i386 -e stext -r -o block.o ll_rw_blk.o blkpg.o genhd.o elevator.o floppy.o rd.o loop.o make[3]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r8/drivers/block' make[2]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r8/drivers/block' make -C cdrom make[2]: Entering directory `/usr/src/linux-2.4.26-gentoo-r8/drivers/cdrom' make all_targets make[3]: Entering directory `/usr/src/linux-2.4.26-gentoo-r8/drivers/cdrom' rm -f driver.o ar rcs driver.o make[3]: execvp: ar: Permission denied make[3]: *** [driver.o] Error 127 make[3]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r8/drivers/cdrom' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r8/drivers/cdrom' make[1]: *** [_subdir_cdrom] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r8/drivers' make: *** [_dir_drivers] Error 2 ############################################################################# At the old backup system where I did build the new kernel I do have a new bug too, it is searching for SCSI cdroms! How to fix the old system? ############################################################################## Again I do get integer errors by compiling kahakai. ############################################################################## After reisercheck, the only thing which could emerge was glibc. Who to repair now both system? ------------------------------ Can emerge alsa-driver, but can't emerge alsa-oss, here is the error message: rm -f .libs/libalsatoss_la-mixer.lo gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"alsa-oss\" -DVERSION=\"1.0.5\" -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 -DHAVE_LIBASOUND=1 -I. -I. -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -MT libalsatoss_la-mixer.lo -MD -MP -MF .deps/libalsatoss_la-mixer.Tpo -c mixer.c -fPIC -DPIC -o .libs/libalsatoss_la-mixer.lo gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"alsa-oss\" -DVERSION=\"1.0.5\" -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 -DHAVE_LIBASOUND=1 -I. -I. -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -MT libalsatoss_la-mixer.lo -MD -MP -MF .deps/libalsatoss_la-mixer.Tpo -c mixer.c -o libalsatoss_la-mixer.o >/dev/null 2>&1 mv -f .libs/libalsatoss_la-mixer.lo libalsatoss_la-mixer.lo /bin/sh ../libtool --mode=link gcc -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -o libalsatoss.la -rpath /usr/lib libalsatoss_la-pcm.lo libalsatoss_la-mixer.lo -lasound -lm -ldl -lpthread rm -fr .libs/libalsatoss.la .libs/libalsatoss.* .libs/libalsatoss.* rm -f .libs/alsa-oss.lo gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"alsa-oss\" -DVERSION=\"1.0.5\" -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 -DHAVE_LIBASOUND=1 -I. -I. -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -MT alsa-oss.lo -MD -MP -MF .deps/alsa-oss.Tpo -c alsa-oss.c -fPIC -DPIC -o .libs/alsa-oss.lo gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"alsa-oss\" -DVERSION=\"1.0.5\" -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 -DHAVE_LIBASOUND=1 -I. -I. -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -MT alsa-oss.lo -MD -MP -MF .deps/alsa-oss.Tpo -c alsa-oss.c -o alsa-oss.o >/dev/null 2>&1 gcc -shared libalsatoss_la-pcm.lo libalsatoss_la-mixer.lo /usr/lib/libasound.so -lm -ldl -lpthread -Wl,-soname -Wl,libalsatoss.so.0 -o .libs/libalsatoss.so.0.0.0 mv -f .libs/alsa-oss.lo alsa-oss.lo (cd .libs && rm -f libalsatoss.so.0 && ln -s libalsatoss.so.0.0.0 libalsatoss.so.0) (cd .libs && rm -f libalsatoss.so && ln -s libalsatoss.so.0.0.0 libalsatoss.so) ar cru .libs/libalsatoss.a libalsatoss_la-pcm.o libalsatoss_la-mixer.o ../libtool: line 1: ar: command not found make[1]: *** [libalsatoss.la] Error 127 make[1]: Leaving directory `/var/tmp/portage/alsa-oss-1.0.5/work/alsa-oss-1.0.5/alsa' make: *** [all-recursive] Error 1 !!! ERROR: media-libs/alsa-oss-1.0.5 failed. !!! Function src_compile, Line 415, Exitcode 2 !!! emake failed > ../libtool: line 1: ar: command not found
This doesn't look like a kernel bug to me, rather something wrong with binutils. Try remerging that - you might need a binary, you can make one from a working system using "quickpkg binutils" and then merging the binary package on the broken system. See if that helps.
Thank you Tim, you saved my week. I'm so glad that my system is running as fine like last Friday. I was wondering, because the last thing I did emerge before the fault did happen was the new kernel with the more than 4400 lines of new security code. On fault still I have, is that my old system where I maked the new release 8 kernel is still searching SCSI CDROM's, where are none. Will it be suffice to delete the /lib/modules/{kernelversion folder} ? Regards, Georg > is still searching SCSI CDROM's
Is this when the system boots with /etc/modules.autoload, dmesg with the kernel trying to do it itself via request_module(...), or an initrd such as one generated by genkernel? Or when some other service starts like hotplug?
Sorry Tim, that was my fault, due to the old systems log file had a size of more than 20MB (collected in 11 month of using), the scroll job did jerking. After copy and paste of the important part, I saw my mistake. (Did use for 5 years SuSE, and do say Gentoo has the best community and support) Job closed! |