pkgsrc-Bugs archive

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

pkg/42254: sysutils/bacula-gnome-console needs gmake (or devel/bmake) on NetBSD 4



>Number:         42254
>Category:       pkg
>Synopsis:       sysutils/bacula-gnome-console needs gmake (or devel/bmake) on 
>NetBSD 4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 31 08:35:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386     pkgsrc current 2009-10-30
>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:
        Due to line length bugs in the make shipped with NetBSD 4.0,
        and NetBSD 4.0.1, the standard system make on all released
        versions of NetBSD 4 cannot handle the Makefile in
        sysutils/bacula-gnome-console

>How-To-Repeat:
        I use pkg_comp with NetBSD 4.0 release sets installed (here it
        is the NetBSD 4 part that's important, not pkg_comp) - except for
        the x* sets (I use pkgsrc modular xorg, but that's not important)
        I also use libkver to get a pure 4.0 release environment, but
        that's not important either.

===> Building for bacula-gnome-console-3.0.3
make: 
"/pkg_comp/obj/pkgsrc/sysutils/bacula-gnome-console/4x/bacula-3.0.3/src/gnome2-console/Makefile"
 line 2880: Need an operator
make: Fatal errors encountered -- cannot continue

make: stopped in 
/pkg_comp/obj/pkgsrc/sysutils/bacula-gnome-console/4x/bacula-3.0.3/src/gnome2-console
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/bacula-gnome-console
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/bacula-gnome-console
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/bacula-gnome-console
PKG_COMP ==> Unmounting sandboxed filesystems
PKG_COMP ==> Build error summary
Build failed for:
    sysutils/bacula-gnome-console

        The line in question is a perfectly ordinary line, except that
        it is very very long (that is, it is the first of a very long
        sequence of continuation lines).   That's all that is remarkable
        about it, so this is almost certainly a manifestation of the
        realloc() bug that (is now fixed, but unreleased) in NetBSD 4's
        make.

>Fix:
        I just added
                USE_TOOLS+= gmake
        and the package built fine.   That should be conditional upon
        the system being NetBSD 4.0 or 4.0.1 (but as those are all the
        NetBSD 4's that exist, just conditional on NetBSD 4.* would do).
        I didn't bother with that, as NetBSD 4 is all I am currently
        building for, the conditional would always be true -- so I'm
        not sending a patch.

        Even better would be
                USE_TOOLS+= bmake
        to cause a dependency upon devel/bmake instead of devel/gmake,
        but pkgsrc does not support that (yet).



Home | Main Index | Thread Index | Old Index