Bug#814954: libgcrypt20: add libgcrypt-mingw-w64-dev for cross-building to Windows targets

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sat Feb 20 22:49:23 UTC 2016


Hi Andreas--

On Fri 2016-02-19 12:59:21 -0500, Andreas Metzler wrote:
> On 2016-02-17 Daniel Kahn Gillmor <dkg at fifthhorseman.net> wrote:
> [...]
>> The attached set of patches against branch1.6 (also in the
>> debian-windows branch of
>> https://anonscm.debian.org/git/users/dkg/libgcrypt.git) provides this
>> for libgcrypt.
> [...]
>
> Hello,
>
> this does not build for me on current sid:
> /bin/bash ../libtool --mode=compile --tag=RC i686-w64-mingw32-windres -DHAVE_CONFIG_H -I. -I../../src -I..     -i "versioninfo.rc" -o "versioninfo.lo"
> libtool: compile:  i686-w64-mingw32-windres -DHAVE_CONFIG_H -I. -I../../src -I.. -i versioninfo.rc  -o .libs/versioninfo.o
> i686-w64-mingw32-windres: versioninfo.rc.in:21: syntax error
> Makefile:1240: recipe for target 'versioninfo.lo' failed
> make[2]: *** [versioninfo.lo] Error 1

Ugh, it looks like it builds when building from git, but not from a
tarball.  This is because we're using autoreconf and upstream's
configure.ac relies on being in a git repo (it selects the revision
number from the number of git commits in the active history).

The attached patch works to build it from a tarball.  It is modelled off
the one we're using for libgpg-error, which derives the revision number
From the length of debian/changelog instead of from the count of git
commits.

        --dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 45_measure_revision_by_length_of_debian_changelog.patch
Type: text/x-diff
Size: 1031 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnutls-maint/attachments/20160220/99033794/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 948 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnutls-maint/attachments/20160220/99033794/attachment.sig>


More information about the Pkg-gnutls-maint mailing list