* [PATCH 0/1] fix wget build issue: /usr/lib/libssl.so: could not read symbols
@ 2011-12-19 5:14 Dexuan Cui
2011-12-19 5:14 ` [PATCH 1/1] wget: fix a host intrusion issue introduced by adding --with-ssl=openssl Dexuan Cui
2011-12-22 19:19 ` [PATCH 0/1] fix wget build issue: /usr/lib/libssl.so: could not read symbols Saul Wold
0 siblings, 2 replies; 6+ messages in thread
From: Dexuan Cui @ 2011-12-19 5:14 UTC (permalink / raw)
To: openembedded-core, sakoman
The following changes since commit b281fd127bac9ba77ab63a5c2b812ddd5d56df37:
documentation/poky-ref-manual/technical-details.xml: edits per Richard Purdie (2011-12-16 16:58:41 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib dcui/wget
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/wget
Dexuan Cui (1):
wget: fix a host intrusion issue introduced by adding
--with-ssl=openssl.
meta/recipes-extended/wget/wget.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--
1.7.6
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/1] wget: fix a host intrusion issue introduced by adding --with-ssl=openssl.
2011-12-19 5:14 [PATCH 0/1] fix wget build issue: /usr/lib/libssl.so: could not read symbols Dexuan Cui
@ 2011-12-19 5:14 ` Dexuan Cui
2011-12-19 5:27 ` Steve Sakoman
2011-12-19 5:37 ` Eric Bénard
2011-12-22 19:19 ` [PATCH 0/1] fix wget build issue: /usr/lib/libssl.so: could not read symbols Saul Wold
1 sibling, 2 replies; 6+ messages in thread
From: Dexuan Cui @ 2011-12-19 5:14 UTC (permalink / raw)
To: openembedded-core, sakoman
On my x86-64 Ubuntu 11.04, with MACHINE=qemux86, "bitbake wget" fails. The
config.log shows:
configure:30072: i586-poky-linux-gcc -m32 -march=i586
--sysroot=/distro/dcui/1212/p1/build/tmp/sysroots/qemux86 -o conftest -O2
-pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu
-Wl,--as-needed conftest.c -ldl -lz /usr/lib/libssl.so /usr/lib/libcrypto.so
-lz >&5
/usr/lib/libssl.so: could not read symbols: File in wrong format
The patch fixes the issue by specifying libssl-prefix.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
---
meta/recipes-extended/wget/wget.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc
index 7083569..25f36c8 100644
--- a/meta/recipes-extended/wget/wget.inc
+++ b/meta/recipes-extended/wget/wget.inc
@@ -4,11 +4,11 @@ LICENSE = "GPL"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS = "openssl"
-INC_PR = "r12"
+INC_PR = "r13"
inherit autotools gettext update-alternatives
-EXTRA_OECONF = "--with-libc --enable-ipv6 --with-ssl=openssl"
+EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl"
do_install_append () {
mv ${D}${bindir}/wget ${D}${bindir}/wget.${PN}
--
1.7.6
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] wget: fix a host intrusion issue introduced by adding --with-ssl=openssl.
2011-12-19 5:14 ` [PATCH 1/1] wget: fix a host intrusion issue introduced by adding --with-ssl=openssl Dexuan Cui
@ 2011-12-19 5:27 ` Steve Sakoman
2011-12-19 5:37 ` Eric Bénard
1 sibling, 0 replies; 6+ messages in thread
From: Steve Sakoman @ 2011-12-19 5:27 UTC (permalink / raw)
To: openembedded-core
On Sun, Dec 18, 2011 at 9:14 PM, Dexuan Cui <dexuan.cui@intel.com> wrote:
> On my x86-64 Ubuntu 11.04, with MACHINE=qemux86, "bitbake wget" fails. The
> config.log shows:
>
> configure:30072: i586-poky-linux-gcc -m32 -march=i586
> --sysroot=/distro/dcui/1212/p1/build/tmp/sysroots/qemux86 -o conftest -O2
> -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu
> -Wl,--as-needed conftest.c -ldl -lz /usr/lib/libssl.so /usr/lib/libcrypto.so
> -lz >&5
> /usr/lib/libssl.so: could not read symbols: File in wrong format
>
> The patch fixes the issue by specifying libssl-prefix.
>
> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
I can verify that this patch fixes my build failure.
Tested-by: Steve Sakoman <steve@sakoman.com>
Steve
> meta/recipes-extended/wget/wget.inc | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc
> index 7083569..25f36c8 100644
> --- a/meta/recipes-extended/wget/wget.inc
> +++ b/meta/recipes-extended/wget/wget.inc
> @@ -4,11 +4,11 @@ LICENSE = "GPL"
> LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> DEPENDS = "openssl"
>
> -INC_PR = "r12"
> +INC_PR = "r13"
>
> inherit autotools gettext update-alternatives
>
> -EXTRA_OECONF = "--with-libc --enable-ipv6 --with-ssl=openssl"
> +EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl"
>
> do_install_append () {
> mv ${D}${bindir}/wget ${D}${bindir}/wget.${PN}
> --
> 1.7.6
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] wget: fix a host intrusion issue introduced by adding --with-ssl=openssl.
2011-12-19 5:14 ` [PATCH 1/1] wget: fix a host intrusion issue introduced by adding --with-ssl=openssl Dexuan Cui
2011-12-19 5:27 ` Steve Sakoman
@ 2011-12-19 5:37 ` Eric Bénard
2011-12-19 6:13 ` Cui, Dexuan
1 sibling, 1 reply; 6+ messages in thread
From: Eric Bénard @ 2011-12-19 5:37 UTC (permalink / raw)
To: Dexuan Cui; +Cc: Patches and discussions about the oe-core layer
Hi Dexuan,
Le 19/12/2011 06:14, Dexuan Cui a écrit :
> On my x86-64 Ubuntu 11.04, with MACHINE=qemux86, "bitbake wget" fails. The
> config.log shows:
>
> configure:30072: i586-poky-linux-gcc -m32 -march=i586
> --sysroot=/distro/dcui/1212/p1/build/tmp/sysroots/qemux86 -o conftest -O2
> -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu
> -Wl,--as-needed conftest.c -ldl -lz /usr/lib/libssl.so /usr/lib/libcrypto.so
> -lz>&5
> /usr/lib/libssl.so: could not read symbols: File in wrong format
>
> The patch fixes the issue by specifying libssl-prefix.
>
> Signed-off-by: Dexuan Cui<dexuan.cui@intel.com>
> ---
> meta/recipes-extended/wget/wget.inc | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc
> index 7083569..25f36c8 100644
> --- a/meta/recipes-extended/wget/wget.inc
> +++ b/meta/recipes-extended/wget/wget.inc
> @@ -4,11 +4,11 @@ LICENSE = "GPL"
> LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> DEPENDS = "openssl"
>
> -INC_PR = "r12"
> +INC_PR = "r13"
>
> inherit autotools gettext update-alternatives
>
> -EXTRA_OECONF = "--with-libc --enable-ipv6 --with-ssl=openssl"
> +EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl"
>
> do_install_append () {
> mv ${D}${bindir}/wget ${D}${bindir}/wget.${PN}
this also fix a problem I just met (angstrom, armv5 target) :
| configure: error: --with-ssl=openssl was given, but SSL is not available.
Tested-by: Eric Bénard <eric@eukrea.com>
Thanks !
Eric
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] wget: fix a host intrusion issue introduced by adding --with-ssl=openssl.
2011-12-19 5:37 ` Eric Bénard
@ 2011-12-19 6:13 ` Cui, Dexuan
0 siblings, 0 replies; 6+ messages in thread
From: Cui, Dexuan @ 2011-12-19 6:13 UTC (permalink / raw)
To: Eric Bénard; +Cc: Patches and discussions about the oe-core layer
Eric Bénard wrote on 2011-12-19:
>> inherit autotools gettext update-alternatives
>> -EXTRA_OECONF = "--with-libc --enable-ipv6 --with-ssl=openssl"
>> +EXTRA_OECONF = "--with-libc --enable-ipv6
>> --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl"
>>
>> do_install_append () {
>> mv ${D}${bindir}/wget ${D}${bindir}/wget.${PN}
>
> this also fix a problem I just met (angstrom, armv5 target) :
> | configure: error: --with-ssl=openssl was given, but SSL is not available.
> Tested-by: Eric Bénard <eric@eukrea.com>
Hi Eric,
This is actually the same issue Steve and I met with. :-)
Eric and Steve, thank you both for the testings!
Thanks,
-- Dexuan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/1] fix wget build issue: /usr/lib/libssl.so: could not read symbols
2011-12-19 5:14 [PATCH 0/1] fix wget build issue: /usr/lib/libssl.so: could not read symbols Dexuan Cui
2011-12-19 5:14 ` [PATCH 1/1] wget: fix a host intrusion issue introduced by adding --with-ssl=openssl Dexuan Cui
@ 2011-12-22 19:19 ` Saul Wold
1 sibling, 0 replies; 6+ messages in thread
From: Saul Wold @ 2011-12-22 19:19 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 12/18/2011 09:14 PM, Dexuan Cui wrote:
> The following changes since commit b281fd127bac9ba77ab63a5c2b812ddd5d56df37:
>
> documentation/poky-ref-manual/technical-details.xml: edits per Richard Purdie (2011-12-16 16:58:41 +0000)
>
> are available in the git repository at:
> git://git.pokylinux.org/poky-contrib dcui/wget
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/wget
>
> Dexuan Cui (1):
> wget: fix a host intrusion issue introduced by adding
> --with-ssl=openssl.
>
> meta/recipes-extended/wget/wget.inc | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-12-22 19:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-19 5:14 [PATCH 0/1] fix wget build issue: /usr/lib/libssl.so: could not read symbols Dexuan Cui
2011-12-19 5:14 ` [PATCH 1/1] wget: fix a host intrusion issue introduced by adding --with-ssl=openssl Dexuan Cui
2011-12-19 5:27 ` Steve Sakoman
2011-12-19 5:37 ` Eric Bénard
2011-12-19 6:13 ` Cui, Dexuan
2011-12-22 19:19 ` [PATCH 0/1] fix wget build issue: /usr/lib/libssl.so: could not read symbols Saul Wold
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.