GNU bug report logs -
#63605
FYI: build improvement+fix
Previous Next
Reported by: Jim Meyering <jim <at> meyering.net>
Date: Sat, 20 May 2023 10:00:02 UTC
Severity: normal
Done: Jim Meyering <jim <at> meyering.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63605 in the body.
You can then email your comments to 63605 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-diffutils <at> gnu.org
:
bug#63605
; Package
diffutils
.
(Sat, 20 May 2023 10:00:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jim Meyering <jim <at> meyering.net>
:
New bug report received and forwarded. Copy sent to
bug-diffutils <at> gnu.org
.
(Sat, 20 May 2023 10:00:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I've just pushed these:
build: modernize bootstrap prerequsite tools
Following Pádraig Brady's example from coreutils, ...
* bootstrap.conf: Add an explicit requirement on m4.
Add an explicit requirement on texi2pdf which is often packaged
separately to makeinfo and induces a failure far down the
distribution phase if not present.
Replace the rsync dependency with wget,
which gnulib changed to in 2018.
Also, add an xz requirement and a version for autopoint.
build: fix a new syntax-check failure
* src/diff.h (robust_output_style): Put DIFF_INLINE and
the function name on the same line, so that syntax-check's
naive parsing can spot this function.
* cfg.mk (_gl_TS_extern): Add DIFF_INLINE.
[diff-build-2.diff (text/x-patch, inline)]
From 55260678d9cb3269a853916a59f1b8842c4d87e4 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering <at> fb.com>
Date: Sat, 20 May 2023 02:16:52 -0700
Subject: [PATCH 1/2] build: modernize bootstrap prerequsite tools
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Following Pádraig Brady's example from coreutils, ...
* bootstrap.conf: Add an explicit requirement on m4.
Add an explicit requirement on texi2pdf which is often packaged
separately to makeinfo and induces a failure far down the
distribution phase if not present.
Replace the rsync dependency with wget,
which gnulib changed to in 2018.
Also, add an xz requirement and a version for autopoint.
---
bootstrap.conf | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/bootstrap.conf b/bootstrap.conf
index 83e08ab..6630b15 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -124,18 +124,21 @@ gnulib_tool_option_extras="--tests-base=gnulib-tests
# Build prerequisites
buildreq="\
-autoconf 2.62
+autoconf 2.64
automake 1.12.2
-autopoint -
+autopoint 0.19.2
gettext 0.19.2
git 1.4.4
gperf -
gzip -
help2man -
+m4 -
makeinfo -
perl 5.5
-rsync -
+texi2pdf 6.1
tar -
+wget -
+xz -
"
bootstrap_post_import_hook ()
--
2.41.0.rc0.4.g004e0f790f
From b079f08cc9b7236e7ada9edc3764ce14e3828b54 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering <at> fb.com>
Date: Sat, 20 May 2023 02:43:07 -0700
Subject: [PATCH 2/2] build: fix a new syntax-check failure
* src/diff.h (robust_output_style): Put DIFF_INLINE and
the function name on the same line, so that syntax-check's
naive parsing can spot this function.
* cfg.mk (_gl_TS_extern): Add DIFF_INLINE.
---
cfg.mk | 2 +-
src/diff.h | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/cfg.mk b/cfg.mk
index e21ff19..b58175e 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -74,4 +74,4 @@ exclude_file_name_regexp--sc_space_tab = ^gl/lib/.*\.c\.diff$$
exclude_file_name_regexp--sc_prohibit_doubled_word = ^tests/y2038-vs-32bit$$
# Tell gnulib's tight_scope rule that we mark externs with XTERN
-export _gl_TS_extern = extern|XTERN
+export _gl_TS_extern = extern|XTERN|DIFF_INLINE
diff --git a/src/diff.h b/src/diff.h
index 276e2d4..75d5ab0 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -96,8 +96,7 @@ enum output_style
/* True for output styles that are robust,
i.e. can handle a file that ends in a non-newline. */
-DIFF_INLINE bool
-robust_output_style (enum output_style s)
+DIFF_INLINE bool robust_output_style (enum output_style s)
{
return s != OUTPUT_ED && s != OUTPUT_FORWARD_ED;
}
--
2.41.0.rc0.4.g004e0f790f
bug closed, send any further explanations to
63605 <at> debbugs.gnu.org and Jim Meyering <jim <at> meyering.net>
Request was from
Jim Meyering <jim <at> meyering.net>
to
control <at> debbugs.gnu.org
.
(Sat, 20 May 2023 10:14:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 17 Jun 2023 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 329 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.