openssl: fixup the openssl-fix-link patch
PATCH v3 1/1 openssl: fixup the openssl-fix-link patch
Include more dependencies into openssl-fix-link.patch patch.
--- .../openssl/openssl-1.0.0e/openssl-fix-link.patch | 22 +++++++++++-------- .../recipes-connectivity/openssl/openssl_1.0.0e.bb | 2 +- 2 files changed, 14 insertions(+), 10 deletions(-)
meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch +13 -9
@@ -8,15 +8,19 @@ Index: openssl-1.0.0d/Makefile.org =================================================================== --- openssl-1.0.0d.orig/Makefile.org 2011-09-01 17:03:59.000000000 +0400 +++ openssl-1.0.0d/Makefile.org 2011-09-01 17:12:24.000000000 +0400 -@@ -246,9 +246,9 @@ - @dir=crypto; target=all; $(BUILD_ONE_CMD) - build_ssl: - @dir=ssl; target=all; $(BUILD_ONE_CMD) +@@ -244,13 +244,13 @@ + @dir=crypto; target=all; $(BUILD_ONE_CMD) +-build_ssl: ++build_ssl: build_crypto + @dir=ssl; target=all; $(BUILD_ONE_CMD) -build_engines: +build_engines: build_crypto - @dir=engines; target=all; $(BUILD_ONE_CMD) + @dir=engines; target=all; $(BUILD_ONE_CMD) -build_apps: -+build_apps: build_crypto - @dir=apps; target=all; $(BUILD_ONE_CMD) - build_tests: - @dir=test; target=all; $(BUILD_ONE_CMD) ++build_apps: build_crypto build_ssl + @dir=apps; target=all; $(BUILD_ONE_CMD) +-build_tests: ++build_tests: build_crypto build_ssl + @dir=test; target=all; $(BUILD_ONE_CMD) + build_tools: + @dir=tools; target=all; $(BUILD_ONE_CMD)
meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb +1 -1
@@ -6,7 +6,7 @@ DEPENDS += "ocf-linux" CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8"
Signature · 1 line
1.7.2.5
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 19-09-11 00:13, Dmitry Eremin-Solenikov schreef:
Quoted 6 lines
Include more dependencies into openssl-fix-link.patch patch.
Signed-off-by Dmitry Eremin-Solenikov <[email protected]> ---
.../openssl/openssl-1.0.0e/openssl-fix-link.patch| 22
+++++++++++-------- .../recipes-connectivity/openssl/openssl_1.0.0e.bb | 2 +- 2 files changed, 14 insertions(+), 10 deletions(-)
I still get: NOTE: package openssl-native-1.0.0e-r13.1: task do_patch: Failed
Quoted 6 lines
diff --git
a/meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patchb/meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch
index b319c62..6522d83 100644
Quoted 4 lines
---
a/meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch
+++ b/meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch
Quoted 23 lines
(quoted diff) +0
-0@@ -8,15 +8,19 @@ Index: openssl-1.0.0d/Makefile.org=================================================================== ---
openssl-1.0.0d.orig/Makefile.org 2011-09-01 17:03:59.000000000 +0400 +++
openssl-1.0.0d/Makefile.org 2011-09-01 17:12:24.000000000 +0400 -@@
-246,9 +246,9 @@ - @dir=crypto; target=all; $(BUILD_ONE_CMD) -build_ssl: - @dir=ssl; target=all; $(BUILD_ONE_CMD) +@@ -244,13 +244,13
@@ + @dir=crypto; target=all; $(BUILD_ONE_CMD) +-build_ssl: ++build_ssl:build_crypto+ @dir=ssl; target=all; $(BUILD_ONE_CMD) -build_engines:
+build_engines:build_crypto- @dir=engines; target=all;
$(BUILD_ONE_CMD) + @dir=engines; target=all; $(BUILD_ONE_CMD)
-build_apps: -+build_apps:build_crypto- @dir=apps; target=all;
$(BUILD_ONE_CMD) -build_tests: - @dir=test; target=all;
$(BUILD_ONE_CMD) ++build_apps:build_cryptobuild_ssl+ @dir=apps;
target=all; $(BUILD_ONE_CMD) +-build_tests: ++build_tests:build_cryptobuild_ssl+ @dir=test; target=all; $(BUILD_ONE_CMD) +build_tools: +
@dir=tools; target=all; $(BUILD_ONE_CMD) diff --git a/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb b/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb index 28039ca..9a22632 100644 --- a/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb +++ b/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb @@ -6,7 +6,7 @@ DEPENDS += "ocf-linux"
Quoted 6 lines
CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS"
-PR = "${INC_PR}.0" +PR = "${INC_PR}.1"
LIC_FILES_CHKSUM= "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFOdt/8MkyGM64RGpERAljDAJ0QCYyu2A2/7OdJpRlwcUFYJUidMgCgqP8s z86IWlWOK1kpEvOUaYWEa5c=
=lht2
-----END PGP SIGNATURE-----
Quoted 6 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Op 19-09-11 00:13, Dmitry Eremin-Solenikov schreef:
Quoted 2 lines
Include more dependencies into openssl-fix-link.patch patch.
Quoted 7 lines
Quoted 4 lines
Signed-off-by Dmitry Eremin-Solenikov<[email protected]> ---
.../openssl/openssl-1.0.0e/openssl-fix-link.patch| 22
+++++++++++-------- .../recipes-connectivity/openssl/openssl_1.0.0e.bb | 2 +- 2 files changed, 14 insertions(+), 10 deletions(-)I still get: NOTE: package openssl-native-1.0.0e-r13.1: task
do_patch: Failed
Strange. Please check:
md5sum sources/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch
03c99586e59ea5a25e0598c7419d8aff sources/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch
Signature · 2 lines
With best wishes Dmitry
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 19-09-11 16:03, Dmitry Eremin-Solenikov schreef:
Quoted 13 lines · Koen Kooi
Quoted 12 lines
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Op 19-09-11 00:13, Dmitry Eremin-Solenikov schreef:
Quoted 7 lines
Include more dependencies into openssl-fix-link.patch patch.
Signed-off-by Dmitry Eremin-Solenikov<[email protected]> ---
.../openssl/openssl-1.0.0e/openssl-fix-link.patch| 22
+++++++++++--------
.../recipes-connectivity/openssl/openssl_1.0.0e.bb | 2 +- 2 files changed, 14 insertions(+), 10 deletions(-)
Quoted 8 lines
Quoted 2 lines
I still get: NOTE: package openssl-native-1.0.0e-r13.1: task
do_patch:
FailedStrange. Please check: md5sum
sources/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch
03c99586e59ea5a25e0598c7419d8aff
Quoted 4 lines
sources/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch
koen@dominion:/OE/tentacle/sources/meta-openembedded/meta-oe$ md5sum recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch 03c99586e59ea5a25e0598c7419d8aff recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin)
iD8DBQFOd043MkyGM64RGpERAnKnAJwJMqWQhqhqLYRycKAmkAwzOvMHoACeP2Xm F2AqsDz4e8AzU6FRz5po5Fk=
=Snrw
-----END PGP SIGNATURE-----
Quoted 37 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Op 19-09-11 16:03, Dmitry Eremin-Solenikov schreef:
Quoted 13 lines · Koen Kooi
Quoted 12 lines
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Op 19-09-11 00:13, Dmitry Eremin-Solenikov schreef:
Quoted 7 lines
Include more dependencies into openssl-fix-link.patch patch.
Signed-off-by Dmitry Eremin-Solenikov<[email protected]> ---
.../openssl/openssl-1.0.0e/openssl-fix-link.patch| 22
+++++++++++--------
.../recipes-connectivity/openssl/openssl_1.0.0e.bb | 2 +- 2 files changed, 14 insertions(+), 10 deletions(-)Quoted 8 lines
Quoted 2 lines
I still get: NOTE: package openssl-native-1.0.0e-r13.1: task
do_patch:
FailedStrange. Please check: md5sum
sources/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch
03c99586e59ea5a25e0598c7419d8affQuoted 4 lines
sources/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patchkoen@dominion:/OE/tentacle/sources/meta-openembedded/meta-oe$ md5sum recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch 03c99586e59ea5a25e0598c7419d8aff recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin)
Quoted 4 lines
iD8DBQFOd043MkyGM64RGpERAnKnAJwJMqWQhqhqLYRycKAmkAwzOvMHoACeP2Xm F2AqsDz4e8AzU6FRz5po5Fk=
=Snrw
-----END PGP SIGNATURE-----
FWIW:
OE spitz@shr ~/shr-core/meta-openembedded $ ~/oe/contrib/patchwork/pw-am.sh 11669
2011-09-19 16:17:30 URL:http://patches.openembedded.org/patch/11669/mbox/ [2673] -> "pw-am-11669.patch" [1] Applying: openssl: fixup the openssl-fix-link patch /OE/shr-core/meta-openembedded/.git/rebase-apply/patch:19: space before tab in indent. @dir=crypto; target=all; $(BUILD_ONE_CMD) /OE/shr-core/meta-openembedded/.git/rebase-apply/patch:22: space before tab in indent. @dir=ssl; target=all; $(BUILD_ONE_CMD) /OE/shr-core/meta-openembedded/.git/rebase-apply/patch:26: space before tab in indent. @dir=engines; target=all; $(BUILD_ONE_CMD) /OE/shr-core/meta-openembedded/.git/rebase-apply/patch:33: space before tab in indent. @dir=apps; target=all; $(BUILD_ONE_CMD) /OE/shr-core/meta-openembedded/.git/rebase-apply/patch:36: space before tab in indent. @dir=test; target=all; $(BUILD_ONE_CMD)
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.
...03c99586e59ea5a25e0598c7419d8aff meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch
...
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 731 of 958 (ID: 4, virtual:native:/OE/shr-core/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb, do_fetch)
NOTE: Running task 885 of 958 (ID: 18, /OE/shr-core/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb, do_fetch)
NOTE: package openssl-native-1.0.0e-r13.1: task do_fetch: Started
NOTE: package openssl-native-1.0.0e-r13.1: task do_fetch: Succeeded
NOTE: package openssl-1.0.0e-r13.1: task do_fetch: Started
NOTE: package openssl-1.0.0e-r13.1: task do_fetch: Succeeded
NOTE: Running task 886 of 958 (ID: 0, virtual:native:/OE/shr-core/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb, do_unpack)
NOTE: Running task 887 of 958 (ID: 14, /OE/shr-core/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb, do_unpack)
NOTE: package openssl-1.0.0e-r13.1: task do_unpack: Started
NOTE: package openssl-native-1.0.0e-r13.1: task do_unpack: Started
NOTE: package openssl-1.0.0e-r13.1: task do_unpack: Succeeded
NOTE: Running task 888 of 958 (ID: 15, /OE/shr-core/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb, do_patch)
NOTE: package openssl-native-1.0.0e-r13.1: task do_unpack: Succeeded
NOTE: Running task 889 of 958 (ID: 1, virtual:native:/OE/shr-core/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb, do_patch)
NOTE: package openssl-1.0.0e-r13.1: task do_patch: Started
NOTE: package openssl-native-1.0.0e-r13.1: task do_patch: Started
NOTE: package openssl-1.0.0e-r13.1: task do_patch: Succeeded
NOTE: package openssl-native-1.0.0e-r13.1: task do_patch: Succeeded
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Koen, please doublecheck your setup. Today I've just rebuilt openssl-native with this patch and it worked. Did you clean/cleansstate before rechecking the patch?
Quoted 58 lines · Martin Jansa
Quoted 37 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Op 19-09-11 16:03, Dmitry Eremin-Solenikov schreef:
Quoted 13 lines · Koen Kooi
Quoted 12 lines
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Op 19-09-11 00:13, Dmitry Eremin-Solenikov schreef:
Quoted 7 lines
Include more dependencies into openssl-fix-link.patch patch.
Signed-off-by Dmitry Eremin-Solenikov<[email protected]> ---
.../openssl/openssl-1.0.0e/openssl-fix-link.patch| 22
+++++++++++--------
.../recipes-connectivity/openssl/openssl_1.0.0e.bb | 2 +- 2 files changed, 14 insertions(+), 10 deletions(-)Quoted 8 lines
Quoted 2 lines
I still get: NOTE: package openssl-native-1.0.0e-r13.1: task
do_patch:
FailedStrange. Please check: md5sum
sources/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch
03c99586e59ea5a25e0598c7419d8affQuoted 4 lines
sources/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patchkoen@dominion:/OE/tentacle/sources/meta-openembedded/meta-oe$ md5sum recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch 03c99586e59ea5a25e0598c7419d8aff recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin)Quoted 4 lines
iD8DBQFOd043MkyGM64RGpERAnKnAJwJMqWQhqhqLYRycKAmkAwzOvMHoACeP2Xm F2AqsDz4e8AzU6FRz5po5Fk=
=Snrw
-----END PGP SIGNATURE-----FWIW:
OE spitz@shr ~/shr-core/meta-openembedded $
~/oe/contrib/patchwork/pw-am.sh116692011-09-19 16:17:30 URL:http://patches.openembedded.org/patch/11669/mbox/ [2673] -> "pw-am-11669.patch" [1] Applying: openssl: fixup the openssl-fix-link patch /OE/shr-core/meta-openembedded/.git/rebase-apply/patch:19: space before tab in indent. @dir=crypto; target=all; $(BUILD_ONE_CMD) /OE/shr-core/meta-openembedded/.git/rebase-apply/patch:22: space before tab in indent. @dir=ssl; target=all; $(BUILD_ONE_CMD) /OE/shr-core/meta-openembedded/.git/rebase-apply/patch:26: space before tab in indent. @dir=engines; target=all; $(BUILD_ONE_CMD) /OE/shr-core/meta-openembedded/.git/rebase-apply/patch:33: space before tab in indent. @dir=apps; target=all; $(BUILD_ONE_CMD) /OE/shr-core/meta-openembedded/.git/rebase-apply/patch:36: space before tab in indent. @dir=test; target=all; $(BUILD_ONE_CMD)
Quoted 2 lines
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.
logical 'errors'. space required by patch format and then a tab from a makefile.
Quoted 27 lines
...
03c99586e59ea5a25e0598c7419d8affmeta-openembedded/meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch
...NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 731 of 958 (ID: 4, virtual:native:/OE/shr-core/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb,do_fetch)
NOTE: Running task 885 of 958 (ID: 18, /OE/shr-core/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb,do_fetch)
NOTE: package openssl-native-1.0.0e-r13.1: taskdo_fetch: Started
NOTE: package openssl-native-1.0.0e-r13.1: taskdo_fetch: Succeeded
NOTE: package openssl-1.0.0e-r13.1: taskdo_fetch: Started
NOTE: package openssl-1.0.0e-r13.1: taskdo_fetch: Succeeded
NOTE: Running task 886 of 958 (ID: 0, virtual:native:/OE/shr-core/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb,do_unpack)
NOTE: Running task 887 of 958 (ID: 14, /OE/shr-core/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb,do_unpack)
NOTE: package openssl-1.0.0e-r13.1: taskdo_unpack: Started
NOTE: package openssl-native-1.0.0e-r13.1: taskdo_unpack: Started
NOTE: package openssl-1.0.0e-r13.1: taskdo_unpack: Succeeded
NOTE: Running task 888 of 958 (ID: 15, /OE/shr-core/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb,do_patch)
NOTE: package openssl-native-1.0.0e-r13.1: taskdo_unpack: Succeeded
NOTE: Running task 889 of 958 (ID: 1, virtual:native:/OE/shr-core/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb,do_patch)
NOTE: package openssl-1.0.0e-r13.1: taskdo_patch: Started
NOTE: package openssl-native-1.0.0e-r13.1: taskdo_patch: Started
NOTE: package openssl-1.0.0e-r13.1: taskdo_patch: Succeeded
NOTE: package openssl-native-1.0.0e-r13.1: taskdo_patch: Succeeded
Signature · 2 lines
With best wishes Dmitry
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 21-09-11 20:44, Dmitry Eremin-Solenikov schreef:
Quoted 3 lines
Koen, please doublecheck your setup. Today I've just rebuilt openssl-native with this patch and it worked. Did you clean/cleansstate before rechecking the patch?
I did cleansstate in between, I'll try a build from scratch now. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFOetm/MkyGM64RGpERAidKAJ9EoLQ0hORkh388WddFS/jPNBp4IACgjH5u QwtVwfuzIMSwDwZFCQ2ZzG4=
=XQnF
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 21-09-11 20:44, Dmitry Eremin-Solenikov schreef:
Quoted 3 lines
Koen, please doublecheck your setup. Today I've just rebuilt openssl-native with this patch and it worked. Did you clean/cleansstate before rechecking the patch?
And it still fails after a build from scratch :(
Doing it manually:
koen@dominion:/OE/tentacle/sources/meta-openembedded$ patch --version patch 2.5.9
koen@dominion:/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/x86_64-linux/openssl-native-1.0.0e-r13.1/openssl-1.0.0e$ md5sum ../openssl-fix-link.patch03c99586e59ea5a25e0598c7419d8aff ../openssl-fix-link.patch koen@dominion:/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/x86_64-linux/openssl-native-1.0.0e-r13.1/openssl-1.0.0e$ patch -p1 < ../openssl-fix-link.patch
patching file Makefile.org
Hunk #1 FAILED at 244.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.org.rej
Anyway, I recreated the patch with git and it works now
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFOet9KMkyGM64RGpERAga6AJ9DZAZDF88BC8K3hA+udQaxdMHktQCdEWHf RHu2wMZvLXQYvq+Pp7W4728=
=OZ0B
-----END PGP SIGNATURE-----