Bug 202505 - devel/subversion: cannot build with BDB6
Summary: devel/subversion: cannot build with BDB6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Lev A. Serebryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-20 05:16 UTC by emz
Modified: 2015-08-20 12:13 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (lev)


Attachments
a patch for Makefile (629 bytes, patch)
2015-08-20 05:24 UTC, emz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description emz 2015-08-20 05:16:48 UTC
devel/subversion complains about inability to build with BDB6 (log below). I am aware about ports/185005, I have this patch in my tree, but ports still refuses ti build.

Log:

===>  Cleaning for subversion-1.8.14

You can have the repository created for you by defining
WITH_REPOSITORY_CREATION.

Make sure that:
* all your svn users are members of a common group
* this group is the group id of the db/ and locks/
  subdirectories of your repository
* the above subdirectories are writable by this group

Many useful scripts will be installed into /usr/local/share/subversion
===>  License APACHE20 accepted by the user
===>  Found saved configuration for subversion-1.8.8
===>   subversion-1.8.14 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by subversion-1.8.14 for building
===>  Extracting for subversion-1.8.14
=> SHA256 Checksum OK for subversion18/subversion-1.8.14.tar.bz2.
===>  Patching for subversion-1.8.14
===>  Applying extra patch /usr/ports/devel/subversion/files/extra-patch-fbsd-template
===>  Applying extra patch /usr/ports/devel/subversion/files/extra-patch-3way-conflict-markers
===>  Applying extra patch /usr/ports/devel/subversion/files/extra-patch-svnserve-wrapper
===>  Applying extra patch /usr/ports/devel/subversion/files/extra-patch-Makefile.in
===>  Applying FreeBSD patches for subversion-1.8.14
===>   subversion-1.8.14 depends on executable: pkgconf - found
===>   subversion-1.8.14 depends on executable: msgfmt - found
===>   subversion-1.8.14 depends on shared library: libapr-1.so - found (/usr/local/lib/libapr-1.so)
===>   subversion-1.8.14 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so)
===>   subversion-1.8.14 depends on shared library: libexpat.so - found (/usr/local/lib/libexpat.so)
===>   subversion-1.8.14 depends on shared library: libsasl2.so - found (/usr/local/lib/libsasl2.so)
===>   subversion-1.8.14 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   subversion-1.8.14 depends on shared library: libdb-6.1.so - found (/usr/local/lib/libdb-6.1.so)
===>  Configuring for subversion-1.8.14

You should build `devel/apr1' with Berkeley DB (4 or 5) support to use subversion with it.
Please rebuild `devel/apr1' with option `' and try again.

Or you can disable Berkeley DB support. Only 'fs' repository backend will be available.

*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/subversion
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/subversion

===>>> make build failed for devel/subversion
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> devel/subversion

ports tree:

[root@moscow-alpha:devel/subversion]# 
[root@moscow-alpha:/usr/ports]# svnlite info
Path: .
Working Copy Root Path: /usr/ports
URL: svn://svn.freebsd.org/ports/head
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 394584
Node Kind: directory
Schedule: normal
Last Changed Author: wen
Last Changed Rev: 394584
Last Changed Date: 2015-08-18 16:24:44 +0300 (вт, 18 авг 2015)

BDB6:

[root@moscow-alpha:devel/subversion]# apu-1-config --db-version
6
Comment 1 emz 2015-08-20 05:24:55 UTC
Created attachment 160127 [details]
a patch for Makefile
Comment 2 emz 2015-08-20 05:25:19 UTC
Provided patch fixes the issue.
Comment 3 emz 2015-08-20 05:27:17 UTC
Follow-up: patch provided here misses the BDB6 mentioning in ${ECHO_MSG}, if someone will decide to commit it please note it.
Comment 4 Lev A. Serebryakov freebsd_committer freebsd_triage 2015-08-20 12:13:05 UTC
Committed, thnx!
Comment 5 commit-hook freebsd_committer freebsd_triage 2015-08-20 12:13:27 UTC
A commit references this bug:

Author: lev
Date: Thu Aug 20 12:13:01 UTC 2015
New revision: 394857
URL: https://svnweb.freebsd.org/changeset/ports/394857

Log:
    Fix detection of BDBv6.

  PR:		202505
  Submitted by:	emz@norma.perm.ru

Changes:
  head/devel/subversion/Makefile