Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650394 - dev-libs/openssl-1.1.0g-r2 Failed Patch: openssl-0.9.7e-gentoo.patch
Summary: dev-libs/openssl-1.1.0g-r2 Failed Patch: openssl-0.9.7e-gentoo.patch
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-13 15:22 UTC by Linda
Modified: 2018-03-17 12:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info =dev-libs/openssl-1.1.0g-r2 (emergeinfo.txt,7.60 KB, text/plain)
2018-03-13 15:22 UTC, Linda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Linda 2018-03-13 15:22:02 UTC
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
=======================================
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-17 12:26:26 UTC
(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.