From owner-freebsd-ports@FreeBSD.ORG Tue Nov 15 06:34:49 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6108816A41F for ; Tue, 15 Nov 2005 06:34:49 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDED743D46 for ; Tue, 15 Nov 2005 06:34:48 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by wproxy.gmail.com with SMTP id i5so874182wra for ; Mon, 14 Nov 2005 22:34:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=ZBOnONxfdjsiFIR7HI0t7Dd3YlQx0bcdDt4zmqT68ky+nk6pBH4SwAwflA4NqweLMIDDKYByHI69F/8Un1PadIGM6z/y3UxTcus0/V+BIH6FyNJ7mySSyowKllxPNdp96W4LPJ2pC043/iSD2tosl1EUPLSyy6YhXiSGG/JpnPs= Received: by 10.54.109.9 with SMTP id h9mr3418383wrc; Mon, 14 Nov 2005 22:34:48 -0800 (PST) Received: from ?192.168.1.10? ( [71.102.14.129]) by mx.gmail.com with ESMTP id 67sm45482wra.2005.11.14.22.34.46; Mon, 14 Nov 2005 22:34:47 -0800 (PST) From: "Michael C. Shultz" To: Jiawei Ye Date: Mon, 14 Nov 2005 22:25:20 -0800 User-Agent: KMail/1.8.3 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511142225.21487.ringworm01@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Why does security/amavisd-new depend on db3? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 06:34:49 -0000 On Monday 14 November 2005 22:06, Jiawei Ye wrote: > On 11/15/05, Jiawei Ye wrote: > > It is correct when you invoke it manually, but I rebuilt p5-BerkeleyDB > > numerous times already and still get wrong dependancies for > > amavisd-new. > > > > > > Jiawei > > One more point to add, the dependanc recorded for p5-BerkeleyDB is > actually correct. > > root@chihiro:/usr/ports/databases/p5-BerkeleyDB# pkg_glob -R > databases/p5-BerkeleyDB > perl-threaded-5.8.7 > db42-4.2.52_4 > p5-BerkeleyDB-0.27 > > It looks like somehow when determining dependancies for amavisd-new, > it did not reference the option set for p5-BerkeleyDB. > > Jiawei > Looking at /usr/local/share/portmanager/ports_available_dependencies.db with a text editor here is how portmanager sees the dependencies, of course I have no idea what version portmanager you are running, but this is from the latest: Here is what's relevent: port port's dependencies /security/amavisd-new^@amavisd-new-2.3.3,1^@/databases/p5-BerkeleyDB^@p5-BerkeleyDB-0.27^@RUN_DEPENDS^@ /databases/p5-BerkeleyDB^@p5-BerkeleyDB-0.27^@/databases/db42^@db42-4.2.52_4^@RUN_DEPENDS^@ Mind posting some sort of output that demonstrates the problem you are having? It is working fine for me with version 0.3.5 To get the data base right for you to look at run portmanager security/amavisd-new -ui When it either is finished or asks y/n just C out of portmanager then the data base will have all the relevent dependences for building security/amavisd-new, see if you have the same records as I posted above. ee /usr/local/share/portmanager/ports_available_dependencies.db -Mike Here is what I got with portmanager security/amavisd-new ------------------------------------------------------------------------ Port Status Report ------------------------------------------------------------------------ 00001 have:p5-Unix-Syslog-0.100 status: CURRENT: /sysutils/p5-Unix-Syslog 00002 have:unrar-3.54,3 status: CURRENT: /archivers/unrar 00003 have:rpm2cpio-1.2_2 status: CURRENT: /archivers/rpm2cpio 00004 have:perl-5.8.7 status: CURRENT: /lang/perl5.8 00005 have:p5-Mail-Tools-1.67 status: CURRENT: /mail/p5-Mail-Tools 00006 have:p5-MIME-Base64-3.05 status: CURRENT: /converters/p5-MIME-Base64 00007 have:p5-Net-DNS-0.53 status: CURRENT: /dns/p5-Net-DNS 00008 have:p5-IO-Socket-SSL-0.97 status: CURRENT: /security/p5-IO-Socket-SSL 00009 have:db42-4.2.52_4 status: CURRENT: /databases/db42 00010 have:gmake-3.80_2 status: CURRENT: /devel/gmake 00011 have:p5-Digest-HMAC-1.01 status: CURRENT: /security/p5-Digest-HMAC 00012 have:p5-Net-IP-1.24 status: CURRENT: /net-mgmt/p5-Net-IP 00013 have:p5-HTML-Tagset-3.10 status: CURRENT: /www/p5-HTML-Tagset 00014 have:p5-Net-SSLeay-1.25 status: CURRENT: /security/p5-Net-SSLeay 00015 have:libtool-1.5.20 status: CURRENT: /devel/libtool15 00016 have:gettext-0.14.5 status: CURRENT: /devel/gettext 00017 have:p5-Digest-SHA1-2.10 status: CURRENT: /security/p5-Digest-SHA1 00018 have:libiconv-1.9.2_1 status: CURRENT: /converters/libiconv 00019 have:p5-Convert-UUlib-1.05.1,1 status: CURRENT: /converters/p5-Convert-UUlib 00020 have:p5-Compress-Zlib-1.41 status: CURRENT: /archivers/p5-Compress-Zlib 00021 have:p5-Net-Server-0.88_1 status: CURRENT: /net/p5-Net-Server 00022 have:p5-BerkeleyDB-0.27 status: CURRENT: /databases/p5-BerkeleyDB 00023 have:arc-5.21n status: CURRENT: /archivers/arc 00024 have:freeze-2.5_1 status: CURRENT: /archivers/freeze 00025 have:lha-1.14i_6 status: CURRENT: /archivers/lha 00026 have:unarj-2.65_1 status: CURRENT: /archivers/unarj 00027 have:zoo-2.10.1_1 status: CURRENT: /archivers/zoo 00028 have:cabextract-1.1 status: CURRENT: /archivers/cabextract 00029 have:p5-IO-stringy-2.110 status: CURRENT: /devel/p5-IO-stringy 00030 have:p5-Convert-BinHex-1.119 status: CURRENT: /converters/p5-Convert-BinHex 00031 have:p5-MIME-Tools-5.418,2 status: CURRENT: /mail/p5-MIME-Tools 00032 have:p5-Convert-TNEF-0.17 status: CURRENT: /converters/p5-Convert-TNEF 00033 have:p5-IO-Zlib-1.04_1 status: CURRENT: /archivers/p5-IO-Zlib 00034 have:p5-IO-String-1.07 status: CURRENT: /devel/p5-IO-String 00035 have:p5-HTML-Parser-3.46 status: CURRENT: /www/p5-HTML-Parser 00036 have:p5-Mail-SpamAssassin-3.1.0_3 status: CURRENT: /mail/p5-Mail-SpamAssassin 00037 have:lzo2-2.02 status: CURRENT: /archivers/lzo2 00038 have:lzop-1.02.r1 status: CURRENT: /archivers/lzop 00039 have:p5-Scalar-List-Utils-1.17,1 status: CURRENT: /lang/p5-Scalar-List-Utils 00040 have:p5-PathTools-3.12 status: CURRENT: /devel/p5-PathTools 00041 have:p5-Test-Harness-2.56 status: CURRENT: /devel/p5-Test-Harness 00042 have:p5-Test-Simple-0.62 status: CURRENT: /devel/p5-Test-Simple 00043 have:p5-Archive-Tar-1.26 status: CURRENT: /archivers/p5-Archive-Tar 00044 have:p5-File-Temp-0.16_2 status: CURRENT: /devel/p5-File-Temp 00045 have:p5-Archive-Zip-1.16 status: CURRENT: /archivers/p5-Archive-Zip 00046 have:p5-URI-1.35 status: CURRENT: /net/p5-URI 00047 have:p5-Authen-SASL-2.09 status: CURRENT: /security/p5-Authen-SASL 00048 have:p5-DBI-1.48 status: CURRENT: /databases/p5-DBI 00049 have:mysql-client-4.1.15 status: CURRENT: /databases/mysql41-client 00050 have:p5-DBD-mysql-3.0002 status: CURRENT: /databases/p5-DBD-mysql 00051 have:p5-Convert-ASN1-0.18 status: CURRENT: /converters/p5-Convert-ASN1 00052 have:p5-XML-NamespaceSupport-1.09_1 status: CURRENT: /textproc/p5-XML-NamespaceSupport 00053 have:p5-XML-SAX-0.13 status: CURRENT: /textproc/p5-XML-SAX 00054 have:p5-perl-ldap-0.33 status: CURRENT: /net/p5-perl-ldap 00055 have:postgresql-client-7.4.9 status: CURRENT: /databases/postgresql74-client 00056 have:p5-DBD-Pg-1.43_1 status: CURRENT: /databases/p5-DBD-Pg 00057 have:amavisd-new-2.3.3,1 status: CURRENT: /security/amavisd-new ======================================================================== portmanager 0.3.6 INFO: all ports are up to date -Mike