Page MenuHomeSoftware Heritage

fix debian packages' issues
Closed, MigratedEdits Locked

Description

  • swh-web does not build because it depends on swh-indexer's build working (which does not on unstable)
  • swh-indexer does not build because it needs universal-ctags on unstable (not packaged there ~> i backported it from buster to our debian.s.o)
  • swh-indexer still does not build because it depends on swh-scheduler's build
  • swh-scheduler does not build because of an unpackaged package dependency

As a workaround for now, to deploy the current swh-web, swh-indexer, etc..., i'll mark the db tests as such (they are skipped during debian package build).
The real solution though would be to package the missing fixture [2].

[1] https://jenkins.softwareheritage.org/view/Debian%20packages/job/debian/job/packages/job/DSCH/job/gbp-buildpackage/3/console

[2] https://pypi.org/project/pytest-postgresql/

Event Timeline

ardumont triaged this task as High priority.
ardumont created this task.

Summing up:

  • swh-web initially did not build because it failed on unsat dependencies coming from swh-indexer

the swh-web package build definition is fine.

It needs both the indexer tools for tests reason and the api client part for discussing with the indexer storage api dependency.

  • swh-indexer package build definition is fine. It's building 2 packages:
    • indexer tools (python3-swh.indexer)
    • indexer storage api server/client (python3-swh.indexer.storage)

I changed the runtime dependencies (universal-ctags, fossology-nomossa) to be recommended instead.
And rebuild the package.

This unstuck the issue for the debian swh-web build.

  • swh-web builds still fails because of unsat dependency on swh.loader.git
  • swh.loader.git fails because of unsat dependency on swh.loader.core
  • i tagged and pushed swh.loader.core which will unstuck swh.loader.git.

...

ardumont changed the task status from Open to Work in Progress.Jan 30 2019, 11:34 AM

swh-loader-git build fails because the debian/unstable-swh was not in sync yet in regards to debian/control, debian/rules file.
fixing this and trigger the build, it's now fine.

heading for swh-web again now.

swh-web back on track.