Skip to content

deb: remove --dpkg-shlibdeps-params=--ignore-missing-info override#1333

Merged
vvoland merged 1 commit into
docker:masterfrom
thaJeztah:rm_legacy_override
Jun 12, 2026
Merged

deb: remove --dpkg-shlibdeps-params=--ignore-missing-info override#1333
vvoland merged 1 commit into
docker:masterfrom
thaJeztah:rm_legacy_override

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

deb: remove --dpkg-shlibdeps-params=--ignore-missing-info override

This override was originally added in moby@bb66d71 in 2016, which updated the build scripts for building the new containerd, containerd-shim, ctr, and runc binaries.

Unfortunately, the pull request did not call-out the reason for adding this specific override, but there was a discussion about some distros not having the required GCC version to compile seccomp;

This is currently failing on oracle linux-6 because it can't compile runc
(...) It looks like it is related to this bug: seccomp/libseccomp-golang#2
which states that the gcc version is too old. Currently, the gcc version
that comes with oracle linux 6 is gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)

...

It looks like ubuntu precise has the same gcc issue, it isn't new enough.
Looks like the newest version that is apt is 4.6.3, and I need at least
4.6.4.

The dpkg-shlibdeps(1) manpage explicitly calls this option out as discouraged:

--ignore-missing-info

  Do not fail if dependency information can't be found for a shared library
  (since dpkg 1.14.8). Usage of this option is discouraged, all libraries
  should provide dependency information (either with shlibs files, or with
  symbols files) even if they are not yet used by other packages.

Let's remove this option, as it's discouraged, may be hiding real problems (missing dependencies that would otherwise fail the build), and very likely was never needed for most CLI binaries, and the containerd binaries are no longer built as part of this package (and do not have this option set).

- What I did

- Description for the changelog

This override was originally added in [moby@bb66d71] in 2016, which updated
the build scripts for building the new `containerd`, `containerd-shim`, `ctr`,
and `runc` binaries.

Unfortunately, the pull request did not call-out the reason for adding this
specific override, but there was a discussion about some distros not having
the required GCC version to compile seccomp;

> This is currently failing on oracle linux-6 because it can't compile runc
> (...) It looks like it is related to this bug: seccomp/libseccomp-golang#2
> which states that the gcc version is too old. Currently, the gcc version
> that comes with oracle linux 6 is gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)
>
> ...
>
> It looks like ubuntu precise has the same gcc issue, it isn't new enough.
> Looks like the newest version that is apt is 4.6.3, and I need at least
> 4.6.4.

The [dpkg-shlibdeps(1)] manpage explicitly calls this option out as discouraged:

    --ignore-missing-info

      Do not fail if dependency information can't be found for a shared library
      (since dpkg 1.14.8). Usage of this option is discouraged, all libraries
      should provide dependency information (either with shlibs files, or with
      symbols files) even if they are not yet used by other packages.

Let's remove this option, as it's discouraged, may be hiding real problems
(missing dependencies that would otherwise fail the build), and very likely
was never needed for most CLI binaries, and the containerd binaries are no
longer built as part of this package (and do not have this option set).

[moby@bb66d71]: moby/moby@bb66d71
[dpkg-shlibdeps(1)]: https://manpages.debian.org/trixie/dpkg-dev/dpkg-shlibdeps.1.en.html#ignore

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@vvoland vvoland merged commit fbc9b7c into docker:master Jun 12, 2026
37 checks passed
@thaJeztah thaJeztah deleted the rm_legacy_override branch June 12, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants