Bug#902998: libpam-systemd: breaks installing build depends e.g. gnupg2

2018-07-04 Thread Helmut Grohne
Control: tags -1 - moreinfo

On Wed, Jul 04, 2018 at 10:37:32PM +0200, Michael Biebl wrote:
> sound like an sbuild bug. Using pbuilder I have no problems building the
> gnupg2 package.

I kinda agree with you here. I actually ran into this bug a while
earlier:

Unlike systemd-sysv, systemd-shim isn't Multi-Arch: foreign. So
installing a foreign libpam-systemd (as some cross builds do) did run
into the very same issue for a while already: It tried installing
systemd-shim and gave up even though just picking systemd-sysv would
have worked.

Actually, sbuild defers to apt here, so it would be an apt bug, no?

> Can you please reassign this bug report to the appropriate package?

I thus filed this bug with apt as #883555. The irc discussion on the
matter was unfortunately not reflected on the bug, but essentially deity
ruled that solving each and every situation was infeasible and that
packages must coordinate better to resolve such issues.

In the case of #883555 that meant that both alternatives should share
the same Multi-Arch value.

So even though this issue can be considered and apt bug, it'll be
wontfix there and you'll have to fix it in systemd anyway. I'm Ccing
deity here to have them speak up in case they disagree with that
analysis.

On irc you proposed two solutions:
 * dropping the -shim alternative
 * adding the inverse version restriction of the breaks to the -shim
   alternative

As far as I understand, either solution would solve this bug.

Helmut



Processed: Re: Bug#902998: libpam-systemd: breaks installing build depends e.g. gnupg2

2018-07-04 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 - moreinfo
Bug #902998 [libpam-systemd] libpam-systemd: breaks installing build depends 
e.g. gnupg2
Removed tag(s) moreinfo.

-- 
902998: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902998
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#902998: libpam-systemd: breaks installing build depends e.g. gnupg2

2018-07-04 Thread Sven Joachim
On 2018-07-04 23:33 +0200, Michael Biebl wrote:

> Control: tags -1 moreinfo
>
>
> This is what I get when I build a package using pbuilder, which
> build-depends on policykit-1 (which in turn pulls in libpam-systemd):
>
> The following packages have unmet dependencies:
>  systemd : Breaks: systemd-shim (< 10-4~) but 10-3 is to be installed
> The following actions will resolve these dependencies:
>
>  Install the following packages:
> 1) systemd-sysv [239-4 (unstable)]
>
>  Keep the following packages at their current version:
> 2) systemd-shim [Not Installed]
>
> And the build succeeds.
>
> Or running apt install libpam-systemd inside a chroot:
>
> # apt install libpam-systemd
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following additional packages will be installed:
>   dbus dmsetup libapparmor1 libargon2-0 libargon2-1 libcap2
> libcryptsetup12 libdbus-1-3 libdevmapper1.02.1 libexpat1
>   libidn11 libip4tc0 libjson-c3 libkmod2 libprocps7 lsb-base procps
> systemd systemd-sysv
> Suggested packages:
>   default-dbus-session-bus | dbus-session-bus systemd-container policykit-1
> Recommended packages:
>   psmisc libnss-systemd
> The following NEW packages will be installed:
>   dbus dmsetup libapparmor1 libargon2-0 libargon2-1 libcap2
> libcryptsetup12 libdbus-1-3 libdevmapper1.02.1 libexpat1
>   libidn11 libip4tc0 libjson-c3 libkmod2 libpam-systemd libprocps7
> lsb-base procps systemd systemd-sysv
> 0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/5069 kB of archives.
> After this operation, 17.4 MB of additional disk space will be used.
> Do you want to continue? [Y/n] n
> Abort.

This works, but "apt install libgtk-3-0" does not, for instance:

,
| # apt install libgtk-3-0
| Reading package lists... Done
| Building dependency tree   
| Reading state information... Done
| Some packages could not be installed. This may mean that you have
| requested an impossible situation or if you are using the unstable
| distribution that some required packages have not yet been created
| or been moved out of Incoming.
| The following information may help to resolve the situation:
| 
| The following packages have unmet dependencies:
|  libgtk-3-0 : Depends: libgtk-3-common (>= 3.22.30-2) but it is not going to 
be installed
|   Depends: librest-0.7-0 (>= 0.7) but it is not going to be 
installed
|   Depends: libsoup2.4-1 (>= 2.4.0) but it is not going to be 
installed
| E: Unable to correct problems, you have held broken packages.
`

Cheers,
   Sven



Processed: Re: Bug#902998: libpam-systemd: breaks installing build depends e.g. gnupg2

2018-07-04 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 moreinfo
Bug #902998 [libpam-systemd] libpam-systemd: breaks installing build depends 
e.g. gnupg2
Added tag(s) moreinfo.

-- 
902998: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902998
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#902998: libpam-systemd: breaks installing build depends e.g. gnupg2

2018-07-04 Thread Michael Biebl
Control: tags -1 moreinfo


This is what I get when I build a package using pbuilder, which
build-depends on policykit-1 (which in turn pulls in libpam-systemd):

The following packages have unmet dependencies:
 systemd : Breaks: systemd-shim (< 10-4~) but 10-3 is to be installed
The following actions will resolve these dependencies:

 Install the following packages:
1) systemd-sysv [239-4 (unstable)]

 Keep the following packages at their current version:
2) systemd-shim [Not Installed]

And the build succeeds.

Or running apt install libpam-systemd inside a chroot:

# apt install libpam-systemd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  dbus dmsetup libapparmor1 libargon2-0 libargon2-1 libcap2
libcryptsetup12 libdbus-1-3 libdevmapper1.02.1 libexpat1
  libidn11 libip4tc0 libjson-c3 libkmod2 libprocps7 lsb-base procps
systemd systemd-sysv
Suggested packages:
  default-dbus-session-bus | dbus-session-bus systemd-container policykit-1
Recommended packages:
  psmisc libnss-systemd
The following NEW packages will be installed:
  dbus dmsetup libapparmor1 libargon2-0 libargon2-1 libcap2
libcryptsetup12 libdbus-1-3 libdevmapper1.02.1 libexpat1
  libidn11 libip4tc0 libjson-c3 libkmod2 libpam-systemd libprocps7
lsb-base procps systemd systemd-sysv
0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/5069 kB of archives.
After this operation, 17.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#902998: libpam-systemd: breaks installing build depends e.g. gnupg2

2018-07-04 Thread Michael Biebl
Am 04.07.2018 um 20:39 schrieb Helmut Grohne:
> Package: libpam-systemd
> Version: 239-4
> Severity: critical
> Justification: makes gnupg2 ftbfs
> User: helm...@debian.org
> Usertags: rebootstrap
> Control: affects -1 + src:gnupg2
> 
> A native(!) build of gnupg2 with sbuild and
> --bd-uninstallable-explainer=apt fails. dose3 finds an installation set,
> but it is too tricky to find for apt and it is caused by systemd, which
> simultaneously "Breaks: systemd-shim" and "Depends: systemd-shim |
> systemd-sysv".
> 
> See explainer output below:
> 
> | Reading package lists...
> | Building dependency tree...
> | Reading state information...
> |   MarkInstall sbuild-build-depends-gnupg2-dummy:amd64 < none -> 0.invalid.0 
> @un puN Ib > FU=1
> |   Installing automake as Depends of sbuild-build-depends-gnupg2-dummy
> | MarkInstall automake:amd64 < none -> 1:1.15.1-3.1 @un uN Ib > FU=0
> | Installing autoconf as Depends of automake
> |   MarkInstall autoconf:amd64 < none -> 2.69-11 @un uN Ib > FU=0
> |   Installing m4 as Depends of autoconf
> | MarkInstall m4:amd64 < none -> 1.4.18-1 @un uN Ib > FU=0
> | Installing libsigsegv2 as Depends of m4
> |   MarkInstall libsigsegv2:amd64 < none -> 2.12-2 @un uN > FU=0
> | Installing autotools-dev as Depends of automake
> |   MarkInstall autotools-dev:amd64 < none -> 20180224.1 @un uN > FU=0
> |   Installing autopoint as Depends of sbuild-build-depends-gnupg2-dummy
> | MarkInstall autopoint:amd64 < none -> 0.19.8.1-6 @un uN > FU=0
> |   Installing debhelper as Depends of sbuild-build-depends-gnupg2-dummy
> | MarkInstall debhelper:amd64 < none -> 11.3.5 @un uN Ib > FU=0
> | Installing dh-autoreconf as Depends of debhelper
> |   MarkInstall dh-autoreconf:amd64 < none -> 19 @un uN Ib > FU=0
> |   Installing libtool as Depends of dh-autoreconf
> | MarkInstall libtool:amd64 < none -> 2.4.6-2.1 @un uN Ib > FU=0
> | Installing file as Depends of libtool
> |   MarkInstall file:amd64 < none -> 1:5.33-3 @un uN Ib > FU=0
> |   Installing libmagic1 as Depends of file
> | MarkInstall libmagic1:amd64 < none -> 1:5.33-3 @un uN Ib > FU=0
> | Installing libmagic-mgc as Depends of libmagic1
> |   MarkInstall libmagic-mgc:amd64 < none -> 1:5.33-3 @un uN > 
> FU=0
> | Installing dh-strip-nondeterminism as Depends of debhelper
> |   MarkInstall dh-strip-nondeterminism:amd64 < none -> 0.042-1 @un uN Ib 
> > FU=0
> |   Installing libfile-stripnondeterminism-perl as Depends of 
> dh-strip-nondeterminism
> | MarkInstall libfile-stripnondeterminism-perl:amd64 < none -> 
> 0.042-1 @un uN Ib > FU=0
> | Installing libarchive-zip-perl as Depends of 
> libfile-stripnondeterminism-perl
> |   MarkInstall libarchive-zip-perl:amd64 < none -> 1.60-1 @un uN > 
> FU=0
> |   Installing libtimedate-perl as Depends of dh-strip-nondeterminism
> | MarkInstall libtimedate-perl:amd64 < none -> 2.3000-2 @un uN > FU=0
> | Installing dwz as Depends of debhelper
> |   MarkInstall dwz:amd64 < none -> 0.12-2 @un uN Ib > FU=0
> |   Installing libelf1 as Depends of dwz
> | MarkInstall libelf1:amd64 < none -> 0.170-0.5 @un uN > FU=0
> | Installing man-db as Depends of debhelper
> |   MarkInstall man-db:amd64 < none -> 2.8.3-2 @un uN Ib > FU=0
> |   Installing bsdmainutils as Depends of man-db
> | MarkInstall bsdmainutils:amd64 < none -> 11.1.2+b1 @un uN Ib > FU=0
> | Installing libbsd0 as Depends of bsdmainutils
> |   MarkInstall libbsd0:amd64 < none -> 0.9.1-1 @un uN > FU=0
> |   Installing groff-base as Depends of man-db
> | MarkInstall groff-base:amd64 < none -> 1.22.3-10 @un uN > FU=0
> |   Installing libpipeline1 as Depends of man-db
> | MarkInstall libpipeline1:amd64 < none -> 1.5.0-1 @un uN > FU=0
> | Installing po-debconf as Depends of debhelper
> |   MarkInstall po-debconf:amd64 < none -> 1.0.20 @un uN Ib > FU=0
> |   Installing gettext as Depends of po-debconf
> | MarkInstall gettext:amd64 < none -> 0.19.8.1-6+b1 @un uN Ib > FU=0
> | Installing libcroco3 as Depends of gettext
> |   MarkInstall libcroco3:amd64 < none -> 0.6.12-2 @un uN Ib > FU=0
> |   Installing libglib2.0-0 as Depends of libcroco3
> | MarkInstall libglib2.0-0:amd64 < none -> 2.56.1-2 @un uN > FU=0
> |   Installing libxml2 as Depends of libcroco3
> | MarkInstall libxml2:amd64 < none -> 2.9.4+dfsg1-7+b1 @un uN Ib 
> > FU=0
> | Installing libicu60 as Depends of libxml2
> |   MarkInstall libicu60:amd64 < none -> 60.2-6 @un uN Ib > FU=0
> |   Installing libicu-le-hb0 as Depends of libicu60
> | MarkInstall libicu-le-hb0:amd64 < none -> 1.0.3+git161113-5 
> @un uN Ib > FU=0
> | Installing libharfbuzz0b as Depends of libicu-le-hb0
> |   

Bug#902998: libpam-systemd: breaks installing build depends e.g. gnupg2

2018-07-04 Thread Helmut Grohne
Package: libpam-systemd
Version: 239-4
Severity: critical
Justification: makes gnupg2 ftbfs
User: helm...@debian.org
Usertags: rebootstrap
Control: affects -1 + src:gnupg2

A native(!) build of gnupg2 with sbuild and
--bd-uninstallable-explainer=apt fails. dose3 finds an installation set,
but it is too tricky to find for apt and it is caused by systemd, which
simultaneously "Breaks: systemd-shim" and "Depends: systemd-shim |
systemd-sysv".

See explainer output below:

| Reading package lists...
| Building dependency tree...
| Reading state information...
|   MarkInstall sbuild-build-depends-gnupg2-dummy:amd64 < none -> 0.invalid.0 
@un puN Ib > FU=1
|   Installing automake as Depends of sbuild-build-depends-gnupg2-dummy
| MarkInstall automake:amd64 < none -> 1:1.15.1-3.1 @un uN Ib > FU=0
| Installing autoconf as Depends of automake
|   MarkInstall autoconf:amd64 < none -> 2.69-11 @un uN Ib > FU=0
|   Installing m4 as Depends of autoconf
| MarkInstall m4:amd64 < none -> 1.4.18-1 @un uN Ib > FU=0
| Installing libsigsegv2 as Depends of m4
|   MarkInstall libsigsegv2:amd64 < none -> 2.12-2 @un uN > FU=0
| Installing autotools-dev as Depends of automake
|   MarkInstall autotools-dev:amd64 < none -> 20180224.1 @un uN > FU=0
|   Installing autopoint as Depends of sbuild-build-depends-gnupg2-dummy
| MarkInstall autopoint:amd64 < none -> 0.19.8.1-6 @un uN > FU=0
|   Installing debhelper as Depends of sbuild-build-depends-gnupg2-dummy
| MarkInstall debhelper:amd64 < none -> 11.3.5 @un uN Ib > FU=0
| Installing dh-autoreconf as Depends of debhelper
|   MarkInstall dh-autoreconf:amd64 < none -> 19 @un uN Ib > FU=0
|   Installing libtool as Depends of dh-autoreconf
| MarkInstall libtool:amd64 < none -> 2.4.6-2.1 @un uN Ib > FU=0
| Installing file as Depends of libtool
|   MarkInstall file:amd64 < none -> 1:5.33-3 @un uN Ib > FU=0
|   Installing libmagic1 as Depends of file
| MarkInstall libmagic1:amd64 < none -> 1:5.33-3 @un uN Ib > FU=0
| Installing libmagic-mgc as Depends of libmagic1
|   MarkInstall libmagic-mgc:amd64 < none -> 1:5.33-3 @un uN > FU=0
| Installing dh-strip-nondeterminism as Depends of debhelper
|   MarkInstall dh-strip-nondeterminism:amd64 < none -> 0.042-1 @un uN Ib > 
FU=0
|   Installing libfile-stripnondeterminism-perl as Depends of 
dh-strip-nondeterminism
| MarkInstall libfile-stripnondeterminism-perl:amd64 < none -> 0.042-1 
@un uN Ib > FU=0
| Installing libarchive-zip-perl as Depends of 
libfile-stripnondeterminism-perl
|   MarkInstall libarchive-zip-perl:amd64 < none -> 1.60-1 @un uN > FU=0
|   Installing libtimedate-perl as Depends of dh-strip-nondeterminism
| MarkInstall libtimedate-perl:amd64 < none -> 2.3000-2 @un uN > FU=0
| Installing dwz as Depends of debhelper
|   MarkInstall dwz:amd64 < none -> 0.12-2 @un uN Ib > FU=0
|   Installing libelf1 as Depends of dwz
| MarkInstall libelf1:amd64 < none -> 0.170-0.5 @un uN > FU=0
| Installing man-db as Depends of debhelper
|   MarkInstall man-db:amd64 < none -> 2.8.3-2 @un uN Ib > FU=0
|   Installing bsdmainutils as Depends of man-db
| MarkInstall bsdmainutils:amd64 < none -> 11.1.2+b1 @un uN Ib > FU=0
| Installing libbsd0 as Depends of bsdmainutils
|   MarkInstall libbsd0:amd64 < none -> 0.9.1-1 @un uN > FU=0
|   Installing groff-base as Depends of man-db
| MarkInstall groff-base:amd64 < none -> 1.22.3-10 @un uN > FU=0
|   Installing libpipeline1 as Depends of man-db
| MarkInstall libpipeline1:amd64 < none -> 1.5.0-1 @un uN > FU=0
| Installing po-debconf as Depends of debhelper
|   MarkInstall po-debconf:amd64 < none -> 1.0.20 @un uN Ib > FU=0
|   Installing gettext as Depends of po-debconf
| MarkInstall gettext:amd64 < none -> 0.19.8.1-6+b1 @un uN Ib > FU=0
| Installing libcroco3 as Depends of gettext
|   MarkInstall libcroco3:amd64 < none -> 0.6.12-2 @un uN Ib > FU=0
|   Installing libglib2.0-0 as Depends of libcroco3
| MarkInstall libglib2.0-0:amd64 < none -> 2.56.1-2 @un uN > FU=0
|   Installing libxml2 as Depends of libcroco3
| MarkInstall libxml2:amd64 < none -> 2.9.4+dfsg1-7+b1 @un uN Ib > 
FU=0
| Installing libicu60 as Depends of libxml2
|   MarkInstall libicu60:amd64 < none -> 60.2-6 @un uN Ib > FU=0
|   Installing libicu-le-hb0 as Depends of libicu60
| MarkInstall libicu-le-hb0:amd64 < none -> 1.0.3+git161113-5 
@un uN Ib > FU=0
| Installing libharfbuzz0b as Depends of libicu-le-hb0
|   MarkInstall libharfbuzz0b:amd64 < none -> 1.8.1-1 @un uN Ib 
> FU=0
|   Installing libfreetype6 as Depends of libharfbuzz0b
| MarkInstall libfreetype6:amd64 < none -> 2.8.1-2 @un uN 
Ib > FU=0
|