New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEB: build packages for new Ubuntu 18.10 Cosmic #2258

Open
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@megies
Member

megies commented Nov 7, 2018

Need to build deb packages for new Ubuntu release.

@megies megies added this to the 1.1.1 milestone Nov 2, 2018

@megies megies self-assigned this Nov 2, 2018

megies added some commits Nov 2, 2018

@megies

This comment has been minimized.

Member

megies commented Nov 7, 2018

Packaging for new Ubuntu is not working yet:

   dh_update_autotools_config -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py config 
running config
I: pybuild base:217: python3.7 setup.py config 
/bin/sh: 1: python3.7: not found
E: pybuild pybuild:338: configure: plugin distutils failed with: exit code=127: python3.7 setup.py config 
dh_auto_configure: pybuild --configure -i python{version} -p "3.7 3.6" returned exit code 13
make: *** [debian/rules:10: build] Error 25
dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
mv: cannot stat '../*.deb': No such file or directory
ls: cannot access '/tmp/python-obspy_build/packages/*.deb': No such file or directory
ls: cannot access '/tmp/python-obspy_build/packages/python*-obspy_*.deb': No such file or directory
ls: cannot access '/tmp/python-obspy_build/packages/python-obspy-dbg_*.deb': No such file or directory
Deb packaging failed!
Done with everything!
Error: No such container:path: 14628-27811-29297:/TEST_LOG.txt
Error: No such container:path: 14628-27811-29297:/build.success
Error: No such container:path: 14628-27811-29297:/test.failure
Error: No such container:path: 14628-27811-29297:/test.success
14628-27811-29297
Untagged: temp:package_debs_29182-29014-23670
Deleted: sha256:00157905da3e476f1c12cb9f2d91185877a039eb3e9889ed07c8c8aee61cfc18
Deleted: sha256:97548ea954ed6c0e0a459e1b274fdbb84ba0ba9fb099a54f0699832162b27013
Deleted: sha256:8dbd3863fd89d75f6937cd9b058450f372cfe3f5bd19809ac7424efdad987140
Deleted: sha256:5e4a5ea2943712b205a3465ae731621d27064c11c26fa1b7d6d259949cb8939b
Deleted: sha256:8f3ccc5018f111c0930335da00d560e123873cfa7dcb7fda2ac3947f3378457b
Deleted: sha256:29f97eee326ce17ac69217f662d31ad13aad74682efb8bbc428cca8eeeb2f674
Deleted: sha256:20609f8a3e3153dfebc889f6db7c648d4511736f927a689cef930ccb14f57f4a
Deleted: sha256:83e8424514dd345812c75597d88e51e5187df08d6fd4100382796baeedd00989
Deb packaging failed

Somehow pybuild wants to build for Python 3.7 as well (in addition to Python 3.6 which is default in Ubuntu cosmic). This fails as it doesnt even have all our dependencies. So far no luck trying to convince pybuild to not build this non-default Py3 version. See recent commits in the branch used for Deb packaging for 1.1.0: https://github.com/megies/obspy/commits/deb_1.1.0

To reproduce/debug, check out this branch, got to directory obspy/misc/docker and e.g. run ./package_debs.sh -tmegies:deb_1.1.0 ubuntu_18_10_cosmic_32bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment