Bug#1026199: release.debian.org: Is the toolchain list updated for bookworm
- To: Paul Gevers <elbrus@debian.org>, 1026199@bugs.debian.org
- Cc: Sam Hartman <hartmans@debian.org>
- Subject: Bug#1026199: release.debian.org: Is the toolchain list updated for bookworm
- From: Guillem Jover <guillem@hadrons.org>
- Date: Wed, 25 Jan 2023 09:47:59 +0100
- Message-id: <Y9Dsvy8/XpsBl7cV@thunder.hadrons.org>
- Reply-to: Guillem Jover <guillem@hadrons.org>, 1026199@bugs.debian.org
- In-reply-to: <f8fc35f6-443a-f979-3702-dc86dfffbb2f@debian.org>
- References: <167115482282.292444.17330970584235210621.reportbug@industrial-algebra.suchdamage.org> <167115482282.292444.17330970584235210621.reportbug@industrial-algebra.suchdamage.org> <f8fc35f6-443a-f979-3702-dc86dfffbb2f@debian.org> <167115482282.292444.17330970584235210621.reportbug@industrial-algebra.suchdamage.org>
Hi!
On Sat, 2022-12-17 at 08:42:18 +0100, Paul Gevers wrote:
> On 16-12-2022 02:40, Sam Hartman wrote:
> > I was looking at https://release.debian.org/testing/essential-and-build-essential.txt
> >
> > trying to figure out which packages I'm involved in are covered by the
> > toolchain freeze. I am wondering what's still pulling
> > libgssapi-krb5-2 and friends into build-essential. It used to be
> > pulled in via pam via libtirpc, but that should have gone away with
> > the pam upload of 1.4.0-13.
> >
> >
> > I'm wondering if that list hasn't been recently updated or if there's some other dependency cycle pulling in krb5?
Ah, was wondering the same few days before the toolchain freeze, as I
was unsure whether to update some of the packages I maintain (in
particular libmd, for which I was thinking of doing a new upstream
release), and was also checking hints for explicit blocks. See below…
> I just refreshed the list, it's still there. I used a script on udd,
> essentially this:
>
> essentials = {'build-essential'}
>
> def add_sql_packages(con, essentials, query):
> cur = con.cursor()
>
> cur.execute(query)
> items = cur.fetchall()
> cur.close()
>
> for item in items:
> if item[0] is not None:
> no_alt = re.sub(alternatives, "", item[0])
> no_ver = re.sub(version, "", no_alt)
>
> for x in no_ver.split(','):
> essentials.add(re.sub(multiarch, "", x.strip()))
>
> query = "SELECT DISTINCT package FROM packages WHERE release = 'bookworm'
> and essential = 'yes'"
>
> add_sql_packages(con, essentials, query)
>
> done = False
> while not done:
> ess_org = copy.copy(essentials)
> query = """SELECT DISTINCT depends FROM packages WHERE release =
> 'bookworm' and
> package in ('%s')""" % "','".join(essentials)
> add_sql_packages(con, essentials, query)
> if essentials == ess_org:
> done = True
…but hmm, is this perhaps not taking into account Pre-Depends?
Thanks,
Guillem
Reply to: