Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2004 12:49:10 +0200
From:      Erwin Lansing <erwin@FreeBSD.org>
To:        Blaz Zupan <blaz@si.FreeBSD.org>
Cc:        Mike Jakubik <mike@afirma.ca>
Subject:   Re: (amavisd-new) Error compiling dependencies with perl 5.8.4
Message-ID:  <20040810104910.GZ85158@droso.net>
In-Reply-To: <20040810072829.O68105@titanic.medinet.si>
References:  <20040809194641.7EEF9228606@in-2.mail.amis.net> <20040810072829.O68105@titanic.medinet.si>

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

--WYTEVAkct0FjGQmd
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Blaz,

Mat committed your patch while I'm away on holiday.

Thanks for your patch!
-erwin

On Tue, Aug 10, 2004 at 07:36:33AM +0200, Blaz Zupan wrote:
> > The following error occurs when trying to install on a clean ssystem, w=
ith
> > the recent perl 5.8.4.
>=20
> That's a bug in p5-Archive-Zip. Apparently it recently grew a dependency =
on
> p5-File-Temp, which is already part of perl 5.8.x. The following patch sh=
ould
> fix it (untested). Erwin, could you please verify it's correct and commit=
 it?
>=20
> --- p5-Compress-Zip/Makefile.orig	Tue Aug 10 07:30:01 2004
> +++ p5-Compress-Zip/Makefile	Tue Aug 10 07:33:21 2004
> @@ -15,8 +15,7 @@
>  MAINTAINER=3D	erwin@FreeBSD.org
>  COMMENT=3D	Perl module to create, manipulate, read, and write Zip archiv=
e files
>=20
> -BUILD_DEPENDS=3D	${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/=
archivers/p5-Compress-Zlib \
> -		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
> +BUILD_DEPENDS=3D	${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/=
archivers/p5-Compress-Zlib
>  RUN_DEPENDS=3D	${BUILD_DEPENDS}
>=20
>  PERL_CONFIGURE=3D	yes
> @@ -28,6 +27,11 @@
>  .if ${PERL_LEVEL} < 500601
>  BUILD_DEPENDS+=3D	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Sp=
ec
>  RUN_DEPENDS+=3D	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
> +.endif
> +
> +.if ${PERL_LEVEL} < 500800
> +BUILD_DEPENDS+=3D	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Te=
mp
> +RUN_DEPENDS+=3D	${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
>  .endif
>=20
>  .include <bsd.port.post.mk>
>=20
> > =3D=3D=3D>   amavisd-new-20040701 depends on file:
> > /usr/local/lib/perl5/site_perl/5.8.4/Archive/Zip.pm - not found
> > =3D=3D=3D>    Verifying install for
> > /usr/local/lib/perl5/site_perl/5.8.4/Archive/Zip.pm in
> > /usr/ports/archivers/p5-Archive-Zip
> > =3D=3D=3D>  Vulnerability check disabled, database not found
> > >> Archive-Zip-1.12.tar.gz doesn't seem to exist in /usr/ports/distfile=
s/.
> > >> Attempting to fetch from
> > http://www.cpan.dk/CPAN/modules/by-module/Archive/.
> > Archive-Zip-1.12.tar.gz                       100% of  107 kB  121 kBps
> > =3D=3D=3D>  Extracting for p5-Archive-Zip-1.12
> > >> Checksum OK for Archive-Zip-1.12.tar.gz.
> > =3D=3D=3D>   p5-Archive-Zip-1.12 depends on file: /usr/local/bin/perl5.=
8.4 - found
> > =3D=3D=3D>  Patching for p5-Archive-Zip-1.12
> > =3D=3D=3D>   p5-Archive-Zip-1.12 depends on file: /usr/local/bin/perl5.=
8.4 - found
> > =3D=3D=3D>   p5-Archive-Zip-1.12 depends on file:
> > /usr/local/lib/perl5/site_perl/5.8.4/mach/Compress/Zlib.pm - found
> > =3D=3D=3D>   p5-Archive-Zip-1.12 depends on file:
> > /usr/local/lib/perl5/site_perl/5.8.4/File/Temp.pm - not found
> > =3D=3D=3D>    Verifying install for
> > /usr/local/lib/perl5/site_perl/5.8.4/File/Temp.pm in
> > /usr/ports/devel/p5-File-Temp
> > =3D=3D=3D>  p5-File-Temp-0.14 This module is already included in perl 5=
=2E8.x and
> > later..
> > *** Error code 1
> >
> > Stop in /usr/ports/devel/p5-File-Temp.
> > *** Error code 1
> >
> > Stop in /usr/ports/archivers/p5-Archive-Zip.
> > *** Error code 1
> >
> > Stop in /usr/ports/security/amavisd-new.
--=20
                    _._     _,-'""`-._
Erwin Lansing      (,-.`._,'(       |\`-/|    erwin@lansing.dk
http://droso.org       `-.-' \ )-`( , o o)    erwin@FreeBSD.org
                    -bf-      `-    \`_`"'-

--WYTEVAkct0FjGQmd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBGKgmqy9aWxUlaZARAoZeAKCn1Wb3FpANvY0pQU6ocRi9AXlDyQCeNHdO
qKR0jCpbW7cV0zYg0zTT1I4=
=EI0h
-----END PGP SIGNATURE-----

--WYTEVAkct0FjGQmd--



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