pkgsrc-Bugs archive

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

pkg/43107: library of devel/boost-python is broken



>Number:         43107
>Category:       pkg
>Synopsis:       library of devel/boost-python is broken
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 03 01:55:00 +0000 2010
>Originator:     Ryo ONODERA
>Release:        NetBSD 5.99.25
>Organization:
        
>Environment:
        
        
System: NetBSD hydrogen.elements.tetera.org 5.99.25 NetBSD 5.99.25 
(BRIGHTGIRL7) #12: Tue Mar 30 19:36:08 JST 2010 
root%hydrogen.elements.tetera.org@localhost:/usr/obj/sys/arch/i386/compile/BRIGHTGIRL7
 i386
Architecture: i386
Machine: i386
>Description:
I want to use libboost_python.so from devel/boost-python, but my simple test 
code fails to build.

>How-To-Repeat:
My test code is following.
% cat test.c
int
main ()
{
return main ();
  ;
  return 0;
}

I compiled test.c and get following errors.
% cc -o test  -O2 -I/usr/include -I/usr/pkg/include -L/usr/lib -Wl,-R/usr/lib 
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib test.c -lboost_python

/usr/pkg/lib/libboost_python.so: undefined reference to `PyList_Insert'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyExc_ImportError'
/usr/pkg/lib/libboost_python.so: undefined reference to 
`PyString_InternFromString'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyProperty_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyString_AsString'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyExc_StopIteration'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyImport_Import'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyBool_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyClass_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_InPlaceRshift'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyObject_CallMethod'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyIter_Next'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_Remainder'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyExc_ValueError'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyType_Ready'
/usr/pkg/lib/libboost_python.so: undefined reference to `_PyEval_SliceIndex'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyFile_AsFile'
/usr/pkg/lib/libboost_python.so: undefined reference to 
`PyLong_FromUnsignedLong'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyMem_Free'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_InPlaceXor'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_InPlaceOr'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyBool_FromLong'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyDict_Items'
/usr/pkg/lib/libboost_python.so: undefined reference to 
`PyNumber_InPlaceRemainder'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyErr_NoMemory'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyList_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyComplex_ImagAsDouble'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyObject_IsTrue'
/usr/pkg/lib/libboost_python.so: undefined reference to 
`_Py_NotImplementedStruct'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyExc_TypeError'
/usr/pkg/lib/libboost_python.so: undefined reference to 
`PyUnicodeUCS2_FromEncodedObject'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyDict_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_Lshift'
/usr/pkg/lib/libboost_python.so: undefined reference to 
`PyNumber_InPlaceMultiply'
/usr/pkg/lib/libboost_python.so: undefined reference to `_PyObject_New'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyInt_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyComplex_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyExc_ReferenceError'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyObject_GetItem'
/usr/pkg/lib/libboost_python.so: undefined reference to 
`PyString_FromStringAndSize'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyModule_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_InPlaceLshift'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyString_Size'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyDict_Update'
/usr/pkg/lib/libboost_python.so: undefined reference to 
`PyUnicodeUCS2_AsUTF8String'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyComplex_RealAsDouble'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyErr_Format'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyBaseObject_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_And'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_InPlaceAdd'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyObject_GetAttr'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyErr_ExceptionMatches'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyErr_Occurred'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyDict_Copy'
/usr/pkg/lib/libboost_python.so: undefined reference to 
`PyArg_ParseTupleAndKeywords'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_Divide'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyEval_GetGlobals'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyFloat_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyDict_Keys'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyExc_IndexError'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyErr_SetObject'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_Multiply'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyRun_FileExFlags'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyUnicode_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyObject_Size'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyString_FromString'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyString_FromFormat'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_InPlaceAnd'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyInt_FromLong'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyTuple_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyDict_Size'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyDict_GetItem'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyObject_SetItem'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyInt_AsLong'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyObject_RichCompare'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyCFunction_NewEx'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyDict_Values'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyExc_RuntimeError'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_Rshift'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyStaticMethod_New'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyType_IsSubtype'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyType_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_Add'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyList_Sort'
/usr/pkg/lib/libboost_python.so: undefined reference to `PySequence_DelSlice'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyErr_WarnEx'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyMethod_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyStaticMethod_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_Xor'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyObject_ClearWeakRefs'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_Subtract'
/usr/pkg/lib/libboost_python.so: undefined reference to `PySlice_New'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyObject_GetAttrString'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyObject_IsInstance'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyLong_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyRun_StringFlags'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyObject_SetAttrString'
/usr/pkg/lib/libboost_python.so: undefined reference to `_Py_NoneStruct'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyExc_OverflowError'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyWeakref_NewRef'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyErr_NewException'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyList_Append'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyObject_SetAttr'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyDict_GetItemString'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_InPlaceDivide'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyLong_AsLongLong'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyExc_AttributeError'
/usr/pkg/lib/libboost_python.so: undefined reference to 
`PyLong_AsUnsignedLongLong'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyNumber_Or'
/usr/pkg/lib/libboost_python.so: undefined reference to 
`PyUnicodeUCS2_AsWideChar'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyObject_DelItem'
/usr/pkg/lib/libboost_python.so: undefined reference to 
`PyNumber_InPlaceSubtract'
/usr/pkg/lib/libboost_python.so: undefined reference to `Py_InitModule4'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyMethod_New'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyEval_CallFunction'
/usr/pkg/lib/libboost_python.so: undefined reference to `PySequence_GetSlice'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyTuple_Size'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyImport_ImportModule'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyErr_Clear'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyTuple_New'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyCFunction_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyTuple_GetItem'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyErr_SetString'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyObject_CallFunction'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyList_Reverse'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyString_Type'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyFile_FromString'
/usr/pkg/lib/libboost_python.so: undefined reference to `_PyType_Lookup'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyList_New'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyType_GenericAlloc'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyMem_Malloc'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyCallable_Check'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyDict_Clear'
/usr/pkg/lib/libboost_python.so: undefined reference to `PySequence_SetSlice'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyLong_AsUnsignedLong'
/usr/pkg/lib/libboost_python.so: undefined reference to `PyDict_New'

>Fix:
        
I have no idea.
I cannot find the packages that uses devel/boost-python in pkgsrc.


>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index