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


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

python3-gpib installation layout stopped working

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Vladimir Vassilev <vladimir@lightside-instruments.com>
Newsgroups linux.debian.maint.python
Subject python3-gpib installation layout stopped working
Date Mon, 29 Jul 2024 10:20:02 +0200
Message-ID <J5tLQ-1dbF-11@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Jul 29 08:12:10 2024
Old-Return-Path <vladimir@lightside-instruments.com>
X-Amavis-Spam-Status No, score=-0.5 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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: .lightside-instruments. - helo: .mail-lj1-x230.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Gm-Message-State AOJu0YyTHsZLSS5NcrS+/fdwIO8dwlZBnXSXHmNwEad2URLDRaMuFuIr UVL6kgT5Ya2MU5ChB+MxKvlXZqNnwsR4cHF0GP/DzT0eXnlmvb7x6NFGIkshkcpUQipkBVZJ8sm emMs=
X-Google-SMTP-Source AGHT+IFJ7KVSxtR+04+t4vF6lQkqFHZ3LYQ9GiYKn2yxdB0Fd32iLfpsA0KzWd5273wRqrwDmocyZA==
X-Received by 2002:ac2:4882:0:b0:52e:7542:f471 with SMTP id 2adb3069b0e04-5309b27afedmr4346709e87.29.1722239652713; Mon, 29 Jul 2024 00:54:12 -0700 (PDT)
MIME-Version 1.0
User-Agent Mozilla Thunderbird
Content-Language en-US
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Mailing-List <debian-python@lists.debian.org> archive/latest/22151
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/6f1ee721-7d0f-4002-a657-1e8e71b58e68@lightside-instruments.com
Approved robomod@news.nic.it
Lines 56
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 29 Jul 2024 09:54:11 +0200
X-Original-Message-ID <6f1ee721-7d0f-4002-a657-1e8e71b58e68@lightside-instruments.com>
Xref csiph.com linux.debian.maint.python:16113

Show key headers only | View raw


Hi,

I have been maintaining a package used by users of our gpib adapters and 
seems the python bindings for the libgpib0 C library stopped working at 
some point during the bookworm updates.

Here is how the rules file currently looks: 
https://github.com/lightside-instruments/gpib-debian/blob/debian/4.3.6-lsi4/debian/rules


The relevant section is:

...

install:

...

python$$pyvers setup.py install --prefix=/usr 
--root=$(CURDIR)/debian/tmp --install-layout=deb

...


This ends up not working correctly. I also tried creating a pybuild 
based package of only the python bindings to the library which worked. 
Here is how the layout differs.


Not working:

dpkg -c python3-gpib_4.3.6-lsi4_armhf.deb

...

-rw-r--r-- root/root      2156 2024-07-23 10:50 
./usr/lib/python3/dist-packages/gpib-1.0-py3.11-linux-armv6l.egg/Gpib.py


Working(pybuild):

dpkg -c gpib/linux-gpib-user/language/python3-gpib_1.0-0_armhf.deb

...

-rw-r--r-- root/root      2156 2022-11-30 16:20 
./usr/lib/python3/dist-packages/Gpib.py



I wonder if the original command line in debian/rules can be changed so 
that it still works or is the only way to go forward is a separate 
package building only the python package with pybuild?


/Vladimir

Back to linux.debian.maint.python | Previous | NextNext in thread | Find similar


Thread

python3-gpib installation layout stopped working Vladimir Vassilev <vladimir@lightside-instruments.com> - 2024-07-29 10:20 +0200
  python3-gpib installation layout stopped working Vladimir Vassilev <vladimir@lightside-instruments.com> - 2024-07-29 13:20 +0200

csiph-web