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


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

Re: python3-mastodon fails CI due to bad magic?

Path csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod
From Emmanuel Arias <eamanu@yaerobi.com>
Newsgroups linux.debian.maint.python
Subject Re: python3-mastodon fails CI due to bad magic?
Date Thu, 28 Jan 2021 17:10:02 +0100
Message-ID <BCi1Q-3FA-17@gated-at.bofh.it> (permalink)
References <BCd2a-uy-11@gated-at.bofh.it> <BCi1Q-3FA-19@gated-at.bofh.it>
X-Original-To Håvard Flaget Aasen <haavard_aasen@yahoo.no>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Jan 28 16:08:33 2021
Old-Return-Path <eamanu@yaerobi.com>
X-Amavis-Spam-Status No, score=-5 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .yaerobi. - helo: .mail-wr1-x433.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=yaerobi-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q2Vv/yyT6WD5PsCJ677Pq6g+kKhd3RaJepeScqQ4NMo=; b=f6ecy3xqKqyY1IL8HxzHW5H/lG/cQPbjc2T/gOVooqd/sr6hOKbI91j1cGcD2ch7BU eQPK+8kc0nTM1pK4AVpdHaWIjVhFFNcI+WVMo3UX/ltG9PY3+lHxK0lfD0pS0IzTgrcD tJAmM8vrrIKZ7WZQX30jRB1FAjwpdTwUFHzgewHUCKfPHfpN+vW3Da7wiVkRO7YNSXJN MLhaEmwLnjlDgY6ioHVM3zxWyHeQAK0zx1jT/2rAIRZSZn09edFhMJBHViZyQsEWdknQ sbugbQFl4v/i0P0JUhwbFkHjTSNhna5rD5FbuhUdZpQNMTjnHdJaFjDgSzdZPHGXr+DZ xWpA==
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=Q2Vv/yyT6WD5PsCJ677Pq6g+kKhd3RaJepeScqQ4NMo=; b=M8XP1NHwjh8nBbapjbTHGMGAvxLFq4J1knyPSS0sXmSGzE3WXmFCCqNumTtrczXHRj xZiwIHDtoUUiU4plIk3QGEUMLKNTI07sEoeK55motTVMfDc6nB2qg+57C0VGIQJMwr56 57MwkrDTxLMacBpjcfstPhaCAxXPNL+C/xNr2hhoSUlmFYvPjs84SjEEfGCsP9OUY+m7 NxPLEl8uUfYiv7EvAeCKvUxxXNz7Cxw7iskqWgfjtfWI5hfBz58FQhh2P9ScDSAEIZ1z jXgFuH1xa1XIXNBbH5pJ/dkanS0hOHcfweviX6efx8gdsh0MkihIoncbJGrbpQU+ESJB rmAQ==
X-Gm-Message-State AOAM533+zo8GgIUeaOvqyCqTGMvZKfWoA1FlC4vLaVD8MmiaweirIOV8 pSjMQaSZeJKbJQBayXGWg7vyO3fzWJ6RmibjpGJI6Q==
X-Google-SMTP-Source ABdhPJwlRA+AOSiVDPQjMdjppP0aNzngF/GM5h+CiX8EUsis3wE/WAxYyu4ncawcXzFqH/cDOQNs3+oIZKQaojYe+Ko=
X-Received by 2002:adf:f307:: with SMTP id i7mr16866033wro.367.1611850095460; Thu, 28 Jan 2021 08:08:15 -0800 (PST)
MIME-Version 1.0
Content-Type multipart/alternative; boundary="0000000000005f13a605b9f81892"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18930
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAFNO5ocapWKg7bF81Q1eE9ZkptgAzMCEe=T8ruYdipVhFzB8Aw@mail.gmail.com
Approved robomod@news.nic.it
Lines 131
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python <debian-python@lists.debian.org>
X-Original-Date Thu, 28 Jan 2021 13:08:04 -0300
X-Original-Message-ID <CAFNO5ocapWKg7bF81Q1eE9ZkptgAzMCEe=T8ruYdipVhFzB8Aw@mail.gmail.com>
X-Original-References <CALy8Cw5W8pq=Nw3AOZ9zKH+w+rYH7s20kzdkaku2-w1ftP3TJg@mail.gmail.com> <CAO9NP95uv=M7w13Bv+gp0FFEHRQaWPp6GDq=Z_a4yN3h05ofCw@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:13152

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Seems that reprotest on salsa, is not installing the python3-magic.

I don't think that can be a problem with cpython.

On Thu, Jan 28, 2021 at 8:39 AM Håvard Flaget Aasen <haavard_aasen@yahoo.no>
wrote:

> tor. 28. jan. 2021 kl. 10:48 skrev Craig Small <csmall@debian.org>:
> >
> > Hi,
> > I'm trying to understand why python3-mastodon fails the unit tests.
>
> I'm not sure what you found out so far. When I grepped the log you
> linked, I  couldn't find python3-magic or libmagic. I believe the
> packages isn't installed and the test therefore fails.
> I'm guessing now, but I think this has to do with reproducible build in
> salsa.
>
> >
> > An example is at [1] and it seems that importing magic is enough to
> trigger it. The compat line is to handle both python3-magic and a libmagic
> module both wanting magic.
> >
> > Is this a cpython thing? I'm not sure what I can do to fix this.
> >
> >   File
> "/tmp/reprotest.7a4W2G/build-experiment-1/build-experiment-1/.pybuild/cpython3_3.9_mastodon/build/mastodon/Mastodon.py",
> line 55, in <module>
> >     import magic
> >   File "/usr/lib/python3/dist-packages/magic/__init__.py", line 361, in
> <module>
> >     add_compat(globals())
> >   File "/usr/lib/python3/dist-packages/magic/__init__.py", line 325, in
> add_compat
> >     from magic import compat
> >   File "/usr/lib/python3/dist-packages/magic/compat.py", line 61, in
> <module>
> >     _open = _libraries['magic'].magic_open
> >   File "/usr/lib/python3.9/ctypes/__init__.py", line 387, in __getattr__
> >     func = self.__getitem__(name)
> >   File "/usr/lib/python3.9/ctypes/__init__.py", line 392, in __getitem__
> >     func = self._FuncPtr((name_or_ordinal, self))
> > AttributeError: python3.9: undefined symbol: magic_open
> >
> >
> >
> >
> >
> > 1: https://salsa.debian.org/python-team/packages/mastodon/-/jobs/131219
0
> >
>
>

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


Thread

python3-mastodon fails CI due to bad magic? Craig Small <csmall@debian.org> - 2021-01-28 11:50 +0100
  Re: python3-mastodon fails CI due to bad magic? Emmanuel Arias <eamanu@yaerobi.com> - 2021-01-28 17:10 +0100
    Re: python3-mastodon fails CI due to bad magic? Craig Small <csmall@debian.org> - 2021-01-28 21:40 +0100

csiph-web