Mailinglist Archive: opensuse-buildservice (75 mails)

< Previous Next >
Re: [opensuse-buildservice] gcc48-c++ rpm is not updated in osc buid-root for Leap 42.3 ppc64le


On 14/03/2018 13:57, Normand wrote:


On 13/03/2018 13:23, Normand wrote:


On 13/03/2018 11:31, Andreas Schwab wrote:
On Mär 13 2018, Normand <normand@xxxxxxxxxxxxxxxxxx> wrote:

On 13/03/2018 10:52, Andreas Schwab wrote:
On Mär 13 2018, Marcus Meissner <meissner@xxxxxxx> wrote:

Hi,

I asked coolo actually to fix it.

These two lines need to be:

      <path project="openSUSE:Leap:42.3:Ports" repository="ports"/>
      <path project="openSUSE:Leap:42.3:Update" repository="standard"/>

flipped:

      <path project="openSUSE:Leap:42.3:Update" repository="standard"/>
      <path project="openSUSE:Leap:42.3:Ports" repository="ports"/>

That needs to be openSUSE:Leap:42.3:Update/ports.

Andreas.


Thank you Andreas for the proposition,
BUT this added line refer to an almost empty repo with
"update-test-trivial rpm"

$ osc ls -b openSUSE:Leap:42.3:Update -r ports -a ppc64le | wc -l
4452

Andreas.


Thank you Andreas,
I was not familiar with the osc ls -b command.

The meta file (2) has been already updated with this repo, and I verified locally that allow to build os-autoinst for ppc64le.

(2) https://build.opensuse.org/project/meta/devel:openQA:Leap:42.3
===
<repository name="openSUSE_Leap_42.3">
     <path project="openSUSE:Leap:42.3:Ports" repository="ports"/>
     <path project="openSUSE:Leap:42.3:Update" repository="ports"/>
     <path project="openSUSE:Leap:42.3:Update" repository="standard"/>
     <arch>x86_64</arch>
     <arch>ppc64le</arch>
</repository>
===


After above change of meta data,
I compared the gcc48-c++ rpm version between an osc build env of os-autoinst, and an installed Leap 42.3. (1)
That confirm the osc build do not use the last version of the package.

In the attached os_autoinst_devel_openqa_leap423_ppc64le_build.log, it seems the gcc48-c++ package is kept similar to its GA version (2), and so is not using the version supposed to be available from the update repo.

How osc build is supposed to take in account the packages from update repos as defined ?
Do we need to recreate the referenced build-root, and how to do that ?

(1) not expected gcc48-c++ version:
=== in osc build log
rpm -qa
...
gcc48-c++-4.8.5-24.4.ppc64le
===
=== in an updated Leap 42.3 guest
rpm -qa
...
gcc48-c++-4.8.5-32.1.ppc64le
===
$zypper search -sd gcc48-c++
Loading repository data...
Reading installed packages...

S | Name      | Type    | Version    | Arch    | Repository
--+-----------+---------+------------+---------+--------------------------
i | gcc48-c++ | package | 4.8.5-32.1 | ppc64le | openSUSE-Leap-42.3-Update
v | gcc48-c++ | package | 4.8.5-29.1 | ppc64le | openSUSE-Leap-42.3-Update
v | gcc48-c++ | package | 4.8.5-26.2 | ppc64le | openSUSE-Leap-42.3-Update
v | gcc48-c++ | package | 4.8.5-24.4 | ppc64le | openSUSE-Leap-42.3-Oss
===

(2)
===
$grep gcc48.c++ os_autoinst_devel_openqa_leap423_ppc64le_build.log
[    3s] [322/361] keeping gcc48-c++-4.8.5-24.4
[    6s] gcc48-c++-4.8.5-24.4.ppc64le
===


I assume I found a correction to be done in the meta file of devel:openQA project, as per the test I did in my home project (2)
I added Update repos and placed them before GA repos.

I based my changes on the wiki about repos in OBS (3)

This change at least solved the build in my home dir (4)

(1) https://build.opensuse.org/project/meta/devel:openQA
===
<repository name="openSUSE_Leap_42.3" block="local">
<path project="devel:openQA:Leap:42.3" repository="openSUSE_Leap_42.3"/>
<arch>x86_64</arch>
<arch>ppc64le</arch>
</repository>
===
(2) https://build.opensuse.org/project/meta/home:michel_mno:branches:devel:openQA
===
<repository name="openSUSE_Leap_42.3">
<path project="devel:openQA:Leap:42.3" repository="openSUSE_Leap_42.3"/>
<path project="openSUSE:Leap:42.3:Update" repository="standard"/>
<path project="openSUSE:Leap:42.3:Update" repository="ports"/>
<path project="openSUSE:Leap:42.3" repository="standard"/>
<path project="openSUSE:Leap:42.3:Ports" repository="ports"/>
<arch>x86_64</arch>
<arch>ppc64le</arch>
</repository>
===
(3) https://en.opensuse.org/openSUSE:Build_Service_Tips_and_Tricks#Adding_multiple_repositories_to_a_project
(4) https://build.opensuse.org/project/show/home:michel_mno:branches:devel:openQA#

--
Michel Normand

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups