Patchwork [RESEND] midori: add `openssl` to `DEPENDS` and remove trailing whitespace

login
register
mail settings
Submitter Paul Menzel
Date Dec. 10, 2010, 11:05 a.m.
Message ID <1291979137.3970.10.camel@mattotaupa>
Download mbox | patch
Permalink /patch/48/
State Accepted
Headers show

Comments

Paul Menzel - Dec. 10, 2010, 11:05 a.m.
Date: Fri, 3 Dec 2010 00:55:42 +0100

Task `compile` of recipes `midori_0.2.*.bb` fails with the following error (`midori_0.2.8.bb`).

        NOTE: package midori-1_0.2.8-r0: task do_compile: Started
        ERROR: TaskFailed event exception, aborting
        ERROR: Build of /oe/openembedded/recipes/gtk-webcore/midori_0.2.8.bb do_compile failed
        ERROR: Task 13 (/oe/openembedded/recipes/gtk-webcore/midori_0.2.8.bb, do_compile) failed with 256
        ERROR: '/oe/openembedded/recipes/gtk-webcore/midori_0.2.8.bb' failed
        ERROR: Function do_compile failed
        NOTE: Task failed: ('function do_compile failed', '/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/midori-1_0.2.8-r0/temp/log.do_compile.17750')
        ERROR: Logfile of failure stored in: /oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/midori-1_0.2.8-r0/temp/log.do_compile.17750
        Log data follows:
        | NOTE: make
        | Waf: Entering directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/midori-1_0.2.8-r0/midori-0.2.8/_build_'
        | [  1/119] glib_genmarshal: midori/marshal.list -> _build_/default/midori/marshal.h _build_/default/midori/marshal.c
        | [  2/119] cc: _build_/default/midori/marshal.c -> _build_/default/midori/marshal_1.o
        | [  3/119] cc: katze/katze-array.c -> _build_/default/katze/katze-array_1.o
        | [  4/119] cc: katze/katze-arrayaction.c -> _build_/default/katze/katze-arrayaction_1.o
        | [  5/119] cc: katze/katze-http-auth.c -> _build_/default/katze/katze-http-auth_1.o
        | [  6/119] cc: katze/katze-http-cookies.c -> _build_/default/katze/katze-http-cookies_1.o
        | [  7/119] cc: katze/katze-item.c -> _build_/default/katze/katze-item_1.o
        | [  8/119] cc: katze/katze-net.c -> _build_/default/katze/katze-net_1.o
        | [  9/119] cc: katze/katze-preferences.c -> _build_/default/katze/katze-preferences_1.o
        | [ 10/119] cc: katze/katze-scrolled.c -> _build_/default/katze/katze-scrolled_1.o
        | [ 11/119] cc: katze/katze-separatoraction.c -> _build_/default/katze/katze-separatoraction_1.o
        | [ 12/119] cc: katze/katze-throbber.c -> _build_/default/katze/katze-throbber_1.o
        | [ 13/119] cc: katze/katze-utils.c -> _build_/default/katze/katze-utils_1.o
        | [ 14/119] cc: panels/midori-bookmarks.c -> _build_/default/panels/midori-bookmarks_1.o
        | [ 15/119] cc: panels/midori-console.c -> _build_/default/panels/midori-console_1.o
        | [ 16/119] cc: panels/midori-extensions.c -> _build_/default/panels/midori-extensions_1.o
        | [ 17/119] cc: panels/midori-history.c -> _build_/default/panels/midori-history_1.o
        | [ 18/119] cc: panels/midori-transfers.c -> _build_/default/panels/midori-transfers_1.o
        | [ 19/119] cc: toolbars/midori-findbar.c -> _build_/default/toolbars/midori-findbar_1.o
        | [ 20/119] cc: toolbars/midori-transferbar.c -> _build_/default/toolbars/midori-transferbar_1.o
        | [ 21/119] cc: midori/gtkiconentry.c -> _build_/default/midori/gtkiconentry_1.o
        | [ 22/119] cc: midori/midori-app.c -> _build_/default/midori/midori-app_1.o
        | [ 24/119] cc: midori/midori-browser.c -> _build_/default/midori/midori-browser_1.o
        | [ 23/119] cc: midori/midori-array.c -> _build_/default/midori/midori-array_1.o
        | [ 25/119] cc: midori/midori-extension.c -> _build_/default/midori/midori-extension_1.o
        | [ 26/119] cc: midori/midori-locationaction.c -> _build_/default/midori/midori-locationaction_1.o
        | [ 27/119] cc: midori/midori-panel.c -> _build_/default/midori/midori-panel_1.o
        | [ 28/119] cc: midori/midori-preferences.c -> _build_/default/midori/midori-preferences_1.o
        | [ 29/119] cc: midori/midori-searchaction.c -> _build_/default/midori/midori-searchaction_1.o
        | [ 30/119] cc: midori/midori-view.c -> _build_/default/midori/midori-view_1.o
        | [ 31/119] cc: midori/midori-viewable.c -> _build_/default/midori/midori-viewable_1.o
        | [ 32/119] cc: midori/midori-websettings.c -> _build_/default/midori/midori-websettings_1.o
        | [ 33/119] cc: midori/socket.c -> _build_/default/midori/socket_1.o
        | In file included from ../midori/socket.c:56:
        | ../midori/socket.h:27:27: error: openssl/ssl.h: No such file or directory
        | In file included from ../midori/socket.c:56:
        | ../midori/socket.h:49: error: expected specifier-qualifier-list before 'SSL'
        | ../midori/socket.h:119: error: expected ')' before '*' token
        | ../midori/socket.h:120: error: expected ')' before '*' token
        | ../midori/socket.h:121: error: expected ')' before '*' token
        | ../midori/socket.h:122: error: expected ')' before '*' token
        | ../midori/socket.h:123: error: expected ')' before '*' token
        | ../midori/socket.h:124: error: expected ')' before '*' token
        | ../midori/socket.c: In function 'sock_set_nonblocking_mode':
        | ../midori/socket.c:521: error: 'SockInfo' has no member named 'nonblock'
        | ../midori/socket.c: In function 'sock_check':
        | ../midori/socket.c:596: error: 'SockInfo' has no member named 'condition'
        | ../midori/socket.c:599: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c:601: warning: implicit declaration of function 'SSL_pending'
        | ../midori/socket.c:601: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c:603: warning: implicit declaration of function 'SSL_want_write'
        | ../midori/socket.c:603: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c:608: warning: implicit declaration of function 'SSL_want_read'
        | ../midori/socket.c:608: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c: In function 'sock_dispatch':
        | ../midori/socket.c:630: error: 'SockInfo' has no member named 'callback'
        | ../midori/socket.c:630: error: 'SockInfo' has no member named 'condition'
        | ../midori/socket.c:630: error: 'SockInfo' has no member named 'data'
        | ../midori/socket.c:631: warning: control reaches end of non-void function
        | ../midori/socket.c: In function 'sock_watch_cb':
        | ../midori/socket.c:638: error: 'SockInfo' has no member named 'condition'
        | ../midori/socket.c:641: error: 'SockInfo' has no member named 'callback'
        | ../midori/socket.c:641: error: 'SockInfo' has no member named 'condition'
        | ../midori/socket.c:641: error: 'SockInfo' has no member named 'data'
        | ../midori/socket.c:642: warning: control reaches end of non-void function
        | ../midori/socket.c: In function 'sock_add_watch':
        | ../midori/socket.c:647: error: 'SockInfo' has no member named 'callback'
        | ../midori/socket.c:648: error: 'SockInfo' has no member named 'condition'
        | ../midori/socket.c:649: error: 'SockInfo' has no member named 'data'
        | ../midori/socket.c:652: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c:663: error: 'SockInfo' has no member named 'sock_ch'
        | ../midori/socket.c: In function 'sock_connect':
        | ../midori/socket.c:909: error: 'SockInfo' has no member named 'sock_ch'
        | ../midori/socket.c:910: error: 'SockInfo' has no member named 'hostname'
        | ../midori/socket.c:911: error: 'SockInfo' has no member named 'port'
        | ../midori/socket.c:912: error: 'SockInfo' has no member named 'state'
        | ../midori/socket.c:913: error: 'SockInfo' has no member named 'nonblock'
        | ../midori/socket.c: In function 'sock_connect_async_cb':
        | ../midori/socket.c:977: error: 'SockInfo' has no member named 'sock_ch'
        | ../midori/socket.c:978: error: 'SockInfo' has no member named 'hostname'
        | ../midori/socket.c:979: error: 'SockInfo' has no member named 'port'
        | ../midori/socket.c:980: error: 'SockInfo' has no member named 'state'
        | ../midori/socket.c:981: error: 'SockInfo' has no member named 'nonblock'
        | ../midori/socket.c:1379: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c:1380: warning: implicit declaration of function 'ssl_read'
        | ../midori/socket.c:1380: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c: At top level:
        | ../midori/socket.c:1398: error: expected ')' before '*' token
        | ../midori/socket.c: In function 'sock_write':
        | ../midori/socket.c:1432: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c:1433: warning: implicit declaration of function 'ssl_write'
        | ../midori/socket.c:1433: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c: At top level:
        | ../midori/socket.c:1463: error: expected ')' before '*' token
        | ../midori/socket.c: In function 'sock_write_all':
        | ../midori/socket.c:1487: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c:1488: warning: implicit declaration of function 'ssl_write_all'
        | ../midori/socket.c:1488: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c: At top level:
        | ../midori/socket.c:1510: error: expected ')' before '*' token
        | ../midori/socket.c:1574: error: expected ')' before '*' token
        | ../midori/socket.c: In function 'sock_gets':
        | ../midori/socket.c:1602: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c:1603: warning: implicit declaration of function 'ssl_gets'
        | ../midori/socket.c:1603: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c: At top level:
        | ../midori/socket.c:1634: error: expected ')' before '*' token
        | ../midori/socket.c: In function 'sock_getline':
        | ../midori/socket.c:1666: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c:1667: warning: implicit declaration of function 'ssl_getline'
        | ../midori/socket.c:1667: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c: At top level:
        | ../midori/socket.c:1683: error: expected ')' before '*' token
        | ../midori/socket.c: In function 'sock_peek':
        | ../midori/socket.c:1717: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c:1718: warning: implicit declaration of function 'ssl_peek'
        | ../midori/socket.c:1718: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c: In function 'sock_close':
        | ../midori/socket.c:1731: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c:1735: error: 'SockInfo' has no member named 'sock_ch'
        | ../midori/socket.c:1736: error: 'SockInfo' has no member named 'sock_ch'
        | ../midori/socket.c:1737: error: 'SockInfo' has no member named 'sock_ch'
        | ../midori/socket.c:1747: error: 'SockInfo' has no member named 'hostname'
        | ../midori/socket.c: In function 'ssl_done_socket':
        | ../midori/socket.c:1765: error: 'SockInfo' has no member named 'ssl'
        | ../midori/socket.c:1766: warning: implicit declaration of function 'SSL_free'
        | ../midori/socket.c:1766: error: 'SockInfo' has no member named 'ssl'
        | In file included from ../midori/midori-app.c:40:
        | ../midori/socket.h:27:27: error: openssl/ssl.h: No such file or directory
        | In file included from ../midori/midori-app.c:40:
        | ../midori/socket.h:49: error: expected specifier-qualifier-list before 'SSL'
        | ../midori/socket.h:119: error: expected ')' before '*' token
        | ../midori/socket.h:120: error: expected ')' before '*' token
        | ../midori/socket.h:121: error: expected ')' before '*' token
        | ../midori/socket.h:122: error: expected ')' before '*' token
        | ../midori/socket.h:123: error: expected ')' before '*' token
        | ../midori/socket.h:124: error: expected ')' before '*' token
        | Waf: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/midori-1_0.2.8-r0/midori-0.2.8/_build_'
        | Build failed:
        |  -> task failed (err #1):
        |       {task: cc socket.c -> socket_1.o}
        |  -> task failed (err #1):
        |       {task: cc midori-app.c -> midori-app_1.o}
        | make: *** [all] Error 1
        | FATAL: oe_runmake failed
        | ERROR: Function do_compile failed
        NOTE: package midori-1_0.2.8-r0: task do_compile: Failed
        ERROR: TaskFailed event exception, aborting
        ERROR: Build of /oe/openembedded/recipes/gtk-webcore/midori_0.2.8.bb do_compile failed
        ERROR: Task 13 (/oe/openembedded/recipes/gtk-webcore/midori_0.2.8.bb, do_compile) failed with 256
        ERROR: '/oe/openembedded/recipes/gtk-webcore/midori_0.2.8.bb' failed

Adding `openssl` to `DEPENDS` fixes that error. The build succeeded with the following build configuration.

        Build Configuration:
        BB_VERSION        = "1.10.0"
        METADATA_BRANCH   = "org.openembedded.dev"
        METADATA_REVISION = "2abf626"
        TARGET_ARCH       = "arm"
        TARGET_OS         = "linux-gnueabi"
        MACHINE           = "beagleboard"
        DISTRO            = "angstrom"
        DISTRO_VERSION    = "2010.7-test-20101203"
        TARGET_FPU        = "hard"

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
I am resending this patch to get it picked up by the patch queue.
---
 recipes/gtk-webcore/midori.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/recipes/gtk-webcore/midori.inc b/recipes/gtk-webcore/midori.inc
index fc2df36..2f54c7b 100644
--- a/recipes/gtk-webcore/midori.inc
+++ b/recipes/gtk-webcore/midori.inc
@@ -1,7 +1,7 @@ 
 DESCRIPTION = "Midori is a lightweight web browser."
 LICENSE = "GPLv2"
 
-DEPENDS = "webkit-gtk libsoup-2.4 libsexy" 
+DEPENDS = "webkit-gtk libsoup-2.4 libsexy openssl"
 
 PE = "1"