Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 666156

Summary: gnome-extra/libgda[ssl] with >=dev-libs/openssl-1.1.0: sqlite3.c: error: storage size of ‘hctx’ isn’t known
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: candrews
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gitlab.gnome.org/GNOME/libgda/merge_requests/3
See Also: https://github.com/gentoo/gentoo/pull/10348
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 592438    
Attachments: build.log

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-09-13 16:03:43 UTC
Created attachment 546814 [details]
build.log

make[2]: Entering directory '/var/tmp/portage/gnome-extra/libgda-5.2.4-r2/work/libgda-5.2.4/providers/sqlcipher'
/bin/bash ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"GNU\ Data\ Access\" -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"5.2.4\" -DPACKAGE_STRING=\"GNU\ Data\ Access\ 5.2.4\" -DPACKAGE_BUGREPORT=\"
https://bugzilla.gnome.org/enter_bug.cgi\?product=libgda\" -DPACKAGE_URL=\"http://www.gnome-db.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAV
E_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_INT_P=8 -DHAVE_LOCALTIME_R=1 -DUSE_MLOCK=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GDU=1 -DGETTEXT_P
ACKAGE=\"libgda-5.0\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DHAVE_UI=1 -DHAVE_GDKPIXBUF=1 -DISO_CODES_PREFIX=\"/usr\" -DHAVE_LIBCRYPTO=/\*\*/ -DHAVE_IC
ONV=1 -DICONV_CONST= -DHAVE_READLINE=1 -DHAVE_HISTORY=1 -DHAVE_TERMIOS_H=1 -I.  -I../.. -I../../libgda -I../../libgda/sqlite -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -DLIBGDA_ABI_NAME=
\"libgda-5.0\"   -DSQLITE_HAS_CODEC -DSQLITE_API= -DSQLITE_PRIVATE= -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_THREADSAFE=1   -march=native -mtune=native -O2 -pipe -c -o sqlite3.lo sqlite3.c
libtool: compile:  x86_64-pc-linux-gnu-gcc "-DPACKAGE_NAME=\"GNU Data Access\"" -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"5.2.4\" "-DPACKAGE_STRING=\"GNU Data Access 5.2.4\"" "-DPACKAGE_BUGREPORT=\"https://bugzilla.gnome.org/enter
_bug.cgi?product=libgda\"" -DPACKAGE_URL=\"http://www.gnome-db.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_INT_P=8 -DHAVE_LOCALTIME_R=1 -DUSE_MLOCK=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJ
DIR=\".libs/\" -DHAVE_GDU=1 -DGETTEXT_PACKAGE=\"libgda-5.0\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DHAVE_UI=1 -DHAVE_GDKPIXBUF=1 -DISO_CODES_PREFIX=\"/usr\" "-DHAVE_LIBCRYPTO=/**/" -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_READLINE=1 -DHAVE_HISTORY=1 -DHAVE_TERMIOS_H=1 -I. -I../.. -I../../libgda -I../../libgda/sqlite -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -DLIBGDA_ABI_NAME=\"libgda-5.0\" -DSQLITE_HAS_CODEC -DSQLITE_API= -DSQLITE_PRIVATE= -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_THREADSAFE=1 -march=native -mtune=native -O2 -pipe -c sqlite3.c  -fPIC -DPIC -o .libs/sqlite3.o
sqlite3.c: In function ‘sqlcipher_openssl_hmac’:
sqlite3.c:15699:12: error: storage size of ‘hctx’ isn’t known
   HMAC_CTX hctx;
            ^~~~
sqlite3.c:15701:3: warning: implicit declaration of function ‘HMAC_CTX_init’; did you mean ‘HMAC_CTX_new’? [-Wimplicit-function-declaration]
   HMAC_CTX_init(&hctx);
   ^~~~~~~~~~~~~
   HMAC_CTX_new
sqlite3.c:15706:3: warning: implicit declaration of function ‘HMAC_CTX_cleanup’; did you mean ‘HMAC_CTX_get_md’? [-Wimplicit-function-declaration]
   HMAC_CTX_cleanup(&hctx);
   ^~~~~~~~~~~~~~~~
   HMAC_CTX_get_md
sqlite3.c: In function ‘sqlcipher_openssl_cipher’:
sqlite3.c:15716:18: error: storage size of ‘ectx’ isn’t known
   EVP_CIPHER_CTX ectx;
                  ^~~~
make[2]: *** [Makefile:674: sqlite3.lo] Error 1
make[2]: Leaving directory '/var/tmp/portage/gnome-extra/libgda-5.2.4-r2/work/libgda-5.2.4/providers/sqlcipher'
make[1]: *** [Makefile:554: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/gnome-extra/libgda-5.2.4-r2/work/libgda-5.2.4/providers'
make: *** [Makefile:745: all-recursive] Error 1
 * ERROR: gnome-extra/libgda-5.2.4-r2::gentoo failed (compile phase):
 *   emake failed
Comment 1 Larry the Git Cow gentoo-dev 2018-11-13 20:29:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=880699bb699214cac6e4f6e99a369eeccca4ca43

commit 880699bb699214cac6e4f6e99a369eeccca4ca43
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-11-06 17:59:13 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-11-13 20:28:50 +0000

    gnome-extra/libgda: 5.2.5 version bump
    
    Closes: https://bugs.gentoo.org/666156
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 gnome-extra/libgda/Manifest            |   1 +
 gnome-extra/libgda/libgda-5.2.5.ebuild | 177 +++++++++++++++++++++++++++++++++
 2 files changed, 178 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2018-11-13 22:08:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=804d2b9ed26c7b155d94ac9e04a9234836e73cdd

commit 804d2b9ed26c7b155d94ac9e04a9234836e73cdd
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-11-13 22:01:04 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-11-13 22:08:23 +0000

    Revert "gnome-extra/libgda: 5.2.5 version bump"
    
    This reverts commit 880699bb699214cac6e4f6e99a369eeccca4ca43.
    
    Unauthorized commit with the following issues:
    
    * USE=vala completely broken.
      "configure: WARNING: unrecognized options: --enable-vala" should
      have given a hint, after blindly dropping a patch we had to fix
      this case properly.
    * Wrong sqlite minimum dep
    
    Issues inherited from old version, that would be routine for
    maintainer to check over and fix:
    
    * Missing glib-utils build dep
    * Ineffective JRE 1.8 support patch (configure only is patched, but
      eautoreconf is called after patching)
    * Lack of GNOME2_EAUTORECONF="yes" usage over manual autotools
      inherit and eautoreconf call (leads to double elibtoolize call,
      which is problematic for some edge cases and could QA warn)
    
    Fixing vala takes some effort, hence a revert of commit that shouldn't
    have been pushed (not acked by maintainer) for now, not immediate
    follow-up fixes.
    
    Bug: https://bugs.gentoo.org/666156
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 gnome-extra/libgda/Manifest            |   1 -
 gnome-extra/libgda/libgda-5.2.5.ebuild | 177 ---------------------------------
 2 files changed, 178 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2018-12-28 11:06:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53dd6948675b603e6f3f0ee5a854730b722a10d9

commit 53dd6948675b603e6f3f0ee5a854730b722a10d9
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-12-28 11:03:23 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-12-28 11:06:06 +0000

    gnome-extra/libgda: require openssl-1.0*, add glib-utils dep
    
    Bug: https://bugs.gentoo.org/666156
    Closes: https://bugs.gentoo.org/668078
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>
    Package-Manager: Portage-2.3.52, Repoman-2.3.11

 gnome-extra/libgda/libgda-5.2.4-r2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2018-12-28 16:24:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=802021a945e43c9400779336b0f6d4c0b245531e

commit 802021a945e43c9400779336b0f6d4c0b245531e
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-12-28 16:20:19 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-12-28 16:22:26 +0000

    gnome-extra/libgda: bump to 5.2.8, compatible with openssl-1.1
    
    Also fix JRE 1.8 patch to not be reverted by the eautoreconf - however no
    clue if it actually works.
    
    Closes: https://bugs.gentoo.org/666156
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>
    Package-Manager: Portage-2.3.52, Repoman-2.3.11

 gnome-extra/libgda/Manifest            |   1 +
 gnome-extra/libgda/libgda-5.2.8.ebuild | 166 +++++++++++++++++++++++++++++++++
 2 files changed, 167 insertions(+)