[Slackbuilds-users] apsw for 14.1 - wrong DOWNLOAD url
Thomas Szteliga
ts at websafe.pl
Thu Sep 1 21:01:52 UTC 2016
On 01.09.2016 14:19, Willy Sudiarto Raharjo wrote:
> hi Thomas
> the new URL will produce a different MD5SUM and older releases branch
> will get less (if not zero) update so if possible, please use the 14.2
> branch.
> Many of the scripts in latest branch will keep working on earlier
> version of Slackware.
OK, but this will break tools like slpkg running on Slackware 14.1
because they will download the not working SlackBuild for 14.1
pointing to a non-existent source tarball.
And using the 14.2 SlackBuild on a 14.1 installation will not solve
the problem:
# cat /etc/slackware-version
Slackware 14.1
# ./apsw.SlackBuild
Archive: /tmp/apsw/apsw-3.13.0-r1.zip
inflating: apsw-3.13.0-r1/MANIFEST.in
inflating: apsw-3.13.0-r1/checksums
inflating: apsw-3.13.0-r1/mingwsetup.bat
inflating: apsw-3.13.0-r1/setup.py
inflating: apsw-3.13.0-r1/tests.py
inflating: apsw-3.13.0-r1/PKG-INFO
inflating: apsw-3.13.0-r1/src/apsw.c
inflating: apsw-3.13.0-r1/src/apswbuffer.c
inflating: apsw-3.13.0-r1/src/apswversion.h
inflating: apsw-3.13.0-r1/src/backup.c
inflating: apsw-3.13.0-r1/src/blob.c
inflating: apsw-3.13.0-r1/src/connection.c
inflating: apsw-3.13.0-r1/src/cursor.c
inflating: apsw-3.13.0-r1/src/exceptions.c
inflating: apsw-3.13.0-r1/src/pyutil.c
inflating: apsw-3.13.0-r1/src/statementcache.c
inflating: apsw-3.13.0-r1/src/testextension.c
inflating: apsw-3.13.0-r1/src/traceback.c
inflating: apsw-3.13.0-r1/src/util.c
inflating: apsw-3.13.0-r1/src/vfs.c
inflating: apsw-3.13.0-r1/src/vtable.c
inflating: apsw-3.13.0-r1/tools/apswtrace.py
inflating: apsw-3.13.0-r1/tools/shell.py
inflating: apsw-3.13.0-r1/tools/speedtest.py
inflating: apsw-3.13.0-r1/doc/apsw.html
inflating: apsw-3.13.0-r1/doc/backup.html
inflating: apsw-3.13.0-r1/doc/benchmarking.html
inflating: apsw-3.13.0-r1/doc/blob.html
inflating: apsw-3.13.0-r1/doc/build.html
inflating: apsw-3.13.0-r1/doc/changes.html
inflating: apsw-3.13.0-r1/doc/connection.html
inflating: apsw-3.13.0-r1/doc/copyright.html
inflating: apsw-3.13.0-r1/doc/cursor.html
inflating: apsw-3.13.0-r1/doc/dbapi.html
inflating: apsw-3.13.0-r1/doc/download.html
inflating: apsw-3.13.0-r1/doc/example.html
inflating: apsw-3.13.0-r1/doc/exceptions.html
inflating: apsw-3.13.0-r1/doc/execution.html
inflating: apsw-3.13.0-r1/doc/extensions.html
inflating: apsw-3.13.0-r1/doc/index.html
inflating: apsw-3.13.0-r1/doc/pysqlite.html
inflating: apsw-3.13.0-r1/doc/shell.html
inflating: apsw-3.13.0-r1/doc/tips.html
inflating: apsw-3.13.0-r1/doc/types.html
inflating: apsw-3.13.0-r1/doc/vfs.html
inflating: apsw-3.13.0-r1/doc/vtable.html
inflating: apsw-3.13.0-r1/doc/genindex.html
inflating: apsw-3.13.0-r1/doc/py-modindex.html
inflating: apsw-3.13.0-r1/doc/search.html
inflating: apsw-3.13.0-r1/doc/.buildinfo
inflating: apsw-3.13.0-r1/doc/searchindex.js
inflating: apsw-3.13.0-r1/doc/objects.inv
inflating: apsw-3.13.0-r1/doc/_sources/apsw.txt
inflating: apsw-3.13.0-r1/doc/_sources/backup.txt
inflating: apsw-3.13.0-r1/doc/_sources/benchmarking.txt
inflating: apsw-3.13.0-r1/doc/_sources/blob.txt
inflating: apsw-3.13.0-r1/doc/_sources/build.txt
inflating: apsw-3.13.0-r1/doc/_sources/changes.txt
inflating: apsw-3.13.0-r1/doc/_sources/connection.txt
inflating: apsw-3.13.0-r1/doc/_sources/copyright.txt
inflating: apsw-3.13.0-r1/doc/_sources/cursor.txt
inflating: apsw-3.13.0-r1/doc/_sources/dbapi.txt
inflating: apsw-3.13.0-r1/doc/_sources/download.txt
inflating: apsw-3.13.0-r1/doc/_sources/example.txt
inflating: apsw-3.13.0-r1/doc/_sources/exceptions.txt
inflating: apsw-3.13.0-r1/doc/_sources/execution.txt
inflating: apsw-3.13.0-r1/doc/_sources/extensions.txt
inflating: apsw-3.13.0-r1/doc/_sources/index.txt
inflating: apsw-3.13.0-r1/doc/_sources/pysqlite.txt
inflating: apsw-3.13.0-r1/doc/_sources/shell.txt
inflating: apsw-3.13.0-r1/doc/_sources/tips.txt
inflating: apsw-3.13.0-r1/doc/_sources/types.txt
inflating: apsw-3.13.0-r1/doc/_sources/vfs.txt
inflating: apsw-3.13.0-r1/doc/_sources/vtable.txt
inflating: apsw-3.13.0-r1/doc/_static/pygments.css
inflating: apsw-3.13.0-r1/doc/_static/up.png
inflating: apsw-3.13.0-r1/doc/_static/basic.css
inflating: apsw-3.13.0-r1/doc/_static/websupport.js
inflating: apsw-3.13.0-r1/doc/_static/down-pressed.png
inflating: apsw-3.13.0-r1/doc/_static/file.png
inflating: apsw-3.13.0-r1/doc/_static/down.png
inflating: apsw-3.13.0-r1/doc/_static/plus.png
inflating: apsw-3.13.0-r1/doc/_static/up-pressed.png
inflating: apsw-3.13.0-r1/doc/_static/comment.png
inflating: apsw-3.13.0-r1/doc/_static/minus.png
inflating: apsw-3.13.0-r1/doc/_static/ajax-loader.gif
inflating: apsw-3.13.0-r1/doc/_static/searchtools.js
inflating: apsw-3.13.0-r1/doc/_static/comment-bright.png
inflating: apsw-3.13.0-r1/doc/_static/comment-close.png
inflating: apsw-3.13.0-r1/doc/_static/doctools.js
inflating: apsw-3.13.0-r1/doc/_static/jquery.js
inflating: apsw-3.13.0-r1/doc/_static/underscore.js
inflating: apsw-3.13.0-r1/doc/_static/sidebar.js
inflating: apsw-3.13.0-r1/doc/_static/classic.css
inflating: apsw-3.13.0-r1/doc/_static/default.css
/usr/lib64/python2.7/site-packages/setuptools/dist.py:285: UserWarning:
Normaliz
ing '3.13.0-r1' to '3.13.0.post1'
normalized_version,
running build
running build_ext
SQLite: Using system sqlite include/libraries
ICU: Added includes, flags and libraries from icu-config
building 'apsw' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-
prototypes -fPIC -DEXPERIMENTAL=1 -DNDEBUG=1
-DAPSW_FORK_CHECKER=1 -DSQLITE_ENAB
LE_FTS4=1 -DSQLITE_ENABLE_FTS3=1
-DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENA
BLE_RTREE=1
-DSQLITE_ENABLE_STAT4=1 -DSQLITE_ENABLE_JSON1=1 -DSQLITE_ENABLE_FTS5
=1
-DSQLITE_ENABLE_ICU=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -D_REENTRANT=1
-Isrc -I/
usr/include -I/usr/include/python2.7 -c src/apsw.c -o
build/temp.linux-x86_64-2.
7/src/apsw.o
src/apsw.c:63:2: error: #error Your SQLite version is too old. It must
be at lea
st 3.13
#error Your SQLite version is too old. It must be at least 3.13
^
In file included from /usr/include/python2.7/Python.h:8:0,
from src/apsw.c:74:
/usr/include/python2.7/pyconfig.h:1173:0: warning: "_POSIX_C_SOURCE"
redefined [
enabled by default]
#define _POSIX_C_SOURCE 200112L
^
In file included from /usr/include/assert.h:36:0,
from src/apsw.c:67:
/usr/include/features.h:231:0: note: this is the location of the
previous defini
tion
# define _POSIX_C_SOURCE 200809L
^
In file included from src/apsw.c:132:0:
src/connection.c: In function ‘Connection_createscalarfunction’:
src/connection.c:2314:40: error: ‘SQLITE_DETERMINISTIC’ undeclared
(first use in
this function)
SQLITE_UTF8|(deterministic?SQLITE_DETERMINISTIC:0),
^
src/util.c:54:10: note: in definition of macro ‘INUSE_CALL’
{ x; } \
^
src/util.c:62:42: note: in expansion of macro ‘_PYSQLITE_CALL_E’
#define PYSQLITE_CON_CALL(y) INUSE_CALL(_PYSQLITE_CALL_E(self->db, y))
^
src/connection.c:2310:3: note: in expansion of macro ‘PYSQLITE_CON_CALL’
PYSQLITE_CON_CALL(
^
src/connection.c:2314:40: note: each undeclared identifier is reported
only once
for each function it appears in
SQLITE_UTF8|(deterministic?SQLITE_DETERMINISTIC:0),
^
src/util.c:54:10: note: in definition of macro ‘INUSE_CALL’
{ x; } \
^
src/util.c:62:42: note: in expansion of macro ‘_PYSQLITE_CALL_E’
#define PYSQLITE_CON_CALL(y) INUSE_CALL(_PYSQLITE_CALL_E(self->db, y))
^
src/connection.c:2310:3: note: in expansion of macro ‘PYSQLITE_CON_CALL’
PYSQLITE_CON_CALL(
^
src/apsw.c: In function ‘config’:
src/apsw.c:354:10: error: ‘SQLITE_CONFIG_PCACHE_HDRSZ’ undeclared (first
use in
this function)
case SQLITE_CONFIG_PCACHE_HDRSZ:
^
src/apsw.c:370:10: error: ‘SQLITE_CONFIG_PMASZ’ undeclared (first use in
this fu
nction)
case SQLITE_CONFIG_PMASZ:
^
src/apsw.c:371:10: error: ‘SQLITE_CONFIG_STMTJRNL_SPILL’ undeclared
(first use i
n this function)
case SQLITE_CONFIG_STMTJRNL_SPILL:
^
src/apsw.c: In function ‘status’:
src/apsw.c:549:3: warning: implicit declaration of function
‘sqlite3_status64’ [
-Wimplicit-function-declaration]
res=sqlite3_status64(op, ¤t, &highwater, reset);
^
src/apsw.c: In function ‘initapsw’:
src/apsw.c:1409:14: error: ‘SQLITE_RECURSIVE’ undeclared (first use in
this func
tion)
ADDINT(SQLITE_RECURSIVE),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1420:14: error: ‘SQLITE_INDEX_CONSTRAINT_LIKE’ undeclared
(first use
in this function)
ADDINT(SQLITE_INDEX_CONSTRAINT_LIKE),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1421:14: error: ‘SQLITE_INDEX_CONSTRAINT_REGEXP’ undeclared
(first us
e in this function)
ADDINT(SQLITE_INDEX_CONSTRAINT_REGEXP),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1422:14: error: ‘SQLITE_INDEX_CONSTRAINT_GLOB’ undeclared
(first use
in this function)
ADDINT(SQLITE_INDEX_CONSTRAINT_GLOB),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1472:14: error: ‘SQLITE_BUSY_SNAPSHOT’ undeclared (first use
in this
function)
ADDINT(SQLITE_BUSY_SNAPSHOT),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1473:14: error: ‘SQLITE_IOERR_GETTEMPPATH’ undeclared (first
use in t
his function)
ADDINT(SQLITE_IOERR_GETTEMPPATH),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1474:14: error: ‘SQLITE_WARNING_AUTOINDEX’ undeclared (first
use in t
his function)
ADDINT(SQLITE_WARNING_AUTOINDEX),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1475:14: error: ‘SQLITE_CANTOPEN_CONVPATH’ undeclared (first
use in t
his function)
ADDINT(SQLITE_CANTOPEN_CONVPATH),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1476:14: error: ‘SQLITE_IOERR_CONVPATH’ undeclared (first use
in this
function)
ADDINT(SQLITE_IOERR_CONVPATH),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1477:14: error: ‘SQLITE_CONSTRAINT_ROWID’ undeclared (first
use in th
is function)
ADDINT(SQLITE_CONSTRAINT_ROWID),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1478:14: error: ‘SQLITE_READONLY_DBMOVED’ undeclared (first
use in th
is function)
ADDINT(SQLITE_READONLY_DBMOVED),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1479:14: error: ‘SQLITE_AUTH_USER’ undeclared (first use in
this func
tion)
ADDINT(SQLITE_AUTH_USER),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1480:14: error: ‘SQLITE_IOERR_VNODE’ undeclared (first use in
this fu
nction)
ADDINT(SQLITE_IOERR_VNODE),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1481:14: error: ‘SQLITE_IOERR_AUTH’ undeclared (first use in
this fun
ction)
ADDINT(SQLITE_IOERR_AUTH),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1557:14: error: ‘SQLITE_LIMIT_WORKER_THREADS’ undeclared
(first use i
n this function)
ADDINT(SQLITE_LIMIT_WORKER_THREADS),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1583:14: error: ‘SQLITE_CONFIG_WIN32_HEAPSIZE’ undeclared
(first use
in this function)
ADDINT(SQLITE_CONFIG_WIN32_HEAPSIZE),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1584:14: error: ‘SQLITE_CONFIG_PCACHE_HDRSZ’ undeclared
(first use in
this function)
ADDINT(SQLITE_CONFIG_PCACHE_HDRSZ),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1585:14: error: ‘SQLITE_CONFIG_PMASZ’ undeclared (first use
in this f
unction)
ADDINT(SQLITE_CONFIG_PMASZ),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1586:14: error: ‘SQLITE_CONFIG_STMTJRNL_SPILL’ undeclared
(first use
in this function)
ADDINT(SQLITE_CONFIG_STMTJRNL_SPILL),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1593:14: error: ‘SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER’
undeclared (f
irst use in this function)
ADDINT(SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1594:14: error: ‘SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION’
undeclared (f
irst use in this function)
ADDINT(SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1622:14: error: ‘SQLITE_DBSTATUS_DEFERRED_FKS’ undeclared
(first use
in this function)
ADDINT(SQLITE_DBSTATUS_DEFERRED_FKS),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1653:14: error: ‘SQLITE_IOCAP_IMMUTABLE’ undeclared (first
use in thi
s function)
ADDINT(SQLITE_IOCAP_IMMUTABLE),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1666:14: error: ‘SQLITE_CHECKPOINT_TRUNCATE’ undeclared
(first use in
this function)
ADDINT(SQLITE_CHECKPOINT_TRUNCATE),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1684:14: error: ‘SQLITE_FCNTL_TRACE’ undeclared (first use in
this fu
nction)
ADDINT(SQLITE_FCNTL_TRACE),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1685:14: error: ‘SQLITE_FCNTL_COMMIT_PHASETWO’ undeclared
(first use
in this function)
ADDINT(SQLITE_FCNTL_COMMIT_PHASETWO),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1686:14: error: ‘SQLITE_FCNTL_HAS_MOVED’ undeclared (first
use in thi
s function)
ADDINT(SQLITE_FCNTL_HAS_MOVED),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1687:14: error: ‘SQLITE_FCNTL_SYNC’ undeclared (first use in
this fun
ction)
ADDINT(SQLITE_FCNTL_SYNC),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1688:14: error: ‘SQLITE_FCNTL_WIN32_SET_HANDLE’ undeclared
(first use
in this function)
ADDINT(SQLITE_FCNTL_WIN32_SET_HANDLE),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1689:14: error: ‘SQLITE_FCNTL_LAST_ERRNO’ undeclared (first
use in th
is function)
ADDINT(SQLITE_FCNTL_LAST_ERRNO),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1690:14: error: ‘SQLITE_FCNTL_WAL_BLOCK’ undeclared (first
use in thi
s function)
ADDINT(SQLITE_FCNTL_WAL_BLOCK),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1691:14: error: ‘SQLITE_FCNTL_GET_LOCKPROXYFILE’ undeclared
(first us
e in this function)
ADDINT(SQLITE_FCNTL_GET_LOCKPROXYFILE),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1692:14: error: ‘SQLITE_FCNTL_SET_LOCKPROXYFILE’ undeclared
(first us
e in this function)
ADDINT(SQLITE_FCNTL_SET_LOCKPROXYFILE),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1693:14: error: ‘SQLITE_FCNTL_RBU’ undeclared (first use in
this func
tion)
ADDINT(SQLITE_FCNTL_RBU),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1694:14: error: ‘SQLITE_FCNTL_ZIPVFS’ undeclared (first use
in this f
unction)
ADDINT(SQLITE_FCNTL_ZIPVFS),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1695:14: error: ‘SQLITE_FCNTL_JOURNAL_POINTER’ undeclared
(first use
in this function)
ADDINT(SQLITE_FCNTL_JOURNAL_POINTER),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1696:14: error: ‘SQLITE_FCNTL_VFS_POINTER’ undeclared (first
use in t
his function)
ADDINT(SQLITE_FCNTL_VFS_POINTER),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
src/apsw.c:1719:14: error: ‘SQLITE_INDEX_SCAN_UNIQUE’ undeclared (first
use in t
his function)
ADDINT(SQLITE_INDEX_SCAN_UNIQUE),
^
src/apsw.c:1365:24: note: in definition of macro ‘ADDINT’
#define ADDINT(n) {#n, n}
^
error: command 'gcc' failed with exit status 1
--
Thomas Szteliga
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3719 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20160901/7b64c220/attachment-0001.p7s>
More information about the SlackBuilds-users
mailing list