pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45230: p5-version-0.8200 does not compile with perl 5.14



>Number:         45230
>Category:       pkg
>Synopsis:       p5-version-0.8200 does not compile with perl 5.14
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 09 20:45:00 +0000 2011
>Originator:     Nicolas Thauvin
>Release:        5.1
>Organization:
>Environment:
NetBSD smilodon.orgrim.net 5.1.0_PATCH NetBSD 5.1.0_PATCH (GENERIC) #0: Tue Aug 
 9 14:05:32 CEST 2011  
orgrim%netbsd64.orgrim.net@localhost:/usr/home/orgrim/rebuild/20110809/obj.amd64/sys/arch/amd64/compile/GENERIC
 amd64
>Description:
The build of devel/p5-version with perl-5.14.1 fails like this:

Building version
cc -I./vutil -I/usr/pkg/lib/perl5/5.14.0/x86_64-netbsd-thread-multi/CORE -DPIC 
-fPIC -c -O2 -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/include -o 
./vutil/vutil.o ./vutil/vutil.c
In file included from ./vutil/vutil.c:9:
./vutil/vutil.h:97: error: conflicting types for 'Perl_vverify'
/usr/pkgsrc/devel/p5-version/work/.buildlink/lib/perl5/5.14.0/x86_64-netbsd-thread-multi/CORE/proto.h:4452:
 error: previous declaration of 'Perl_vverify' was here
In file included from ./vutil/vutil.c:9:
./vutil/vutil.h:132:1: warning: "PERL_ARGS_ASSERT_PRESCAN_VERSION" redefined
In file included from 
/usr/pkgsrc/devel/p5-version/work/.buildlink/lib/perl5/5.14.0/x86_64-netbsd-thread-multi/CORE/perl.h:5044,
                 from ./vutil/vutil.c:2:
/usr/pkgsrc/devel/p5-version/work/.buildlink/lib/perl5/5.14.0/x86_64-netbsd-thread-multi/CORE/proto.h:2924:1:
 warning: this is the location of the previous definition
./vutil/vutil.c:635: error: conflicting types for 'Perl_vverify'
/usr/pkgsrc/devel/p5-version/work/.buildlink/lib/perl5/5.14.0/x86_64-netbsd-thread-multi/CORE/proto.h:4452:
 error: previous declaration of 'Perl_vverify' was here
error building ./vutil/vutil.o from './vutil/vutil.c' at 
/usr/pkg/lib/perl5/5.14.0/ExtUtils/CBuilder/Base.pm line 175.
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/devel/p5-version
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/p5-version

The issue affects 27 packages.
>How-To-Repeat:
build devel/p5-version with perl-5.14.1
>Fix:
The latest version of version, 0.93 (as of 2011/08/09) does not have the issue. 
Here is a patch:

---------8<------------
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/p5-version/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile    21 Aug 2010 16:34:48 -0000      1.17
+++ Makefile    9 Aug 2011 20:13:14 -0000
@@ -1,9 +1,8 @@
 # $NetBSD: Makefile,v 1.17 2010/08/21 16:34:48 seb Exp $
 #
 
-DISTNAME=      version-0.82
+DISTNAME=      version-0.93
 PKGNAME=       p5-${DISTNAME}00
-PKGREVISION=   1
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=version/}
 
@@ -15,7 +14,7 @@ LICENSE=      ${PERL5_LICENSE}
 PKG_DESTDIR_SUPPORT=   user-destdir
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 # would require Module::Build >= 0.3305 - but this will result in circular 
dependency
-PERL5_MODULE_TYPE= Module::Build
+PERL5_MODULE_TYPE= MakeMaker
 
 REPLACE_PERL+= lib/version.pm
 REPLACE_PERL+= vutil/lib/version/vxs.pm
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/p5-version/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- distinfo    30 May 2010 19:57:13 -0000      1.13
+++ distinfo    9 Aug 2011 20:13:14 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.13 2010/05/30 19:57:13 seb Exp $
 
-SHA1 (version-0.82.tar.gz) = f7d7095450b87465ef9da02a47e3ef319f6732ed
-RMD160 (version-0.82.tar.gz) = 6aa4ba452091b0986380d4f419b13e856c4b2b72
-Size (version-0.82.tar.gz) = 100577 bytes
+SHA1 (version-0.93.tar.gz) = f65d2ce7799e65b47439ef1584297d884e34e6a8
+RMD160 (version-0.93.tar.gz) = 19f4f5d67e81bf5852903d1d9403b68229cb69f2
+Size (version-0.93.tar.gz) = 103900 bytes
---------8<------------



Home | Main Index | Thread Index | Old Index