Build installing wrong arch version of dependency

I’ve got i486 and x86_64 bit versions of packages that “satisfy” dependencies for an x86_64 package I’m trying to build. I can’t seem to figure out how to get OBS to prefer/use the x86_64 bit versions of the “Requires:”

I’ve tried listing the isa:
Requires: requiredpackage(x86-64)

and the arch
Required: requiredpackage.x86_64

In both cases the package I’m trying to build says it can’t satisfy the requirement anymore.

Is it possible to indicate what arch I want for a required package?

On Thu 01 Sep 2016 07:26:01 AM CDT, JohnWestlund wrote:

I’ve got i486 and x86_64 bit versions of packages that “satisfy”
dependencies for an x86_64 package I’m trying to build. I can’t seem to
figure out how to get OBS to prefer/use the x86_64 bit versions of the
“Requires:”

I’ve tried listing the isa:
Requires: requiredpackage(x86-64)

and the arch
Required: requiredpackage.x86_64

In both cases the package I’m trying to build says it can’t satisfy the
requirement anymore.

Is it possible to indicate what arch I want for a required package?

Hi
Normally rpm should sort that out, does it detect at the end of the
build log?

Project link?


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.27-27-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

It’s on an internal OBS instance – no external link :frowning:

It appears to be because OBS finds i486 before x86_64 – seems like there should be a way to set repo search order. RPM would be capable of sorting this out – but it doesn’t look like OBS is depsolving using RPM since it doesn’t pick up on ISA or Arch requirements in Requires lines.

John