Mailinglist Archive: opensuse-bugs (9384 mails)

< Previous Next >
[Bug 369893] zypper si does not install build dependencies
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 17 Mar 2008 06:43:18 -0600 (MDT)
  • Message-id: <20080317124319.019F0CC6B6@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=369893

User jkupec@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=369893#c5





--- Comment #5 from Ján Kupec <jkupec@xxxxxxxxxx> 2008-03-17 06:43:18 MST ---
Nice, this works via poolitem.status().setToBeInstalled( zypp::ResStatus::USER
) as far as the solver is concerned.

$ src/zypper si zypper
Reading installed packages...

The following NEW packages are going to be installed:
libzypp-devel libsatsolver-devel


The following NEW srcpackages are going to be installed:
zypper

But there are three more problems:
1) commit does not install src packages (as we did not deal with src packages
through the pool previously)
2) we still need srcpkg->dep(Dep::REQUIRES) to be able to do
'zypper si --no-build-deps foo' (only install the source package, ...well we
have ZYpp::installSrcPackage(srcpkg) for that) or to show the build requires
to the user.
3) And finally, the build deps are generated only in rpm-md metadata, we don't
have them in susetags:

##----------------------------------------
=Pkg: zypper 0.10.3 3 src
=Cks: SHA1 e107c279d204938a43182e1c332a029672dc13c5
=Loc: 1 zypper-0.10.3-3.src.rpm src
=Siz: 313403 305351
=Shr: zypper 0.10.3 3 ppc


So if we are to put the srcpackages into the pool together with the others (i
like this approach btw, but i don't know the reasons why we avoided it in the
past) we need to fix the above.

Note that having the srcpackages in the pool also solves the problem of the
query API vs. the srcpackages!


--
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.
< Previous Next >
References