pkgsrc-Bugs archive

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

pkg/35181: devel/py-ctypes doesn't compile on NetBSD/macppc, doesn't use devel/libffi



>Number:         35181
>Category:       pkg
>Synopsis:       devel/py-ctypes doesn't compile on NetBSD/macppc, doesn't use 
>devel/libffi
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 04 12:00:00 +0000 2006
>Originator:     Magnus Henoch
>Release:        NetBSD 4.99.4
>Organization:
        
>Environment:
        
        
System: NetBSD zemdatav 4.99.4 NetBSD 4.99.4 (IBOOK) #20: Sun Dec 3 23:50:54 
CET 2006 magnus@zemdatav:/usr/src/sys/arch/macppc/compile/IBOOK macppc
Architecture: powerpc
Machine: macppc
>Description:
        A couple of cascading errors.  When building devel/py-ctypes
        on NetBSD/macppc, configure fails with:

configure: error: "libffi has not been ported to powerpc-unknown-netbsd4.99.4."

        The build process is not aborted by that, though.

        Looking in the code, I found that py-ctypes uses its own copy
        of libffi instead of the one in devel/libffi.  I "fixed" that
        by including devel/libffi/buildlink3.mk in the pkgsrc
        Makefile, adding

        changing LIBFFI_SOURCES to None in setup.py, adding "-lffi" to
        extra_link_args in setup.py, and manually linking ffitarget.h
        into the buildlink directory.  After that, it seems to work.

>How-To-Repeat:

>Fix:

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index