From nobody@FreeBSD.org  Tue Nov  3 16:09:40 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1210310656AD
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  3 Nov 2009 16:09:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 016BA8FC1E
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  3 Nov 2009 16:09:40 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nA3G9dEO055609
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 3 Nov 2009 16:09:39 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id nA3G9dk4055596;
	Tue, 3 Nov 2009 16:09:39 GMT
	(envelope-from nobody)
Message-Id: <200911031609.nA3G9dk4055596@www.freebsd.org>
Date: Tue, 3 Nov 2009 16:09:39 GMT
From: Josh Paetzel <josh@tcbug.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/subversion doesn't install on 8.0-RC2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         140250
>Category:       ports
>Synopsis:       devel/subversion doesn't install on 8.0-RC2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lev
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 03 16:10:04 UTC 2009
>Closed-Date:    Sat Feb 13 16:55:20 UTC 2010
>Last-Modified:  Sat Feb 13 16:55:20 UTC 2010
>Originator:     Josh Paetzel
>Release:        8.0-RC2
>Organization:
iXsystems, Inc.
>Environment:
FreeBSD servant.iXsystems.com 8.0-RC2 FreeBSD 8.0-RC2 #1: Mon Nov  2 12:37:18 PST 2009     dwhite@servant.iXsystems.com:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
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



>How-To-Repeat:
cd /usr/ports/devel/subversion && make install
>Fix:
USE_GNOME=      pkgconfig in Makefile.common pulls in pkg-config which then allows the subversion port to find the installed sqlite3


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->lev 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Nov 3 16:11:04 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140250 

From: Alexey V.Degtyarev <alexey@renatasystems.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: lev@FreeBSD.org, bug-followup@FreeBSD.org, josh@tcbug.org
Subject: ports/140250: devel/subversion doesn't install on 8.0-RC2
Date: 4 Nov 2009 19:39:40 +0300

 >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 ---
 
 

From: Alexey V.Degtyarev <alexey@renatasystems.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: lev@FreeBSD.org, bug-followup@FreeBSD.org, josh@tcbug.org
Subject: ports/140250: devel/subversion doesn't install on 8.0-RC2
Date: 4 Nov 2009 19:39:40 +0300

 >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 ---
 
 

From: "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
To: bug-followup@FreeBSD.org, josh@tcbug.org
Cc:  
Subject: Re: ports/140250: devel/subversion doesn't install on 8.0-RC2
Date: Wed, 4 Nov 2009 20:53:27 +0200

 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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/140250: commit references a PR
Date: Wed,  4 Nov 2009 19:47:43 +0000 (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"
 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Feb 13 16:55:19 UTC 2010 
State-Changed-Why:  
already fixed long timeago. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140250 
>Unformatted:
