Hi Helmut, Thanks for looking into this! The PKG_CONFIG patch is potentially useful, although I don't see why this is required. The plugins cross compile just fine here.
Your patch does however include debian/* files and also seems to include some changes other than s/pkg-config/$(PKG_CONFIG)/. Do you maintain your work in a git repo? If so it would be handy to export each of the patches separately, since upstream maintains the projects as separate repos: https://github.com/x42/x42-plugins To be honest I'd rather see these plugins be removed from debian until they're statically linked and self-contained. As I've explained countless times in the past, dynamically linking audio-plugins is problematic and incorrect. Cheers! robin On 06/03/2018 08:00 PM, Helmut Grohne wrote: > Source: x42-plugins > Version: 20170428-1.1 > Tags: patch > User: helm...@debian.org > Usertags: rebootstrap > > x42-plugins fails to cross build from source for a pile of reasons. > First and foremost, the Makefiles hard code the build architecture > pkg-config. Allowing substitution produces quite a big cross.patch, but > that part should be upstreamable. Then the packaging needs to pass cross > compilers and a cross pkg-config to make. Furthermore, stripping (with > the build architecture strip) fails. Stripping not just breaks cross > compilation, but also generation -ofdbgsym packages, so disable it > entirely. The attached patch makes x32-plugins cross buildable. Please > consider applying it. > > Helmut > > > > _______________________________________________ > pkg-multimedia-maintainers mailing list > pkg-multimedia-maintainers@alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers > _______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers