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


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

help with FTBFS bug due to python3.8/3.9 confusion

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Stephen Sinclair <radarsat1@gmail.com>
Newsgroups linux.debian.maint.python
Subject help with FTBFS bug due to python3.8/3.9 confusion
Date Mon, 26 Oct 2020 09:00:02 +0100
Message-ID <B45A6-3xJ-3@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Oct 26 07:55:05 2020
Old-Return-Path <radarsat1@gmail.com>
X-Amavis-Spam-Status No, score=-6.949 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=s3GZr+6p30a0xgWpV9+XrgEIA7HupWG4G37tQbTzlvI=; b=QBSXZK2Qm9DeBaP/QmP8fmS5aMEAOG+g1ciHCl3xbCH3tib1RgrdygHGOCgw2Mrzh0 louBu39Y8uERRanTH66Anc+0WYraWNGZN96vHQSGWNhK5bxjghT8owFeCZ8cdmnROe+F rzRdzWtu+nnl1tupwH1oyGEJfJB13ycYIqH1PwOQ92E9JL8+ss20UUjIVMqanPcfwRTC w+HXh3rNNLSv0MuIexQrbsjamGSEYL6jTHOcrTGx+N3DH59DsmR1oHum6g3B63nIogG6 X9HznK0nEHbjOTB5vQBcwsUnOtEdyx9eYQsg1boQKip6AOg9yabPbYmUdDCATp500rvK 4brA==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=s3GZr+6p30a0xgWpV9+XrgEIA7HupWG4G37tQbTzlvI=; b=aXc8NjGlnnLev523TenrybGDW4AtcgX9j6dWI+Dit6nsPipA7DH3qu/WuPJYgGm4gn RcANHxsZMoPLRCB35PoLScJ3cpCfxuWUYLrJ+UZtdau/cNgfIDsaItAXpFR+MWEH3FLw S93FrywVoR6u9M9+hbLyjLERbQXIwpCWgyGOS4VMJBoV9n5xytUjvGjh+03VwQARGf4n q5hu53YmJsjznP3/TIrYlIS82yRTUl62IR1A7yAv/k0yieSaKOS1MqZHoWAyTb1+q+5z sRCOPl7vO53Ds3LZ2dTtjjocr67qz7czpkwUn75oxi8NCjYpwklTGnGMFMlVaJb1NG3R pqfQ==
X-Gm-Message-State AOAM530WUgRTZWq18/bcVqvpnuRKIKikYtV3nrzzccP0MWYQcD8QNJM6 rUef3mWLgf2oJjdAugRWg1yTGLRqVZjCsYjilj4FoWElxVo=
X-Google-SMTP-Source ABdhPJzIGBDWfKjsib2rxD5uH7mswGG6H1gEYILqQ9AaqogRcPQeFtoXsAm4ZXOkOwbtofUaWr/WoKnJ65jmak9YP80=
X-Received by 2002:a05:6638:974:: with SMTP id o20mr10991338jaj.37.1603698888911; Mon, 26 Oct 2020 00:54:48 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18729
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CADopUHZsBUXJLTLdau2DW0Xh+LokKN+mRfnp+2djMWrv0CPe7w@mail.gmail.com
Approved robomod@news.nic.it
Lines 36
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 26 Oct 2020 08:54:37 +0100
X-Original-Message-ID <CADopUHZsBUXJLTLdau2DW0Xh+LokKN+mRfnp+2djMWrv0CPe7w@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:12966

Show key headers only | View raw


Hello Debian Python members,

I am looking into a bug in a Debian Science package that I maintain
and need some information.  It is a C++ library with a complicated
CMake setup that also produces a Python binding via swig.

Recently a FTBFS bug was filed against the package because apparently
it does not select the right Python after the introduction of Python
3.9.

The bug report can be found here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972394

The recommendations are to change the build-dep on "python-dev" to
"python-all-dev", and I can confirm that this does allow the package
to build.  (Is this the right thing to do?)

However, autopkgtest tests still fail.  The commenter in that bug
report claims, "the lack of 3.8 modules in the package also explains
your problem."  However, I do not understand that claim -- wouldn't it
be counter-productive to specify which minor version of Python the
package depends on?  I would need to update this manually when the
default switches to Python 3.9.

Although the CMake build is quite complicated and therefore I can
expect such problems, but I am nonetheless confused why it would
select the wrong Python version, as I do specify the Python executable
via the command,

> -DPYTHON_EXECUTABLE=$(shell which python3)"

Is there a better way to find the path to the default python interpreter?

kind regards,
Steve

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


Thread

help with FTBFS bug due to python3.8/3.9 confusion Stephen Sinclair <radarsat1@gmail.com> - 2020-10-26 09:00 +0100
  Re: help with FTBFS bug due to python3.8/3.9 confusion Andrey Rahmatullin <wrar@debian.org> - 2020-10-26 11:00 +0100

csiph-web