On 01/05/2021 21.44, Adrian Bunk wrote:
On Sat, May 01, 2021 at 10:36:50PM +0300, Adrian Bunk wrote:
On Sat, May 01, 2021 at 09:23:23PM +0200, Andreas Beckmann wrote:
On 01/05/2021 16.05, Adrian Bunk wrote:
On Fri, Apr 02, 2021 at 11:11:45AM +0200, Andreas Beckmann wrote:
    Setting up mono-runtime-sgen (6.8.0.105+dfsg-4~deb11anbe1) ...
    Setting up mono-runtime (6.8.0.105+dfsg-4~deb11anbe1) ...

What local changes do you have in these packages?

My suggested patch for #985066, otherwise I wouldn't be able to test
anything depending on src:mono. But that patch only adds a dependency and
drops harmful postinst code.
...

Dropping the postinst code causes the #986275 bug.

I can reproduce #986275 with the following in unstable:
   apt-get install mono-runtime-common
   # copy the buster version of the file
   cp config /etc/mono/
   apt-get install libglib3.0-cil

A Pre-Depends might be the correct fix for #985066 (untested).

Actually not, the root cause seems to be a cycle problem:

That cycle was probably made explicit by my patch ;-)

mono-runtime-common depends on mono-gac
mono-gac does not work with a file from the buster mono-runtime-common

That's the configuration order installing the package in a
minimal sid pbuilder chroot (using unpatched mono packages):

[...]
Selecting previously unselected package libglib3.0-cil.
Preparing to unpack .../16-libglib3.0-cil_2.99.3-4_amd64.deb ...
Unpacking libglib3.0-cil (2.99.3-4) ...
Setting up libglib2.0-0:amd64 (2.66.8-1) ...
No schema files found: doing nothing.
Setting up tzdata (2021a-1) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Sat May  1 20:09:17 UTC 2021.
Universal Time is now:  Sat May  1 20:09:17 UTC 2021.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up cli-common (0.10) ...
Setting up mono-runtime-sgen (6.8.0.105+dfsg-3) ...
Setting up mono-runtime (6.8.0.105+dfsg-3) ...
update-alternatives: using /usr/bin/mono to provide /usr/bin/cli (cli) in auto mode
Setting up libmono-corlib4.5-cil (6.8.0.105+dfsg-3) ...
Setting up libmono-system-numerics4.0-cil (6.8.0.105+dfsg-3) ...
Setting up libmono-system-core4.0-cil (6.8.0.105+dfsg-3) ...
Setting up libglib3.0-cil (2.99.3-4) ...
* Installing 1 assembly from libglib3.0-cil into Mono
Setting up libmono-system4.0-cil (6.8.0.105+dfsg-3) ...
Setting up libmono-system-configuration4.0-cil (6.8.0.105+dfsg-3) ...
Setting up libmono-security4.0-cil (6.8.0.105+dfsg-3) ...
Setting up libmono-system-xml4.0-cil (6.8.0.105+dfsg-3) ...
Setting up libmono-system-security4.0-cil (6.8.0.105+dfsg-3) ...
Setting up mono-4.0-gac (6.8.0.105+dfsg-3) ...
Setting up mono-gac (6.8.0.105+dfsg-3) ...
update-alternatives: using /usr/bin/gacutil to provide /usr/bin/cli-gacutil (global-assembly-cache-tool) in auto mode
Setting up mono-runtime-common (6.8.0.105+dfsg-3) ...
Processing triggers for libc-bin (2.31-11) ...

Having libglib3.0-cil configured early is not really intuitive ...

Oh well, there are 6 (six) bugs with severity important open with "circular dependency" in their title, going back more than 10 years. No, I don't want to look at this package. There are more interesting bugs to investigate.

We should probably reassign this bug to mono as well ;-(


Andreas

PS: Adrian, if you come up with a better patch for src:mono, I'll happily run it through my piuparts instance ;-)

Reply via email to