(amavisd-new) Error compiling dependencies with perl 5.8.4
Erwin Lansing
erwin at FreeBSD.org
Tue Aug 10 03:49:22 PDT 2004
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, with
> > the recent perl 5.8.4.
>
> 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 should
> fix it (untested). Erwin, could you please verify it's correct and commit it?
>
> --- 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= erwin at FreeBSD.org
> COMMENT= Perl module to create, manipulate, read, and write Zip archive files
>
> -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
> - ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
> +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
> RUN_DEPENDS= ${BUILD_DEPENDS}
>
> PERL_CONFIGURE= yes
> @@ -28,6 +27,11 @@
> .if ${PERL_LEVEL} < 500601
> BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
> RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
> +.endif
> +
> +.if ${PERL_LEVEL} < 500800
> +BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
> +RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
> .endif
>
> .include <bsd.port.post.mk>
>
> > ===> amavisd-new-20040701 depends on file:
> > /usr/local/lib/perl5/site_perl/5.8.4/Archive/Zip.pm - not found
> > ===> Verifying install for
> > /usr/local/lib/perl5/site_perl/5.8.4/Archive/Zip.pm in
> > /usr/ports/archivers/p5-Archive-Zip
> > ===> Vulnerability check disabled, database not found
> > >> Archive-Zip-1.12.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
> > >> 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
> > ===> Extracting for p5-Archive-Zip-1.12
> > >> Checksum OK for Archive-Zip-1.12.tar.gz.
> > ===> p5-Archive-Zip-1.12 depends on file: /usr/local/bin/perl5.8.4 - found
> > ===> Patching for p5-Archive-Zip-1.12
> > ===> p5-Archive-Zip-1.12 depends on file: /usr/local/bin/perl5.8.4 - found
> > ===> p5-Archive-Zip-1.12 depends on file:
> > /usr/local/lib/perl5/site_perl/5.8.4/mach/Compress/Zlib.pm - found
> > ===> p5-Archive-Zip-1.12 depends on file:
> > /usr/local/lib/perl5/site_perl/5.8.4/File/Temp.pm - not found
> > ===> Verifying install for
> > /usr/local/lib/perl5/site_perl/5.8.4/File/Temp.pm in
> > /usr/ports/devel/p5-File-Temp
> > ===> p5-File-Temp-0.14 This module is already included in perl 5.8.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.
--
_._ _,-'""`-._
Erwin Lansing (,-.`._,'( |\`-/| erwin at lansing.dk
http://droso.org `-.-' \ )-`( , o o) erwin at FreeBSD.org
-bf- `- \`_`"'-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040810/2ef81b83/attachment.bin
More information about the freebsd-ports
mailing list