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 ?
CC'ing Mike who made the change. Thanks.
Show full build log with a build failure. (ChangeLog is irrelevant. Use metadata.xml.)
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
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
I sent a patch to upstream.
Can you share it so I can try it here ? Thanks.
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.)
These patches are used by dev-db/sqlite-3.8.1.
Alan, is 3.8.1 working for you?
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!
Yes, it works now. Fabian - can you remove the entry in profiles/prefix/mint/package.use.mask for sqlite now ? Thanks.
done