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

Re: symbol patterns in .symbols files prior to dpkg-1.15.6

On 01/24/2011 04:32 PM, Adam Borowski wrote:
> On Mon, Jan 24, 2011 at 03:02:17PM +0100, Christian Kastner wrote:
>> Hello,
>> it was recently pointed out to me that one of my library packages
>> encountered a build error whilst attempting to backport it to an older
>> system.
>> The build failed because I use symbol patterns, specifically c++ tags,
>> in the package's .symbols file. This feature was introduced in dpkg-1.15.6.
>> One simple way to resolve this would be to rename the .symbols file
>> during build and again during clean (or similar approaches); I was
>> wondering though if anybody had a better approach to recommend?
> I'd say you need a versioned build dependency on dpkg-dev.  This would
> document that you use that feature, and that backporters need to use a
> modern dpkg.  This is no different from any other build depends you have.

Indeed -- the lack of a versioned B-D and the consequences were just
pointed out to me in private communication. Seems obvious, don't know
why it eluded me.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: