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

Bug 655388

Summary: dev-db/sqlcipher-3.4.2 : sqlite3.c:21642:18: error: static declaration of HMAC_CTX_new follows non-static declaration
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sergey Popov <pinkbyte>
Status: RESOLVED DUPLICATE    
Severity: normal CC: marcel.schilling
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-db:sqlcipher-3.4.2:20180510-120728.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-05-10 12:10:50 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -DSQLITE_HAS_CODEC -DSQLCIPHER_CRYPTO_OPENSSL -DSQLITE_OS_UNIX=1 -I. -I/var/tmp/portage/dev-db/sqlcipher-3.4.2/work/sqlcipher-3.4.2/src -I/var/tmp/portage/dev-db/sqlcipher-3.4.2/work/sqlcipher-3.4.2/ext/rtree -I/var/tmp/portage/dev-db/sqlcipher-3.4.2/work/sqlcipher-3.4.2/ext/icu -I/var/tmp/portage/dev-db/sqlcipher-3.4.2/work/sqlcipher-3.4.2/ext/fts3 -I/var/tmp/portage/dev-db/sqlcipher-3.4.2/work/sqlcipher-3.4.2/ext/async -I/var/tmp/portage/dev-db/sqlcipher-3.4.2/work/sqlcipher-3.4.2/ext/session -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_JSON1 -DSQLITE_TEMP_STORE=2 -c sqlite3.c  -fPIC -DPIC -o .libs/sqlite3.o
sqlite3.c:21642:18: error: static declaration of ‘HMAC_CTX_new’ follows non-static declaration
 static HMAC_CTX *HMAC_CTX_new(void)
                  ^~~~~~~~~~~~
In file included from sqlite3.c:21630:0:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_libressl_20180506-210133

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *



emerge -qpv dev-db/sqlcipher
[ebuild  N    ] dev-db/sqlcipher-3.4.2  USE="libressl readline -libedit -static-libs -tcl {-test}"
Comment 1 Toralf Förster gentoo-dev 2018-05-10 12:10:53 UTC
Created attachment 530716 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-10 12:10:56 UTC
Created attachment 530718 [details]
dev-db:sqlcipher-3.4.2:20180510-120728.log
Comment 3 Toralf Förster gentoo-dev 2018-05-10 12:10:59 UTC
Created attachment 530720 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-05-10 12:11:02 UTC
Created attachment 530722 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-05-10 12:11:05 UTC
Created attachment 530724 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-05-10 12:11:08 UTC
Created attachment 530726 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-05-10 12:11:11 UTC
Created attachment 530728 [details]
temp.tbz2
Comment 8 Sergey Popov gentoo-dev 2018-07-17 08:16:20 UTC
Can not reproduce it on current stable and unstable

Do you use hardmasked =libressl-2.7.*? It may be the culprit, upstream has some patches to be merged for it
Comment 9 Marcel Schilling 2018-12-05 09:19:26 UTC
This is supposed to be fixed upstream in >=dev-db/sqlcipher-4.0.0 (not in portage yet): https://github.com/sqlcipher/sqlcipher/issues/271
Comment 10 Aaron Bauman (RETIRED) gentoo-dev 2019-02-22 23:39:04 UTC
other bug has some patch links etc in it.

*** This bug has been marked as a duplicate of bug 678502 ***