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

RFH: automake, library and sub-automake using rpath


I have a problem with the audit-package [1]:
1. it uses autoconf/automake
2. it builds a shared library
3. it aggregates a copy of a python sub-package named "system-config-audit",
   which uses a _seperate_ autoconf/automake. The parent-autoconf calls it
   using AC_CONFIG_SUBDIRS([system-config-audit])
4. the sub-package uses the shared library.

Since the library is only installed in a temporary location, and the
sub-automake doesn't know anything about the _temporary_ installation, the
sub-package links to that library using a rpath. Lintian sais:

W: system-config-audit: binary-or-shlib-defines-rpath ./lib/system-config-audit-server /media/storage/debian/pool/main/a/audit/audit-1.7.5/lib/.libs

Does some autoconf/automake/python-guru know how I can fix this dilemma?

I would like to use the included system-config-audit, since it's better tested,
but if that doesn't work, I could also ignore the included version and create a
completely separate package from the original author [2].


[1] http://people.redhat.com/sgrubb/audit/
[2] https://fedorahosted.org/system-config-audit/
Philipp Matthias Hahn <pmhahn@debian.org>
 GPG/PGP: 9A540E39 @ keyrings.debian.org

Reply to: