← Back to team overview

yade-dev team mailing list archive

[Bug 1267164] Re: Fails to build from yade-daily sources

 

No longer a bug, closing.


** Changed in: yade
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1267164

Title:
  Fails to build from yade-daily sources

Status in Yade:
  Invalid

Bug description:
  I am using the yade-daily ppa with Ubuntu 13.10. When I run

  $ apt-get source --build yade-daily

  the build process continues normally but it fails towards the end:

  [ 96%] Building CXX object py/CMakeFiles/_customConverters.dir/wrapper/customConverters.cpp.o
  cd "/home/eudoxos/build/yade-daily-8+3772+64~ubuntu13.10.1/debian/build/py" && /usr/bin/c++   -D_customConverters_EXPORTS -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -ftrack-macro-expansion=0 -save-temps -fPIC -DYADE_VTK -DYADE_OPENMP -fopenmp -DYADE_GTS -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include -DQGLVIEWER_FOUND -DYADE_OPENGL -frounding-math -DYADE_CGAL -DFLOW_ENGINE -frounding-math -DLINSOLV -DFLOW_ENGINE -DYADE_GL2PS -O3 -DNDEBUG -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/eigen3 -I/usr/include/vtk-5.8 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/suitesparse -I/usr/include/python3.3m -I/usr/include/x86_64-linux-gnu/python3.3m -I"/home/eudoxos/build/yade-daily-8+3772+64~ubuntu13.10.1/extra/floating_point_utilities_v3" -I"/home/eudoxos/build/yade-daily-8+3772+64~ubuntu13.10.1/debian/build"     -DYADE_PTR_CAST=static_pointer_cast -DYADE_CAST=static_cast  -o CMakeFiles/_customConverters.dir/wrapper/customConverters.cpp.o -c "/home/eudoxos/build/yade-daily-8+3772+64~ubuntu13.10.1/py/wrapper/customConverters.cpp"
  /home/eudoxos/build/yade-daily-8+3772+64~ubuntu13.10.1/py/wrapper/customConverters.cpp: In static member function ‘static PyObject* custom_OpenMPAccumulator_to_int::convert(const OpenMPAccumulator<int>&)’:
  /home/eudoxos/build/yade-daily-8+3772+64~ubuntu13.10.1/py/wrapper/customConverters.cpp:93:147: error: ‘PyInt_FromLong’ was not declared in this scope
   struct custom_OpenMPAccumulator_to_int  { static PyObject* convert(const OpenMPAccumulator<int>& acc){ return incref(PyInt_FromLong((long)acc.get())); } };
                                                                                                                                                     ^
  /home/eudoxos/build/yade-daily-8+3772+64~ubuntu13.10.1/py/wrapper/customConverters.cpp: In static member function ‘static void* custom_OpenMPAccumulator_from_int::convertible(PyObject*)’:
  /home/eudoxos/build/yade-daily-8+3772+64~ubuntu13.10.1/py/wrapper/customConverters.cpp:96:73: error: ‘PyInt_Check’ was not declared in this scope
    static void* convertible(PyObject* obj_ptr){ return PyInt_Check(obj_ptr) ? obj_ptr : 0; }
                                                                           ^
  make[3]: *** [py/CMakeFiles/_customConverters.dir/wrapper/customConverters.cpp.o] Error 1
  make[3]: Leaving directory `/home/eudoxos/build/yade-daily-8+3772+64~ubuntu13.10.1/debian/build'
  make[2]: *** [py/CMakeFiles/_customConverters.dir/all] Error 2
  make[2]: Leaving directory `/home/eudoxos/build/yade-daily-8+3772+64~ubuntu13.10.1/debian/build'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory `/home/eudoxos/build/yade-daily-8+3772+64~ubuntu13.10.1/debian/build'

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1267164/+subscriptions


References