Bootstrap using experimental 09-30 stage 1 SPARC64 stage. Binutils dies attempting to apply patch. Reproducible: Always Steps to Reproduce: 1.scripts/bootstrap.sh 2. 3. Actual Results: * Applying binutils-2.13.90.0.10-x86_64-testsuite.patch... /usr/sbin/ebuild.sh: line 282: /var/tmp/portage/binutils-2.14.90.0.6-r6/temp/binutils-2.13.90.0.10-x86_64-testsuite.patch-20871.out.real: Input/output error /usr/sbin/ebuild.sh: line 283: /var/tmp/portage/binutils-2.14.90.0.6-r6/temp/binutils-2.13.90.0.10-x86_64-testsuite.patch-20871.out.real: Input/output error [ ok ] * Applying binutils-2.13.90.0.10-x86_64-gotpcrel.patch... /usr/sbin/ebuild.sh: line 244: /var/tmp/portage/binutils-2.14.90.0.6-r6/temp/binutils-2.13.90.0.10-x86_64-gotpcrel.patch-20871.out: Input/output error [ ok ] * Applying binutils-2.13.90.0.18-testsuite-Wall-fixes.patch... [ ok ] * Applying binutils-2.14.90.0.6-dont-crash-on-null-owner.patch... /usr/sbin/ebuild.sh: line 244: /var/tmp/portage/binutils-2.14.90.0.6-r6/temp/binutils-2.14.90.0.6-dont-crash-on-null-owner.patch-20871.out: Input/output error [ ok ] * Applying binutils-2.14.90.0.6-merge-speedup.patch... [ ok ] * Applying binutils-2.14.90.0.6-ia64-howto.patch... [ ok ] * Applying binutils-2.14.90.0.6-ia64-sdata.patch... [ ok ] * Applying binutils-2.14.90.0.6-ia64-speedup.patch... [ ok ] * Applying binutils-2.14.90.0.6-ppc-bfd.patch... * A dry-run of patch command succeeded, but actually * applying the patch failed! * Failed Patch: binutils-2.14.90.0.6-ppc-bfd.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/binutils-2.14.90.0.6-r6/temp/binutils-2.14.90.0.6-ppc-bfd.patch-20871.out !!! ERROR: sys-devel/binutils-2.14.90.0.6-r6 failed. !!! Function epatch, Line 322, Exitcode 0 !!! Failed Patch: binutils-2.14.90.0.6-ppc-bfd.patch! Expected Results: bootstrap should continue normally # cat /var/tmp/portage/binutils-2.14.90.0.6-r6/temp/binutils-2.14.90.0.6-ppc-bfd.patch-20871.out ***** binutils-2.14.90.0.6-ppc-bfd.patch ***** =============================================================== PATCH COMMAND: patch -l -p0 < /usr/portage/sys-devel/binutils/files/2.14/binutils-2.14.90.0.6-ppc-bfd.patch =============================================================== patching file bfd/elf-bfd.h patching file bfd/elf.c patching file bfd/elf32-m32r.c patching file bfd/elf32-m68hc11.c patching file bfd/elf32-mcore.c patching file bfd/elf32-ppc.c Hunk #1 succeeded at 6190 (offset 4 lines). patching file bfd/elf32-sh64.c patching file bfd/elf32-v850.c Hunk #1 succeeded at 3142 (offset -21 lines). patching file bfd/elf32-xtensa.c patching file bfd/elf64-alpha.c Hunk #1 succeeded at 5444 (offset -5 lines). patching file bfd/elf64-hppa.c Hunk #1 succeeded at 2672 (offset -3 lines). patching file bfd/elf64-ppc.c patching file bfd/elf64-sh64.c patching file bfd/elfxx-ia64.c Hunk #1 succeeded at 4747 (offset -1 lines). patching file bfd/elfxx-mips.c patching file gas/config/obj-elf.c patching file ld/testsuite/ld-discard/exit.s patching file ld/testsuite/ld-discard/extern.s patching file ld/testsuite/ld-discard/static.s =============================================================== ACTUALLY APPLYING binutils-2.14.90.0.6-ppc-bfd.patch... =============================================================== patching file bfd/elf-bfd.h patching file bfd/elf.c patching file bfd/elf32-m32r.c patching file bfd/elf32-m68hc11.c patching file bfd/elf32-mcore.c patching file bfd/elf32-ppc.c Hunk #1 succeeded at 6190 (offset 4 lines). patching file bfd/elf32-sh64.c patching file bfd/elf32-v850.c Hunk #1 succeeded at 3142 (offset -21 lines). patching file bfd/elf32-xtensa.c patching file bfd/elf64-alpha.c Hunk #1 succeeded at 5444 (offset -5 lines). patching file bfd/elf64-hppa.c Hunk #1 succeeded at 2672 (offset -3 lines). patching file bfd/elf64-ppc.c patching file bfd/elf64-sh64.c patching file bfd/elfxx-ia64.c Hunk #1 succeeded at 4747 (offset -1 lines). patching file bfd/elfxx-mips.c patching file gas/config/obj-elf.c patching file ld/testsuite/ld-discard/exit.s patch: **** Can't create file /var/tmp/portage/binutils-2.14.90.0.6-r6/temp/poGW84oS : Input/output error # emerge info Portage 2.0.49-r10 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.1-r4, 2.4.22-sparc-r0) ================================================================= System uname: 2.4.22-sparc-r0 sparc64 sun4u Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="sparc ~sparc" AUTOCLEAN="yes" CFLAGS="-mcpu=ultrasparc -O3 -pipe" CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=ultrasparc -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="sparc arts avi berkdb crypt cups encode esd fbcon foomaticdb gdbm gif imlib jpeg libwww mad mikmod motif mpeg ncurses nls oggvorbis oss opengl pam perl png python pdflib readline slang sdl spell ssl tcpd truetype xv xml2 xmms zlib -X -gtk -gnome -java -kde -qt -alsa"
Occured once with reiser, need to try to replicate.
Using the 10-11 stage 1 and reiser: * Applying binutils-2.14.90.0.6-ia64-sdata.patch... [ ok ] * Applying binutils-2.14.90.0.6-ia64-speedup.patch... * Failed Patch: binutils-2.14.90.0.6-ia64-speedup.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/binutils-2.14.90.0.6-r6/temp/binutils-2.14.90.0.6-ia64-speedup.patch-821.out !!! ERROR: sys-devel/binutils-2.14.90.0.6-r6 failed. !!! Function epatch, Line 322, Exitcode 0 !!! Failed Patch: binutils-2.14.90.0.6-ia64-speedup.patch!
Repeated with no changes except reformated / with ext3, and no error on bootstrap.
Weird... I have ReiserFS as / filesystem and didnt get an error like this... I think this bug can be closed then. Resolving as 'INVALID' as it wasn't a Gentoo specific bug.