[Bug 2039308] Re: dpkg-shlibdeps --version or --help broken on mantic
Steve Langasek
2039308 at bugs.launchpad.net
Fri Oct 13 19:58:45 UTC 2023
** Also affects: dpkg (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/2039308
Title:
dpkg-shlibdeps --version or --help broken on mantic
Status in cloud-images:
New
Status in dpkg package in Ubuntu:
New
Bug description:
After the recent update of ubuntu:rolling to point to mantic we
noticed that one of our package scripts that relies on checking the
version of dpkg-shlibdeps failed with the following error message:
`error: cannot read debian/control: No such file or directory`
It worked (and still works) on ubuntu:lunar.
The issue can be reproduced with the following Dockerfile:
```
ARG variant
FROM ubuntu:${variant}
RUN apt-get update && apt-get install -y --no-install-recommends dpkg-
dev
RUN dpkg-shlibdeps --version
```
And then the following succeeds:
```
docker build --build-arg variant=lunar-20231004 .
```
While the following fails with the above mentioned error:
```
docker build --build-arg variant=mantic-20231011 .
```
Running the mantic version with a perl debugger shows that the following line which is added in the mantic version is the cause:
```
my $control = Dpkg::Control::Info->new();
```
Edit: This behavior was observed for linux/amd64, linux/arm/v7 and
linux/arm64/v8 images if that is relevant.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/2039308/+subscriptions
More information about the foundations-bugs
mailing list