Hi, on bsd-like systems(*), `./configure` fails with v6.9.92. The error is:
checking for library containing crypt... none required sed: 1: "/^gl_INCLUDE_EXCLUDE_PR ...": bad flag in substitute command: '}' configure: error: internal error: g'l_INCLUDE_EXCLUDE_PROG's 2nd arg, , does not match the list of default-not-installed programs (arch hostname su) also recorded in ./src/Makefile.am The bug is easily fixed by inserting a newline right before the closing '}', to make non-GNU sed(1) happy. I've attached a patch(*). With it, v6.9.92 compiles on the aforementioned platforms -- while the test suite passes on openbsd, though, on darwin 15 tests fail: FAIL: help-version.log FAIL: parent-perm.log FAIL: file-perm-race.log FAIL: parent-perm-race.log FAIL: existing-perm-race.log FAIL: backup-dir.log FAIL: src-base-dot.log FAIL: preserve-2.log FAIL: fail-perm.log FAIL: cp-parents.log FAIL: basic-1.log FAIL: create-leading.log FAIL: misc.log FAIL: test-frexpl FAIL: test-printf-frexpl I've attached the verbose output. -- Elias (*) tested on powerpc-unknown-openbsd4.2, i386-apple-darwin9.1.0 PS: I have yet to run expensive tests and check-root
diff --git a/configure.ac b/configure.ac index 78c662a..768f13a 100644 --- a/configure.ac +++ b/configure.ac @@ -279,7 +279,8 @@ no_install_progs_default=`echo "$t"|sed 's/ $//'` # The compromise is to ensure that the space-separated list extracted # above matches the literal 2nd argument below. c="$srcdir/configure.ac" -t=`sed -n '/^g''l_INCLUDE_EXCLUDE_PROG(.* [\[\(.*\)\]])/{s//\1/;s/,/ /gp}' $c` +t=`sed -n '/^g''l_INCLUDE_EXCLUDE_PROG(.* [\[\(.*\)\]])/{s//\1/;s/,/ /gp +}' $c` case $t in $no_install_progs_default) ;; *) AC_MSG_ERROR([[internal error: g'l_INCLUDE_EXCLUDE_PROG's 2nd arg, $t,
coreutils-6.9.92-check.log.bz2
Description: Binary data
pgpyf2U9zAjFr.pgp
Description: PGP signature
_______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils