Bug#820492: pbuilder: satisfydepends-classic can't install versioned build dependency from experimental

2016-07-23 Thread Dmitry Smirnov
On Saturday, 23 July 2016 4:53:02 PM AEST Mattia Rizzolo wrote:
> alright, let me close this.
> 
> This really nothing I can actually act upone, and we already have enough
> bugs open.
> 
> Please do report any bug you may encounter in the future, possibly with
> something I can use to constantly reproduce it.

I don't understand why would you (just) close this bug. Merely because 
reproducer is no longer valid and you "have enough bugs open"?? But the 
problem is still there... It shouldn't be too hard to find (or made) package 
with versioned dependency satisfy-able from "experimental" only... 

At least you should be able to test if resolver fails on unsatisfiable 
versioned dependencies instead of silently installing older versions than 
required.

It is understandable if you can't address the issue yet or choose to 
prioritise other bugs. But closing legitimate bugs instead of fixing them 
never helps anything...

-- 
Cheers,
 Dmitry Smirnov.

---

Democracy is a pathetic belief in the collective wisdom of individual
ignorance.
-- H. L. Mencken


signature.asc
Description: This is a digitally signed message part.


Bug#820492: pbuilder: satisfydepends-classic can't install versioned build dependency from experimental

2016-07-23 Thread Mattia Rizzolo
control: close -1

On Sat, May 28, 2016 at 07:55:15PM +1000, Dmitry Smirnov wrote:
> On Friday, 27 May 2016 8:51:51 PM AEST Mattia Rizzolo wrote:
> > Are you able to provide me with something I could test?
> 
> Not at the moment, sorry...
> 
> 
> > Also, I see that whatever issue was (as I wasn't able to figure it out)
> > in #820493 is now closed.
> 
> Oh, my bug-closing email to 820493-done did not appear in history somehow...
> 
> #820493 was due to "php7.0-common" provides "php-gettext" without Breaks/
> Replaces. I reported the problem as #823815...

alright, let me close this.

This really nothing I can actually act upone, and we already have enough
bugs open.

Please do report any bug you may encounter in the future, possibly with
something I can use to constantly reproduce it.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#820492: pbuilder: satisfydepends-classic can't install versioned build dependency from experimental

2016-05-28 Thread Dmitry Smirnov
On Friday, 27 May 2016 8:51:51 PM AEST Mattia Rizzolo wrote:
> Are you able to provide me with something I could test?

Not at the moment, sorry...


> Also, I see that whatever issue was (as I wasn't able to figure it out)
> in #820493 is now closed.

Oh, my bug-closing email to 820493-done did not appear in history somehow...

#820493 was due to "php7.0-common" provides "php-gettext" without Breaks/
Replaces. I reported the problem as #823815...

Thanks.

-- 
Regards,
 Dmitry Smirnov.

---

It is impossible to imagine Goethe or Beethoven being good at billiards
or golf.
-- H. L. Mencken


signature.asc
Description: This is a digitally signed message part.


Bug#820492: pbuilder: satisfydepends-classic can't install versioned build dependency from experimental

2016-05-27 Thread Mattia Rizzolo
control: tag -1 moreinfo unreproducible

On Sat, Apr 09, 2016 at 12:40:50PM +1000, Dmitry Smirnov wrote:
>   
> PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-classic"
> 
> in "~/.pbuilderrc" I'm trying to build "php7cc" package that Build-Depends on
> 
>   php-pimple (>= 3.0.2~)
> 
> At the moment "unstable" have php-pimple_1.1.1-1 while "experimental"
> have php-pimple_3.0.2-1.
> 
> Pbuilder however installs php-pimple_1.1.1-1 from "unstable" when both
> "unstable" and "experimental" suites are enabled in "/etc/apt/sources.list".

umh, unluckily now the situation wrt php is changed a lot, and I fear I
missed the chance to actually test this.

I tried now and it just works as expected with all the 3 resolvers.

Are you able to provide me with something I could test?
Also, I see that whatever issue was (as I wasn't able to figure it out)
in #820493 is now closed.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#820492: pbuilder: satisfydepends-classic can't install versioned build dependency from experimental

2016-04-11 Thread Thorsten Glaser
Dmitry Smirnov dixit:

>I'm with you if you are describing what resolvers _should_ do. Unfortunately 
>that's not what -classic resolver does.

Oh okay, then I misunderstood the bugreport, sorry.

bye,
//mirabilos
-- 
Stéphane, I actually don’t block Googlemail, they’re just too utterly
stupid to successfully deliver to me (or anyone else using Greylisting
and not whitelisting their ranges). Same for a few other providers such
as Hotmail. Some spammers (Yahoo) I do block.



Bug#820492: pbuilder: satisfydepends-classic can't install versioned build dependency from experimental

2016-04-11 Thread Dmitry Smirnov
On Sunday, 10 April 2016 11:17:52 PM AEST Thorsten Glaser wrote:
> Dmitry Smirnov dixit:
> >resolver not respecting proper versioning in Build-Depends. Only version
> >from experimental should satisfy versioned dependency yet resolver
> >ignores that.
> No, that’s wrong, only the version must be taken into account.

What's wrong? I'm talking exactly about versioning.


> Take this:
> 
> foo 1.2 in sid, 1.4 in experimental
> 
> B-D: foo ⇒ sid
> B-D: foo (>= 1.1~) ⇒ sid
> B-D: foo (>= 1.3~) ⇒ experimental

I don't understand what are you arguing with. I'm trying to say exactly the 
same thing...


> This is true for any and all resolvers.

I'm with you if you are describing what resolvers _should_ do. Unfortunately 
that's not what -classic resolver does.

-- 
All the best,
 Dmitry Smirnov.

---

Truth — Something somehow discreditable to someone.
-- H. L. Mencken, 1949


signature.asc
Description: This is a digitally signed message part.


Bug#820492: pbuilder: satisfydepends-classic can't install versioned build dependency from experimental

2016-04-10 Thread Thorsten Glaser
Dmitry Smirnov dixit:

>resolver not respecting proper versioning in Build-Depends. Only version from 
>experimental should satisfy versioned dependency yet resolver ignores that.

No, that’s wrong, only the version must be taken into account.


Take this:

foo 1.2 in sid, 1.4 in experimental

B-D: foo ⇒ sid
B-D: foo (>= 1.1~) ⇒ sid
B-D: foo (>= 1.3~) ⇒ experimental

This is true for any and all resolvers.

bye,
//mirabilos
-- 
Stéphane, I actually don’t block Googlemail, they’re just too utterly
stupid to successfully deliver to me (or anyone else using Greylisting
and not whitelisting their ranges). Same for a few other providers such
as Hotmail. Some spammers (Yahoo) I do block.



Bug#820492: pbuilder: satisfydepends-classic can't install versioned build dependency from experimental

2016-04-10 Thread Dmitry Smirnov
On Sunday, 10 April 2016 1:17:25 PM AEST Thorsten Glaser wrote:
> That’s a bug in your package, you must version the Build-Depends
> properly so that only the version in experimental fulfils it.

Sorry, you've misunderstood this part. This bug report is exactly about 
resolver not respecting proper versioning in Build-Depends. Only version from 
experimental should satisfy versioned dependency yet resolver ignores that.

-- 
Best wishes,
 Dmitry Smirnov.


signature.asc
Description: This is a digitally signed message part.


Bug#820492: pbuilder: satisfydepends-classic can't install versioned build dependency from experimental

2016-04-10 Thread Thorsten Glaser
Dmitry Smirnov dixit:

>when required version of dependency is not available: when only "unstable" 
>suite is enabled -experimental resolver quietly install older version of 
>dependency which causes FTBFS later on.

That’s a bug in your package, you must version the Build-Depends
properly so that only the version in experimental fulfils it.

This is the same with official buildds: they are allowed to use
any older version of the package to fulfil the B-D if the newer
is not in the archive yet.

It also helps backports.

>-aptitude resolver is superior

Oh well but it uses aptitude.

I remember someone contributed an apt-based resolver which does
like sbuild some time ago. What became of that?

Also, apt can now install packages directly, so it could probably
be simplified… except I wish for it to work down to sarge, so I’d
prefer the full version with a sources.list entry.

bye,
//mirabilos
-- 
 Beware of ritual lest you forget the meaning behind it.
 yeah but it means if you really care about something, don't
ritualise it, or you will lose it. don't fetishise it, don't
obsess. or you'll forget why you love it in the first place.



Bug#820492: pbuilder: satisfydepends-classic can't install versioned build dependency from experimental

2016-04-10 Thread Dmitry Smirnov
On Saturday, 9 April 2016 1:41:18 PM AEST Mattia Rizzolo wrote:
> -classic is really old (< 2002) and is very much not clever.
> 
> For experimental you should use the -experimental (which was designed
> exactly to satisfy experimental deps) or -aptitude resolver (I suggest
> the aptitude one).

Thanks. I tried -experimental resolver and it successfully installed required 
dependency from "experimental". However -experimental resolver do not fail 
when required version of dependency is not available: when only "unstable" 
suite is enabled -experimental resolver quietly install older version of 
dependency which causes FTBFS later on.
-classic resolver correctly fail in "unstable" when required version of 
dependency is not available even though it fails to install it from 
"experimental" when it is possible.

-aptitude resolver is superior but currently affected by #820493...

-- 
All the best,
 Dmitry Smirnov.

---

The truth is incontrovertible, malice may attack it, ignorance may deride
it, but in the end; there it is.
-- Winston Churchill


signature.asc
Description: This is a digitally signed message part.


Bug#820492: pbuilder: satisfydepends-classic can't install versioned build dependency from experimental

2016-04-09 Thread Mattia Rizzolo
On Sat, Apr 09, 2016 at 12:40:50PM +1000, Dmitry Smirnov wrote:
>   
> PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-classic"
> 
> in "~/.pbuilderrc" I'm trying to build "php7cc" package that Build-Depends on
> 
>   php-pimple (>= 3.0.2~)
> 
> At the moment "unstable" have php-pimple_1.1.1-1 while "experimental"
> have php-pimple_3.0.2-1.
> 
> Pbuilder however installs php-pimple_1.1.1-1 from "unstable" when both
> "unstable" and "experimental" suites are enabled in "/etc/apt/sources.list".

-classic is really old (< 2002) and is very much not clever.

For experimental you should use the -experimental (which was designed
exactly to satisfy experimental deps) or -aptitude resolver (I suggest
the aptitude one).

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  http://mapreri.org  : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#820492: pbuilder: satisfydepends-classic can't install versioned build dependency from experimental

2016-04-08 Thread Dmitry Smirnov
Package: pbuilder
Version: 0.223
Severity: normal

Using pbuilder with 

  PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-classic"

in "~/.pbuilderrc" I'm trying to build "php7cc" package that Build-Depends on

  php-pimple (>= 3.0.2~)

At the moment "unstable" have php-pimple_1.1.1-1 while "experimental"
have php-pimple_3.0.2-1.

Pbuilder however installs php-pimple_1.1.1-1 from "unstable" when both
"unstable" and "experimental" suites are enabled in "/etc/apt/sources.list".

-- 
Regards,
 Dmitry Smirnov
 GPG key : 4096R/53968D1B

---

On one level, wisdom is nothing more profound than an ability to follow
one’s own advice.
-- Sam Harris, Waking Up: A Guide to Spirituality Without Religion


signature.asc
Description: This is a digitally signed message part.