Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488094 - dev-db/sqlite-3.8.0.x enabled "extensions" by default
Summary: dev-db/sqlite-3.8.0.x enabled "extensions" by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All FreeMiNT
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-15 07:38 UTC by Alan Hourihane
Modified: 2013-10-31 15:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sqlite-dlopen_check.patch (sqlite-dlopen_check.patch,710 bytes, patch)
2013-10-15 19:34 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Hourihane 2013-10-15 07:38:00 UTC
In prefix for my platform my use flags by default set the "extensions" field so we could turn it off in sqlite.

But it seems sqlite-3.8.0.x has had it explicitly enabled.

Was there a reason ? Can it be made per-platform again ?
Comment 1 Alan Hourihane 2013-10-15 07:38:16 UTC
CC'ing Mike who made the change.

Thanks.
Comment 2 Arfrever Frehtes Taifersar Arahesis 2013-10-15 07:45:55 UTC
Show full build log with a build failure.

(ChangeLog is irrelevant. Use metadata.xml.)
Comment 3 Alan Hourihane 2013-10-15 07:53:44 UTC
Reference these bugs too.

Where this seemed to claim extensions could be a security risk...
https://bugs.gentoo.org/show_bug.cgi?id=233994

And this was the original FreeMiNT bug...
https://bugs.gentoo.org/show_bug.cgi?id=299294
Comment 4 Alan Hourihane 2013-10-15 07:54:59 UTC
libtool: compile:  m68k-atari-mint-gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.8.0.2\" "-DPACKAGE_STRING=\"sqlite 3.8.0.2\"" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.8.0.2\" -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 -DLT_OBJDIR=\".libs/\" -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DSTRERROR_R_CHAR_P=1 -DHAVE_READLINE=1 -DHAVE_POSIX_FALLOCATE=1 -I. -DNDEBUG -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS4_UNICODE61 -DSQLITE_ENABLE_RTREE -DSQLITE_SOUNDEX -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_OMIT_WAL -D_REENTRANT=1 -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -O2 -pipe -c sqlite3.c -o sqlite3.o
sqlite3.c:23508:40: error: 'mmap' undeclared here (not in a function)
sqlite3.c:23511:42: error: 'munmap' undeclared here (not in a function)
sqlite3.c:28973:19: fatal error: dlfcn.h: No such file or directory
compilation terminated.
make: *** [sqlite3.lo] Error 1
Comment 5 Arfrever Frehtes Taifersar Arahesis 2013-10-15 08:41:48 UTC
I sent a patch to upstream.
Comment 6 Alan Hourihane 2013-10-15 09:00:24 UTC
Can you share it so I can try it here ?

Thanks.
Comment 7 Arfrever Frehtes Taifersar Arahesis 2013-10-15 19:34:21 UTC
Created attachment 360970 [details, diff]
sqlite-dlopen_check.patch

This patch was sent to upstream.
This patch is for full source tree and full "sqlite-src" tarball.
(Patch for stripped "sqlite-autoconf" tarball can be extracted from second part of this patch.)
Comment 8 Arfrever Frehtes Taifersar Arahesis 2013-10-18 04:31:29 UTC
These patches are used by dev-db/sqlite-3.8.1.
Comment 9 Fabian Groffen gentoo-dev 2013-10-22 07:22:37 UTC
Alan, is 3.8.1 working for you?
Comment 10 Alan Hourihane 2013-10-22 13:56:39 UTC
Hi Fabian, I'll give this a go. Machine is tied up at the moment. Will get back to this bug later this week.

Thanks for updating so quickly!
Comment 11 Alan Hourihane 2013-10-31 14:14:14 UTC
Yes, it works now.

Fabian - can you remove the entry in profiles/prefix/mint/package.use.mask for sqlite now ?

Thanks.
Comment 12 Fabian Groffen gentoo-dev 2013-10-31 15:13:00 UTC
done