[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

(buildd chroot bug) Re: Bug#1040167: openjdk-8-jre-headless: version 8u382~b04-1 depends on libjpeg8 which is not in Debian



Dixi quod…

>Indeed. Weird.
>
>Thanks for reporting, I’ll have two or three looks at it… fixing that
>is going to be… fun. Not.

OK so first analysis is showing the cause of the problem:

• the buildd chroots for sid/unstable do not identify themselves as
  sid/unstable but instead as trixie/testing, which is a bug onto
  itself¹

• the source package checks the buildd release codename and does
  things based on that; normally, the tests are written in a manner
  that they fall through to the latest (i.e. they test for known
  names of older releases for the old behaviour, and use the new
  behaviour if none of the old release names is used); the code to
  handle the long ago libjpeg62→libjpeg8→libjpeg62-turbo transition
  however was written the other way round, which causes trouble if
  the new release is unknown

I’ll fix that in the source, but first I need to get the situation
fixed as openjdk-8 build-depends on itself, which will be bad if
it’s not installable.

I’m going to change all uses of the distro codename to fall safely,
however if the buildd chroot bug could be fixed, I’d be glad.

bye,
//mirabilos

① sid buildd chroots should save the following content…
	PRETTY_NAME="Debian GNU/Linux sid"
	NAME="Debian GNU/Linux"
	ID=debian
	HOME_URL="https://www.debian.org/";
	SUPPORT_URL="https://www.debian.org/support";
	BUG_REPORT_URL="https://bugs.debian.org/";
	VERSION_ID=unstable
	VERSION_CODENAME=sid
  … as /usr/lib/os-release.sid (in the chroot) and run…
	# dpkg-divert --rename --divert /usr/lib/os-release.dpkg-dist \
	      --add /usr/lib/os-release
	# ln -sfT os-release.sid /usr/lib/os-release
  … in the chroot, so the reported lsb_release is correct. They used
  to have this in /etc/lsb-release, but the lsb-release program no
  longer uses that.
-- 
Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

                        ****************************************************
/⁀\ The UTF-8 Ribbon
╲ ╱ Campaign against      Mit dem tarent-Newsletter nichts mehr verpassen:
 ╳  HTML eMail! Also,     https://www.tarent.de/newsletter
╱ ╲ header encryption!
                        ****************************************************


Reply to: