Build error (git master), with patch

Comments, questions, bug reports, etc.
Post Reply
cebe
Posts: 1
Joined: Fri Jul 30, 2021 3:30 pm

Build error (git master), with patch

Post 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
Attachments
wimlib_version.patch
Exclude newline by using m4_esyscmd_s
(420 Bytes) Downloaded 288 times
synchronicity
Site Admin
Posts: 472
Joined: Sun Aug 02, 2015 10:31 pm

Re: Build error (git master), with patch

Post 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.
Post Reply