Skip to content

pkg/*: deb: remove --dpkg-shlibdeps-params=--ignore-missing-info override#451

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

pkg/*: deb: remove --dpkg-shlibdeps-params=--ignore-missing-info override#451
thaJeztah merged 1 commit into
docker:mainfrom
thaJeztah:rm_legacy_override

Conversation

@thaJeztah

@thaJeztah thaJeztah commented Jun 12, 2026

Copy link
Copy Markdown
Member

pkg/*: 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.

Since then, this option was copied to all the deb packages we build.

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 likely no longer needed for the
dockerd and containerd binaries (the containerd packaging scripts do not even
have this option set).

…ride

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.

Since then, this option was copied to all the deb packages we build.

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 likely no longer needed for the
dockerd and containerd binaries (the containerd packaging scripts do not even
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>
@thaJeztah thaJeztah merged commit 22357dd into docker:main Jun 12, 2026
386 checks passed
@thaJeztah thaJeztah deleted the rm_legacy_override branch June 12, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants