Bug#921282: sbuild: emits many messages “Alias ‘[...]’ already associated with ‘[...]’ chroot”

2020-12-02 Thread Roger Leigh
On 2 Dec 2020, at 08:46, Anthony Fok  wrote:
> 
> And, sure enough, we can find in /usr/bin/sbuild-debian-developer-setup:
> 
>
> https://sources.debian.org/src/sbuild/0.80.0/bin/sbuild-debian-developer-setup/#L56-L57
> 
> when it calls sbuild-createchroot, it indiscriminately adds the flags
> 
>--alias=UNRELEASED
>--alias=sid
> 
> which are appropriate for unstable only.
> 
> So, perhaps this bug should be re-assigned to the
> sbuild-debian-developer-setup binary package?  :-)

Yes, I think so.  This is not a schroot bug: the warnings are simply due to it 
being misconfigured, not due to a problem in schroot itself.

Kind regards,
Roger


Bug#921282: sbuild: emits many messages “Alias ‘[...]’ already associated with ‘[...]’ chroot”

2020-12-02 Thread Anthony Fok
Hello,

On Mon, 4 Feb 2019 09:53:56 +1100 Ben Finney  wrote:
> Control: retitle -1 schroot: emits many messages “Alias ‘[...]’ already 
> associated with ‘[...]’ chroot”
> Control: found -1 schroot/1.6.10-6+b1
>
> On 03-Feb-2019, Johannes Schauer wrote:
> > it seems that this message comes from schroot and not sbuild. Thus,
> > reassigning.
>
> Thanks. I am also altering the metadata for the version of ‘schroot’
> installed.

I ran into the same problem myself today, and found this bug report.

The problem started after I have added a second sbuild chroot with the
following command:

sudo sbuild-debian-developer-setup --suite=stable

And, thanks to your hint that the issue is actually schroot related, I
found in /etc/schroot/chroot.d/ two config files
unstable-amd64-build-XX and stable-amd64-build-XX, both
created by sbuild-debian-developer-setup.  And, sure enough, both
files contain the line

aliases=UNRELEASED,sid

which is correct for unstable but inappropriate for stable.  schroot's
"Alias already associated" warnings are valid.  The actual bug is
found somewhere else, from whomever or from whatever command that
created those schroot chroot.d config files.

And, sure enough, we can find in /usr/bin/sbuild-debian-developer-setup:


https://sources.debian.org/src/sbuild/0.80.0/bin/sbuild-debian-developer-setup/#L56-L57

when it calls sbuild-createchroot, it indiscriminately adds the flags

--alias=UNRELEASED
--alias=sid

which are appropriate for unstable only.

So, perhaps this bug should be re-assigned to the
sbuild-debian-developer-setup binary package?  :-)

Cheers,

Anthony



Bug#921282: sbuild: emits many messages “Alias ‘[...]’ already associated with ‘[...]’ chroot”

2019-02-03 Thread Ben Finney
Control: retitle -1 schroot: emits many messages “Alias ‘[...]’ already 
associated with ‘[...]’ chroot”
Control: found -1 schroot/1.6.10-6+b1

On 03-Feb-2019, Johannes Schauer wrote:
> it seems that this message comes from schroot and not sbuild. Thus,
> reassigning.

Thanks. I am also altering the metadata for the version of ‘schroot’
installed.

-- 
 \“Humanity has advanced, when it has advanced, not because it |
  `\ has been sober, responsible, and cautious, but because it has |
_o__)been playful, rebellious, and immature.” —Tom Robbins |
Ben Finney 



Bug#921282: sbuild: emits many messages “Alias ‘[...]’ already associated with ‘[...]’ chroot”

2019-02-03 Thread Johannes Schauer
Control: reassign -1 schroot

Hi,

Quoting Ben Finney (2019-02-03 22:51:27)
> Package: sbuild
> Version: 0.78.0-2
> Severity: normal
> 
> When using a chroot created for SBuild, the SBuild commands (‘sbuild’,
> ‘sbuild-update’, ‘sbuild-shell’, etc.) emit a stream of repeated
> messages about alias associations.
> 
> These messages are interspersed in with other SBuild output and the
> output from the commands it runs. This makes the output unusably
> crowded with warning messages.
> 
> =
> $ sudo sbuild-shell unstable
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
> ‘unknown’ chroot
> W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already 
> associated with ‘unknown’ chroot
> W: line 9 

Bug#921282: sbuild: emits many messages “Alias ‘[...]’ already associated with ‘[...]’ chroot”

2019-02-03 Thread Ben Finney
Package: sbuild
Version: 0.78.0-2
Severity: normal

When using a chroot created for SBuild, the SBuild commands (‘sbuild’,
‘sbuild-update’, ‘sbuild-shell’, etc.) emit a stream of repeated
messages about alias associations.

These messages are interspersed in with other SBuild output and the
output from the commands it runs. This makes the output unusably
crowded with warning messages.

=
$ sudo sbuild-shell unstable
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with 
‘unknown’ chroot
I: /bin/sh
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘UNRELEASED’ already associated 
with ‘unknown’ chroot
W: line 9 [stretch-amd64-sbuild] aliases: Alias ‘sid’ already associated with