Bug#867496: morse-simulator: FTBFS with Sphinx 1.5: ImportError: No module named 'version'
Dmitry Shachnev
mitya57 at debian.org
Thu Jul 6 20:49:24 UTC 2017
Source: morse-simulator
Version: 1.4-2
Severity: important
User: python-modules-team at lists.alioth.debian.org
Usertags: sphinx1.5
Dear maintainer,
I am about to upload Sphinx 1.5 to unstable (it has been available in
experimental for several months now).
Your package fails to build with it:
Running Sphinx v1.5.6
making output directory...
Exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/cmdline.py", line 295, in main
opts.warningiserror, opts.tags, opts.verbosity, opts.jobs)
File "/usr/lib/python3/dist-packages/sphinx/application.py", line 163, in __init__
confoverrides or {}, self.tags)
File "/usr/lib/python3/dist-packages/sphinx/config.py", line 134, in __init__
execfile_(filename, config)
File "/usr/lib/python3/dist-packages/sphinx/util/pycompat.py", line 129, in execfile_
exec_(code, _globals)
File "conf.py", line 15, in <module>
ImportError: No module named 'version'
The full build log is attached.
--
Dmitry Shachnev
-------------- next part --------------
dpkg-buildpackage -rfakeroot -us -uc -j4
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: info: source package morse-simulator
dpkg-buildpackage: info: source version 1.4-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Sylvestre Ledru <sylvestre at debian.org>
dpkg-source --before-build morse-simulator-1.4
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean --with python3
dh: Compatibility levels before 9 are deprecated (level 8 in use)
dh_testdir
dh_auto_clean
dh_auto_clean: Compatibility levels before 9 are deprecated (level 8 in use)
dh_clean
dh_clean: Compatibility levels before 9 are deprecated (level 8 in use)
dpkg-source -b morse-simulator-1.4
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building morse-simulator using existing ./morse-simulator_1.4.orig.tar.gz
dpkg-source: info: building morse-simulator in morse-simulator_1.4-2.debian.tar.xz
dpkg-source: info: building morse-simulator in morse-simulator_1.4-2.dsc
debian/rules build
dh build --with python3
dh: Compatibility levels before 9 are deprecated (level 8 in use)
dh_testdir
dh_update_autotools_config
debian/rules override_dh_auto_configure
make[1]: Entering directory '/morse-simulator-1.4'
dh_auto_configure -- -DBUILD_DOC_SUPPORT=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DCPACK_DEBIAN_PACKAGE_DEPENDS=python3-all-dev -DPYMORSE_SUPPORT=ON
dh_auto_configure: Compatibility levels before 9 are deprecated (level 8 in use)
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DBUILD_DOC_SUPPORT=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCPACK_DEBIAN_PACKAGE_DEPENDS=python3-all-dev -DPYMORSE_SUPPORT=ON
-- The C compiler identification is GNU 7.1.0
-- The CXX compiler identification is GNU 7.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.3", required is "3.3")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found suitable exact version "3.5")
-- will install python files in /usr/lib/python3/dist-packages
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_SYSCONFDIR
CPACK_DEBIAN_PACKAGE_DEPENDS
-- Build files have been written to: /morse-simulator-1.4/obj-x86_64-linux-gnu
make[1]: Leaving directory '/morse-simulator-1.4'
dh_auto_build
dh_auto_build: Compatibility levels before 9 are deprecated (level 8 in use)
make -j1
make[1]: Entering directory '/morse-simulator-1.4/obj-x86_64-linux-gnu'
/usr/bin/cmake -H/morse-simulator-1.4 -B/morse-simulator-1.4/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /morse-simulator-1.4/obj-x86_64-linux-gnu/CMakeFiles /morse-simulator-1.4/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/morse-simulator-1.4/obj-x86_64-linux-gnu'
make -f CMakeFiles/man.dir/build.make CMakeFiles/man.dir/depend
make[3]: Entering directory '/morse-simulator-1.4/obj-x86_64-linux-gnu'
cd /morse-simulator-1.4/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /morse-simulator-1.4 /morse-simulator-1.4 /morse-simulator-1.4/obj-x86_64-linux-gnu /morse-simulator-1.4/obj-x86_64-linux-gnu /morse-simulator-1.4/obj-x86_64-linux-gnu/CMakeFiles/man.dir/DependInfo.cmake --color=
Scanning dependencies of target man
make[3]: Leaving directory '/morse-simulator-1.4/obj-x86_64-linux-gnu'
make -f CMakeFiles/man.dir/build.make CMakeFiles/man.dir/build
make[3]: Entering directory '/morse-simulator-1.4/obj-x86_64-linux-gnu'
env PYTHONPATH=/morse-simulator-1.4/obj-x86_64-linux-gnu:/morse-simulator-1.4/obj-x86_64-linux-gnu/src:/morse-simulator-1.4/obj-x86_64-linux-gnu/fakeenv:/morse-simulator-1.4/src:/morse-simulator-1.4/testing:/morse-simulator-1.4/bindings/pymorse/src/:$PYTHONPATH PYTHONDONTWRITEBYTECODE="morse" MORSESOURCE=/morse-simulator-1.4 /usr/bin/python3 /usr/bin/sphinx-build -b man -c /morse-simulator-1.4/obj-x86_64-linux-gnu/doc /morse-simulator-1.4/doc/man /morse-simulator-1.4/obj-x86_64-linux-gnu/doc/man && /bin/gzip -f /morse-simulator-1.4/obj-x86_64-linux-gnu/doc/man/*.1
Running Sphinx v1.5.6
making output directory...
Exception occurred:
File "conf.py", line 15, in <module>
ImportError: No module named 'version'
The full traceback has been saved in /tmp/sphinx-err-lq8tqd1q.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
CMakeFiles/man.dir/build.make:60: recipe for target 'CMakeFiles/man' failed
make[3]: *** [CMakeFiles/man] Error 1
make[3]: Leaving directory '/morse-simulator-1.4/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:134: recipe for target 'CMakeFiles/man.dir/all' failed
make[2]: *** [CMakeFiles/man.dir/all] Error 2
make[2]: Leaving directory '/morse-simulator-1.4/obj-x86_64-linux-gnu'
Makefile:141: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/morse-simulator-1.4/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20170706/cee2ba23/attachment.sig>
More information about the debian-science-maintainers
mailing list