pkgsrc-Bugs archive

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

pkg/27757: pkgsrc-current/devel/boehm-gc doesn't compile on sparc64



>Number:         27757
>Category:       pkg
>Synopsis:       boehm-gc/os_dep.c includes <frame.h> instead of 
><machine/frame.h>
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 01 15:27:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Gert Doering
>Release:        NetBSD 2.0_RC4
>Organization:
>Environment:
System: NetBSD kirk 2.0_RC4 NetBSD 2.0_RC4 (KIRK) #0: Fri Oct 8 19:44:42 CEST 
2004 gert@kirk:/home/sparc64/obj/home/src-2.0/sys/arch/sparc64/compile/KIRK 
sparc64
Architecture: sparc64
Machine: sparc64
>Description:

        pkgsrc-current has boehm-gc-6.bnb2, which doesn't compile (on Sparc64)

        Error message is:

        os_dep.c:3944:29: frame.h: No such file or directory
        gmake[1]: *** [os_dep.lo] Error 1
        gmake[1]: Leaving directory `/home/obj/pkg/devel/boehm-gc/work/gc6.3'
        gmake: *** [all-recursive] Error 1

        the problem is that the code includes <frame.h>, which does
        not exist here (on Sparc64 / NetBSD 2.0_RC4).  It should
        include <machine/frame.h>.  

        With that change, it compiles and passes all tests (test_cpp).

>How-To-Repeat:
        cd /usr/pkgsrc/devel/boehm-gc ; make
>Fix:
        change line 3944 of os_dep.c from

        #        if defined(OPENBSD) || defined(NETBSD) 
        #          include <frame.h>
        #        else

        to 

        #        if defined(OPENBSD) || defined(NETBSD) 
        #          include <machine/frame.h>
        #        else


>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index