Bug 179012 - devel/subversion => sqlite3 version problems
Summary: devel/subversion => sqlite3 version problems
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Lev A. Serebryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-27 16:40 UTC by Steven Earl Smith
Modified: 2013-06-03 12:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Earl Smith 2013-05-27 16:40:00 UTC
As FreeBSD now uses subversion for system / ports, etc... updates perhaps it is time for subversion to be a part of base.  Currently subversion does not compile due to a version conflict in sqlite3.  Further the link for sqlite3-amagamation no longer exists.  Google search finds a download source, all steps are followed and the subversion port still fails to see / use the link.

How-To-Repeat: cd /usr/ports/devel/subversion && make config install

installs sqlite3 version:
3.7.16.1 2013-03-29 13:44:34 527231bc67285f01fb18d4451b28f61da3c4e39d

An appropriate version of sqlite could not be found.  We recommmend
3.7.6.3, but require at least 3.6.18.
Please either install a newer sqlite on this system
or
get the sqlite 3.7.6.3 amalgamation from:
    http://www.sqlite.org/sqlite-amalgamation-3.7.6.3.tar.gz <= FILE DOES NOT EXIST

Google Search found:
http://www.findthatzipfile.com/search-54261409-fZIP/winrar-winzip-download-sqlite-amalgamation-3-7-6-3-tar-gz.htm

extract & copy sqlite3.c to /usr/ports/devel/subversion/work/subversion-1.7.9/sqlite-amalgamation/sqlite3.c

make still fails with same result/messages.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-05-28 00:29:01 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lev

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Olli Hauer 2013-05-30 20:58:22 UTC
Hi Steven,

I think the issue is somewhere else but not in subversion or sqlite3 from ports.

The sqlite version installed by the port is fine and *more* then sufficient for subversion-1.7.9
> 3.7.6.3, but require at least 3.6.18.
sqlite3-3.7.6.3 version is newer then the required sqlite3-3.6.18 and portbuild is fine on 8.x/9.x and current

By any change do you have bsdgrep installed?

If possible please provide the config.log (from work/subversion)
and a build transcript.

$> script svn_issue.log
cd ports/subversion
make clean && make
^D

additional a list of installed ports will help
 "pkg_info" or "pkg info" | awk '{print $1}'
Comment 3 Lev A. Serebryakov freebsd_committer freebsd_triage 2013-05-30 21:36:01 UTC
Hello, olli.
You wrote 30 =EC=E0=FF 2013 =E3., 23:58:22:


oh> I think the issue is somewhere else but not in subversion or sqlite3 fr=
om ports.
  It  is  problem  when  sqlite3  port  is  built WITH_LOG option. I'm
  investigating -- why.


--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-06-03 12:14:50 UTC
Author: lev
Date: Mon Jun  3 11:14:38 2013
New Revision: 319770
URL: http://svnweb.freebsd.org/changeset/ports/319770

Log:
    Remove SQLLOG option. It needs code on "client side", and should not be used
  for system-wide library. No standard ports could be built when this option is
  set. For example, "devel/subverison" could not detect SQLite when this option
  is set.
  
  PR:		ports/179012
  Approved by:	Maintainer, Pavel Volkov <pavelivolkov [at] gmail.com>

Modified:
  head/databases/sqlite3/Makefile

Modified: head/databases/sqlite3/Makefile
==============================================================================
--- head/databases/sqlite3/Makefile	Mon Jun  3 11:01:25 2013	(r319769)
+++ head/databases/sqlite3/Makefile	Mon Jun  3 11:14:38 2013	(r319770)
@@ -3,6 +3,7 @@
 
 PORTNAME=	sqlite3
 PORTVERSION=	3.7.17
+PORTREVISION=	1
 CATEGORIES=	databases
 MASTER_SITES=	http://www.sqlite.org/2013/ http://www2.sqlite.org/2013/ http://www3.sqlite.org/2013/
 DISTNAME=	sqlite-autoconf-3071700
@@ -25,7 +26,7 @@ MAKE_JOBS_UNSAFE=	yes
 
 # Compilation Options For SQLite http://www.sqlite.org/compile.html
 OPTIONS_DEFINE=	FTS3 ICU RTREE RAMTABLE UPD_DEL_LIMIT URI SOUNDEX METADATA \
-		STAT3 DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY SQLLOG THREADSAFE \
+		STAT3 DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADSAFE \
 		EXTENSION
 OPTIONS_DEFAULT=	FTS3 URI METADATA SECURE_DELETE UNLOCK_NOTIFY THREADSAFE EXTENSION
 FTS3_DESC=		Enable FTS3/4 (Full Text Search) module
@@ -41,7 +42,6 @@ DIRECT_READ_DESC=	File is read directly 
 MEMMAN_DESC=		Allows it to release unused memory
 SECURE_DELETE_DESC=	Overwrite deleted information with zeros
 UNLOCK_NOTIFY_DESC=	Enable notification on unlocking
-SQLLOG_DESC=		Allow logging operations
 THREADSAFE_DESC=	Build thread-safe library
 EXTENSION_DESC=		Allow loadable extensions
 
@@ -137,10 +137,6 @@ CPPFLAGS+=		-DSQLITE_SECURE_DELETE=1
 CPPFLAGS+=		-DSQLITE_ENABLE_UNLOCK_NOTIFY=1
 .endif
 
-.if ${PORT_OPTIONS:MSQLLOG}
-CPPFLAGS+=		-DSQLITE_ENABLE_SQLLOG=1
-.endif
-
 .if ${PORT_OPTIONS:MMETADATA}
 CPPFLAGS+=		-DSQLITE_ENABLE_COLUMN_METADATA=1
 .endif
@@ -160,9 +156,6 @@ CONFIGURE_ARGS+=	--disable-dynamic-exten
 
 post-patch:
 	@${REINPLACE_CMD} '/^pkgconf/s,$${libdir},$${prefix}/libdata,' ${WRKSRC}/Makefile.in
-.if ${PORT_OPTIONS:MSQLLOG}
-	@${ECHO_CMD} "void sqlite3_init_sqllog(void) { /* fake function */ }" >> ${WRKSRC}/shell.c
-.endif
 
 post-build:
 .if ${ARCH}=="i386"
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Lev A. Serebryakov freebsd_committer freebsd_triage 2013-06-03 12:14:59 UTC
State Changed
From-To: open->closed


sqlite3 port updated to fix this problem.