[OTR-dev] Reproducible builds of pidgin-otr for Windows
Jurre van Bergen
drwhax at 2600nl.net
Sun Mar 20 15:57:24 EDT 2016
On 03/20/2016 07:55 PM, Ian Goldberg wrote:
> On Sun, Mar 20, 2016 at 07:45:37PM +0100, Jurre van Bergen wrote:
>> On 03/20/2016 07:41 PM, Ian Goldberg wrote:
>>> On Sun, Mar 20, 2016 at 07:36:30PM +0100, Jurre van Bergen wrote:
>>>> However, I will retry with installing the bison package first.
>>> That wasn't the only issue (but it was indeed one of the issues). The
>>> other issue is that zip file you created had a "win32_export" top level
>>> directory that shouldn't be there. The Makefile.mingw cd's into that
>>> directory before creating the zip, so I'm not sure why that would be
>>> there? (Also, your zip file had a different name from the one the
>>> Makefile.mingw creates; did you rename it yourself? Or did you create
>>> the zipfile yourself instead of using the pidgin-otr-4.0.2.zip the
>>> INSTALL.mingw program creates for you?)
>> I renamed that directory myself since it didn't zip it (I didn't had the
>> dependency installed).
> This is a first cut of the required packages:
>
> sudo apt-get install mingw32 nsis faketime bison zip unzip tar \
> wget diffutils findutils build-essential automake patch \
> perl-base
I'd like to add `apt-get install gettext`. Otherwise we run into the
following issue:
potomo: './po/cs.po' keeping UTF-8
./potomo: 56: ./potomo: msgfmt: not found
msgfmt is shipped in gettext.
Also, we need libtool: apt-get install libtool
> [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
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
+ ./configure --with-pic --host=i586-mingw32msvc
--prefix=/usr/i586-mingw32msvc --enable-static --disable-shared
--with-libgcrypt-prefix=/usr/i586-mingw32msvc
configure: WARNING: unrecognized options: --with-libgcrypt-prefix
David and myself are trying to debug this over an instant messaging
channel. No idea why this broke now and not before.
Reproducible builds are interesting :)
Best,
Jurre
More information about the OTR-dev
mailing list