[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pbuilder-satisfydepends-classic profile parsing problem: slashes and spaces



Mattia, thanks for the answer, I will file a bug
--
Carry a towel
http://dataved.ru/
+7 916 562 8095

[1] Join Alexei Fedotov @linkedin, http://ru.linkedin.com/in/dataved/
[2] Join Alexei Fedotov @facebook, http://www.facebook.com/openmeetings
[3] Start using Apache Openmeetings today, http://openmeetings.apache.org/

On Thu, Oct 22, 2020 at 4:39 PM Mattia Rizzolo <mattia@debian.org> wrote:
>
> Hi!
>
> On Wed, Oct 21, 2020 at 10:06:02PM +0300, Alexei Fedotov wrote:
> > I'm running pbuilder-0.230.4~bpo9+1/pbuilder-satisfydepends-classic
> > for the debian/control which contains
> >
> > Build-Depends: live-build (<= 1:20170213), ...
> >
> > I get the following log
> >
> > +++ output='live-build (<= 1:20170213), sed, gawk, rsync, wget, patch,
> > coreutils, findutils, '
> > +++ output='live-build (<= 1:20170213), sed, gawk, rsync, wget, patch,
> > coreutils, findutils'
> > +++ echo 'live-build (<= 1:20170213), sed, gawk, rsync, wget, patch,
> > coreutils, findutils'
> > ++ for INSTALLPKGMULTI in $(get_build_deps | split_deps)
> > +++ echo 'live-build/(<=/1:20170213)'
> > +++ tr / ' '
> > ++ echo ' -> Considering build-dep live-build (<= 1:20170213)'
> >  -> Considering build-dep live-build (<= 1:20170213)
> > ++ SATISFIED=no
> > +++ split_alternates 'live-build/(<=/1:20170213)'
> > +++ echo 'live-build/(<=/1:20170213)'
> > +++ sed 's/ *| */\n/g'
> > ++ for INSTALLPKG in $(split_alternates "$INSTALLPKGMULTI")
> > +++ get_pkg_name 'live-build/(<=/1:20170213)'
> > +++ echo 'live-build/(<=/1:20170213)'
> > +++ sed 's#^/*##; s#[[/(<].*##'
> > ++ CURRENTREALPKGNAME=live-build
> > ++ echo 'live-build/(<=/1:20170213)'
> > ++ grep -q '\['
> > ++ echo 'live-build/(<=/1:20170213)'
> > ++ grep -q '<'
>
> I reckon here is the problem ↑
> The code thinks that anything that contains a '<' is a build profile.
> That's probably because it's considered rare for a Build-Depends to have
> a << or a <= relation.
> From that assumption on it probably just fails over itself.
>
> > What is the proper list to discuss the issue? How should it be addressed?
>
> Please file a bug against pbuilder, but don't expect it to be solved
> quickly.
>
> In fact, nowadays I generally recommend people use the -apt resolver,
> which tends to work better in most cases, besides being faster.
>
> --
> 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  `-


Reply to: