Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #10656
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Andreas Tille <andreas@an3as.eu> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.maint.python |
| Subject | Bug#894213: No clue yet for building snakemake since there are two dirs in .pybuild |
| Date | Tue, 26 Jun 2018 12:00:01 +0200 |
| Message-ID | <w4SVr-7ns-1@gated-at.bofh.it> (permalink) |
| References | <vxWd3-3ZI-9@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Tue Jun 26 09:54:09 2018 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -3.95 |
| Reply-To | Andreas Tille <andreas@an3as.eu>, 894213@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org> |
| X-Debian-Pr-Message | followup 894213 |
| X-Debian-Pr-Package | src:snakemake |
| X-Debian-Pr-Keywords | ftbfs help |
| X-Debian-Pr-Source | snakemake |
| X-Spam-Bayes | score:0.0000 Tokens: new, 18; hammy, 150; neutral, 113; spammy, 0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--pbuilder, 0.000-+--H*u:NeoMutt, 0.000-+--H*UA:NeoMutt, 0.000-+--H*RU:mail.an3as.eu |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | NeoMutt/20170113 (1.7.2) |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1469078 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 70 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | Kevin Murray <kdmfoss@gmail.com> |
| X-Original-Date | Tue, 26 Jun 2018 11:51:24 +0200 |
| X-Original-Message-ID | <20180626095124.2asvsuaoq6bilru5@an3as.eu> |
| X-Original-References | <152215434113.2884.5720413896926589838.reportbug@localhost> |
| Xref | csiph.com linux.debian.bugs.dist:904813 linux.debian.maint.python:10656 |
Cross-posted to 2 groups.
Show key headers only | View raw
Hi,
meanwhile I upgraded snakemake to latest upstream in Salsa[1]. I keep
on having trouble with building it:
...
Building DAG of jobs...
Using shell: /bin/bash
Job counts:
count jobs
1 1
1
Finished job 0.
1 of 1 steps (100%) done
Complete log: /tmp/tmp3rl_vn12/.snakemake/log/2018-06-26T092103.652823.snakemake.log
.E
======================================================================
ERROR: Failure: Exception (snakemake not in PATH. For testing, install snakemake with 'pip install -e .'. You should do this in a separate environment (via conda or virtualenv).)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/lib/python3/dist-packages/nose/loader.py", line 417, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/lib/python3.6/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 684, in _load
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/build/snakemake-5.1.5/.pybuild/cpython3_3.6_snakemake/build/tests/tests.py", line 22, in <module>
raise Exception("snakemake not in PATH. For testing, install snakemake with "
Exception: snakemake not in PATH. For testing, install snakemake with 'pip install -e .'. You should do this in a separate environment (via conda or virtualenv).
----------------------------------------------------------------------
Ran 4 tests in 0.227s
FAILED (errors=1)
E: pybuild pybuild:336: test: plugin distutils failed with: exit code=1: cd /build/snakemake-5.1.5/.pybuild/cpython3_3.6_snakemake/build; python3.6 -m nose tests
I think the cause of the issue is that there are two dirs in .pybuild:
# ls -l /build/snakemake-5.1.5/.pybuild
total 8
drwxr-xr-x 3 pbuilder pbuilder 4096 Jun 26 09:20 cpython3_3.6
drwxr-xr-x 3 pbuilder pbuilder 4096 Jun 26 09:20 cpython3_3.6_snakemake
and the latter contains all the installed files while the former is
empty. How can I prevent this?
Kind regards
Andreas.
[1] https://salsa.debian.org/med-team/snakemake
--
http://fam-tille.de
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#894213: No clue yet for building snakemake since there are two dirs in .pybuild Andreas Tille <andreas@an3as.eu> - 2018-06-26 12:00 +0200
Re: No clue yet for building snakemake since there are two dirs in .pybuild Stuart Prescott <stuart@debian.org> - 2018-06-26 18:10 +0200
Re: No clue yet for building snakemake since there are two dirs in .pybuild Piotr Ożarowski <piotr@debian.org> - 2018-06-27 11:10 +0200
Re: No clue yet for building snakemake since there are two dirs in .pybuild Piotr Ożarowski <piotr@debian.org> - 2018-06-27 14:40 +0200
csiph-web