Page 1 of 1

Build error (git master), with patch

Posted: Fri Jul 30, 2021 3:40 pm
by cebe
Hi,

I tried to build wimlib from git, unfortunately commit 01ce2d43 broke the configure script for me. On autoreconf, the generated version number ends up with a trailing newline in the configure script, causing the '.' ending the comment line at the beginning of the configure script to move to the next line, which is not commented out. This results in a syntax error when trying to run configure.

Snippet from configure showing the bug (single dot on line 4):

Code: Select all

#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for wimlib 1.13.5-BETA1-2-g01ce2d43
.
#
# Report bugs to <https://wimlib.net/forums/>.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
Patch attached.

Cheers,

Christian

Re: Build error (git master), with patch

Posted: Tue Aug 03, 2021 5:07 am
by synchronicity
Thanks, fixed now. It worked for me, I think because I was using a newer version of autoconf where AC_INIT trims extra whitespace.