[OTR-dev] Reproducible builds of pidgin-otr for Windows

Ian Goldberg ian at cypherpunks.ca
Sun Mar 20 16:03:00 EDT 2016


On Sun, Mar 20, 2016 at 08:57:24PM +0100, Jurre van Bergen wrote:
> > [Well, the above and their dependencies, of course.]
> >
> > If you could try a bare-bones Ubuntu 14.04 Docker, plus the above
> > packages, and let me know what happens, that would be great!
> 
> Now, what is interesting is this required packages list from above broke
> my build completely. I now get:
> 
> + cd libotr-4.1.1
> + unset CFLAGS
> + unset LDFLAGS
> + ./bootstrap
> + '[' '!' -e config ']'
> + autoreconf -i
> configure.ac:31: warning: macro 'AM_PATH_LIBGCRYPT' not found in library
> configure.ac:31: warning: macro 'AM_PATH_LIBGCRYPT' not found in library
> configure.ac:31: error: possibly undefined macro: AM_PATH_LIBGCRYPT

This means it can't find /usr/i586-mingw32msvc/share/aclocal/libgcrypt.m4.
Aha: it's probably looking for the *native* one and failing.

But that said, we shouldn't actually have to run autoreconf (or
bootstrap) at all.  Can you try just removing "./bootstrap" from
INSTALL.mingw and see what happens?

> David and myself are trying to debug this over an instant messaging
> channel. No idea why this broke now and not before.

Did you perhaps have libgcrypt20-dev installed before, but not now?

> Reproducible builds are interesting :)

Indeed.  Thanks for helping out!


More information about the OTR-dev mailing list