Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I images
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Salsa CI Team
  • images
  • Merge requests
  • !34
The source project of this merge request has been removed.

Change build-dependency resolver to be more like sbuild/pbuilder

Merged Sven Hartge requested to merge (removed):builddep-resolver into master Jan 15, 2019
  • Overview 19
  • Pipelines 0
  • Changes 7

The current method of using "apt-get build-dep -y ." does only work for simple dependencies, but not for experimental or *-backports.

For those use cases, apt-get is not smart enough to satisfy the build-dependencies from additional repositories, even if requested via versioned build-dependency.

sbuild and pbuilder instead use aptitude and a dummy package to pull in the build-depdencies with some additional trickery to convince the resolver to do the Right Thing.

This commit implements this variant for docker-builder, fixing pipeline#21 (closed) and bringing the way builds are done more in line with how the other package building tools in Debian work.

Doing the builds with this modification has been tested in the bacula-team repository for the last 4 weeks with successful builds for Unstable, stretch-backports and Buster.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: builddep-resolver