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


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

Bug#798066: Multiarch-renamed python extensions not found during autopkgtest testing

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Afif Elghraoui <afif@ghraoui.name>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.python
Subject Bug#798066: Multiarch-renamed python extensions not found during autopkgtest testing
Date Fri, 11 Dec 2015 08:00:01 +0100
Message-ID <qEpQl-yM-1@gated-at.bofh.it> (permalink)
References <qDHmi-5ho-7@gated-at.bofh.it> <qDMYG-u3-33@gated-at.bofh.it>
X-Original-To 798066@bugs.debian.org, debian-python@lists.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Fri Dec 11 06:54:10 2015
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.544
Reply-To Afif Elghraoui <afif@ghraoui.name>, 798066@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Autopkgtest team <autopkgtest-devel@lists.alioth.debian.org>
X-Debian-Pr-Message followup 798066
X-Debian-Pr-Package autopkgtest
X-Debian-Pr-Source autopkgtest
X-Spam-Bayes score:0.0000 Tokens: new, 11; hammy, 149; neutral, 71; spammy, 1. spammytokens:0.987-1--25Ø hammytokens:0.000-+--python27, 0.000-+--python2.7, 0.000-+--sk:multiar, 0.000-+--autopkgtest, 0.000-+--UD:anonscm.debian.org
X-Originating-IP 99.120.145.254
X-Enigmail-Draft-Status N1110
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.4.0
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1231670
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 33
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 10 Dec 2015 22:52:05 -0800
X-Original-Message-ID <566A7295.20200@ghraoui.name>
X-Original-References <5667D77B.8050503@ghraoui.name> <20151209132533.GA5757@debian.org>
Xref csiph.com linux.debian.bugs.dist:700159 linux.debian.maint.python:7964

Cross-posted to 2 groups.

Show key headers only | View raw


Hi,

على الأربعاء  9 كانون الأول 2015 ‫05:25، كتب Antonio Terceiro:
> autopkgtest does not do anything special wrt dependencies, it will
> install exactly what you told it to in debian/tests/control
[...]
> 
> I am therefore closing this bug.

The problem is not that something is not installed. The problem is that
the multiarch configuration for python is not right in autopkgtest (or
schroot). During the package build, dh-python renames the compiled
extension to contain the multiarch triplet. For some reason, only in
autopkgtest, python is not properly configured to find the extension
after it has been renamed, so autopkgtest runs requiring the compiled
extensions fail.

So should we continue to have hacks like this to get autopkgtest to find
multiarch-renamed extensions?

cd /usr/lib/python2.7/dist-packages/pysam
gnutype=`dpkg-architecture -qDEB_TARGET_GNU_TYPE`
for so in *.${gnutype}.so ; do sudo ln -sf $so `basename $so
.${gnutype}.so`.so ; done

http://anonscm.debian.org/cgit/debian-med/python-pysam.git/tree/debian/tests/run-nose-tests

regards
Afif

-- 
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name

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


Thread

Multiarch-renamed python extensions not found during autopkgtest  testing Afif Elghraoui <afif@ghraoui.name> - 2015-12-09 08:30 +0100
  Bug#798066: Multiarch-renamed python extensions not found during autopkgtest testing Afif Elghraoui <afif@ghraoui.name> - 2015-12-11 08:00 +0100
    Re: Bug#798066: Multiarch-renamed python extensions not found during  autopkgtest testing Antonio Terceiro <terceiro@debian.org> - 2015-12-11 12:20 +0100
      Re: Bug#798066: Multiarch-renamed python extensions not found during  autopkgtest testing Afif Elghraoui <afif@ghraoui.name> - 2015-12-12 10:30 +0100

csiph-web