Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 17:02:11 GMT
From:      Sean Bruno <sbruno@freebsd.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186899: devel/apr1 fails to install due to deprecated databases/db42
Message-ID:  <201402191702.s1JH2Bs1095613@cgiserv.freebsd.org>
Resent-Message-ID: <201402191710.s1JHA1rs023910@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186899
>Category:       ports
>Synopsis:       devel/apr1 fails to install due to deprecated databases/db42
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 19 17:10:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Sean Bruno
>Release:        11-Current
>Organization:
FreeBSD Project
>Environment:
FreeBSD ujvl 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r261419: Sun Feb  2 22:29:24 EST 2014     sbruno@ujvl:/usr/obj/usr/src/sys/BLOG  amd64

>Description:
devel/apr1 declares a minimum required BDB version of 42+ 

This matches on db42 which is deprecated and not on a higher version.  Simply installed db48 "works" here on head for me and allows www/apache22 -> devel/apr1 to install again.
>How-To-Repeat:
attempt to install devel/apr1 with default options.

===>>> Port directory: /usr/ports/devel/apr1

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for devel/apr1 in background
===>>> Gathering dependency list for devel/apr1 from ports
===>>> Launching child to install databases/db42

===>>> devel/apr1 >> databases/db42 (1/1)

===>>> Port directory: /usr/ports/databases/db42

        ===>>> This port is marked DEPRECATED
        ===>>> Please use databases/db5 or db6 for new installs.


        ===>>> If you are sure you can build it, remove the
               DEPRECATED line in the Makefile and try again.

===>>> Update for databases/db42 failed
===>>> Aborting update

===>>> Killing background jobs
Terminated
===>>> Exiting

>Fix:
preinstall databases/db48 or change the following line in the port Makefile:

--- Makefile    2014-02-19 17:01:37.000000000 +0000
+++ /usr/ports/devel/apr1/Makefile      2014-02-10 17:22:40.000000000 +0000
@@ -81,7 +81,7 @@
 .if ${PORT_OPTIONS:MBDB}
 APU_EXTRAS=    yes
 PLIST_SUB+=    BDB=""
-USE_BDB=       48+
+USE_BDB=       42+
 APU_CONF_ARGS+=        --with-berkeley-db=${BDB_INCLUDE_DIR}:${BDB_LIB_DIR}
 .else
 PLIST_SUB+=    BDB="@comment "


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402191702.s1JH2Bs1095613>