On 23 May 2014 21:14, Tollef Fog Heen <tfh...@err.no> wrote:
> ]] Dimitri John Ledkov
>
>> In Ubuntu, we regularly cross-build a lot of packages, which does rely
>> on cross-building against non-multiarched libraries. All builds are
>> done in clean chroots & this has not raised an issue before.
>
> I'm not going to add Ubuntu-specific patches to Debian.  Feel free to
> come to a conclusion with those who use crosswrapper in Debian and I'm
> ok with applying most of the patch.
>

A few folks who use cross-compilation in debian are CC'ed. At the
moment pkg-config cross wrapper does not add /usr/lib/pkgconfig to the
pkg-config's search path in cross-case.
This thus leads to configuration errors. E.g. if a correct arhicture
dev package installed (e.g. in amd64->armhf case, libfoo-dev:armhf)
but it's not multiarched, configuration will fail as
<trippler>-pkg-config will say that no such library is present. With
this change configuration & build will succeed.

If one has a wrong architecture package installed, currently
configuration will fail. With this change, the build stage will fail
(well, linking). And one gains cross-buildability of a lot of trivial
packages without multiarchifying them.

Thus actually I see no reason to not add /usr/lib/pkgconfig to the
search path in the cross-wrapper. Would others agree?

>> -Depends: ${shlibs:Depends}, ${misc:Depends}
>> +Depends: ${shlibs:Depends}, ${misc:Depends}, dpkg-dev
>
> This should be a Suggests, not a Depends, surely.
>

Well, if you take this patch by default enabling /usr/lib/pkgconfig
then dpkg-dev is not needed.

-- 
Regards,

Dimitri.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to