Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2005 23:30:15 +0300
From:      Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Cc:        ports@freebsd.org
Subject:   package-depend oddity (was: Re: [ports-i386@pointyhat.freebsd.org: dspampd-2.00.r2 failed on i386 5] )
Message-ID:  <20051019233015.3de4a212@it.buh.tecnik93.com>
In-Reply-To: <20051019193949.GB27229@xor.obsecurity.org>
References:  <20051019175832.GL93128@xor.obsecurity.org> <20051019211509.1ea7d219@it.buh.tecnik93.com> <20051019184035.GA10401@xor.obsecurity.org> <20051019222617.1684bc7d@it.buh.tecnik93.com> <20051019193949.GB27229@xor.obsecurity.org>

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

 [ moved on ports@ as I don't want to bother only Kris :) ]

The story:

On pointyhat mail/dspampd suddenly fails to package because it wants to
depend on both clamav and clamav-devel.

 I believe 
20050207:  Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined.
to be responsible (I was doing kinda the same thing in the Makefile).

I have a patch that should/will (as everything it's the same for me -
package is OK, package-depends-list is not) fix the problem, but,
strangely on my 6 and 5.4 machines I don't see any error (but the port
depends on both clamavs):

root(itetcu)@it/PU >-SSH-> /usr/ports/mail/dspampd [22:23:00] 0
 # make package -DPACKAGE_BUILDING
===>  Installing for dspampd-2.00.r2
===>   dspampd-2.00.r2 depends on executable: dspamc - found
===>   dspampd-2.00.r2 depends on file: /usr/local/etc/clamd.conf - found
===>   dspampd-2.00.r2 depends on file: /usr/local/bin/perl5.8.7 - found
===>   Generating temporary packing list
===>  Checking if mail/dspampd already installed
/bin/mkdir -p /var/spool/dspampd-archive

------------------------------------------------------
Copy
/usr/local/etc/dspampd.conf.sample
to
/usr/local/etc/dspampd.conf
and edit it to your needs.
Add dspampd_enable=YES in /etc/rc.conf to start dspampd on boot
-------------------------------------------------------

===>   Registering installation for dspampd-2.00.r2
===>  Building package for dspampd-2.00.r2
Creating package /usr/ports/packages/All/dspampd-2.00.r2.tbz
Registering depends: dspam-devel-3.6.0 clamav-0.87_2 clamav-devel-20051003 arc-5.21n postgresql-client-7.4.9 lha-1.14i_6 libgmp-4.1.4_1 gettext-0.14.5 mysql-client-4.1.14 openldap-client-2.2.29 perl-5.8.7 sqlite-3.2.7 libiconv-1.9.2_1 pkgconfig-0.17.2 unarj-2.65_1 unrar-3.54,3 unzip-5.52_2 zoo-2.10.1.
Creating bzip'd tar ball in '/usr/ports/packages/All/dspampd-2.00.r2.tbz'

root(itetcu)@it/PU >-SSH-> /usr/ports/mail/dspampd [22:23:28] 0
 # make showconfig
===> No configuration options are set for this port
        Use 'make config' to set default values

And here thay appear both:

root(itetcu)@it/PU >-SSH-> /usr/ports/mail/dspampd [23:00:49] 0
 # make package-depends-list -DPACKAGE_BUILDING
dspam-devel-3.6.0 /usr/ports/mail/dspam-devel mail/dspam-devel
sqlite-3.2.7 /usr/ports/databases/sqlite3 databases/sqlite3
pkgconfig-0.17.2 /usr/ports/devel/pkgconfig devel/pkgconfig
openldap-client-2.2.29 /usr/ports/net/openldap22-client net/openldap22-client
mysql-client-4.1.14 /usr/ports/databases/mysql41-client databases/mysql41-client
postgresql-client-7.4.9 /usr/ports/databases/postgresql74-client databases/postgresql74-client
gettext-0.14.5 /usr/ports/devel/gettext devel/gettext
libiconv-1.9.2_1 /usr/ports/converters/libiconv converters/libiconv
clamav-0.87_2 /usr/ports/security/clamav security/clamav
libgmp-4.1.4_1 /usr/ports/math/libgmp4 math/libgmp4
lha-1.14i_6 /usr/ports/archivers/lha archivers/lha
unarj-2.65_1 /usr/ports/archivers/unarj archivers/unarj
zoo-2.10.1 /usr/ports/archivers/zoo archivers/zoo
arc-5.21n /usr/ports/archivers/arc archivers/arc
unzip-5.52_2 /usr/ports/archivers/unzip archivers/unzip
unrar-3.54,3 /usr/ports/archivers/unrar archivers/unrar
clamav-devel-20051003 /usr/ports/security/clamav-devel security/clamav-devel
perl-5.8.7 /usr/ports/lang/perl5.8 lang/perl5.8


On Wed, 19 Oct 2005 15:39:49 -0400 Kris Kennaway <kris@obsecurity.org> wrote:

> On Wed, Oct 19, 2005 at 10:26:17PM +0300, Ion-Mihai Tetcu wrote:
> > On Wed, 19 Oct 2005 14:40:35 -0400
> >  Kris Kennaway <kris@obsecurity.org> wrote:
> > 
> > > On Wed, Oct 19, 2005 at 09:15:09PM +0300, Ion-Mihai Tetcu wrote:

 [ ... ]

> > > > Did anything change on the server ? I haven't touch this port
> > > > for a year or so. 
> > > 
> > > No, probably a dependency.
> > 
> > Then it didn't build the port in a long time ? I believe 
> > 20050207:  Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined.
> > was the culprit (I was doing kinda the same thing in the Makefile).
> 
> Maybe (if something it depends on was broken).  Alternatively, a
> dependency must have changed the version of clamav it depends on,
> which caused your port to suddenly depend on both (an impossibility).

Now, I don't see any other package that depends on clamav*
Could someone explain to me what's happening here ? Why does it fail on
pontyhat, but not an any other machine ? I've tested on a 6 and a 5.4
cvsup'ed a few minutes ago and a 5.4 cvsup'ed a few months ago. Why
does it depend on both clamavs ? 


-- 
IOnut
Unregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"





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