pkgsrc-Bugs archive

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

pkg/42707: devel/p5-Date-Manip triggers NetBSD 4 make bug (NetBSD 4.0 / i386) (+FIX)

>Number:         42707
>Category:       pkg
>Synopsis:       devel/p5-Date-Manip triggers NetBSD 4 make bug (NetBSD 4.0 / 
>i386) (+FIX)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 30 12:35:00 +0000 2010
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386    (pkgsrc current as of 2010-01-30)
        Prince of Songkla University
System: NetBSD 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 i386
Architecture: i386
Machine: i386
        devel/p5-Date-Manip generates its Makefile from a perl script.
        Like many generated Makefile (or Makefile pieces) this tends to
        create very long lines (logical lines, continued with \ as usual).

        The generated Makefile here has 5 of them, 3 of which end up being
        more than 64KB long (one of those is almost 128KB) on my system.

        That's enough to trigger the NetBSD 4 make bug related to handling
        long Makefile lines.

        I use pkg_comp with NetBSD 4.0 release sets installed (and libkver,
        but that's not important here).   (Nor is it important that I use
        pkgsrc modular xorg instead of the x* sets, but that is true.)

        In that environment, building (well, attempting to build)
        devel/p5-Date-Manip results in ...

Writing Makefile for Date::Manip
===> Building for p5-Date-Manip-6.05
[1]   Segmentation fault (core dumped) /usr/bin/env USE...
*** Error code 139

make: stopped in /usr/pkgsrc/devel/p5-Date-Manip
*** Error code 1

        The core dump is from make.

        First, handle PR pkg/42704 - then, depending upon how that
        ends up being done, perhaps add

                USE_TOOLS+=  bmake

        to pkgsrc/devel/p5-Date-Manip/Makefile (perhaps conditional
        on the OS being NetBSD 4).   (Using gmake should also solve
        the problem if 42704 isn't handled in a timely manner.)

        I have verified that using bmake allows this package to build
        correctly on NetBSD 4.0.

Home | Main Index | Thread Index | Old Index