Skip to contentSkip to conversation

openssl: fixup the openssl-fix-link patch

meta-oe Dmitry Eremin-Solenikov 2 participants 2 messages Sep 16, 2011 – Sep 17, 2011

lore
Share & tools
lore
#0 lore raw

Include more dependencies into openssl-fix-link.patch patch.

---
 .../openssl/openssl-1.0.0e/openssl-fix-link.patch  |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)
meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch +9 -5
index b319c62..15762a7 100644
@@ -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 @@
+@@ -244,13 +244,13 @@
 	@dir=crypto; target=all; $(BUILD_ONE_CMD)
- build_ssl:
+-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)
 -build_apps:
-+build_apps: build_crypto
++build_apps: build_crypto build_ssl
 	@dir=apps; target=all; $(BUILD_ONE_CMD)
- build_tests:
-	@dir=test; 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)
Signature · 1 line
1.7.2.5
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 16-09-11 17:39, Dmitry Eremin-Solenikov schreef:

Quoted 1 line

Include more dependencies into openssl-fix-link.patch patch.

After this patch:

NOTE: Applying patch 'openssl-fix-link.patch'
(sources/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl-1.0.0e/openssl-fix-link.patch) | ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded:
ignored.

| xterm Xt error: Can't open display:
| xterm:  DISPLAY is not set
| ERROR: Error executing a python function in
/OE/tentacle/sources/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb:
| AttributeError: 'module' object has no attribute 'domain'
|
| ERROR: The stack trace of python calls that resulted in this
exception/failure was:
| ERROR:   File "patch_do_patch", line 136, in <module>
| ERROR:
| ERROR:   File "patch_do_patch", line 133, in patch_do_patch
| ERROR:
| ERROR:   File

"/OE/tentacle/sources/openembedded-core/meta/lib/oe/patch.py", line 379, in Resolve
| ERROR: bb.msg.fatal(bb.msg.domain.Build, ("Cannot proceed with manual
patch resolution - '%s' not found. " \

| ERROR:
| ERROR: The code that was being executed was:
| ERROR:      0132:			raise bb.build.FuncFailed(str(sys.exc_value))
| ERROR:      0133:		resolver.Resolve()
| ERROR:      0134:
| ERROR:      0135:
| ERROR:  *** 0136:patch_do_patch(d)
| ERROR:      0137:
| ERROR: (file: 'patch_do_patch', lineno: 136, function: <module>)
| ERROR:      0129:			patchset.Import({"file":local, "remote":url,
"strippath": striplevel}, True)
| ERROR:      0130:		except Exception:
| ERROR:      0131:			import sys
| ERROR:      0132:			raise bb.build.FuncFailed(str(sys.exc_value))
| ERROR:  *** 0133:		resolver.Resolve()
| ERROR:      0134:
| ERROR:      0135:
| ERROR:      0136:patch_do_patch(d)
| ERROR:      0137:
| ERROR: (file: 'patch_do_patch', lineno: 133, function: patch_do_patch)
| ERROR: Function 'patch_do_patch' failed

NOTE: package openssl-native-1.0.0e-r13.1: task do_patch: Failed
ERROR: Task 1 (virtual:native:/OE/tentacle/sources/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb, do_patch) failed with exit code '1'
ERROR:
'virtual:native:/OE/tentacle/sources/meta-openembedded/meta-oe/recipes-connectivity/openssl/openssl_1.0.0e.bb' failed koen@dominion:/OE/tentacle/sources/meta-texasinstruments/recipes-graphics/xorg-xserver$

Quoted 10 lines

.../openssl/openssl-1.0.0e/openssl-fix-link.patch | 14 +++++++++-----

1 files changed, 9 insertions(+), 5 deletions(-)

diff --git 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

index b319c62..15762a7 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 5 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 @@ +@@ -244,13 +244,13 @@ @dir=crypto; target=all;

Quoted 8 lines

$(BUILD_ONE_CMD) - build_ssl: +-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) -build_apps:
-+build_apps: build_crypto ++build_apps: build_crypto build_ssl
@dir=apps; target=all; $(BUILD_ONE_CMD) - build_tests: - @dir=test;
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)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOdGpEMkyGM64RGpERAuBYAKC41lWUivezMZ21gOZ6RdG+QYh4ggCfZTGR pGvnn2Dj3rtuuKHNABsn0qY=
=Zrkx
-----END PGP SIGNATURE-----