pkgsrc-Bugs archive

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

pkg/43436: lang/python26 doesn't build on Darwin (MAc OS X)



>Number:         43436
>Category:       pkg
>Synopsis:       lang/python26 doesn't build on Darwin (MAc OS X)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 08 20:50:01 +0000 2010
>Originator:     Edgar Fuß
>Release:        pkgsrc-2010Q1
>Organization:
Mathematisches Institut der Uni Bonn
>Environment:
System: Darwin XXX 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 
2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
Architecture: powerpc
>Description:
        Building lang/python26 fails with
                gcc -dynamiclib -install_name /usr/pkg/lib/libpython2.6.dylib \
                            -current_version 2.6.2 -compatibility_version 2.6 \
                            -o libpython2.6.dylib -flat_namespace -undefined 
suppress -LXXX/lang/python26/work/Python-2.6.4 -L/usr/lib -L/usr/pkg/lib \
                            Modules/getbuildinfo.o Parser/acceler.o 
Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o 
Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o 
Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o 
Objects/abstract.o Objects/boolobject.o Objects/bufferobject.o 
Objects/bytes_methods.o Objects/bytearrayobject.o Objects/cellobject.o 
Objects/classobject.o Objects/cobject.o Objects/codeobject.o 
Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o 
Objects/exceptions.o Objects/genobject.o Objects/fileobject.o 
Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o 
Objects/intobject.o Objects/iterobject.o Objects/listobject.o 
Objects/longobject.o Objects/dictobject.o Objects/methodobject.o 
Objects/moduleobject.o Objects/object.o Objects/obmalloc.o 
Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o 
Objects/stringobject.o Objects/structseq.o Objects/tupleobject.o 
Objects/typeobject.o Objects/
 weakrefobject.o Objects/unicodeobject.o Objects/unicodectype.o 
Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o 
Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o 
Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o 
Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getmtime.o 
Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o 
Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o 
Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyfpe.o 
Python/pymath.o Python/pystate.o Python/pythonrun.o Python/structmember.o 
Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o 
Python/pystrcmp.o Python/pystrtod.o Python/formatter_unicode.o 
Python/formatter_string.o Python/dynload_shlib.o  Python/mactoolboxglue.o 
Python/thread.o Modules/config.o Modules/getpath.o Modules/main.o 
Modules/gcmodule.o  Modules/threadmodule.o  Modules/signalmodule.o  Modules/p
 osixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  
Modules/_codecsmodule.o  Modules/zipimport.o  Modules/symtablemodule.o  
Modules/xxsubtype.o -ldl   
                ld: common symbols not allowed with MH_DYLIB output format with 
the -multi_module option
                Parser/parsetok.o definition of common _Py_TabcheckFlag (size 4)
                Python/pythonrun.o definition of common _Py_VerboseFlag (size 4)
                Python/pythonrun.o definition of common _Py_DebugFlag (size 4)
                Parser/myreadline.o definition of common 
_PyOS_ReadlineFunctionPointer (size 4)
                Parser/myreadline.o definition of common __PyOS_ReadlineTState 
(size 4)
                Objects/object.o definition of common _Py_Py3kWarningFlag (size 
4)
                Python/pythonrun.o definition of common _Py_BytesWarningFlag 
(size 4)
                Objects/object.o definition of common _Py_DivisionWarningFlag 
(size 4)
                Python/pythonrun.o definition of common _Py_FrozenFlag (size 4)
                Python/pythonrun.o definition of common 
_Py_IgnoreEnvironmentFlag (size 4)
                Python/pythonrun.o definition of common 
_Py_DontWriteBytecodeFlag (size 4)
                Python/pythonrun.o definition of common _Py_InspectFlag (size 4)
                Python/pythonrun.o definition of common _Py_InteractiveFlag 
(size 4)
                Python/pythonrun.o definition of common _Py_NoSiteFlag (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_AEDesc_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_AEDesc_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_AEDesc_NewBorrowed (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_BMObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_BMObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFArrayRefObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFArrayRefObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFDictionaryRefObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFDictionaryRefObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFMutableArrayRefObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFMutableArrayRefObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFMutableDictionaryRefObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFMutableDictionaryRefObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFMutableStringRefObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFMutableStringRefObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFStringRefObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFStringRefObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFTypeRefObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFTypeRefObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFURLRefObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CFURLRefObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CmpInstObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CmpInstObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CmpObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CmpObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CtlObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_CtlObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_DlgObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_DlgObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_DlgObj_WhichDialog (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_DragObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_DragObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_GWorldObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_GWorldObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_GrafObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_GrafObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_ListObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_ListObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_MediaObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_MediaObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_MenuObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_MenuObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_MovieCtlObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_MovieCtlObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_MovieObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_MovieObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_OptResObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_OptResObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_OptionalCFURLRefObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_PyMac_BuildFSRef (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_PyMac_BuildFSSpec (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_PyMac_GetFSRef (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_PyMac_GetFSSpec (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_QdRGB_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_QdRGB_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_ResObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_ResObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_TEObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_TEObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_TimeBaseObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_TimeBaseObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_TrackObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_TrackObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_UserDataObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_UserDataObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_WinObj_Convert (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_WinObj_New (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMacGluePtr_WinObj_WhichWindow (size 4)
                Python/mactoolboxglue.o definition of common 
_PyMac_OSErrException (size 4)
                /usr/bin/libtool: internal link edit command failed

>How-To-Repeat:
        cd lang/python26; bmake build
>Fix:
        --- patch-au.orig       2010-06-06 16:18:09.000000000 +0200
        +++ patch-au    2010-06-08 22:16:56.000000000 +0200
        @@ -7,7 +7,7 @@
                $(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(MODLIBS) 
$(SHLIBS) $(LIBC) $(LIBM) $(LDLAST)
          
         +libpython$(VERSION).dylib: $(LIBRARY_OBJS)
        -+      $(LINKCC) -dynamiclib -install_name $(LIBDIR)/$@ \
        ++      $(LINKCC) -dynamiclib -single_module -install_name $(LIBDIR)/$@ 
\
         +          -current_version 2.6.2 -compatibility_version $(VERSION) \
         +          -o $@ -flat_namespace -undefined suppress $(LDFLAGS) \
         +          $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM)



Home | Main Index | Thread Index | Old Index