Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P pipeline
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 84
    • Issues 84
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Salsa CI Team
  • pipeline
  • Issues
  • #21
Closed
Open
Issue created Dec 12, 2018 by Sven Hartge@hartgeDeveloper

build-stretch-bpo does not work (when build-deps are needed from stretch-bpo)

Buildins for stretch-bpo does not work when build-dependencies are needed from stretch-backports. apt-get refuses to install them: https://salsa.debian.org/hartge-guest/bacula/-/jobs/91812

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 builddeps:. : Depends: debhelper (>= 11.3.2~bpo9+2) but 10.2.5 is to be installed
E: Unable to correct problems, you have held broken packages.

To work around this, I forked and changed your Docker images and using mk-build-deps, aptitude and code from pbuilder-satisfydepends I hacked my way to a "solution":

https://salsa.debian.org/hartge-guest/images/blob/master/scripts/docker-build.sh

https://salsa.debian.org/hartge-guest/images/blob/master/scripts/install-build-deps.sh

https://salsa.debian.org/hartge-guest/images/blob/master/dockerfiles/dockerbuilder

This builds the packages correctly, proof here: https://salsa.debian.org/hartge-guest/bacula/-/jobs/91715

But it installs a lot more packages, making the resulting build-root a lot uncleaner than before.

A cleaner solution would be to fully adapt the code from the pbuilder build-dependency resolver.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking