[pkg-bacula-devel] Making bacula-director-{pgsql, mysql, sqlite3} Arch: all

Sven Hartge sven at svenhartge.de
Fri Dec 14 22:57:51 GMT 2018


Hi!

The new lintin release finds that bacula-director-{pgsql,mysql,sqlite3}
don't contain any arch-specific code. Which is true, because all libraries
are in bacula-common-{pgsql,mysql,sqlite3}, the DB-type director packages
only contain the catalog-backup script and the database upgrade/creation
stuff.

But after trying to make those packages Architecture: all, the following 
happens:

,----
| dh_installdocs -Nbacula-common -Nbacula-client -Nbacula-server --remaining-packages --link-doc=bacula-common
| dh_installdocs: --link-doc not allowed between bacula-director-sqlite3 and bacula-common (one is arch:all and the other not)
| make[1]: *** [debian/rules:155: override_dh_installdocs] Error 2
| make[1]: Leaving directory '/build/bacula-9.2.2'
| make: *** [debian/rules:112: binary] Error 2
| dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
`----

Hmph. "--link-doc=package: [...] To comply with policy, package must be a
binary package that comes from the same source package."

I'll meditate a bit over debian/rules and try to figure out, which
packages to use as link-doc target for
bacula-director-{pgsql,mysql,sqlite3}.

Grüße,
Sven.



More information about the pkg-bacula-devel mailing list