pkgsrc-Bugs archive

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

pkg/42708: graphics/gimp-refocus-it triggers NetBSD 4 make bug (NetBSD 4.0/i386) (+FIX)



>Number:         42708
>Category:       pkg
>Synopsis:       graphics/gimp-refocus-it 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:50:01 +0000 2010
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386   (pkgsrc current 2010-01-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:
        graphics/gimp-refocus-it is (yet another) package that has a Makefile
        line (a .deps/*.po file in this case) that is too long for
        NetBSD 4.0's version of Make to handle successfully.

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 release sets installed
        (except the x* sets, I use X11_TYPE=modular instead).  Of that, the
        relevant fact for this PR is "NetBSD 4.0".

        In that environment ...

Making install in src
Making install in doc
Making install in gimp-plugin
[1]   Segmentation fault (core dumped) (cd ${subdir} &&...
*** Error code 1

Stop.
make: stopped in 
/pkg_comp/obj/pkgsrc/graphics/gimp-refocus-it/4x/refocus-it-2.0.0
*** Error code 1

Stop.

        the core file is from "make" and sure enough (in gimp-plugin) ...

pkg_comp:default.conf# ls -la .deps
total 146
drwxr-xr-x  2 root  wheel     512 Jan 30 12:33 .
drwxr-xr-x  3 root  wheel     512 Jan 30 12:33 ..
-rw-r--r--  1 root  wheel  134019 Jan 30 12:33 main-gimp.Po

        And ...

pkg_comp:default.conf# sed '/\\$/!q' .deps/main-gimp.Po | wc -c
   67659

        ie: the first "line" in .deps/main-gimp.Po is > 64KB long.
        That's death for NetBSD4's version of make.

>Fix:
        First, handle PR pkg/42704 then add

                USE_TOOLS== bmake

        to graphics/gimp-refocus-it/Makefile if the final solution to
        that PR requires pkgsrc Makefile modifications.

        I have verified that that this allows this package to build
        successfully on NetBSD 4.0.

        The USE_TOOLS can be conditional upon the OS being NetBSD 4
        (other supported systems don't have the bug.)

        If 42704 isn't handled, using gmake instead of bmake will probably
        also work (unverified.)



Home | Main Index | Thread Index | Old Index