El Dimecres, 4 de febrer de 2015, a les 12:26:18, Corentin Desfarges va escriure: > Hi Leopold, > > > I'm trying to build the package. CMake fails. Needs to be called twice. > > This is not good. Please, try to patch cmakelist.txt to solve it. > > I fixed and pushed the changes. CMake shouldn't fail anymore.
Corentin, I'm trying to build the fw4spl, in a pbuild environtment and I got this. Any idea? Leopold make[3]: Leaving directory '/tmp/buildd/fw4spl-0.9.2/obj-x86_64-linux-gnu' make -f fwThread/CMakeFiles/fwThread.dir/build.make fwThread/CMakeFiles/fwThread.dir/build make[3]: Entering directory '/tmp/buildd/fw4spl-0.9.2/obj-x86_64-linux-gnu' /usr/bin/cmake -E cmake_progress_report /tmp/buildd/fw4spl-0.9.2/obj-x86_64- linux-gnu/CMakeFiles [ 1%] Building CXX object fwThread/CMakeFiles/fwThread.dir/src/fwThread/WorkerAsio.cpp.o cd /tmp/buildd/fw4spl-0.9.2/obj-x86_64-linux-gnu/fwThread && /usr/bin/c++ - DBUNDLEPATH=\"/usr/share/fw4spl/Bundles/\" -DFWTHREAD_EXPORTS - DFWTHREAD_VER=\"0-1\" -DLIBSFW4SPL=\"/usr/lib/fw4spl/\" - DSHAREPATH=\"/usr/share/fw4spl/\" -DSPECIALINSTALL -DSPYLOG_LEVEL=2 -g -O2 - fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -I/tmp/buildd/fw4spl-0.9.2/SrcLib/core/fwThread/include - I/tmp/buildd/fw4spl-0.9.2/SrcLib/core/fwCore/include -o CMakeFiles/fwThread.dir/src/fwThread/WorkerAsio.cpp.o -c /tmp/buildd/fw4spl-0.9.2/SrcLib/core/fwThread/src/fwThread/WorkerAsio.cpp In file included from /tmp/buildd/fw4spl-0.9.2/SrcLib/core/fwThread/include/fwThread/Worker.hpp:125:0, from /tmp/buildd/fw4spl-0.9.2/SrcLib/core/fwThread/src/fwThread/WorkerAsio.cpp:14: /tmp/buildd/fw4spl-0.9.2/SrcLib/core/fwThread/include/fwThread/Worker.hxx: In member function 'boost::shared_future<T> fwThread::Worker::postTask(TASK)': /tmp/buildd/fw4spl-0.9.2/SrcLib/core/fwThread/include/fwThread/Worker.hxx:22:5: error: 'future' is not a member of 'boost' ::boost::future< R > ufuture = task.get_future(); ^ /tmp/buildd/fw4spl-0.9.2/SrcLib/core/fwThread/include/fwThread/Worker.hxx:22:24: error: expected primary-expression before '>' token ::boost::future< R > ufuture = task.get_future(); ^ /tmp/buildd/fw4spl-0.9.2/SrcLib/core/fwThread/include/fwThread/Worker.hxx:22:26: error: 'ufuture' was not declared in this scope ::boost::future< R > ufuture = task.get_future(); ^ /tmp/buildd/fw4spl-0.9.2/SrcLib/core/fwThread/src/fwThread/WorkerAsio.cpp: In constructor 'fwThread::WorkerAsio::WorkerAsio()': /tmp/buildd/fw4spl-0.9.2/SrcLib/core/fwThread/src/fwThread/WorkerAsio.cpp:163:5: error: 'future' is not a member of 'boost' ::boost::future< ::fwThread::Worker::ExitReturnType > ufuture = task.get_future(); ^ /tmp/buildd/fw4spl-0.9.2/SrcLib/core/fwThread/src/fwThread/WorkerAsio.cpp:163:57: error: expected primary-expression before '>' token ::boost::future< ::fwThread::Worker::ExitReturnType > ufuture = task.get_future(); ^ /tmp/buildd/fw4spl-0.9.2/SrcLib/core/fwThread/src/fwThread/WorkerAsio.cpp:163:59: error: 'ufuture' was not declared in this scope ::boost::future< ::fwThread::Worker::ExitReturnType > ufuture = task.get_future(); ^ fwThread/CMakeFiles/fwThread.dir/build.make:57: recipe for target 'fwThread/CMakeFiles/fwThread.dir/src/fwThread/WorkerAsio.cpp.o' failed make[3]: *** [fwThread/CMakeFiles/fwThread.dir/src/fwThread/WorkerAsio.cpp.o] Error 1 make[3]: Leaving directory '/tmp/buildd/fw4spl-0.9.2/obj-x86_64-linux-gnu' CMakeFiles/Makefile2:128: recipe for target 'fwThread/CMakeFiles/fwThread.dir/all' failed make[2]: *** [fwThread/CMakeFiles/fwThread.dir/all] Error 2 make[2]: Leaving directory '/tmp/buildd/fw4spl-0.9.2/obj-x86_64-linux-gnu' Makefile:130: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/tmp/buildd/fw4spl-0.9.2/obj-x86_64-linux-gnu' dh_auto_build: make -j1 returned exit code 2 debian/rules:24: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 E: Failed autobuilding of package I: unmounting dev/pts filesystem I: unmounting run/shm filesystem I: unmounting proc filesystem I: cleaning the build env I: removing directory /var/cache/pbuilder/build//5420 and its subdirectories -- -- Linux User 152692 GPG: 05F4A7A949A2D9AA Catalonia ------------------------------------- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/3543533.A3ZNOafBBM@soho