Bug#930077: systemd: add :native to python3-evdev build dependency

2019-06-06 Thread Michael Biebl
Am 06.06.19 um 22:16 schrieb W. Martin Borgert:
> On 2019-06-06 19:59, Michael Biebl wrote:
>> Could you give a bit more details on why this is necessary and e.g. why
>> python3-pyparsing does not need :native?
> 
> I'm not even sure myself, but I try my best :-)
> 
> Short: python3-evdev is any, python3-pyparsing is all.
> 
> Longer: When cross-building, one needs the -dev packages for the
> host arch, e.g. building on amd64 for armel needs
> libfoo-dev:armel. Anything that is executed during build, e.g.
> yacc, lex, Python stuff must be amd64, of course. The Python
> interpreter must be amd64 ("native), and that counts for "any"
> modules, too, e.g. python3-evdev. python3-pyparsing is "all", so
> there is no need for :native.

I guess the problem is that python3.7 is marked as Multi-Arch: allowed?

Bringing Helmut into the loop here.




-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#930077: systemd: add :native to python3-evdev build dependency

2019-06-06 Thread W. Martin Borgert
On 2019-06-06 19:59, Michael Biebl wrote:
> Could you give a bit more details on why this is necessary and e.g. why
> python3-pyparsing does not need :native?

I'm not even sure myself, but I try my best :-)

Short: python3-evdev is any, python3-pyparsing is all.

Longer: When cross-building, one needs the -dev packages for the
host arch, e.g. building on amd64 for armel needs
libfoo-dev:armel. Anything that is executed during build, e.g.
yacc, lex, Python stuff must be amd64, of course. The Python
interpreter must be amd64 ("native), and that counts for "any"
modules, too, e.g. python3-evdev. python3-pyparsing is "all", so
there is no need for :native.



Bug#930077: systemd: add :native to python3-evdev build dependency

2019-06-06 Thread Michael Biebl
Am 06.06.19 um 17:13 schrieb W. Martin Borgert:
> Source: systemd
> Version: 241-5
> 
> Please change the build dependency
> 
>  python3-evdev ,
> 
> to
> 
>  python3-evdev:native ,
> 
> Only with that change I could cross-compile the package. TIA!

Could you give a bit more details on why this is necessary and e.g. why
python3-pyparsing does not need :native?

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#930077: systemd: add :native to python3-evdev build dependency

2019-06-06 Thread W. Martin Borgert

Source: systemd
Version: 241-5

Please change the build dependency

 python3-evdev ,

to

 python3-evdev:native ,

Only with that change I could cross-compile the package. TIA!