public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Zac Medico <zmedico@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org, michael.lienhardt@laposte.net
Subject: Re: [gentoo-portage-dev] Constraint-Based Dependency Solver for Portage: again
Date: Thu, 20 Jun 2019 13:23:47 -0700	[thread overview]
Message-ID: <667b8983-7753-614a-14ab-81afede0ba83@gentoo.org> (raw)
In-Reply-To: <498256208.5658971.1561057342085.JavaMail.zimbra@laposte.net>


[-- Attachment #1.1: Type: text/plain, Size: 1624 bytes --]

On 6/20/19 12:02 PM, michael.lienhardt@laposte.net wrote:
> Dear all,
> 
> A few months ago, I got back to my constraint-based dependency solver for portage, that I had to leave for a while.
> Thanks to Zac Medico, it is now based on portage itself to query the portage tree, and so the code is far simpler (and far less buggy).
> It is on github: https://github.com/gzoumix/pdepa

Great!

> I still have some work to do on the implementation, and with some colleagues, we are planning to publish it in a conference, with the related theory.
> However, to have relevant information to publish, I need your help, if you could answer some questions that will come up during testing.
> For instance, in all my tests, emerge (during its dependency resolution) always replaces atoms with the latest version of the pc that matches it, even with all possible backtracking options being selected
>  (I noticed this behavior because emerge failed installing a package such that the latest corresponding cpv could be installed, while the previous version could be).
> Is it really the default behavior of emerge, and if yes, is there a way to make emerge consider all matching cpv for an atom?

It's capable of considering older versions, but maybe there's some
deficiency in the algorithm. We should analyze a specific example in
order to understand the behavior.

Maybe you're referring to this code which forces the highest version in
the event of a conflict:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=a9064d08ef4c92a5d0d1bfb3dc8a01b7850812b0

> Thank you!
> Michael
> 
-- 
Thanks,
Zac


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 981 bytes --]

  reply	other threads:[~2019-06-20 20:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-09 17:07 [gentoo-portage-dev] Constraint-Based Dependency Solver for Portage: a prototype Michael Lienhardt
2017-12-10 18:27 ` Alexander Berntsen
2017-12-13  1:52   ` Re : " michael.lienhardt
2017-12-16 13:39     ` Alexander Berntsen
2018-01-08  2:06       ` Michael Lienhardt
2018-01-08 11:54         ` Alexander Berntsen
2019-06-20 19:02 ` [gentoo-portage-dev] Constraint-Based Dependency Solver for Portage: again michael.lienhardt
2019-06-20 20:23   ` Zac Medico [this message]
2019-06-21 10:41     ` Re : " michael.lienhardt
2019-08-30 14:34       ` [gentoo-portage-dev] Constraint-Based Dependency Solver: initial results michael.lienhardt
2019-10-08 22:21         ` Michael Orlitzky
2019-10-08 22:55         ` Zac Medico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=667b8983-7753-614a-14ab-81afede0ba83@gentoo.org \
    --to=zmedico@gentoo.org \
    --cc=gentoo-portage-dev@lists.gentoo.org \
    --cc=michael.lienhardt@laposte.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox