pastebin - collaborative debugging tool
rovema.kpaste.net RSS


msnfs41client: Patches for nfsbuildtest, 2024-11-07
Posted by Anonymous on Thu 7th Nov 2024 12:26
raw | new post

  1. From 3b0c144acfbd912f7ea16c5ea74353468bcd856c Mon Sep 17 00:00:00 2001
  2. From: Roland Mainz <roland.mainz@nrubsig.org>
  3. Date: Thu, 7 Nov 2024 12:02:11 +0100
  4. Subject: [PATCH 1/4] tests: nfsbuildtest: Fix "bash build" for gcc 15.0
  5.  
  6. Fix "bash build" for gcc 15.0 used in Cygwin 3.6
  7.  
  8. Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
  9. ---
  10. tests/nfsbuildtest/nfsbuildtest.ksh93 | 3 +++
  11.  1 file changed, 3 insertions(+)
  12.  
  13. diff --git a/tests/nfsbuildtest/nfsbuildtest.ksh93 b/tests/nfsbuildtest/nfsbuildtest.ksh93
  14. index 7ea4921..9c1e0e3 100644
  15. --- a/tests/nfsbuildtest/nfsbuildtest.ksh93
  16. +++ b/tests/nfsbuildtest/nfsbuildtest.ksh93
  17. @@ -274,6 +274,9 @@ function bash_build
  18.                 (set -o xtrace ; sed -i "s/\/bin\/sh/\/bin\/ksh93/g" $(find . -name 'configure') )
  19.         fi
  20.  
  21. +       # workaround for gcc 15.0 used in Cygwin 3.6
  22. +       export CFLAGS="-Wno-error=implicit-function-declaration -Wno-error=implicit-int"
  23. +
  24.         if $config_use_posix_ksh93_builtins ; then
  25.                 CONFIG_SHELL=/usr/bin/ksh93 ksh93 ./configure "${configure_options[@]}"
  26.         else
  27. --
  28. 2.45.1
  29.  
  30. From c53074def9bb186c69d5a4fd7b476ad6a7fdb8d8 Mon Sep 17 00:00:00 2001
  31. From: Roland Mainz <roland.mainz@nrubsig.org>
  32. Date: Thu, 7 Nov 2024 12:04:11 +0100
  33. Subject: [PATCH 2/4] tests: nfsbuildtest: "gcc build" should use make install
  34.  for more test coverage
  35.  
  36. nfsbuildtest: "gcc build" should use make install for more test coverage,
  37. e.g. use of /usr/bin/install&co.
  38.  
  39. Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
  40. ---
  41. tests/nfsbuildtest/nfsbuildtest.ksh93 | 2 +-
  42.  1 file changed, 1 insertion(+), 1 deletion(-)
  43.  
  44. diff --git a/tests/nfsbuildtest/nfsbuildtest.ksh93 b/tests/nfsbuildtest/nfsbuildtest.ksh93
  45. index 9c1e0e3..7167ff6 100644
  46. --- a/tests/nfsbuildtest/nfsbuildtest.ksh93
  47. +++ b/tests/nfsbuildtest/nfsbuildtest.ksh93
  48. @@ -155,7 +155,7 @@ function gcc_build
  49.         #
  50.         # build gcc
  51.         #
  52. -       time ksh93 -c 'export SHELL=/bin/ksh93 ; (yes | make --load-average 32 -j12 all)'
  53. +       time ksh93 -c 'export SHELL=/bin/ksh93 ; (yes | make --load-average 32 -j12 install)'
  54.         echo $?
  55.  
  56.         echo "#Done."
  57. --
  58. 2.45.1
  59.  
  60. From e39ff1ec27504ae8598b5d99bd88e3933154e849 Mon Sep 17 00:00:00 2001
  61. From: Roland Mainz <roland.mainz@nrubsig.org>
  62. Date: Thu, 7 Nov 2024 12:06:52 +0100
  63. Subject: [PATCH 3/4] tests: nfsbuildtest "gcc build" should depend on
  64.  "gettext"+"gettext-devel" packages
  65.  
  66. nfsbuildtest "gcc build" should depend on "gettext" and
  67. "gettext-devel" Cygwin packages
  68.  
  69. Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
  70. ---
  71. tests/nfsbuildtest/nfsbuildtest.ksh93 | 2 ++
  72.  1 file changed, 2 insertions(+)
  73.  
  74. diff --git a/tests/nfsbuildtest/nfsbuildtest.ksh93 b/tests/nfsbuildtest/nfsbuildtest.ksh93
  75. index 7167ff6..2289a06 100644
  76. --- a/tests/nfsbuildtest/nfsbuildtest.ksh93
  77. +++ b/tests/nfsbuildtest/nfsbuildtest.ksh93
  78. @@ -528,6 +528,8 @@ function main
  79.                         is_cygwin_pkg_installed icp 'libmpc-devel' || (( errc++ ))
  80.                         is_cygwin_pkg_installed icp 'libintl-devel' || (( errc++ ))
  81.                         is_cygwin_pkg_installed icp 'libisl-devel' || (( errc++ ))
  82. +                       is_cygwin_pkg_installed icp 'gettext' || (( errc++ ))
  83. +                       is_cygwin_pkg_installed icp 'gettext-devel' || (( errc++ ))
  84.                         (( errc > 0 )) && return 1
  85.                         gcc_build
  86.                         return $?
  87. --
  88. 2.45.1
  89.  
  90. From cdd3c8ed6a83f62d7de9ff9a093b3544ccda4493 Mon Sep 17 00:00:00 2001
  91. From: Roland Mainz <roland.mainz@nrubsig.org>
  92. Date: Thu, 7 Nov 2024 12:55:36 +0100
  93. Subject: [PATCH 4/4] tests: nfsbuildtest: Document "msnfs41client" target
  94.  
  95. nfsbuildtest: Document "msnfs41client" target
  96.  
  97. Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
  98. ---
  99. tests/nfsbuildtest/nfsbuildtest.ksh93 | 5 +++++
  100.  1 file changed, 5 insertions(+)
  101.  
  102. diff --git a/tests/nfsbuildtest/nfsbuildtest.ksh93 b/tests/nfsbuildtest/nfsbuildtest.ksh93
  103. index 2289a06..eb8bc02 100644
  104. --- a/tests/nfsbuildtest/nfsbuildtest.ksh93
  105. +++ b/tests/nfsbuildtest/nfsbuildtest.ksh93
  106. @@ -19,6 +19,11 @@
  107.  #   $ ksh93 nfsbuildtest.ksh93 gcc createcache
  108.  #   $ ksh93 nfsbuildtest.ksh93 gcc build
  109.  #
  110. +# - build ms-nfs41-client:
  111. +#   $ ksh93 nfsbuildtest.ksh93 msnfs41client clean
  112. +#   $ ksh93 nfsbuildtest.ksh93 msnfs41client createcache
  113. +#   $ ksh93 nfsbuildtest.ksh93 msnfs41client build
  114. +#
  115.  
  116.  function gcc_createcache
  117.  {
  118. --
  119. 2.45.1

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at