Date: Wed, 13 Feb 2008 02:12:13 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> To: freebsd-ports@freebsd.org Subject: Re: portupgrade installing unexpected dependencies Message-ID: <47B243ED.8070305@quip.cz> In-Reply-To: <47B1960B.4080709@quip.cz> References: <47B1960B.4080709@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
Miroslav Lachman wrote: > Hi, > > I am using portupgrade-2.4.3_2,2. I have installed gnupg-1.4.8 and if I > tried to install Spamassassin and Amavisd-new with commands: > portinstall p5-Mail-SpamAssassin > portinstall amavisd-new > they both are trying to install CURL and openldap-client. Spamassassin > and Amavisd-new do not depend on it, so I think it is dependency for > GnuPG-2 (but I am using GnuPG-1). > If I try cd /usr/ports/mail/p5-Mail-SpamAssassin && make install clean > or > cd /usr/ports/security/amavisd-new/ && make install clean > the whole installation is successfuly done without installing CURL and > openldap-client. (it is expected result for me) > > ...or em I wrong and I must add 'security/gnupg' => 'security/gnupg1' in > to ALT_PKGDEP in pkgtools.conf? OK. Just another strange behavior - `portinstall postfix` shown an OPTIONS dialog, where I checked SASL which will install cyrus-sasl2 during postfix installation. Cyrus-sasl2 is installed as dependency before postfix compilation - with default options (an OPTIONS dialog for cyrus-sasl2 did not appeared). After successful instalation of postfix with confirming all the questions about adding new user, activation in mailer.cf etc., portupgrade shown an OPTIONS dialog for cyrus-sasl2 and then start compilation of cyrus-sasl2 which was installed before postfix compilation by portinstall itself! So second istallation failed: ---> Installing the new version via the port with make flags: WITH_BDB=true WITHOUT_MYSQL=true WITHOUT_PGSQL=true WITHOUT_SQLITE=true WITHOUT_DEV_URANDOM=true WITHOUT_ALWAYSTRUE=true WITHOUT_KEEP_DB_OPEN=true WITHOUT_AUTHDAEMOND=true WITH_LOGIN=true WITH_PLAIN=true WITH_CRAM=true WITH_DIGEST=true WITHOUT_OTP=true WITHOUT_NTLM=true ===> Installing for cyrus-sasl-2.1.22 ===> cyrus-sasl-2.1.22 depends on shared library: mysqlclient.15 - found ===> cyrus-sasl-2.1.22 depends on shared library: db41.1 - found *** Updated user `cyrus'. ===> Generating temporary packing list ===> Checking if security/cyrus-sasl2 already installed ===> cyrus-sasl-2.1.22 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of security/cyrus-sasl2 without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /usr/ports/security/cyrus-sasl2. *** Error code 1 Stop in /usr/ports/security/cyrus-sasl2. *** Error code 1 Stop in /usr/ports/security/cyrus-sasl2. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.7043.1 env make WITH_BDB=true WITHOUT_MYSQL=true WITHOUT_PGSQL=true WITHOUT_SQLITE=true WITHOUT_DEV_URANDOM=true WITHOUT_ALWAYSTRUE=true WITHOUT_KEEP_DB_OPEN=true WITHOUT_AUTHDAEMOND=true WITH_LOGIN=true WITH_PLAIN=true WITH_CRAM=true WITH_DIGEST=true WITHOUT_OTP=true WITHOUT_NTLM=true DEPENDS_TARGET=package reinstall ** Fix the installation problem and try again. ---> ** Install tasks 2: 1 done, 0 ignored, 0 skipped and 1 failed ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! security/cyrus-sasl2 (install error) Why is portinstall installing cyrus-sasl2 twice? Why portinstall did not shown an OPTIONS dialog for the first time? (this is on a fresh installation of FreeBSD 7.0-RC1 without previous versions of a mentioned ports) Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47B243ED.8070305>