Created attachment 523722 [details] emerge --info =dev-libs/openssl-1.1.0g-r2 While trying to do this command: emerge --buildpkgonly openssl I am getting this error. >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-libs/openssl-1.1.0g-r2 * openssl-1.1.0g.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: dev-libs/openssl-1.1.0g-r2 * REPO: gentoo * USE: elibc_glibc kernel_linux userland_GNU x86 >>> Unpacking source... >>> Unpacking openssl-1.1.0g.tar.gz to /var/tmp/portage/dev-libs/openssl-1.1.0g-r2/work * Applying openssl-0.9.7e-gentoo.patch ... * Failed Patch: openssl-0.9.7e-gentoo.patch ! * ( /usr/portage/dev-libs/openssl/files/openssl-0.9.7e-gentoo.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/dev-libs/openssl-1.1.0g-r2/temp/openssl-0.9.7e-gentoo.patch.out * ERROR: dev-libs/openssl-1.1.0g-r2 failed: * Failed Patch: openssl-0.9.7e-gentoo.patch! * * Call stack: * ebuild.sh, line 54: Called src_unpack * environment, line 2626: Called epatch '/usr/portage/dev-libs/openssl/files/openssl-0.9.7e-gentoo.patch' * environment, line 1234: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; -------------------------------------------------------------------------------- This is the emerge -pqv information: emerge -pqv =dev-libs/openssl-1.1.0g-r2 * Last emerge --sync was 7y 237d 13h 23m 34s ago. [ebuild U ] dev-libs/openssl-1.1.0g-r2 [0.9.8n] USE="-bindist -gmp -kerberos -sse2 -test -zlib*" ------------------------------------------------------------------------------ This is the contents of /var/tmp/portage/dev-libs/openssl-1.1.0g-r2/temp/openssl-0.9.7e-gentoo.patch.out: ***** openssl-0.9.7e-gentoo.patch ***** ======================================= PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < '/usr/portage/dev-libs/openssl/files/openssl-0.9.7e-gentoo.patch' ======================================= can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -r -c -C 2 openssl-0.9.6g-orig/test/Makefile openssl-0.9.6g/test/Makefile |*** openssl-0.9.6g-orig/test/Makefile Thu Sep 26 15:20:47 2002 |--- openssl-0.9.6g/test/Makefile Thu Sep 26 15:23:26 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ======================================= PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < '/usr/portage/dev-libs/openssl/files/openssl-0.9.7e-gentoo.patch' ======================================= can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -r -c -C 2 openssl-0.9.6g-orig/test/Makefile openssl-0.9.6g/test/Makefile |*** openssl-0.9.6g-orig/test/Makefile Thu Sep 26 15:20:47 2002 |--- openssl-0.9.6g/test/Makefile Thu Sep 26 15:23:26 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ======================================= PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < '/usr/portage/dev-libs/openssl/files/openssl-0.9.7e-gentoo.patch' ======================================= patching file Makefile Hunk #1 FAILED at 28. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej ======================================= PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < '/usr/portage/dev-libs/openssl/files/openssl-0.9.7e-gentoo.patch' ======================================= missing header for context diff at line 4 of patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -r -c -C 2 openssl-0.9.6g-orig/test/Makefile openssl-0.9.6g/test/Makefile |*** openssl-0.9.6g-orig/test/Makefile Thu Sep 26 15:20:47 2002 |--- openssl-0.9.6g/test/Makefile Thu Sep 26 15:23:26 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored =======================================
(In reply to Linda from comment #0) > Created attachment 523722 [details] Timestamp of tree: Wed, 21 Jul 2010 01:45:02 +0000 I was going to suggest you run `emerge --sync`. But there are many more problems than just that. The -1.1.0g-r3 does not apply openssl-0.9.7e-gentoo.patch at all, so it's a mystery where you got that ebuild and the above portage tree timestamp is probably misleading.