[Bug 301863] New: build does not handle multiple arch rpms that have the same name
https://bugzilla.novell.com/show_bug.cgi?id=301863 Summary: build does not handle multiple arch rpms that have the same name Product: openSUSE 10.3 Version: Beta 1 Platform: All OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: mls@novell.com ReportedBy: edwardsg@sgi.com QAContact: qa@suse.de Found By: Third Party Developer/Partner Partner ID: SGI 968916 If you have more than one arch version of an rpm, e.g. foo.x86_64.rpm foo.i386.rpm and you want to pull both into a build, there is no way to do this with build, since it appears to drop all but the first reference it finds here in expanddeps: 75 my %packs; 76 for my $arch (@archs) { 77 $packs{$_} ||= "$_.$arch" for @{$packs_arch{$arch} || []}; 78 } So $packs{"foo"} would be foo.x86_64 and foo.i386 would get dropped on the floor. You won't be able to resolve any dependencies provided by foo.i386, and build will barf with the "nothing provides <capability>" error, even though something does. It seems a better way might be to cache them all by arch, then for cases where both arch versions provide the same capability you need, have the dependency resolver walk down the arch list and pick the first one that provides it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=301863#c1
--- Comment #1 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=301863#c2
Michael Schröder
participants (1)
-
bugzilla_noreply@novell.com