Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #228108

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

From Mattia Rizzolo <mattia@debian.org>
Newsgroups linux.debian.user
Subject Re: pbuilder-satisfydepends-classic profile parsing problem: slashes and spaces
Date 2020-10-22 15:40 +0200
Message-ID <B2IYV-2Zh-1@gated-at.bofh.it> (permalink)
References <B2rEL-1bY-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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  `-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

pbuilder-satisfydepends-classic profile parsing problem: slashes and spaces Alexei Fedotov <alexei.fedotov@gmail.com> - 2020-10-21 21:10 +0200
  Re: pbuilder-satisfydepends-classic profile parsing problem: slashes  and spaces Mattia Rizzolo <mattia@debian.org> - 2020-10-22 15:40 +0200
    Re: pbuilder-satisfydepends-classic profile parsing problem: slashes  and spaces Alexei Fedotov <alexei.fedotov@gmail.com> - 2020-10-22 16:40 +0200

csiph-web