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


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

python3-gpib installation layout stopped working

Path csiph.com!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!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 13:20:01 +0200
Message-ID <J5wA1-1eRy-7@gated-at.bofh.it> (permalink)
References <J5tLQ-1dbF-11@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Jul 29 11:19:06 2024
Old-Return-Path <vladimir@lightside-instruments.com>
X-Amavis-Spam-Status No, score=-5.5 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham 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-lf1-x129.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Gm-Message-State AOJu0YwWW7aRNfXkYY+ND6EOrvAdkhb0lLAKaOw17fLK4vxyN44wHoRZ HokU3QhMrwG0KP+PJOYfSYlL151tckFkhjtoVmIXVJCUdgyRnrYsG8kQL91RGzbTgWUOw4mvGdj 98Ns=
X-Google-SMTP-Source AGHT+IE1zJuVAttO/BTaYhz1ezLW6b+tijh/zfTGpGUuWjr+sXaJbbp0GlNunxBvhayCExQj4OubYw==
X-Received by 2002:a05:6512:4cd:b0:52d:b226:9428 with SMTP id 2adb3069b0e04-5309b269c1amr5758975e87.6.1722251929281; Mon, 29 Jul 2024 04:18:49 -0700 (PDT)
MIME-Version 1.0
User-Agent Mozilla Thunderbird
Content-Language en-US
Reply-To Vladimir Vassilev <vladimir@lightside-instruments.com>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Mailing-List <debian-python@lists.debian.org> archive/latest/22154
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/9d3afe89-ad5b-41fb-bae5-e79739b62cb4@lightside-instruments.com
Approved robomod@news.nic.it
Lines 57
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 29 Jul 2024 13:18:48 +0200
X-Original-Message-ID <9d3afe89-ad5b-41fb-bae5-e79739b62cb4@lightside-instruments.com>
X-Original-References <6f1ee721-7d0f-4002-a657-1e8e71b58e68@lightside-instruments.com>
Xref csiph.com linux.debian.maint.python:16116

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 | NextPrevious 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