Bug#917022: no multiarch support for wxrc

2019-01-02 Thread Olly Betts
On Thu, Dec 27, 2018 at 11:37:28PM -0500, Scott Talbert wrote:
> On Fri, 21 Dec 2018, Tomasz Słodkowicz wrote:
> > wxrc (command line compiler for wxWidgets XML resources) binary is
> > installed in /usr/bin. This blocks installing the same package with
> > different architecture - required for cross compile. This can be moved
> > to /usr/lib/ as described at
> > https://wiki.ubuntu.com/MultiarchCross#Executables_in_-dev_packages.
> > 
> > I'm trying to install this on an amd64 host:
> > apt-get install libwxgtk-webview3.0-dev:armhf wx-common
> 
> I'm wondering if instead we could just mark wx-common as Multi-Arch:
> foreign?

Probably, assuming the other files in there are safe too.

I have been repeatedly bitten by unwanted consequences from previous
multi-arch changes to wx and other packages, but marking it as foreign
seems less likely to cause problems than trying to move binaries around
with the freeze looming.

Cheers,
Olly



Bug#917022: no multiarch support for wxrc

2018-12-27 Thread Scott Talbert

On Fri, 21 Dec 2018, Tomasz Słodkowicz wrote:


Package: wx-common
Version: 3.0.4+dfsg-7

wxrc (command line compiler for wxWidgets XML resources) binary is 
installed in /usr/bin. This blocks installing the same package with 
different architecture - required for cross compile. This can be moved 
to /usr/lib/ as described at 
https://wiki.ubuntu.com/MultiarchCross#Executables_in_-dev_packages.


I'm trying to install this on an amd64 host:
apt-get install libwxgtk-webview3.0-dev:armhf wx-common


I'm wondering if instead we could just mark wx-common as Multi-Arch: 
foreign?  A best as I can tell, wxrc doesn't create architecture-specific 
files, so using the native version should be fine for cross-compiling, if 
necessary.


Scott

Bug#917022: no multiarch support for wxrc

2018-12-21 Thread Tomasz Słodkowicz
Package: wx-common
Version: 3.0.4+dfsg-7

wxrc (command line compiler for wxWidgets XML resources) binary is installed in 
/usr/bin. This blocks installing the same package with different architecture - 
required for cross compile. This can be moved to /usr/lib/ as 
described at 
https://wiki.ubuntu.com/MultiarchCross#Executables_in_-dev_packages.

I'm trying to install this on an amd64 host:
apt-get install libwxgtk-webview3.0-dev:armhf wx-common