Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2009 21:35:52 -0400
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        "ports@FreeBSD.org" <ports@FreeBSD.org>
Subject:   [Fwd: apr bug -- WAS Re: [Fwd: Re: devel/subversion status]]
Message-ID:  <4A2DBC78.7020601@p6m7g8.com>

next in thread | raw e-mail | index | archive | help
--------------070705060905050501070705
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit


-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
Consultant          - P6M7G8 Inc.                http://p6m7g8.net
Senior Sys Admin    - RideCharge, Inc.           http://ridecharge.com
Contractor          - PositiveEnergyUSA          http://positiveenergyusa.com
ASF Member          - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation         http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

--------------070705060905050501070705
Content-Type: message/rfc822;
	name="apr bug -- WAS Re: [Fwd: Re: devel/subversion status].eml"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
	filename="apr bug -- WAS Re: [Fwd: Re: devel/subversion status].eml"

Message-ID: <4A2DBC3E.60100@p6m7g8.com>
Date: Mon, 08 Jun 2009 21:34:54 -0400
From: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Organization: P6 Web Application
User-Agent: Thunderbird 2.0.0.21 (X11/20090403)
MIME-Version: 1.0
To: Mark Linimon <linimon@lonesome.com>, "pav@FreeBSD.org" <pav@FreeBSD.org>,
	"Lev A. Serebryakov" <lev@FreeBSD.org>
Subject: apr bug -- WAS Re: [Fwd: Re: devel/subversion status]
References: <4A2DB6A0.30709@p6m7g8.com>
In-Reply-To: <4A2DB6A0.30709@p6m7g8.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Philip M. Gollucci wrote:
> This looks like its a bug in apr itself, rather then the port, I'm 
> currently investigating that.
Okay so I know what it is, but not how to fix it.

apr-util's apu-config changed.  Now its either a bug or subversion hasn't 
caught up yet.

In short, -ldb* is never added to APRUTIL_EXPORT_LIBS
which is used in apu-config -> apu-1-config.  Therefore, no 3rd Parties can 
report on it (including subversion)

i.e. subversions configure does this:

     SVN_DB_LIBS="${SVN_DB_LIBS-`$apu_config --libs | sed -e 
's/.*\(-ldb[^[:space:]]*\).*/\1/' | $EGREP -- '-ldb[^[:space:]]*'`}"



I'm going to have to go to dev@apr to get help with the fix and under what 
happened.  Also I have to go eat/sleep and am busy at the data center tomorrow.

I'm hesistant to revert the change and downgrade apr b/c its a security fix.

On a best case senario, I'd say Thursday is the earliest I could have a fix in 
place.  I defer to portmgr@ on what to do in the meantime.



Currently:
------------
$ grep APRUTIL_EXPORT_LIBS *
apr-util.pc.in:Libs: -L${libdir} -l@APRUTIL_LIBNAME@ @LDADD_ldap@ 
@APRUTIL_EXPORT_LIBS@
apu-config.in:LIBS="@APRUTIL_EXPORT_LIBS@"
configure:APRUTIL_EXPORT_LIBS
configure: 
APRUTIL_EXPORT_LIBS="$abs_srcdir/$apu_apriconv_dir/lib/libapriconv.la \
configure:                             $APRUTIL_EXPORT_LIBS"
configure:  if test "x$APRUTIL_EXPORT_LIBS" = "x"; then
configure:    test "x$silent" != "xyes" && echo "  setting APRUTIL_EXPORT_LIBS 
to \"$apu_expat_libs\""
configure:    APRUTIL_EXPORT_LIBS="$apu_expat_libs"
configure:      for j in $APRUTIL_EXPORT_LIBS; do
configure:        test "x$silent" != "xyes" && echo "  adding \"$i\" to 
APRUTIL_EXPORT_LIBS"
configure:        APRUTIL_EXPORT_LIBS="$APRUTIL_EXPORT_LIBS $i"
configure:  if test "x$APRUTIL_EXPORT_LIBS" = "x"; then
configure:    test "x$silent" != "xyes" && echo "  setting APRUTIL_EXPORT_LIBS 
to \"-liconv\""
configure:    APRUTIL_EXPORT_LIBS="-liconv"
configure:      for j in $APRUTIL_EXPORT_LIBS; do
configure:        test "x$silent" != "xyes" && echo "  adding \"$i\" to 
APRUTIL_EXPORT_LIBS"
configure:        APRUTIL_EXPORT_LIBS="$APRUTIL_EXPORT_LIBS $i"
configure:     APRUTIL_EXPORT_LIBS="$APRUTIL_EXPORT_LIBS $LDADD_dbd_pgsql 
$LDADD_dbd_sqlite2 $LDADD_dbd_sqlite3 $LDADD_dbd_oracle $LDADD_dbd_mysql 
$LDADD_dbd_freetds $LDADD_dbd_odbc"
configure:     APRUTIL_EXPORT_LIBS="$APRUTIL_EXPORT_LIBS $LDADD_dbm_db 
$LDADD_dbm_gdbm $LDADD_dbm_ndbm"
configure:     APRUTIL_EXPORT_LIBS="$APRUTIL_EXPORT_LIBS $LDADD_ldap"
configure.in: 
APRUTIL_EXPORT_LIBS="$abs_srcdir/$apu_apriconv_dir/lib/libapriconv.la \
configure.in:                             $APRUTIL_EXPORT_LIBS"
configure.in:AC_SUBST(APRUTIL_EXPORT_LIBS)

Previously:
-------------
$ grep APRUTIL_EXPORT_LIBS *
apr-util.pc.in:Libs: -L${libdir} -l@APRUTIL_LIBNAME@ @LDADD_ldap@ 
@APRUTIL_EXPORT_LIBS@
apu-config.in:LIBS="@APRUTIL_EXPORT_LIBS@"
build/dso.m4:     APRUTIL_EXPORT_LIBS="$APRUTIL_EXPORT_LIBS $LDADD_dbd_pgsql 
$LDADD_dbd_sqlite2 $LDADD_dbd_sqlite3 $LDADD_dbd_oracle $LDADD_dbd_mysql 
$LDADD_dbd_freetds $LDADD_dbd_odbc"
build/dso.m4:     APRUTIL_EXPORT_LIBS="$APRUTIL_EXPORT_LIBS $LDADD_ldap"
build/apu-iconv.m4:      APR_ADDTO(APRUTIL_EXPORT_LIBS,[-liconv])
build/apu-conf.m4:APR_ADDTO(APRUTIL_EXPORT_LIBS, [$apu_expat_libs])
build/dbm.m4:    APR_ADDTO(APRUTIL_EXPORT_LIBS,[-lgdbm])
build/dbm.m4:    APR_ADDTO(APRUTIL_EXPORT_LIBS,[-l$apu_ndbm_lib])
build/dbm.m4:    APR_ADDTO(APRUTIL_EXPORT_LIBS,[-l$apu_db_lib])
build/dbm.m4:      APR_ADDTO(APRUTIL_EXPORT_LIBS,[$apu_db_xtra_libs])
configure.in: 
APRUTIL_EXPORT_LIBS="$abs_srcdir/$apu_apriconv_dir/lib/libapriconv.la \
configure.in:                             $APRUTIL_EXPORT_LIBS"
configure.in:AC_SUBST(APRUTIL_EXPORT_LIBS)
export_vars.sh.in:APRUTIL_EXPORT_LIBS="@APRUTIL_EXPORT_LIBS@"

-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
Consultant          - P6M7G8 Inc.                http://p6m7g8.net
Senior Sys Admin    - RideCharge, Inc.           http://ridecharge.com
Contractor          - PositiveEnergyUSA          http://positiveenergyusa.com
ASF Member          - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation         http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


--------------070705060905050501070705--



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