[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] automation: fix dependencies on openSUSE Tumbleweed containers


  • To: Dario Faggioli <dfaggioli@xxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Tue, 18 May 2021 17:09:22 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sDZUmFxWengpWd/EA510qPChCg/XFq5fxaM7oEaAzFs=; b=eBiymLImk12kBsKQ0eFNS8YgDQkmmZknizfUX0cc3Aw8ejAQfcH/7Fntrt8AYWmv3U5VmTKt/Ugzh4DI0WmRqmAQkGfuFcyJ9WzRCrRn/k5i7Us2sfh647fNLmgGD+hnMAxPKRu9enh8PS+COxxOGRG7yCFi7PVtLi+2bK0xM/Cu+DPVjaGQutk4F/TkJaKddse29As90IyJ1OMBXNZ9Xd40Xfl1ATRRgfc/o8L5Yokocd4Y8N4iVjpxw53NtY2BCfxwMfpdILW20F3OvSmc3TH0J8oWCqAy2u5epW4AWHqBzs74khG4DN91mHWjSOyuP6/w5HQoWXYYJAj+biu2Ww==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dyMnlWtAsrJBzcIt2Rgm3gLEywE0JcdBy91wyZIImhMEJ700X9kjvJ1CEhQ+bk2zt6adNAazkhLAiDIds5oY8f5n/7Jh6o9cXuB9tsAP1l4z7BlIPpaEWiDd60BZaEJbd/yPD3HmgPua8hFDURRq76oy6B6N29NRMIPdaSbS8gJEt0xklTMxEDiPJ83e8ll0/WKVnqECCWQK9uaKXC1MY3RuSPj1qoMPFYWvk2ynZWOhqnpRY54cecqnopNtt+vFJYgAbBN77A54EbTuyCm1HaKFPvTge1wfNJu+lt2qdMqYA4QteheybVqHeU/peI0/NEgqXPSpSlEICxAoznnL8w==
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Delivery-date: Tue, 18 May 2021 15:09:42 +0000
  • Ironport-hdrordr: A9a23:tedTRaCejdir/vrlHelo55DYdb4zR+YMi2TDt3oddfU1SL38qy nKpp4mPHDP5wr5NEtPpTniAtjjfZq/z/5ICOAqVN/PYOCPggCVxepZnOjfKlPbehEX9oRmpN 1dm6oVMqyMMbCt5/yKnDVRELwbsaa6GLjDv5a785/0JzsaE52J6W1Ce2GmO3wzfiZqL7wjGq GR48JWzgDQAkj+PqyAdx84t/GonayzqK7b
  • Ironport-sdr: og+AtmDBftUKsvByv7n66oNp2nb/tbB4CPE6siEgaaz49SD9k40Nr5qieT7uCI31IOyPLhfEzO PCNtNSvMyCid8Q5gkURGriTzNwUG9A4h2cg7k0gP2Ioz9iPUIIn933rdiq7VP6N3WY0UUNyd6g klYLDscPAQc+juhJNP/n6njs4quRUaiQYvcpXKNEKWnvDmX/3bc/ajF+nDT2I6DHX8XEWLwrHY HgfLDKREBy70HGdEudJcAh9t/SeLYjWMlHZF8JqeZej6tT5vol45by+44cHRAG9QtHWHoj1LG8 r5k=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Tue, May 18, 2021 at 04:33:43PM +0200, Dario Faggioli wrote:
> On Tue, 2021-05-18 at 15:20 +0200, Roger Pau Monné wrote:
> > On Tue, May 18, 2021 at 02:04:13PM +0200, Dario Faggioli wrote:
> > > From: Dario Faggioli <dario@xxxxxxxxxxxxxxxx>
> > > 
> Mmm... this email address does not really exist, and it's a mistake
> that it ended up here. :-/
> 
> > > Fix the build inside our openSUSE Tumbleweed container by using
> > > the proper python development packages (and adding zstd headers).
> > > 
> > > Signed-off-by: Dario Faggioli <dfaggioli@xxxxxxxx>
> > > ---
> > > Cc: Doug Goldstein <cardoe@xxxxxxxxxx>
> > > Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>
> > > Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> > > ---
> > >  .../build/suse/opensuse-tumbleweed.dockerfile      |    5 ++---
> > >  1 file changed, 2 insertions(+), 3 deletions(-)
> > > 
> > > diff --git a/automation/build/suse/opensuse-tumbleweed.dockerfile
> > > b/automation/build/suse/opensuse-tumbleweed.dockerfile
> > > index 8ff7b9b5ce..5b99cb8a53 100644
> > > --- a/automation/build/suse/opensuse-tumbleweed.dockerfile
> > > +++ b/automation/build/suse/opensuse-tumbleweed.dockerfile
> > > 
> > > @@ -56,10 +57,8 @@ RUN zypper install -y --no-recommends \
> > >          pandoc \
> > >          patch \
> > >          pkg-config \
> > > -        python \
> > >          python-devel \
> > > -        python3 \
> > > -        python3-devel \
> > > +        python38-devel \
> > 
> > When I tested python3-devel was translated into python38-devel, 
> >
> Oh, really? And when was it that you tested it, if I can ask?

I've tried just now with the current docker file, and this is the
(trimmed) output:

Step 7/7 : RUN zypper install -y --no-recommends         acpica         bc      
   bin86         bison         bzip2         checkpolicy         clang         
cmake         dev86         discount         flex         gcc         gcc-c++   
      gettext-tools         git         glib2-devel         glibc-devel         
glibc-devel-32bit         gzip         hostname         libSDL2-devel         
libaio-devel         libbz2-devel         libext2fs-devel         
libgnutls-devel         libjpeg62-devel         libnl3-devel         
libnuma-devel         libpixman-1-0-devel         libpng16-devel         
libssh2-devel         libtasn1-devel         libuuid-devel         
libyajl-devel         lzo-devel         make         nasm         ncurses-devel 
        ocaml         ocaml-findlib-devel         ocaml-ocamlbuild         
ocaml-ocamldoc         pandoc         patch         pkg-config         python   
      python-devel         python3         python3-devel         systemd-devel  
       tar         transfig         valgrind-devel         wget         which   
      xz-devel         zlib-devel         &&         zypper clean -a
 ---> Running in af6a184e482b
Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [..done]
Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done]
Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [.......done]
Building repository 'openSUSE-Tumbleweed-Oss' cache [....done]
Retrieving repository 'openSUSE-Tumbleweed-Update' metadata [.done]
Building repository 'openSUSE-Tumbleweed-Update' cache [....done]
Loading repository data...
Reading installed packages...
'python3' not found in package names. Trying capabilities.
'python3-devel' not found in package names. Trying capabilities.

There's this message here ...

'pkg-config' not found in package names. Trying capabilities.
Resolving package dependencies...

The following 509 NEW packages are going to be installed:
[...] python38 python38-base python38-devel [...]

... but it seems python3-devel gets translated into python38-devel, or
maybe something else selects python38-devel?

Not familiar with the system, so maybe it's indeed a dependency of
some other package.

> > which
> > I think is better as we don't need to modify the docker file for
> > every
> > new Python version?
> > 
> That would definitely be better. Right now, I don't see any
> python3-devel package. If python3-devel can still be used (and it
> somehow translates to the proper -devel package), then sure we should
> use it. I'm not sure how that would happen, but maybe it's just me
> being unaware of some packaging magic.
> 
> Let me put "python3-devel" there and test locally again, so we know if
> it actually works.

It does seem to be picked up, whether that's because python3-devel
gets translated into python38-devel, or something else pulls it in
I don't certainly know.

Thanks, Roger.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.