pkgsrc-Bugs archive

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

pkg/43067: devel/p5-Date-Manip causes make core dump on NetBSD 4.0 (+FIX)



>Number:         43067
>Category:       pkg
>Synopsis:       devel/p5-Date-Manip causes make core dump on NetBSD 4.0 (+FIX)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 28 09:55:02 +0000 2010
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386  (pkgsrc current 2010-03-28)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        devel/p5-Date-Manip triggers the (a?) bug that causes NetBSD 4's
        make to core dump.

>How-To-Repeat:
        Attempt to build the current version (p5-Date-Manip-6.07) on
        a NetBSD 4 system (on i386 anyway).  A previous version
        (p5-Date-Manip-6.05) built OK - I guess a dependency line
        has gotten just *that much* bigger in the meantime.

>Fix:
        First, apply the patch in PR 42704, then apply the
        following patch to devel/p5-Date-Manip/Makefile

        If you refuse to handle 42704, then this would probably work
        if bmake were replaced by gmake (but I have not verified that.)

Index: Makefile
===================================================================
RCS file: /cvsroot/NetBSD/pkgsrc/devel/p5-Date-Manip/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- Makefile    7 Feb 2010 16:04:17 -0000       1.30
+++ Makefile    28 Mar 2010 09:30:19 -0000
@@ -21,6 +21,12 @@
 
 USE_LANGUAGES=         # empty
 
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-4*)
+USE_TOOLS+=    bmake
+.endif
+
 PERL5_PACKLIST=                auto/Date/Manip/.packlist
 
 .include "../../lang/perl5/module.mk"



Home | Main Index | Thread Index | Old Index