- From 3b0c144acfbd912f7ea16c5ea74353468bcd856c Mon Sep 17 00:00:00 2001
- From: Roland Mainz <roland.mainz@nrubsig.org>
- Date: Thu, 7 Nov 2024 12:02:11 +0100
- Subject: [PATCH 1/4] tests: nfsbuildtest: Fix "bash build" for gcc 15.0
- Fix "bash build" for gcc 15.0 used in Cygwin 3.6
- Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
- ---
- tests/nfsbuildtest/nfsbuildtest.ksh93 | 3 +++
- 1 file changed, 3 insertions(+)
- diff --git a/tests/nfsbuildtest/nfsbuildtest.ksh93 b/tests/nfsbuildtest/nfsbuildtest.ksh93
- index 7ea4921..9c1e0e3 100644
- --- a/tests/nfsbuildtest/nfsbuildtest.ksh93
- +++ b/tests/nfsbuildtest/nfsbuildtest.ksh93
- @@ -274,6 +274,9 @@ function bash_build
- (set -o xtrace ; sed -i "s/\/bin\/sh/\/bin\/ksh93/g" $(find . -name 'configure') )
- fi
- + # workaround for gcc 15.0 used in Cygwin 3.6
- + export CFLAGS="-Wno-error=implicit-function-declaration -Wno-error=implicit-int"
- +
- if $config_use_posix_ksh93_builtins ; then
- CONFIG_SHELL=/usr/bin/ksh93 ksh93 ./configure "${configure_options[@]}"
- else
- --
- 2.45.1
- From c53074def9bb186c69d5a4fd7b476ad6a7fdb8d8 Mon Sep 17 00:00:00 2001
- From: Roland Mainz <roland.mainz@nrubsig.org>
- Date: Thu, 7 Nov 2024 12:04:11 +0100
- Subject: [PATCH 2/4] tests: nfsbuildtest: "gcc build" should use make install
- for more test coverage
- nfsbuildtest: "gcc build" should use make install for more test coverage,
- e.g. use of /usr/bin/install&co.
- Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
- ---
- tests/nfsbuildtest/nfsbuildtest.ksh93 | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- diff --git a/tests/nfsbuildtest/nfsbuildtest.ksh93 b/tests/nfsbuildtest/nfsbuildtest.ksh93
- index 9c1e0e3..7167ff6 100644
- --- a/tests/nfsbuildtest/nfsbuildtest.ksh93
- +++ b/tests/nfsbuildtest/nfsbuildtest.ksh93
- @@ -155,7 +155,7 @@ function gcc_build
- #
- # build gcc
- #
- - time ksh93 -c 'export SHELL=/bin/ksh93 ; (yes | make --load-average 32 -j12 all)'
- + time ksh93 -c 'export SHELL=/bin/ksh93 ; (yes | make --load-average 32 -j12 install)'
- echo $?
- echo "#Done."
- --
- 2.45.1
- From e39ff1ec27504ae8598b5d99bd88e3933154e849 Mon Sep 17 00:00:00 2001
- From: Roland Mainz <roland.mainz@nrubsig.org>
- Date: Thu, 7 Nov 2024 12:06:52 +0100
- Subject: [PATCH 3/4] tests: nfsbuildtest "gcc build" should depend on
- "gettext"+"gettext-devel" packages
- nfsbuildtest "gcc build" should depend on "gettext" and
- "gettext-devel" Cygwin packages
- Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
- ---
- tests/nfsbuildtest/nfsbuildtest.ksh93 | 2 ++
- 1 file changed, 2 insertions(+)
- diff --git a/tests/nfsbuildtest/nfsbuildtest.ksh93 b/tests/nfsbuildtest/nfsbuildtest.ksh93
- index 7167ff6..2289a06 100644
- --- a/tests/nfsbuildtest/nfsbuildtest.ksh93
- +++ b/tests/nfsbuildtest/nfsbuildtest.ksh93
- @@ -528,6 +528,8 @@ function main
- is_cygwin_pkg_installed icp 'libmpc-devel' || (( errc++ ))
- is_cygwin_pkg_installed icp 'libintl-devel' || (( errc++ ))
- is_cygwin_pkg_installed icp 'libisl-devel' || (( errc++ ))
- + is_cygwin_pkg_installed icp 'gettext' || (( errc++ ))
- + is_cygwin_pkg_installed icp 'gettext-devel' || (( errc++ ))
- (( errc > 0 )) && return 1
- gcc_build
- return $?
- --
- 2.45.1
- From cdd3c8ed6a83f62d7de9ff9a093b3544ccda4493 Mon Sep 17 00:00:00 2001
- From: Roland Mainz <roland.mainz@nrubsig.org>
- Date: Thu, 7 Nov 2024 12:55:36 +0100
- Subject: [PATCH 4/4] tests: nfsbuildtest: Document "msnfs41client" target
- nfsbuildtest: Document "msnfs41client" target
- Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
- ---
- tests/nfsbuildtest/nfsbuildtest.ksh93 | 5 +++++
- 1 file changed, 5 insertions(+)
- diff --git a/tests/nfsbuildtest/nfsbuildtest.ksh93 b/tests/nfsbuildtest/nfsbuildtest.ksh93
- index 2289a06..eb8bc02 100644
- --- a/tests/nfsbuildtest/nfsbuildtest.ksh93
- +++ b/tests/nfsbuildtest/nfsbuildtest.ksh93
- @@ -19,6 +19,11 @@
- # $ ksh93 nfsbuildtest.ksh93 gcc createcache
- # $ ksh93 nfsbuildtest.ksh93 gcc build
- #
- +# - build ms-nfs41-client:
- +# $ ksh93 nfsbuildtest.ksh93 msnfs41client clean
- +# $ ksh93 nfsbuildtest.ksh93 msnfs41client createcache
- +# $ ksh93 nfsbuildtest.ksh93 msnfs41client build
- +#
- function gcc_createcache
- {
- --
- 2.45.1
msnfs41client: Patches for nfsbuildtest, 2024-11-07
Posted by Anonymous on Thu 7th Nov 2024 12:26
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.