Path: csiph.com!weretis.net!feeder4.news.weretis.net!news.uzoreto.com!aioe.org!bofh.it!news.nic.it!robomod From: Andreas Tille Newsgroups: linux.debian.maint.python,linux.debian.bugs.dist Subject: Re: foo FTBFS with dh-python >= 3.20180313 Date: Mon, 30 Apr 2018 20:00:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Apr 30 17:52:26 2018 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: NeoMutt/20170113 (1.7.2) X-Mailing-List: archive/latest/15893 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20180430175210.pwgn6yn7gzucyhw4@an3as.eu Approved: robomod@news.nic.it Lines: 29 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 30 Apr 2018 19:52:10 +0200 X-Original-Message-ID: <20180430175210.pwgn6yn7gzucyhw4@an3as.eu> X-Original-References: <20180426094152.lxnmpce34f3yrtdf@an3as.eu> <20180426100117.km5zao3pr7oftnir@sar0.p1otr.com> <20180430122823.xth6am67pvxkrzxx@an3as.eu> <20180430135751.qvvjmklkvczoj2hs@sar0.p1otr.com> Xref: csiph.com linux.debian.maint.python:10489 linux.debian.bugs.dist:895285 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 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? Kind regards Andreas. -- http://fam-tille.de