Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Sandro Tosi Newsgroups: linux.debian.bugs.dist,linux.debian.maint.python Subject: Bug#910284: dh_python3 --no-ext-rename does not work (Was: Bug#910284: r-cran-fastcluster does not build Python modules for all supported Python versions) Date: Thu, 04 Oct 2018 15:20:02 +0200 Message-ID: References: X-Original-To: andreas@fam-tille.de X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Oct 4 13:12:14 2018 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -2.3 Reply-To: Sandro Tosi , 910284@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian Med Packaging Team X-Debian-Pr-Message: followup 910284 X-Debian-Pr-Package: src:r-cran-fastcluster X-Debian-Pr-Keywords: help X-Debian-Pr-Source: r-cran-fastcluster X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 150; neutral, 75; spammy, 0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--sk:salsad, 0.000-+--sk:salsa.d, 0.000-+--UD:salsa.debian.org, 0.000-+--salsadebianorg X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2IeEx55zoUfvfPaCBMstYWqN+G8CctRWtZwd8qNdO7o=; b=IVMfScbtqXfkIv8TzRogoSlG1ahl03F30rQlVDYYHL3q7SoRh1IhKcrLc4fiv3xdK8 eO6ACIC7/cCCtmRcIDQUczNxmU+qmAGrJLLXGnXaF4Drl6ehbT51XR86gXj/ESSmtcVD QeuiPTUzNn9wKv8yDck4pgMI16sGNDa7Pcq2O8YxjzuSDTAvqydEzOo40TSf9tIAsE2y NO1FMHQYnKDTy76lZ7jwgsX8gnuwKxXWfDz9BGobu8TxrdpjsaONoAZwkAmLq4ZGjsLg 99pXodhr9iN4uhAZtQ0BnZuI6bb7hKNk9EaKVL2+L2WVx8D8Lt4D414ysrasgXoJd6hG tVzw== X-Gm-Message-State: ABuFfoiR9O3SiBAl9LQCJT5fe446Plb/MnA0UdCsIzTDNf1NB/vaaIv7 1+QAf+V0OhOqjnQKG0V1yRgse1hk6EUIpHK7XTM= X-Google-SMTP-Source: ACcGV61BggdJwHUIp1E29xwvgk88Ll9g3t6CRI3Jw7vov9wCqq6kW6qxH0pdO4IwtH1dBpd73aaNcpTD94xXtTlwJJs= X-Received: by 2002:a2e:d11:: with SMTP id 17-v6mr4511219ljn.18.1538658551570; Thu, 04 Oct 2018 06:09:11 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Debian-Message: from BTS X-Mailing-List: archive/latest/1489497 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 46 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 910284@bugs.debian.org, debian-python X-Original-Date: Thu, 4 Oct 2018 09:08:44 -0400 X-Original-Message-ID: X-Original-References: <153865325891.7910.6194958471921876183.reportbug@moose> <20181004122640.c6deuscq2mnnmfnp@an3as.eu> <153865325891.7910.6194958471921876183.reportbug@moose> <20181004122640.c6deuscq2mnnmfnp@an3as.eu> Xref: csiph.com linux.debian.bugs.dist:920959 linux.debian.maint.python:10959 are you building the package for python3.7 too? you are showing an ls of an extension built for 3.6 while Gard is using 3.7 On Thu, Oct 4, 2018 at 8:45 AM Andreas Tille wrote: > > Control: tags -1 help > > Hi, > > I tried to fix the issue reported below by using > dh_python3 --no-ext-rename > (see [1]) but this has no effect and the resulting package just > contains > > /usr/lib/python3/dist-packages/_fastcluster.cpython-36m-x86_64-linux-gnu.so > > Am I missing something? > > Kind regards > > Andreas. > > > [1] https://salsa.debian.org/r-pkg-team/r-cran-fastcluster/commit/0f244f584d8e166507cd5e27b6d2cd45047239df > > On Thu, Oct 04, 2018 at 01:40:58PM +0200, Gard Spreemann wrote: > > $ python3.7 > > Python 3.7.0 (default, Jun 27 2018, 14:40:03) > > [GCC 8.1.0] on linux > > Type "help", "copyright", "credits" or "license" for more information. > > >>> import fastcluster > > Traceback (most recent call last): > > File "", line 1, in > > File "/usr/lib/python3/dist-packages/fastcluster.py", line 37, in > > from _fastcluster import linkage_wrap, linkage_vector_wrap > > ModuleNotFoundError: No module named '_fastcluster' > > -- > http://fam-tille.de > -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi G+: https://plus.google.com/u/0/+SandroTosi