Subject: cronie+obstack broken dependency

From: Mark Hills <[email-masked]>
Date: Fri, 19 Feb 2021 12:03:16 +0000 (GMT)

cronie depends on musl-obstack, but the dependency has broken.

A developer helpfully bumped cronie $pkgrel to rebuild after musl-obstack 
changed.

Now on install (alpine 3.13.2):

  $ doas apk add cronie@testing
  ERROR: unable to select packages:
    so:libobstack.so.1 (no such package):
      required by: cronie-1.5.5-r1[so:libobstack.so.1]

This is the current musl-obstack:

  $ doas apk manifest musl-obstack
  sha1:f92737db8fd75758d48d9091cf4be8c0ddee0a48  usr/lib/libobstack.so.0
  sha1:50d5abcd4d89d8ba2aa095fdccd4ba7eddd03145  usr/lib/libobstack.so.0.0.0

So how come the dependencies got out of sync, and how to fix this?

It seems the other developer was covering exactly this case.

Doing abuild from the aports/testing/cronie is all ok:

  $ doas apk add ./cronie-1.5.5-r1.apk
  $ ldd /usr/sbin/anacron
          /lib/ld-musl-x86_64.so.1 (0x7ffa18237000)
          libobstack.so.0 => /usr/lib/libobstack.so.0 (0x7ffa18228000)
          libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7ffa18237000)

Maybe relevant that the libobstack .so version has gone backwards.

-- 
Mark