[oe] abiword and libssh broken by last libgcryp upgrade

Khem Raj raj.khem at gmail.com
Wed May 14 00:49:04 UTC 2014


On Tue, May 13, 2014 at 1:50 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> If you care about one of these, then please send patches:

I guess libgcrypt got updated in OE-Core. We have to get better at
testing OE-core proposed patches
in-flight to catch these kind of problems and thereby create better
harmony between OE-Core and other layers
I consider them to be a OE-Core APIs for other layers and we have to
help get it tested before such updates land there.

>
> libssh:
> | /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libssh/0.5.5+gitrAUTOINC+43914a5f07-r0/git/src/threads.c: In function 'libgcrypt_thread_init':
> | /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libssh/0.5.5+gitrAUTOINC+43914a5f07-r0/git/src/threads.c:72:26: error: 'struct gcry_thread_cbs' has no member named 'mutex_init'
> |   gcrypt_threads_callbacks.mutex_init=user_callbacks->mutex_init;
> |                           ^
> | /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libssh/0.5.5+gitrAUTOINC+43914a5f07-r0/git/src/threads.c:73:26: error: 'struct gcry_thread_cbs' has no member named 'mutex_destroy'
> |   gcrypt_threads_callbacks.mutex_destroy=user_callbacks->mutex_destroy;
> |                           ^
> | /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libssh/0.5.5+gitrAUTOINC+43914a5f07-r0/git/src/threads.c:74:26: error: 'struct gcry_thread_cbs' has no member named 'mutex_lock'
> |   gcrypt_threads_callbacks.mutex_lock=user_callbacks->mutex_lock;
> |                           ^
> | /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libssh/0.5.5+gitrAUTOINC+43914a5f07-r0/git/src/threads.c:75:26: error: 'struct gcry_thread_cbs' has no member named 'mutex_unlock'
> |   gcrypt_threads_callbacks.mutex_unlock=user_callbacks->mutex_unlock;
> |                           ^
> | make[2]: *** [src/CMakeFiles/ssh_shared.dir/threads.c.o] Error 1
> | make[2]: *** Waiting for unfinished jobs....
> | Building C object src/CMakeFiles/ssh_shared.dir/server.c.o
> | cd /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libssh/0.5.5+gitrAUTOINC+43914a5f07-r0/build/src && /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-gcc  -DLIBSSH_EXPORTS -march=armv5te -marm -mthumb-interwork  --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm  -O2 -pipe -g -feliminate-unused-debug-types -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -fPIC -I/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libssh/0.5.5+gitrAUTOINC+43914a5f07-r0/build/src -I/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libssh/0.5.5+gitrAUTOINC+43914a5f07-r0/git/src -I/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libssh/0.5.5+gitrAUTOINC+43914a5f07-r0/git/include -I/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libssh/0.5.5+gitrAUTOINC+43914a5f07-r0/build -I/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include    -fvisibility=hidden -o CMakeFiles/ssh_shared.dir/server.c.o   -c /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libssh/0.5.5+gitrAUTOINC+43914a5f07-r0/git/src/server.c
> | make[2]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libssh/0.5.5+gitrAUTOINC+43914a5f07-r0/build'
> | make[1]: *** [src/CMakeFiles/ssh_shared.dir/all] Error 2
> | make[1]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libssh/0.5.5+gitrAUTOINC+43914a5f07-r0/build'
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libssh/0.5.5+gitrAUTOINC+43914a5f07-r0/temp/log.do_compile.10360)
> NOTE: recipe libssh-0.5.5+gitrAUTOINC+43914a5f07-r0: task do_compile: Failed
> ERROR: Task 16288 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-support/libssh/libssh_git.bb, do_compile) failed with exit code '1'
>
> abiword:
> | tls_tunnel.cpp:126:31: warning: 'gcry_thread_cbs' is deprecated (declared at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/gcrypt.h:213) [-Wdeprecated-declarations]
> |  static struct gcry_thread_cbs gcry_threads_tunnel =
> |                                ^
> | tls_tunnel.cpp:130:50: error: too many initializers for 'gcry_thread_cbs'
> |    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL };
> |                                                   ^
> | tls_tunnel.cpp: In member function 'tls_tunnel::session_ptr_t tls_tunnel::ClientProxy::setup_tls_session(tls_tunnel::socket_ptr_t)':
> | tls_tunnel.cpp:485:20: warning: 'int gnutls_kx_set_priority(gnutls_session_t, const int*)' is deprecated (declared at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/gnutls/compat.h:298) [-Wdeprecated-declarations]
> |   return_val_if_neg(gnutls_kx_set_priority(*session_ptr,PRIORITIES), session_ptr_t());
> |                     ^
> | tls_tunnel.cpp:31:41: note: in definition of macro 'return_val_if_neg'
> |  #define return_val_if_neg(C, val) { if (C < 0) {return val;} }
> |                                          ^
> | tls_tunnel.cpp:485:66: warning: 'int gnutls_kx_set_priority(gnutls_session_t, const int*)' is deprecated (declared at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/gnutls/compat.h:298) [-Wdeprecated-declarations]
> |   return_val_if_neg(gnutls_kx_set_priority(*session_ptr,PRIORITIES), session_ptr_t());
> |                                                                   ^
> | tls_tunnel.cpp:31:41: note: in definition of macro 'return_val_if_neg'
> |  #define return_val_if_neg(C, val) { if (C < 0) {return val;} }
> |                                          ^
> | tls_tunnel.cpp:486:20: warning: 'int gnutls_cipher_set_priority(gnutls_session_t, const int*)' is deprecated (declared at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/gnutls/compat.h:290) [-Wdeprecated-declarations]
> |   return_val_if_neg(gnutls_cipher_set_priority(*session_ptr,CIPHERS), session_ptr_t());
> |                     ^
> | tls_tunnel.cpp:31:41: note: in definition of macro 'return_val_if_neg'
> |  #define return_val_if_neg(C, val) { if (C < 0) {return val;} }
> |                                          ^
> | tls_tunnel.cpp:486:67: warning: 'int gnutls_cipher_set_priority(gnutls_session_t, const int*)' is deprecated (declared at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/gnutls/compat.h:290) [-Wdeprecated-declarations]
> |   return_val_if_neg(gnutls_cipher_set_priority(*session_ptr,CIPHERS), session_ptr_t());
> |                                                                    ^
> | tls_tunnel.cpp:31:41: note: in definition of macro 'return_val_if_neg'
> |  #define return_val_if_neg(C, val) { if (C < 0) {return val;} }
> |                                          ^
> | tls_tunnel.cpp:502:18: warning: 'gnutls_x509_crt' is deprecated (declared at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/gnutls/compat.h:89) [-Wdeprecated-declarations]
> |   gnutls_x509_crt cert;
> |                   ^
> | tls_tunnel.cpp:503:22: warning: 'gnutls_datum' is deprecated (declared at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/gnutls/compat.h:112) [-Wdeprecated-declarations]
> |   const gnutls_datum* cert_list;
> |                       ^
> | make[6]: *** [tls_tunnel.lo] Error 1
> | make[6]: *** Waiting for unfinished jobs....
> | make[6]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/abiword/3.0.0-r0/abiword-3.0.0/plugins/collab/backends/service/xp'
> | make[5]: *** [all-recursive] Error 1
> | make[5]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/abiword/3.0.0-r0/abiword-3.0.0/plugins/collab/backends/service'
> | make[4]: *** [all-recursive] Error 1
> | make[4]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/abiword/3.0.0-r0/abiword-3.0.0/plugins/collab/backends'
> | make[3]: *** [all-recursive] Error 1
> | make[3]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/abiword/3.0.0-r0/abiword-3.0.0/plugins/collab'
> | make[2]: *** [all-recursive] Error 1
> | make[2]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/abiword/3.0.0-r0/abiword-3.0.0/plugins'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/abiword/3.0.0-r0/abiword-3.0.0'
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/abiword/3.0.0-r0/temp/log.do_compile.12530)
> NOTE: recipe abiword-3.0.0-r0: task do_compile: Failed
> ERROR: Task 20957 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-gnome/recipes-gnome/abiword/abiword_3.0.0.bb, do_compile) failed with exit code '1'
>
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list