Mailinglist Archive: opensuse-bugs (6169 mails)
| < Previous | Next > |
[Bug 614362] kiwi: image fails to build with "glibc@i586" arch="i686"
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 7 Jul 2010 13:08:49 +0000
- Message-id: <20100707130849.15FD924551D@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=614362
http://bugzilla.novell.com/show_bug.cgi?id=614362#c8
Michael Andres <ma@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P4 - Low |P2 - High
Status|ASSIGNED |NEEDINFO
InfoProvider| |jkupec@xxxxxxxxxx
--- Comment #8 from Michael Andres <ma@xxxxxxxxxx> 2010-07-07 15:08:48 CEST ---
@Jano: libzypp-7.8.0 offers PoolQuery for name, edition AND architecture in one
go. Suggested patch for misc.cc, don't know if there are other locations in
zypper too:
@@ -462,14 +462,15 @@ pkg_spec_to_poolquery(const Capability & cap, const
list<string> & repos)
PoolQuery q;
q.addKind(splid.kind());
- q.addAttribute(sat::SolvAttr::name, splid.name().asString());
q.setMatchGlob();
for_(it, repos.begin(), repos.end())
q.addRepo(*it);
- if (cap.detail().hasArch())
- q.addAttribute(sat::SolvAttr::arch, cap.detail().arch().asString());
- if (cap.detail().isVersioned())
- q.setEdition(cap.detail().ed(), cap.detail().op());
+ addDependency( sat::SolvAttr::name,
+ // only package names (no provides)
+ cap.detail().op(), cap.detail().ed(),
+ // defaults to Rel::ANY (NOOP) if no versioned cap
+ Arch( cap.detail().arch() ) );
+ // defaults Arch_empty (NOOP) if no arch in cap
DBG << "query: " << q << endl;
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=614362#c8
Michael Andres <ma@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P4 - Low |P2 - High
Status|ASSIGNED |NEEDINFO
InfoProvider| |jkupec@xxxxxxxxxx
--- Comment #8 from Michael Andres <ma@xxxxxxxxxx> 2010-07-07 15:08:48 CEST ---
@Jano: libzypp-7.8.0 offers PoolQuery for name, edition AND architecture in one
go. Suggested patch for misc.cc, don't know if there are other locations in
zypper too:
@@ -462,14 +462,15 @@ pkg_spec_to_poolquery(const Capability & cap, const
list<string> & repos)
PoolQuery q;
q.addKind(splid.kind());
- q.addAttribute(sat::SolvAttr::name, splid.name().asString());
q.setMatchGlob();
for_(it, repos.begin(), repos.end())
q.addRepo(*it);
- if (cap.detail().hasArch())
- q.addAttribute(sat::SolvAttr::arch, cap.detail().arch().asString());
- if (cap.detail().isVersioned())
- q.setEdition(cap.detail().ed(), cap.detail().op());
+ addDependency( sat::SolvAttr::name,
+ // only package names (no provides)
+ cap.detail().op(), cap.detail().ed(),
+ // defaults to Rel::ANY (NOOP) if no versioned cap
+ Arch( cap.detail().arch() ) );
+ // defaults Arch_empty (NOOP) if no arch in cap
DBG << "query: " << q << endl;
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |