[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 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.

-- 
1KB		// Microsoft corollary to Hanlon's razor:
		//	Never attribute to stupidity what can be
		//	adequately explained by malice.


Reply to: