Bug 140250 - devel/subversion doesn't install on 8.0-RC2
Summary: devel/subversion doesn't install on 8.0-RC2
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: 2009-11-03 16:10 UTC by Josh Paetzel <josh@tcbug.org>
Modified: 2010-02-13 16:55 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 Josh Paetzel <josh@tcbug.org> 2009-11-03 16:10:04 UTC
devel/subversion fails to detect the installed sqlite3.

configure: checking sqlite library
amalgamation not found at /usr/ports/devel/subversion/work/subversion-1.6.6/sqli
te-amalgamation/sqlite3.c
checking sqlite3.h usability... no
checking sqlite3.h presence... no
checking for sqlite3.h... no
no

An appropriate version of sqlite could not be found.  We recommmend
3.6.13, but require at least 3.4.0.
Please either install a newer sqlite on this system

or

get the sqlite 3.6.13 amalgamation from:
    http://www.sqlite.org/sqlite-amalgamation-3.6.13.tar.gz
unpack the archive using tar/gunzip and copy sqlite3.c from the
resulting directory to:
/usr/ports/devel/subversion/work/subversion-1.6.6/sqlite-amalgamation/sqlite3.c
This file also ships as part of the subversion-deps distribution.

configure: error: Subversion requires SQLite
===>  Script "configure" failed unexpectedly.
Please report the problem to lev@freebsd.org [maintainer] and attach the
"/usr/ports/devel/subversion/work/subversion-1.6.6/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/subversion.
*** Error code 1

Stop in /usr/ports/devel/subversion.
root@servant /usr/ports/devel/subversion ->pkg_info -xI sqlite
sqlite3-3.6.19      An SQL database engine in a C library

Fix: 

USE_GNOME=      pkgconfig in Makefile.common pulls in pkg-config which then allows the subversion port to find the installed sqlite3
How-To-Repeat: cd /usr/ports/devel/subversion && make install
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-11-03 16:11:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lev

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alexey Degtyarev 2009-11-04 16:39:40 UTC
>Submitter-Id:	current-users
>Originator:	Alexey V. Degtyarev
>Organization:	
>Confidential:	no 
>Synopsis:	ports/140250: devel/subversion doesn't install on 8.0-RC2
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 8.0-RC1 amd64
>Environment:
System: FreeBSD renatasystems.org 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 17 18:50:57 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
Recent changes to databases/sqlite3 (see ports/139276) broke it's USE_GNOME
defenition:

USE_GMAKE=      YES
USE_GNOME=      pkgconfig
...
USE_GNOME=      gnomehack

So pkg-config package now (accidentally?) removed from run depends for sqlite3
with help of which sqlite library presence had been detected before:

...
configure: checking sqlite library
amalgamation not found at /work/a/ports/devel/subversion/work/subversion-1.6.6/sqlite-amalgamation/sqlite3.c
checking sqlite3.h usability... no
checking sqlite3.h presence... no
checking for sqlite3.h... no
checking sqlite library version (via pkg-config)... 3.6.14.2
...

>How-To-Repeat:
	
>Fix:
I think that use of pkg-config to check sqlite library presence is less correct
than direct library file check. This can be done with explicit sqlite prefix
specification --with-sqlite in configure arguments (see patch).

Though databases/sqlite3 should also be fixed in case of pkgconfig really
required.

	

--- subversion.sqlite.patch begins here ---
diff -u -rN tmp/subversion/Makefile.common subversion/Makefile.common
--- tmp/subversion/Makefile.common	2009-10-24 15:34:10.000000000 +0400
+++ subversion/Makefile.common	2009-11-04 19:08:46.000000000 +0300
@@ -31,6 +31,7 @@
 CONFIGURE_ARGS+=	--without-swig
 
 LIB_DEPENDS+=	sqlite3.8:${PORTSDIR}/databases/sqlite3
+CONFIGURE_ARGS+=	--with-sqlite=${LOCALBASE}
 
 # Default is "on"
 .if !defined(WITHOUT_NEON)
--- subversion.sqlite.patch ends here ---
Comment 3 Alexey Degtyarev 2009-11-04 16:39:40 UTC
>Submitter-Id:	current-users
>Originator:	Alexey V. Degtyarev
>Organization:	
>Confidential:	no 
>Synopsis:	ports/140250: devel/subversion doesn't install on 8.0-RC2
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 8.0-RC1 amd64
>Environment:
System: FreeBSD renatasystems.org 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 17 18:50:57 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
Recent changes to databases/sqlite3 (see ports/139276) broke it's USE_GNOME
defenition:

USE_GMAKE=      YES
USE_GNOME=      pkgconfig
...
USE_GNOME=      gnomehack

So pkg-config package now (accidentally?) removed from run depends for sqlite3
with help of which sqlite library presence had been detected before:

...
configure: checking sqlite library
amalgamation not found at /work/a/ports/devel/subversion/work/subversion-1.6.6/sqlite-amalgamation/sqlite3.c
checking sqlite3.h usability... no
checking sqlite3.h presence... no
checking for sqlite3.h... no
checking sqlite library version (via pkg-config)... 3.6.14.2
...

>How-To-Repeat:
	
>Fix:
I think that use of pkg-config to check sqlite library presence is less correct
than direct library file check. This can be done with explicit sqlite prefix
specification --with-sqlite in configure arguments (see patch).

Though databases/sqlite3 should also be fixed in case of pkgconfig really
required.

	

--- subversion.sqlite.patch begins here ---
diff -u -rN tmp/subversion/Makefile.common subversion/Makefile.common
--- tmp/subversion/Makefile.common	2009-10-24 15:34:10.000000000 +0400
+++ subversion/Makefile.common	2009-11-04 19:08:46.000000000 +0300
@@ -31,6 +31,7 @@
 CONFIGURE_ARGS+=	--without-swig
 
 LIB_DEPENDS+=	sqlite3.8:${PORTSDIR}/databases/sqlite3
+CONFIGURE_ARGS+=	--with-sqlite=${LOCALBASE}
 
 # Default is "on"
 .if !defined(WITHOUT_NEON)
--- subversion.sqlite.patch ends here ---
Comment 4 Sergey V. Dyatko 2009-11-04 18:53:27 UTC
Hi, 
same problem (devel/subversion-freebsd) on fresh installed 7.2 amd64.
Attached patch works fine for me - devel/subversion-freebsd compiled
w/o any problems, but I'm confused... on my desktop (HEAD, i386)
`portupgrade -f subversion-freebsd` works fine too but without
any patches..
ports tree up-to-date on both hosts.

--
wbr, tiger
Comment 5 dfilter service freebsd_committer freebsd_triage 2009-11-04 19:47:43 UTC
lev         2009-11-04 19:47:35 UTC

  FreeBSD ports repository

  Modified files:
    devel/subversion     Makefile.common 
  Log:
     Unbreak for "fresh" systems.
  
  PR:             ports/140250
  Submitted by:   Josh Paetzel <josh@tcbug.org>, used solution -  Alexey V.Degtyarev <alexey@renatasystems.org>
  
  Revision  Changes    Path
  1.26      +4 -3      ports/devel/subversion/Makefile.common
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Martin Wilke freebsd_committer freebsd_triage 2010-02-13 16:55:19 UTC
State Changed
From-To: open->closed

already fixed long timeago.