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 Newsgroups: linux.debian.maint.python Subject: python3-gpib installation layout stopped working Date: Mon, 29 Jul 2024 13:20:01 +0200 Message-ID: References: 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: 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 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailing-List: archive/latest/22154 List-ID: List-URL: 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 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