Date: Tue, 10 Aug 2004 07:36:33 +0200 (CEST) From: Blaz Zupan <blaz@si.FreeBSD.org> To: Mike Jakubik <mike@afirma.ca> Cc: erwin@FreeBSD.org Subject: Re: (amavisd-new) Error compiling dependencies with perl 5.8.4 Message-ID: <20040810072829.O68105@titanic.medinet.si> In-Reply-To: <20040809194641.7EEF9228606@in-2.mail.amis.net> References: <20040809194641.7EEF9228606@in-2.mail.amis.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040810072829.O68105>