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


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

Re: Problem with reprotest-kernel, my build attempt fails

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!bofh.it!news.nic.it!robomod
From Geert Stappers <stappers@stappers.nl>
Newsgroups linux.debian.maint.python
Subject Re: Problem with reprotest-kernel, my build attempt fails
Date Mon, 18 May 2020 18:30:01 +0200
Message-ID <A7QOl-4Iv-7@gated-at.bofh.it> (permalink)
References <A6mpj-4YA-1@gated-at.bofh.it> <A6r5D-88s-3@gated-at.bofh.it> <A6r5D-88s-1@gated-at.bofh.it> <A6ryF-5P-3@gated-at.bofh.it> <A7toJ-7eP-1@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon May 18 16:25:42 2020
Old-Return-Path <stappers@stappers.nl>
X-Amavis-Spam-Status No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent NeoMutt/20170113 (1.7.2)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18311
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20200518162527.zxc4wghwbxovh6a6@gpm.stappers.nl
Approved robomod@news.nic.it
Lines 65
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 18 May 2020 18:25:27 +0200
X-Original-Message-ID <20200518162527.zxc4wghwbxovh6a6@gpm.stappers.nl>
X-Original-References <b6ccec68-cb56-3813-4a5d-4646de9bbc4d@fortysixandtwo.eu> <9c231f3b-7179-5ea2-0471-b4ae17696ced@fortysixandtwo.eu> <20200514184730.52epzo42pfvaqhf5@gpm.stappers.nl> <c611a38b-b98f-e56a-04c8-f96f7e9128b4@fortysixandtwo.eu> <17a3c3a9-e0bc-3e2e-2098-2ec53f849415@fortysixandtwo.eu>
Xref csiph.com linux.debian.maint.python:12608

Show key headers only | View raw


On Sun, May 17, 2020 at 05:22:49PM +0200, Evangelos Ribeiro Tzaras wrote:
> On 5/14/20 9:11 PM, Evangelos Ribeiro Tzaras wrote:
> > On 5/14/20 8:47 PM, Geert Stappers wrote:
> >> On Thu, May 14, 2020 at 07:27:26PM +0200, Evangelos Ribeiro Tzaras wrote:
> >>> Hello,
> >>>
> >>> I have a problem with reprotest on a python package I am building
> >>> and was recently made aware of this mailinglist.
> >>>
> >>> Can anyone tell me what's going on, how I can further debug my issue or
> >>> ideally how I should fix the issue of a failing reprotest-kernel build?
> >>>
> >>> Thanks in advance
> >>>
> >>>
> >>> -------- Forwarded Message --------
> >>> Subject: Problem with reprotest-kernel
> >>> Date: Thu, 14 May 2020 15:44:21 +0200
> >>> From: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
> >>> To: debian-python@lists.debian.org
> >>>
> >>> Hello,
> >>>
> >>> I need some help with a failing reprotest-kernel (other reprotest works)
> >>> build (both on CI and locally). My package python3-pyzbar provides
> >>> bindings for libzbar0.
> >>> The failure occurs while running the build-time tests for
> >>> build-experiment-1.
> >>>
> >>> Effectively the ImportError is raised here:
> >>> ctypes.util.find_library('zbar') returns None in build-experiment-1
> >>> (testbed still works).
> >>
> >> My first impression would be a missing build dependency.
> >>
> > 
> > Maybe I am missing something obvious, but why would the build (and the
> > failing test) succeed in the testbed if a dependency were missing?
> > 
> 
> After some further investigation, I have figured out a solution.
> Changing the build dependency to the -dev package (from libzbar0 to
> libzbar-dev) has fixed the failing reprotest-kernel job. I tried this
> out after reading that ctypes.util.find_library is usually used to
> lookup build-time dependencies rather than run-time dependencies.
> 
> Local builds and other reprotest variations work fine without the -dev
> package. Can someone share some insight into why reprotest-kernel needs
> the -dev package?
> 
> Thanks in advance
> 

> Can someone share some insight into why reprotest-kernel needs the -dev package?
} Can someone share some insight into why building reprotest-kernel needs the -dev package?

 -dev is a naming convention

Those packages contain the development files.  (stuff that the compiler needs)


Regards
Geert Stappers
-- 
Silence is hard to parse

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


Thread

Problem with reprotest-kernel Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu> - 2020-05-14 15:50 +0200
  Re: Fwd: Problem with reprotest-kernel Geert Stappers <stappers@stappers.nl> - 2020-05-14 20:50 +0200
    Re: Fwd: Problem with reprotest-kernel Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu> - 2020-05-14 21:20 +0200
      Re: Fwd: Problem with reprotest-kernel Geert Stappers <stappers@stappers.nl> - 2020-05-14 21:30 +0200
      Re: Fwd: Problem with reprotest-kernel Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu> - 2020-05-17 17:30 +0200
        Re: Problem with reprotest-kernel, my build attempt fails Geert Stappers <stappers@stappers.nl> - 2020-05-18 18:30 +0200

csiph-web