Source package autodock-vina does not build in Ubuntu 15.10

Bug #1549762 reported by mirix
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autodock-vina (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

In Ubuntu 14.04 one could build the source package autodock-vina by following these instructions:

https://help.ubuntu.com/community/UpdatingADeb

In Ubuntu 15.10 he compilation fails with the following errors:

$ debuild -us -uc -i -I
 dpkg-buildpackage -rfakeroot -D -us -uc -i -I
dpkg-buildpackage: source package autodock-vina
dpkg-buildpackage: source version 1.1.2-3build2
dpkg-buildpackage: source distribution wily
dpkg-buildpackage: source changed by Dimitri John Ledkov <email address hidden>
 dpkg-source -i -I --before-build autodock-vina-1.1.2
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   debian/rules override_dh_clean
make[1]: Entering directory '/home/administrator/src/autodock-vina-1.1.2'
dh_clean
rm -f build/linux/release/*.o build/linux/release/vina*
make[1]: Leaving directory '/home/administrator/src/autodock-vina-1.1.2'
 dpkg-source -i -I -b autodock-vina-1.1.2
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building autodock-vina using existing ./autodock-vina_1.1.2.orig.tar.gz
dpkg-source: info: building autodock-vina in autodock-vina_1.1.2-3build2.debian.tar.xz
dpkg-source: info: building autodock-vina in autodock-vina_1.1.2-3build2.dsc
 debian/rules build
make: 'build' is up to date.
 fakeroot debian/rules binary
dh binary
   dh_testdir
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/home/administrator/src/autodock-vina-1.1.2'
/usr/bin/make BASE=/usr -C build/linux/release CLFAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBOOST_FILESYSTEM_VERSION=3 --lto" CXXFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBOOST_FILESYSTEM_VERSION=3 --lto" LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro --lto"
make[2]: Entering directory '/home/administrator/src/autodock-vina-1.1.2/build/linux/release'
g++ -pthread -ansi -Wno-long-long -O3 -DNDEBUG -I /usr/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -DBOOST_FILESYSTEM_VERSION=3 --lto -I ../../../src/lib -o main.o -c ../../../src/main/main.cpp
In file included from /usr/include/pthread.h:24:0,
                 from /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h:35,
                 from /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h:148,
                 from /usr/include/c++/5/ext/atomicity.h:35,
                 from /usr/include/c++/5/bits/ios_base.h:39,
                 from /usr/include/c++/5/ios:42,
                 from /usr/include/c++/5/ostream:38,
                 from /usr/include/c++/5/iostream:39,
                 from ../../../src/main/main.cpp:23:
/usr/local/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
     TIME_UTC=1
     ^
/usr/local/include/boost/thread/xtime.hpp:23:5: error: expected ‘}’ before numeric constant
/usr/local/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
In file included from /usr/local/include/boost/thread/pthread/mutex.hpp:13:0,
                 from /usr/local/include/boost/thread/mutex.hpp:16,
                 from /usr/local/include/boost/thread/pthread/thread_data.hpp:12,
                 from /usr/local/include/boost/thread/thread.hpp:17,
                 from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier before ‘system_time’
     operator system_time() const
              ^
In file included from /usr/local/include/boost/thread/pthread/mutex.hpp:13:0,
                 from /usr/local/include/boost/thread/mutex.hpp:16,
                 from /usr/local/include/boost/thread/pthread/thread_data.hpp:12,
                 from /usr/local/include/boost/thread/thread.hpp:17,
                 from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/xtime.hpp: In function ‘int xtime_get(xtime*, int)’:
/usr/local/include/boost/thread/xtime.hpp:73:40: error: ‘get_system_time’ was not declared in this scope
         *xtp=get_xtime(get_system_time());
                                        ^
/usr/local/include/boost/thread/xtime.hpp:73:40: note: suggested alternative:
In file included from /usr/local/include/boost/thread/locks.hpp:12:0,
                 from /usr/local/include/boost/thread/pthread/mutex.hpp:11,
                 from /usr/local/include/boost/thread/mutex.hpp:16,
                 from /usr/local/include/boost/thread/pthread/thread_data.hpp:12,
                 from /usr/local/include/boost/thread/thread.hpp:17,
                 from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/thread_time.hpp:18:24: note: ‘boost::get_system_time’
     inline system_time get_system_time()
                        ^
In file included from /usr/local/include/boost/thread/pthread/mutex.hpp:13:0,
                 from /usr/local/include/boost/thread/mutex.hpp:16,
                 from /usr/local/include/boost/thread/pthread/thread_data.hpp:12,
                 from /usr/local/include/boost/thread/thread.hpp:17,
                 from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/xtime.hpp: At global scope:
/usr/local/include/boost/thread/xtime.hpp:88:1: error: expected declaration before ‘}’ token
 } // namespace boost
 ^
../../makefile_common:24: recipe for target 'main.o' failed
make[2]: *** [main.o] Error 1
make[2]: Leaving directory '/home/administrator/src/autodock-vina-1.1.2/build/linux/release'
debian/rules:17: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/administrator/src/autodock-vina-1.1.2'
debian/rules:14: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1374:
dpkg-buildpackage -rfakeroot -D -us -uc -i -I failed

mirix (miromoman)
description: updated
description: updated
Revision history for this message
mirix (miromoman) wrote :

Sorry, this was a problem with my particular setup and not a general bug. I had installed an older version of Boost. Removing that version fixes the problem.

Changed in autodock-vina (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.