ports/103955: databases/p5-BerkeleyDB does not need USE_GCC on 4.x
Jeremy Chadwick
freebsd at jdc.parodius.com
Tue Oct 3 17:10:22 UTC 2006
>Number: 103955
>Category: ports
>Synopsis: databases/p5-BerkeleyDB does not need USE_GCC on 4.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 03 17:10:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Jeremy Chadwick
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
Parodius Networking
>Environment:
System: FreeBSD icarus.home.lan 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Mon Oct 2 10:20:50 PDT 2006 root at icarus.home.lan:/usr/obj/usr/src/sys/ICARUS i386
>Description:
I went to build mail/postgrey this afternoon on our 4.11-STABLE
box, and found that gcc-3.2.3 was being included as a dependancy.
I thought, "Why?", since Sleepycat/Oracle DB4.1 doesn't require
this. Lo and behold, databases/p5-BerkeleyDB was the culprit.
I then came across this unjustified PR:
http://www.freebsd.org/cgi/query-pr.cgi?pr=102564
Possibly the port upgrade to 0.30 fixed the problem the original
PR reported, but as of right now, I have no problems building
this port using the base system gcc (2.95.2). Here's proof:
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===> Registering installation for db41-4.1.25_3
===> Returning to build of p5-BerkeleyDB-0.30
===> Configuring for p5-BerkeleyDB-0.30
Parsing config.in...
Looks Good.
Checking if your kit is complete...
Looks good
Writing Makefile for BerkeleyDB
===> Building for p5-BerkeleyDB-0.30
cp BerkeleyDB.pm blib/lib/BerkeleyDB.pm
AutoSplitting blib/lib/BerkeleyDB.pm (blib/lib/auto/BerkeleyDB)
cp BerkeleyDB/Hash.pm blib/lib/BerkeleyDB/Hash.pm
cp BerkeleyDB.pod blib/lib/BerkeleyDB.pod
cp BerkeleyDB/Btree.pm blib/lib/BerkeleyDB/Btree.pm
/usr/local/bin/perl5.8.8 /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -noprototypes -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap BerkeleyDB.xs > BerkeleyDB.xsc && mv BerkeleyDB.xsc BerkeleyDB.c
cc -c -I/usr/local/include/db41 -O -pipe -O -pipe -DVERSION=\"0.30\" -DXS_VERSION=\"0.30\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE" BerkeleyDB.c
Running Mkbootstrap for BerkeleyDB ()
chmod 644 BerkeleyDB.bs
rm -f blib/arch/auto/BerkeleyDB/BerkeleyDB.so
LD_RUN_PATH="/usr/local/lib" cc -shared -L/usr/local/lib BerkeleyDB.o -o blib/arch/auto/BerkeleyDB/BerkeleyDB.so -L/usr/local/lib -ldb41
chmod 755 blib/arch/auto/BerkeleyDB/BerkeleyDB.so
cp BerkeleyDB.bs blib/arch/auto/BerkeleyDB/BerkeleyDB.bs
chmod 644 blib/arch/auto/BerkeleyDB/BerkeleyDB.bs
Manifying blib/man3/BerkeleyDB.3
pentarou# pwd
/usr/ports/databases/p5-BerkeleyDB
pentarou# make clean
===> Cleaning for perl-5.8.8
===> Cleaning for db41-4.1.25_3
===> Cleaning for p5-BerkeleyDB-0.30
pentarou# uname -a
FreeBSD pentarou.parodius.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Sun May 28 12:02:42 PDT 2006 root at pentarou.parodius.com:/usr/obj/usr/src/sys/PENTAROU i386
Therefore, please remove USE_GCC from the Makefile, as it's
an unnecessary dependancy.
>How-To-Repeat:
n/a
>Fix:
Remove the USE_GCC line in the Makefile.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list