Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10490

Re: foo FTBFS with dh-python >= 3.20180313

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Piotr Ożarowski <piotr@debian.org>
Newsgroups linux.debian.maint.python, linux.debian.bugs.dist
Subject Re: foo FTBFS with dh-python >= 3.20180313
Date Mon, 30 Apr 2018 20:30:02 +0200
Message-ID <vKlIK-7Ss-3@gated-at.bofh.it> (permalink)
References <vILHj-2pl-1@gated-at.bofh.it> <vIM0G-2LO-1@gated-at.bofh.it> <vKg6l-40c-3@gated-at.bofh.it> <vKhvr-4SV-1@gated-at.bofh.it> <vKlfH-7pM-5@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Apr 30 18:29:39 2018
Old-Return-Path <piotr@ozarowski.pl>
X-Amavis-Spam-Status No, score=-6.65 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
Mail-Followup-To debian-python@lists.debian.org, 894213@bugs.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
User-Agent NeoMutt/20180223
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15894
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20180430182913.xpyxaxo5e3nna7nr@sar0.p1otr.com
Approved robomod@news.nic.it
Lines 30
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 30 Apr 2018 20:29:13 +0200
X-Original-Message-ID <20180430182913.xpyxaxo5e3nna7nr@sar0.p1otr.com>
X-Original-References <20180426094152.lxnmpce34f3yrtdf@an3as.eu> <20180426100117.km5zao3pr7oftnir@sar0.p1otr.com> <20180430122823.xth6am67pvxkrzxx@an3as.eu> <20180430135751.qvvjmklkvczoj2hs@sar0.p1otr.com> <20180430175210.pwgn6yn7gzucyhw4@an3as.eu>
Xref csiph.com linux.debian.maint.python:10490 linux.debian.bugs.dist:895287

Cross-posted to 2 groups.

Show key headers only | View raw


[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

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: foo FTBFS with dh-python >= 3.20180313 Piotr Ożarowski <piotr@debian.org> - 2018-04-26 12:10 +0200
  Re: foo FTBFS with dh-python >= 3.20180313 Andreas Tille <andreas@an3as.eu> - 2018-04-30 14:30 +0200
    Re: foo FTBFS with dh-python >= 3.20180313 Piotr Ożarowski <piotr@debian.org> - 2018-04-30 16:00 +0200
      Re: foo FTBFS with dh-python >= 3.20180313 Andreas Tille <andreas@an3as.eu> - 2018-04-30 20:00 +0200
        Re: foo FTBFS with dh-python >= 3.20180313 Piotr Ożarowski <piotr@debian.org> - 2018-04-30 20:30 +0200
          Re: foo FTBFS with dh-python >= 3.20180313 Andreas Tille <andreas@an3as.eu> - 2018-04-30 23:20 +0200
            How to make sure PATH is set correctly (Was: foo FTBFS with  dh-python >= 3.20180313) Andreas Tille <andreas@an3as.eu> - 2018-05-07 14:10 +0200

csiph-web