Re: dash 0.5.13 configure config.status truncated running under dash 0.5.13

[email protected] Mon, 29 Sep 2025 03:15:02 -0600
Newsgroups org.kernel.vger.dash
Organization Systematic Software
Message-ID <[email protected]>
On 2025-09-28 23:01, Herbert Xu wrote:
> Brian Inglis wrote:
>>
>> Package dash 0.5.13 configure and build seems to run okay with previous dash
>> 0.5.12 == /bin/sh but rebuilding under latest dash 0.5.13 == /bin/sh fails in
>> configure running config.status at line 665 due to truncation at line defining
> 
> Thanks for the report.  There has been two fixes since 0.5.13
> that may fix this, please apply those patches and try again:
> 
> https://patchwork.kernel.org/project/dash/patch/[email protected]/
> https://patchwork.kernel.org/project/dash/patch/[email protected]/
> 
> If it still fails please let me know.
> 
> I tried to reproduce this but I couldn't even without those two
> patches.

Applied and rebuilt, getting the same failure with identical ERROR messages and 
symptoms, after building okay with previous dash == sh, then rerunning with 
latest dash == sh.

Do the previously highlighted configure script last two config.status generation 
stanzas seem to have issues, or is that as intended?

It appears that the following _ACEOF\ncat >>$CONFIG_STATUS ... might be 
misplaced, as it is immediately followed by a list of sed commands.

These stanzas come from /usr/share/autoconf{,2.7}/autoconf/status.m4
included by /usr/share/autoconf{,2.7}/autoconf/autoconf.m4 frozen in
/usr/share/autoconf{,2.7}/autoconf/autoconf.m4f.

Or is this an issue that should be raised with the autoconf/autotools team?

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry
dash-0.5.13-2-compile.log (text/plain, 6.4 KB)
cygport 0.37.2 

PF = dash-0.5.13-2
S = /usr/src/dash/dash-0.5.13-2.x86_64/src/dash-0.5.13
B = /usr/src/dash/dash-0.5.13-2.x86_64/build
D = /usr/src/dash/dash-0.5.13-2.x86_64/inst
C = /usr/src/dash/dash-0.5.13-2.x86_64/src/dash-0.5.13/CYGWIN-PATCHES
T = /usr/src/dash/dash-0.5.13-2.x86_64/temp
CBUILD = x86_64-pc-cygwin
CHOST = x86_64-pc-cygwin
CTARGET = x86_64-pc-cygwin
CC = gcc
CFLAGS = -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4 -ffile-prefix-map=/usr/src/dash/dash-0.5.13-2.x86_64/build=/usr/src/debug/dash-0.5.13-2 -ffile-prefix-map=/usr/src/dash/dash-0.5.13-2.x86_64/src/dash-0.5.13=/usr/src/debug/dash-0.5.13-2
CPPFLAGS =
CXX = g++
CXXFLAGS = -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=return-type -ffile-prefix-map=/usr/src/dash/dash-0.5.13-2.x86_64/build=/usr/src/debug/dash-0.5.13-2 -ffile-prefix-map=/usr/src/dash/dash-0.5.13-2.x86_64/src/dash-0.5.13=/usr/src/debug/dash-0.5.13-2
F77 = gfortran
FFLAGS = -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4 -ffile-prefix-map=/usr/src/dash/dash-0.5.13-2.x86_64/build=/usr/src/debug/dash-0.5.13-2 -ffile-prefix-map=/usr/src/dash/dash-0.5.13-2.x86_64/src/dash-0.5.13=/usr/src/debug/dash-0.5.13-2
FC = gfortran
FCFLAGS = -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4 -ffile-prefix-map=/usr/src/dash/dash-0.5.13-2.x86_64/build=/usr/src/debug/dash-0.5.13-2 -ffile-prefix-map=/usr/src/dash/dash-0.5.13-2.x86_64/src/dash-0.5.13=/usr/src/debug/dash-0.5.13-2
GOC = gccgo
GOFLAGS = -ggdb -O2 -pipe -ffile-prefix-map=/usr/src/dash/dash-0.5.13-2.x86_64/build=/usr/src/debug/dash-0.5.13-2 -ffile-prefix-map=/usr/src/dash/dash-0.5.13-2.x86_64/src/dash-0.5.13=/usr/src/debug/dash-0.5.13-2
OBJC = gcc
OBJCFLAGS = -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4 -ffile-prefix-map=/usr/src/dash/dash-0.5.13-2.x86_64/build=/usr/src/debug/dash-0.5.13-2 -ffile-prefix-map=/usr/src/dash/dash-0.5.13-2.x86_64/src/dash-0.5.13=/usr/src/debug/dash-0.5.13-2
OBJCXX = g++
OBJCXXFLAGS = -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=return-type -ffile-prefix-map=/usr/src/dash/dash-0.5.13-2.x86_64/build=/usr/src/debug/dash-0.5.13-2 -ffile-prefix-map=/usr/src/dash/dash-0.5.13-2.x86_64/src/dash-0.5.13=/usr/src/debug/dash-0.5.13-2
LDFLAGS = -static-libgcc
LIBS =
MAKEOPTS = -j 5


autoreconf-2.72: export WARNINGS=
autoreconf-2.72: Entering directory '.'
autoreconf-2.72: configure.ac: not using Gettext
autoreconf-2.72: running: aclocal --force 
autoreconf-2.72: configure.ac: tracing
autoreconf-2.72: configure.ac: not using Libtool
autoreconf-2.72: configure.ac: not using Intltool
autoreconf-2.72: configure.ac: not using Gtkdoc
autoreconf-2.72: running: /usr/bin/autoconf-2.72 --force
autoreconf-2.72: running: /usr/bin/autoheader-2.72 --force
autoreconf-2.72: running: automake --add-missing --copy --force-missing
autoreconf-2.72: './install-sh' is updated
autoreconf-2.72: Leaving directory '.'
/usr/src/dash/dash-0.5.13-2.x86_64/src/dash-0.5.13/configure --srcdir=/usr/src/dash/dash-0.5.13-2.x86_64/src/dash-0.5.13 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/dash --htmldir=/usr/share/doc/dash/html -C
configure: loading site script /etc/config.site
configure: creating cache config.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for build system compiler... gcc
checking for __attribute__((__alias__()))... yes
checking for alloca.h... yes
checking for paths.h... yes
checking for sys/wait.h... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether _PATH_BSHELL is declared... yes
checking whether _PATH_DEVNULL is declared... yes
checking whether _PATH_TTY is declared... yes
checking whether isblank is declared... yes
checking size of intmax_t... 8
checking size of long long int... 8
checking whether PRIdMAX is declared... yes
checking for bsearch... yes
checking for faccessat... yes
checking for getpwnam... yes
checking for getrlimit... yes
checking for isalpha... yes
checking for killpg... yes
checking for memfd_create... no
checking for memrchr... yes
checking for mempcpy... yes
checking for sigsetmask... no
checking for stpcpy... yes
checking for strchrnul... yes
checking for strsignal... yes
checking for strtod... yes
checking for strtoimax... yes
checking for strtoumax... yes
checking for sysconf... yes
checking for tee... no
checking for wait3... yes
checking for signal... yes
checking whether stat64 is declared... no
checking for glob64... no
checking for open64... no
checking for stat::st_mtim... yes
checking for F_DUPFD_CLOEXEC... yes
configure: updating cache config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
./config.status: 665: Syntax error: Unterminated quoted string
*** ERROR: configure failed