[Debian-med-packaging] Bug#894213: foo FTBFS with dh-python >= 3.20180313
Piotr Ożarowski
piotr at debian.org
Mon Apr 30 19:29:13 BST 2018
[Andreas Tille, 2018-04-30]
> On Mon, Apr 30, 2018 at 03:57:51PM +0200, Piotr Ożarowski wrote:
> > [Andreas Tille, 2018-04-30]
> > > > PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) ...
> > > I tried the same trick for snakemake in Git[1] but failed.
> > >
> > > Am I missing something?
> >
> > you changed PYTHONPATH, but PATH still hardcodes old path, I'd start
> > with that.
>
> Hmmm, inside pbuilder chroot the files are installed to
>
> /build/snakemake-4.8.0/.pybuild/cpython3_3.6_snakemake/build/bin/snakemake
>
> while
>
> # pybuild --print build_dir --interpreter python3
> /build/snakemake-4.8.0/.pybuild/cpython3_3.6/build
you invoked it outside debian/rules, without --name or PYBUILD_NAME set,
right?
> I have no idea why since some dh-python version things are different
> than before but wouldn't it be the best idea to let pybuild set PATH and
> PYTHONPATH instead of setting it manually by some manual command?
I meant to fix also debian/rules line 11 (you fixed line 21 only)
--
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
More information about the Debian-med-packaging
mailing list