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

Re: Workaround for "Architecture: any [!armel !armhf]" in debian/control



Hi,

On 04/21/2016 10:32 PM, Jakub Wilk wrote:
> * Joachim Reichel <joachim.reichel@gmx.de>, 2016-04-19, 20:38:
>> background: on armel and armhf Qt is using OpenGL ES, but my package cgal does
>> not support OpenGL ES (yet). The OpenGL functionality is only needed for some
>> demos and their support library which are already in separate binary packages.
>> Therefore I just want to not build the OpenGL-related binary packages on armel
>> and armhf.
>>
>> But how can I do that? Putting "Architecture: any [!armel !armhf]" in
>> debian/control is not supported:
>>
>> dpkg-source: error: architecture any only allowed on its own (list for package
>> libcgal-qt5-11 is 'any')
>>
>> Do I really need to expand the architecture list manually?
> 
> I'd avoid it if I could.
> 
> I believe this should work: keep the packages in question as "Architecture: any"
> but tell debhelper to not act on them ("-N cgal-foo") when the host architecture
> is arm*.

Yes, works. Thanks for the suggestion!

  Joachim



Reply to: