[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#624434: [new check]: uses-versioned-berkeley-db



tag name: build-depends-on-versioned-berkeley-db

Description:

The package build-depends on a versioned development package of
Berkeley DB (libdbX.Y-dev) instead of versionless package (libdb-dev).
Unfortunately this prevents binNMUs when default Berkeley DB version
changes.

Unless you absolutely have to depend on specific Berkeley DB version,
you should change the build-depends to libdb-dev. You can read more
about Berkeley DB upgrades here:
http://download.oracle.com/docs/cd/E17076_02/html/upgrading/upgrade_process.html

Even if you use Berkeley DB environment you should make the package
version agnostic by:

1. note the version of Berkeley DB used to compile the package on build time
2. on first install copy the used version to active version
3. on upgrades compare the versions and if they differ do the upgrade procedure

If you are unsure you can contact Berkeley DB maintainer, he would be
glad to help.

-- 
Ondřej Surý <ondrej@sury.org>
http://blog.rfc1925.org/



Reply to: