Advertisement
jiapei100

haskell_docker_build.txt

Jul 29th, 2023
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.56 KB | Source Code | 0 0
  1. => ERROR [ 9/35] RUN set -xe && apt-get update && rm -rf /var/lib/apt/lists/* && for VERSION in 9.6.2; do curl -fSsL "https://downloads.haskell.org/~ghc/$VERSION/ghc-$VERSION-x86_64-deb11-linux 50.8s
  2. ------
  3. > [ 9/35] RUN set -xe && apt-get update && rm -rf /var/lib/apt/lists/* && for VERSION in 9.6.2; do curl -fSsL "https://downloads.haskell.org/~ghc/$VERSION/ghc-$VERSION-x86_64-deb11-linux.tar.xz" -o /tmp/ghc-$VERSION.tar.xz && mkdir /tmp/ghc-$VERSION && tar -xf /tmp/ghc-$VERSION.tar.xz -C /tmp/ghc-$VERSION --strip-components=1 && rm /tmp/ghc-$VERSION.tar.xz && cd /tmp/ghc-$VERSION && ./configure --prefix=/usr/local/ghc-$VERSION && make -j$(nproc) install && rm -rf /tmp/*; done:
  4. 0.237 + apt-get update
  5. 0.279 Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
  6. 0.290 Get:2 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
  7. 0.420 Get:3 http://deb.debian.org/debian buster/main amd64 Packages [7909 kB]
  8. 0.463 Get:4 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
  9. 0.538 Get:5 http://deb.debian.org/debian buster-updates/main amd64 Packages [8788 B]
  10. 0.636 Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [545 kB]
  11. 1.312 Fetched 8676 kB in 1s (8346 kB/s)
  12. 1.312 Reading package lists...
  13. 1.763 + rm -rf /var/lib/apt/lists/auxfiles /var/lib/apt/lists/deb.debian.org_debian_dists_buster-updates_InRelease /var/lib/apt/lists/deb.debian.org_debian_dists_buster-updates_main_binary-amd64_Packages.lz4 /var/lib/apt/lists/deb.debian.org_debian_dists_buster_InRelease /var/lib/apt/lists/deb.debian.org_debian_dists_buster_main_binary-amd64_Packages.lz4 /var/lib/apt/lists/lock /var/lib/apt/lists/partial /var/lib/apt/lists/security.debian.org_debian-security_dists_buster_updates_InRelease /var/lib/apt/lists/security.debian.org_debian-security_dists_buster_updates_main_binary-amd64_Packages.lz4
  14. 1.768 + curl -fSsL https://downloads.haskell.org/~ghc/9.6.2/ghc-9.6.2-x86_64-deb11-linux.tar.xz -o /tmp/ghc-9.6.2.tar.xz
  15. 4.154 + mkdir /tmp/ghc-9.6.2
  16. 4.156 + tar -xf /tmp/ghc-9.6.2.tar.xz -C /tmp/ghc-9.6.2 --strip-components=1
  17. 16.62 + rm /tmp/ghc-9.6.2.tar.xz
  18. 16.65 + cd /tmp/ghc-9.6.2
  19. 16.65 + ./configure --prefix=/usr/local/ghc-9.6.2
  20. 16.80 checking build system type... x86_64-pc-linux-gnu
  21. 16.86 checking host system type... x86_64-pc-linux-gnu
  22. 16.86 checking target system type... x86_64-pc-linux-gnu
  23. 16.86 build platform inferred as: x86_64-unknown-linux
  24. 16.86 host platform inferred as: x86_64-unknown-linux
  25. 16.87 target platform inferred as: x86_64-unknown-linux
  26. 16.89 configure: GHC build : x86_64-unknown-linux
  27. 16.90 configure: GHC host : x86_64-unknown-linux
  28. 16.91 configure: GHC target : x86_64-unknown-linux
  29. 16.91 checking for path to top of build tree... /tmp/ghc-9.6.2
  30. 16.92 checking for a BSD-compatible install... /usr/bin/install -c
  31. 16.93 checking whether ln -s works... yes
  32. 16.93 checking for gsed... sed
  33. 16.93 checking for python3... /usr/bin/python3
  34. 16.93 checking for gfind... no
  35. 16.93 checking for find... /usr/bin/find
  36. 16.93 checking for gcc... gcc
  37. 16.96 checking whether the C compiler works... yes
  38. 17.00 checking for C compiler default output file name... a.out
  39. 17.00 checking for suffix of executables...
  40. 17.04 checking whether we are cross compiling... no
  41. 17.08 checking for suffix of object files... o
  42. 17.11 checking whether we are using the GNU C compiler... yes
  43. 17.13 checking whether gcc accepts -g... yes
  44. 17.16 checking for gcc option to accept ISO C89... none needed
  45. 17.19 checking for g++... g++
  46. 17.22 checking whether we are using the GNU C++ compiler... yes
  47. 17.24 checking whether g++ accepts -g... yes
  48. 17.27 checking how to run the C preprocessor... gcc -E
  49. 17.32 checking for gcc option to accept ISO C99... none needed
  50. 17.38 checking for gcc option to accept ISO C99... none needed
  51. 17.42 checking for gcc option to accept ISO C99... none needed
  52. 17.46 checking for -ld.lld... no
  53. 17.46 checking for ld.lld... no
  54. 17.46 checking for -ld.gold... no
  55. 17.46 checking for ld.gold... ld.gold
  56. 17.46 checking whether C compiler supports -fuse-ld=gold... yes
  57. 17.49 checking for ld.gold object merging bug (binutils 22266)... not affected
  58. 17.56 checking whether ld is GNU ld... YES
  59. 17.56 ./configure: line 6557: FP_PROG_LD_BUILD_ID: command not found
  60. 17.56 checking whether ld understands -no_compact_unwind... yes
  61. 17.58 checking whether ld understands -filelist... no
  62. 17.62 checking for -strip... no
  63. 17.62 checking for strip... strip
  64. 17.62 checking for gawk... no
  65. 17.62 checking for mawk... mawk
  66. 17.62 checking for llc-15... no
  67. 17.62 checking for llc-15.0... no
  68. 17.62 checking for llc15... no
  69. 17.62 checking for llc-14... no
  70. 17.62 checking for llc-14.0... no
  71. 17.62 checking for llc14... no
  72. 17.62 checking for llc-13... no
  73. 17.62 checking for llc-13.0... no
  74. 17.62 checking for llc13... no
  75. 17.62 checking for llc-12... no
  76. 17.62 checking for llc-12.0... no
  77. 17.62 checking for llc12... no
  78. 17.62 checking for llc-11... no
  79. 17.63 checking for llc-11.0... no
  80. 17.63 checking for llc11... no
  81. 17.63 checking for llc... no
  82. 17.63 checking for opt-15... no
  83. 17.63 checking for opt-15.0... no
  84. 17.63 checking for opt15... no
  85. 17.63 checking for opt-14... no
  86. 17.63 checking for opt-14.0... no
  87. 17.63 checking for opt14... no
  88. 17.63 checking for opt-13... no
  89. 17.63 checking for opt-13.0... no
  90. 17.63 checking for opt13... no
  91. 17.63 checking for opt-12... no
  92. 17.63 checking for opt-12.0... no
  93. 17.63 checking for opt12... no
  94. 17.63 checking for opt-11... no
  95. 17.63 checking for opt-11.0... no
  96. 17.63 checking for opt11... no
  97. 17.63 checking for opt... no
  98. 17.64 checking version of gcc... checking version of gcc... 8.3.0
  99. 17.64 8.3.0
  100. 17.64 checking whether CC supports -no-pie... yes
  101. 17.67 checking for extra options to pass gcc when compiling via C...
  102. 17.67 checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done
  103. 17.68 checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done
  104. 17.68 checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done
  105. 17.68 checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done
  106. 17.68 checking C++ standard library flavour... libstdc++
  107. 17.88 checking for linkage against 'stdc++'... success
  108. 17.94 checking for .subsections_via_symbols... no
  109. 17.97 checking whether your assembler supports .ident directive... yes
  110. 18.01 checking for GNU non-executable stack support... yes
  111. 18.04 checking whether gcc supports --target... no
  112. 18.05 checking whether gcc supports --target... no
  113. 18.06 checking for grep that handles long lines and -e... /bin/grep
  114. 18.07 checking for egrep... /bin/grep -E
  115. 18.07 checking for ANSI C header files... yes
  116. 18.17 checking for sys/types.h... yes
  117. 18.20 checking for sys/stat.h... yes
  118. 18.24 checking for stdlib.h... yes
  119. 18.28 checking for string.h... yes
  120. 18.31 checking for memory.h... yes
  121. 18.34 checking for strings.h... yes
  122. 18.38 checking for inttypes.h... yes
  123. 18.42 checking for stdint.h... yes
  124. 18.46 checking for unistd.h... yes
  125. 18.49 checking size of void *... 8
  126. 18.54 checking whether byte ordering is bigendian... no
  127. 18.61 checking for -ar... no
  128. 18.61 checking for ar... ar
  129. 18.61 checking whether ar is GNU ar... yes
  130. 18.62 checking for ar arguments... q
  131. 18.62 checking whether ar supports @file... yes
  132. 18.63 checking whether ar supports -L... ar: conftest.a: No such file or directory
  133. 18.64 no
  134. 18.64 checking for ranlib... ranlib
  135. 18.67 configure: creating ./config.status
  136. 18.76 config.status: creating mk/system-cxx-std-lib-1.0.conf
  137. 18.78 config.status: creating config.mk
  138. 18.80 ****************************************************
  139. 18.80 Configuration done, ready to 'make install'
  140. 18.80 (see README and INSTALL files for more info.)
  141. 18.80 ****************************************************
  142. 18.83 + nproc
  143. 18.83 + make -j48 install
  144. 18.83 if [ -f doc/users_guide/build-man/ghc.1 ]; then \
  145. 18.83 /usr/bin/install -c -m 755 -d "/usr/local/ghc-9.6.2/share/man"; \
  146. 18.83 /usr/bin/install -c -m 755 -d "/usr/local/ghc-9.6.2/share/man/man1"; \
  147. 18.83 /usr/bin/install -c -m 644 doc/users_guide/build-man/ghc.1 "/usr/local/ghc-9.6.2/share/man/man1"; \
  148. 18.83 fi
  149. 18.83 Copying binaries to /usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin
  150. 18.83 /usr/bin/install -c -m 755 -d "/usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin"
  151. 18.83 Copying docs to /usr/local/ghc-9.6.2/share/doc/ghc-9.6.2
  152. 18.83 /usr/bin/install -c -m 755 -d "/usr/local/ghc-9.6.2/share/doc/ghc-9.6.2"
  153. 18.83 for i in ./bin/ghc-iserv-dyn-ghc-9.6.2 ./bin/ghc-iserv ./bin/runghc-9.6.2 ./bin/runhaskell ./bin/runghc ./bin/runhaskell-9.6.2 ./bin/ghc-iserv-dyn ./bin/ghc-pkg-9.6.2 ./bin/ghc-pkg ./bin/ghc-iserv-prof-ghc-9.6.2 ./bin/hsc2hs-ghc-9.6.2 ./bin/hp2ps ./bin/hpc ./bin/haddock-ghc-9.6.2 ./bin/unlit-ghc-9.6.2 ./bin/ghc-9.6.2 ./bin/ghc-iserv-ghc-9.6.2 ./bin/ghc ./bin/hsc2hs ./bin/hpc-ghc-9.6.2 ./bin/ghc-iserv-prof ./bin/hp2ps-ghc-9.6.2 ./bin/haddock ./bin/unlit; do \
  154. 18.83 if test -L "$i"; then \
  155. 18.83 cp -RP "$i" "/usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin"; \
  156. 18.83 else \
  157. 18.83 /usr/bin/install -c -m 755 "$i" "/usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin"; \
  158. 18.83 fi; \
  159. 18.83 done
  160. 18.83 if [ -d doc ]; then \
  161. 18.83 cd doc; /usr/bin/find . -type f -exec sh -c \
  162. 18.83 '/usr/bin/install -c -m 755 -d "/usr/local/ghc-9.6.2/share/doc/ghc-9.6.2/`dirname $1`" && /usr/bin/install -c -m 644 "$1" "/usr/local/ghc-9.6.2/share/doc/ghc-9.6.2/`dirname $1`"' \
  163. 18.83 sh '{}' ';'; \
  164. 18.83 fi
  165. 18.88
  166. 18.89 Copying libraries to /usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib
  167. 18.89 /usr/bin/install -c -m 755 -d "/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib"
  168. 18.95 # Work around #17418 on Darwin
  169. 18.95 if [ -e "" ]; then \
  170. 18.95 "" -c -r "/usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin"; \
  171. 18.95 fi
  172. 18.95 Installing wrapper scripts
  173. 18.95 /usr/bin/install -c -m 755 -d "/usr/local/ghc-9.6.2/bin"
  174. 18.96 for p in `cd wrappers; /usr/bin/find . ! -type d`; do \
  175. 18.96 mk/install_script.sh "$p" "//usr/local/ghc-9.6.2/bin/$p" "/usr/local/ghc-9.6.2/bin" "/usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin" "/usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin/$p" "/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib" "/usr/local/ghc-9.6.2/share/doc/ghc-9.6.2" "/usr/local/ghc-9.6.2/include"; \
  176. 18.96 done
  177. 18.96 Installing ./haddock -> //usr/local/ghc-9.6.2/bin/./haddock
  178. 18.96 Installing ./ghc-9.6.2 -> //usr/local/ghc-9.6.2/bin/./ghc-9.6.2
  179. 18.97 Installing ./runhaskell-9.6.2 -> //usr/local/ghc-9.6.2/bin/./runhaskell-9.6.2
  180. 18.97 Installing ./hpc -> //usr/local/ghc-9.6.2/bin/./hpc
  181. 18.97 Installing ./hsc2hs -> //usr/local/ghc-9.6.2/bin/./hsc2hs
  182. 18.98 Installing ./ghci-9.6.2 -> //usr/local/ghc-9.6.2/bin/./ghci-9.6.2
  183. 18.98 Installing ./hpc-ghc-9.6.2 -> //usr/local/ghc-9.6.2/bin/./hpc-ghc-9.6.2
  184. 18.98 Installing ./hp2ps -> //usr/local/ghc-9.6.2/bin/./hp2ps
  185. 18.99 Installing ./runghc -> //usr/local/ghc-9.6.2/bin/./runghc
  186. 18.99 Installing ./hsc2hs-ghc-9.6.2 -> //usr/local/ghc-9.6.2/bin/./hsc2hs-ghc-9.6.2
  187. 18.99 Installing ./ghc-pkg-9.6.2 -> //usr/local/ghc-9.6.2/bin/./ghc-pkg-9.6.2
  188. 19.00 Installing ./ghc -> //usr/local/ghc-9.6.2/bin/./ghc
  189. 19.00 Installing ./haddock-ghc-9.6.2 -> //usr/local/ghc-9.6.2/bin/./haddock-ghc-9.6.2
  190. 19.00 Installing ./hp2ps-ghc-9.6.2 -> //usr/local/ghc-9.6.2/bin/./hp2ps-ghc-9.6.2
  191. 19.01 Installing ./ghci -> //usr/local/ghc-9.6.2/bin/./ghci
  192. 19.01 Installing ./ghc-pkg -> //usr/local/ghc-9.6.2/bin/./ghc-pkg
  193. 19.01 Installing ./runghc-9.6.2 -> //usr/local/ghc-9.6.2/bin/./runghc-9.6.2
  194. 19.02 Installing ./runhaskell -> //usr/local/ghc-9.6.2/bin/./runhaskell
  195. 41.23 if [ -d docs-utils ]; then \
  196. 41.23 /usr/bin/install -c -m 755 -d "/usr/local/ghc-9.6.2/share/doc/ghc-9.6.2/html/libraries/"; \
  197. 41.23 /usr/bin/install -c -m 644 docs-utils/prologue.txt "/usr/local/ghc-9.6.2/share/doc/ghc-9.6.2/html/libraries/"; \
  198. 41.23 /usr/bin/install -c -m 755 docs-utils/gen_contents_index "/usr/local/ghc-9.6.2/share/doc/ghc-9.6.2/html/libraries/"; \
  199. 41.23 fi
  200. 49.35 # Work around #17418 on Darwin
  201. 49.35 if [ -e "" ]; then \
  202. 49.35 "" -c -r "/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib"; \
  203. 49.35 fi
  204. 49.81 Installing C++ standard library virtual package
  205. 49.81 /usr/bin/install -c -m 644 mk/system-cxx-std-lib-1.0.conf "/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d"
  206. 49.81 Updating the package DB
  207. 49.81 # to the doc files.
  208. 49.81 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/base-4.18.0.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/base-4.18.0.0/base.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/base-4.18.0.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/base-4.18.0.0.conf.copy'
  209. 49.81 # The rts package doesn't actually supply haddocks, so we stop advertising them
  210. 49.82 # altogether.
  211. 49.82 ((echo "base" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/base-4.18.0.0.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/base-4.18.0.0.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/base-4.18.0.0.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/base-4.18.0.0.conf.copy.copy')
  212. 49.82 # We finally replace the original file.
  213. 49.82 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/base-4.18.0.0.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/base-4.18.0.0.conf'
  214. 49.82 # Fix the mode, in case umask is set
  215. 49.83 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/base-4.18.0.0.conf' # to the doc files.
  216. 49.83 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/terminfo-0.4.1.6.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/terminfo-0.4.1.6/terminfo.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/terminfo-0.4.1.6"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/terminfo-0.4.1.6.conf.copy'
  217. 49.83 # The rts package doesn't actually supply haddocks, so we stop advertising them
  218. 49.83 # altogether.
  219. 49.83 ((echo "terminfo" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/terminfo-0.4.1.6.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/terminfo-0.4.1.6.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/terminfo-0.4.1.6.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/terminfo-0.4.1.6.conf.copy.copy')
  220. 49.84 # We finally replace the original file.
  221. 49.84 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/terminfo-0.4.1.6.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/terminfo-0.4.1.6.conf'
  222. 49.84 # Fix the mode, in case umask is set
  223. 49.84 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/terminfo-0.4.1.6.conf' # to the doc files.
  224. 49.84 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-9.6.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghc-9.6.2/ghc.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghc-9.6.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-9.6.2.conf.copy'
  225. 49.85 # The rts package doesn't actually supply haddocks, so we stop advertising them
  226. 49.85 # altogether.
  227. 49.85 ((echo "ghc" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-9.6.2.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-9.6.2.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-9.6.2.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-9.6.2.conf.copy.copy')
  228. 49.85 # We finally replace the original file.
  229. 49.85 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-9.6.2.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-9.6.2.conf'
  230. 49.86 # Fix the mode, in case umask is set
  231. 49.86 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-9.6.2.conf' # to the doc files.
  232. 49.86 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/pretty-1.1.3.6.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/pretty-1.1.3.6/pretty.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/pretty-1.1.3.6"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/pretty-1.1.3.6.conf.copy'
  233. 49.86 # The rts package doesn't actually supply haddocks, so we stop advertising them
  234. 49.86 # altogether.
  235. 49.87 ((echo "pretty" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/pretty-1.1.3.6.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/pretty-1.1.3.6.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/pretty-1.1.3.6.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/pretty-1.1.3.6.conf.copy.copy')
  236. 49.87 # We finally replace the original file.
  237. 49.87 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/pretty-1.1.3.6.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/pretty-1.1.3.6.conf'
  238. 49.87 # Fix the mode, in case umask is set
  239. 49.87 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/pretty-1.1.3.6.conf' # to the doc files.
  240. 49.88 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghc-compact-0.1.0.0/ghc-compact.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghc-compact-0.1.0.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy'
  241. 49.88 # The rts package doesn't actually supply haddocks, so we stop advertising them
  242. 49.88 # altogether.
  243. 49.88 ((echo "ghc-compact" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy.copy')
  244. 49.89 # We finally replace the original file.
  245. 49.89 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf'
  246. 49.89 # Fix the mode, in case umask is set
  247. 49.89 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf' # to the doc files.
  248. 49.89 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/transformers-0.6.1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/transformers-0.6.1.0/transformers.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/transformers-0.6.1.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/transformers-0.6.1.0.conf.copy'
  249. 49.90 # The rts package doesn't actually supply haddocks, so we stop advertising them
  250. 49.90 # altogether.
  251. 49.90 ((echo "transformers" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/transformers-0.6.1.0.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/transformers-0.6.1.0.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/transformers-0.6.1.0.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/transformers-0.6.1.0.conf.copy.copy')
  252. 49.90 # We finally replace the original file.
  253. 49.90 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/transformers-0.6.1.0.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/transformers-0.6.1.0.conf'
  254. 49.91 # Fix the mode, in case umask is set
  255. 49.91 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/transformers-0.6.1.0.conf' # to the doc files.
  256. 49.91 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-bignum-1.3.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghc-bignum-1.3/ghc-bignum.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghc-bignum-1.3"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-bignum-1.3.conf.copy'
  257. 49.91 # The rts package doesn't actually supply haddocks, so we stop advertising them
  258. 49.91 # altogether.
  259. 49.91 ((echo "ghc-bignum" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-bignum-1.3.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-bignum-1.3.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-bignum-1.3.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-bignum-1.3.conf.copy.copy')
  260. 49.92 # We finally replace the original file.
  261. 49.92 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-bignum-1.3.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-bignum-1.3.conf'
  262. 49.92 # Fix the mode, in case umask is set
  263. 49.92 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-bignum-1.3.conf' # to the doc files.
  264. 49.93 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/xhtml-3000.2.2.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/xhtml-3000.2.2.1/xhtml.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/xhtml-3000.2.2.1"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy'
  265. 49.93 # The rts package doesn't actually supply haddocks, so we stop advertising them
  266. 49.93 # altogether.
  267. 49.93 ((echo "xhtml" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy.copy')
  268. 49.94 # We finally replace the original file.
  269. 49.94 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/xhtml-3000.2.2.1.conf'
  270. 49.94 # Fix the mode, in case umask is set
  271. 49.94 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/xhtml-3000.2.2.1.conf' # to the doc files.
  272. 49.94 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/filepath-1.4.100.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/filepath-1.4.100.1/filepath.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/filepath-1.4.100.1"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/filepath-1.4.100.1.conf.copy'
  273. 49.94 # The rts package doesn't actually supply haddocks, so we stop advertising them
  274. 49.95 # altogether.
  275. 49.95 ((echo "filepath" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/filepath-1.4.100.1.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/filepath-1.4.100.1.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/filepath-1.4.100.1.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/filepath-1.4.100.1.conf.copy.copy')
  276. 49.95 # We finally replace the original file.
  277. 49.95 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/filepath-1.4.100.1.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/filepath-1.4.100.1.conf'
  278. 49.95 # Fix the mode, in case umask is set
  279. 49.95 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/filepath-1.4.100.1.conf' # to the doc files.
  280. 49.96 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/parsec-3.1.16.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/parsec-3.1.16.1/parsec.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/parsec-3.1.16.1"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/parsec-3.1.16.1.conf.copy'
  281. 49.96 # The rts package doesn't actually supply haddocks, so we stop advertising them
  282. 49.96 # altogether.
  283. 49.96 ((echo "parsec" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/parsec-3.1.16.1.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/parsec-3.1.16.1.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/parsec-3.1.16.1.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/parsec-3.1.16.1.conf.copy.copy')
  284. 49.97 # We finally replace the original file.
  285. 49.97 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/parsec-3.1.16.1.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/parsec-3.1.16.1.conf'
  286. 49.97 # Fix the mode, in case umask is set
  287. 49.97 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/parsec-3.1.16.1.conf' # to the doc files.
  288. 49.97 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-prim-0.10.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghc-prim-0.10.0/ghc-prim.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghc-prim-0.10.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-prim-0.10.0.conf.copy'
  289. 49.98 # The rts package doesn't actually supply haddocks, so we stop advertising them
  290. 49.98 # altogether.
  291. 49.98 ((echo "ghc-prim" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-prim-0.10.0.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-prim-0.10.0.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-prim-0.10.0.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-prim-0.10.0.conf.copy.copy')
  292. 49.98 # We finally replace the original file.
  293. 49.98 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-prim-0.10.0.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-prim-0.10.0.conf'
  294. 49.99 # Fix the mode, in case umask is set
  295. 49.99 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-prim-0.10.0.conf' # to the doc files.
  296. 49.99 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/mtl-2.3.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/mtl-2.3.1/mtl.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/mtl-2.3.1"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/mtl-2.3.1.conf.copy'
  297. 49.99 # The rts package doesn't actually supply haddocks, so we stop advertising them
  298. 49.99 # altogether.
  299. 49.99 ((echo "mtl" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/mtl-2.3.1.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/mtl-2.3.1.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/mtl-2.3.1.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/mtl-2.3.1.conf.copy.copy')
  300. 50.00 # We finally replace the original file.
  301. 50.00 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/mtl-2.3.1.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/mtl-2.3.1.conf'
  302. 50.00 # Fix the mode, in case umask is set
  303. 50.00 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/mtl-2.3.1.conf' # to the doc files.
  304. 50.00 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/template-haskell-2.20.0.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/template-haskell-2.20.0.0/template-haskell.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/template-haskell-2.20.0.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/template-haskell-2.20.0.0.conf.copy'
  305. 50.01 # The rts package doesn't actually supply haddocks, so we stop advertising them
  306. 50.01 # altogether.
  307. 50.01 ((echo "template-haskell" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/template-haskell-2.20.0.0.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/template-haskell-2.20.0.0.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/template-haskell-2.20.0.0.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/template-haskell-2.20.0.0.conf.copy.copy')
  308. 50.01 # We finally replace the original file.
  309. 50.02 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/template-haskell-2.20.0.0.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/template-haskell-2.20.0.0.conf'
  310. 50.02 # Fix the mode, in case umask is set
  311. 50.02 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/template-haskell-2.20.0.0.conf' # to the doc files.
  312. 50.02 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/text-2.0.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/text-2.0.2/text.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/text-2.0.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/text-2.0.2.conf.copy'
  313. 50.02 # The rts package doesn't actually supply haddocks, so we stop advertising them
  314. 50.02 # altogether.
  315. 50.02 ((echo "text" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/text-2.0.2.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/text-2.0.2.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/text-2.0.2.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/text-2.0.2.conf.copy.copy')
  316. 50.03 # We finally replace the original file.
  317. 50.03 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/text-2.0.2.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/text-2.0.2.conf'
  318. 50.03 # Fix the mode, in case umask is set
  319. 50.03 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/text-2.0.2.conf' # to the doc files.
  320. 50.03 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/array-0.5.5.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/array-0.5.5.0/array.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/array-0.5.5.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/array-0.5.5.0.conf.copy'
  321. 50.04 # The rts package doesn't actually supply haddocks, so we stop advertising them
  322. 50.04 # altogether.
  323. 50.04 ((echo "array" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/array-0.5.5.0.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/array-0.5.5.0.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/array-0.5.5.0.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/array-0.5.5.0.conf.copy.copy')
  324. 50.04 # We finally replace the original file.
  325. 50.05 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/array-0.5.5.0.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/array-0.5.5.0.conf'
  326. 50.08 # Fix the mode, in case umask is set
  327. 50.08 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/array-0.5.5.0.conf' # to the doc files.
  328. 50.09 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/unix-2.8.1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/unix-2.8.1.0/unix.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/unix-2.8.1.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/unix-2.8.1.0.conf.copy'
  329. 50.09 # The rts package doesn't actually supply haddocks, so we stop advertising them
  330. 50.09 # altogether.
  331. 50.09 ((echo "unix" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/unix-2.8.1.0.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/unix-2.8.1.0.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/unix-2.8.1.0.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/unix-2.8.1.0.conf.copy.copy')
  332. 50.10 # We finally replace the original file.
  333. 50.10 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/unix-2.8.1.0.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/unix-2.8.1.0.conf'
  334. 50.10 # Fix the mode, in case umask is set
  335. 50.10 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/unix-2.8.1.0.conf' # to the doc files.
  336. 50.10 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/haskeline-0.8.2.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/haskeline-0.8.2.1/haskeline.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/haskeline-0.8.2.1"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/haskeline-0.8.2.1.conf.copy'
  337. 50.10 # The rts package doesn't actually supply haddocks, so we stop advertising them
  338. 50.11 # altogether.
  339. 50.11 ((echo "haskeline" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/haskeline-0.8.2.1.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/haskeline-0.8.2.1.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/haskeline-0.8.2.1.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/haskeline-0.8.2.1.conf.copy.copy')
  340. 50.11 # We finally replace the original file.
  341. 50.11 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/haskeline-0.8.2.1.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/haskeline-0.8.2.1.conf'
  342. 50.11 # Fix the mode, in case umask is set
  343. 50.12 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/haskeline-0.8.2.1.conf' # to the doc files.
  344. 50.12 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-heap-9.6.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghc-heap-9.6.2/ghc-heap.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghc-heap-9.6.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-heap-9.6.2.conf.copy'
  345. 50.12 # The rts package doesn't actually supply haddocks, so we stop advertising them
  346. 50.12 # altogether.
  347. 50.12 ((echo "ghc-heap" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-heap-9.6.2.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-heap-9.6.2.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-heap-9.6.2.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-heap-9.6.2.conf.copy.copy')
  348. 50.13 # We finally replace the original file.
  349. 50.13 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-heap-9.6.2.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-heap-9.6.2.conf'
  350. 50.13 # Fix the mode, in case umask is set
  351. 50.13 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-heap-9.6.2.conf' # to the doc files.
  352. 50.13 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-3.10.1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/Cabal-3.10.1.0/Cabal.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/Cabal-3.10.1.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-3.10.1.0.conf.copy'
  353. 50.14 # The rts package doesn't actually supply haddocks, so we stop advertising them
  354. 50.14 # altogether.
  355. 50.14 ((echo "Cabal" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-3.10.1.0.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-3.10.1.0.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-3.10.1.0.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-3.10.1.0.conf.copy.copy')
  356. 50.14 # We finally replace the original file.
  357. 50.14 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-3.10.1.0.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-3.10.1.0.conf'
  358. 50.14 # Fix the mode, in case umask is set
  359. 50.15 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-3.10.1.0.conf' # to the doc files.
  360. 50.15 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/exceptions-0.10.7.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/exceptions-0.10.7/exceptions.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/exceptions-0.10.7"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/exceptions-0.10.7.conf.copy'
  361. 50.15 # The rts package doesn't actually supply haddocks, so we stop advertising them
  362. 50.15 # altogether.
  363. 50.15 ((echo "exceptions" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/exceptions-0.10.7.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/exceptions-0.10.7.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/exceptions-0.10.7.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/exceptions-0.10.7.conf.copy.copy')
  364. 50.16 # We finally replace the original file.
  365. 50.16 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/exceptions-0.10.7.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/exceptions-0.10.7.conf'
  366. 50.16 # Fix the mode, in case umask is set
  367. 50.16 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/exceptions-0.10.7.conf' # to the doc files.
  368. 50.16 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-th-9.6.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghc-boot-th-9.6.2/ghc-boot-th.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghc-boot-th-9.6.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-th-9.6.2.conf.copy'
  369. 50.17 # The rts package doesn't actually supply haddocks, so we stop advertising them
  370. 50.17 # altogether.
  371. 50.17 ((echo "ghc-boot-th" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-th-9.6.2.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-th-9.6.2.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-th-9.6.2.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-th-9.6.2.conf.copy.copy')
  372. 50.17 # We finally replace the original file.
  373. 50.17 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-th-9.6.2.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-th-9.6.2.conf'
  374. 50.18 # Fix the mode, in case umask is set
  375. 50.18 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-th-9.6.2.conf' # to the doc files.
  376. 50.18 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/system-cxx-std-lib-1.0/system-cxx-std-lib.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/system-cxx-std-lib-1.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy'
  377. 50.18 # The rts package doesn't actually supply haddocks, so we stop advertising them
  378. 50.18 # altogether.
  379. 50.18 ((echo "system-cxx-std-lib" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy.copy')
  380. 50.19 # We finally replace the original file.
  381. 50.19 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf'
  382. 50.19 # Fix the mode, in case umask is set
  383. 50.19 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf' # to the doc files.
  384. 50.19 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/hpc-0.6.2.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/hpc-0.6.2.0/hpc.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/hpc-0.6.2.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/hpc-0.6.2.0.conf.copy'
  385. 50.20 # The rts package doesn't actually supply haddocks, so we stop advertising them
  386. 50.20 # altogether.
  387. 50.20 ((echo "hpc" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/hpc-0.6.2.0.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/hpc-0.6.2.0.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/hpc-0.6.2.0.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/hpc-0.6.2.0.conf.copy.copy')
  388. 50.21 # We finally replace the original file.
  389. 50.21 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/hpc-0.6.2.0.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/hpc-0.6.2.0.conf'
  390. 50.21 # Fix the mode, in case umask is set
  391. 50.21 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/hpc-0.6.2.0.conf' # to the doc files.
  392. 50.21 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/libiserv-9.6.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/libiserv-9.6.2/libiserv.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/libiserv-9.6.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/libiserv-9.6.2.conf.copy'
  393. 50.21 # The rts package doesn't actually supply haddocks, so we stop advertising them
  394. 50.22 # altogether.
  395. 50.22 ((echo "libiserv" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/libiserv-9.6.2.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/libiserv-9.6.2.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/libiserv-9.6.2.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/libiserv-9.6.2.conf.copy.copy')
  396. 50.22 # We finally replace the original file.
  397. 50.22 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/libiserv-9.6.2.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/libiserv-9.6.2.conf'
  398. 50.22 # Fix the mode, in case umask is set
  399. 50.23 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/libiserv-9.6.2.conf' # to the doc files.
  400. 50.23 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/stm-2.5.1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/stm-2.5.1.0/stm.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/stm-2.5.1.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/stm-2.5.1.0.conf.copy'
  401. 50.23 # The rts package doesn't actually supply haddocks, so we stop advertising them
  402. 50.23 # altogether.
  403. 50.23 ((echo "stm" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/stm-2.5.1.0.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/stm-2.5.1.0.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/stm-2.5.1.0.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/stm-2.5.1.0.conf.copy.copy')
  404. 50.24 # We finally replace the original file.
  405. 50.24 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/stm-2.5.1.0.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/stm-2.5.1.0.conf'
  406. 50.24 # Fix the mode, in case umask is set
  407. 50.24 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/stm-2.5.1.0.conf' # to the doc files.
  408. 50.24 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/integer-gmp-1.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/integer-gmp-1.1/integer-gmp.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/integer-gmp-1.1"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/integer-gmp-1.1.conf.copy'
  409. 50.25 # The rts package doesn't actually supply haddocks, so we stop advertising them
  410. 50.25 # altogether.
  411. 50.25 ((echo "integer-gmp" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/integer-gmp-1.1.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/integer-gmp-1.1.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/integer-gmp-1.1.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/integer-gmp-1.1.conf.copy.copy')
  412. 50.25 # We finally replace the original file.
  413. 50.25 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/integer-gmp-1.1.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/integer-gmp-1.1.conf'
  414. 50.26 # Fix the mode, in case umask is set
  415. 50.26 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/integer-gmp-1.1.conf' # to the doc files.
  416. 50.26 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/directory-1.3.8.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/directory-1.3.8.1/directory.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/directory-1.3.8.1"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/directory-1.3.8.1.conf.copy'
  417. 50.26 # The rts package doesn't actually supply haddocks, so we stop advertising them
  418. 50.26 # altogether.
  419. 50.26 ((echo "directory" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/directory-1.3.8.1.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/directory-1.3.8.1.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/directory-1.3.8.1.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/directory-1.3.8.1.conf.copy.copy')
  420. 50.27 # We finally replace the original file.
  421. 50.27 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/directory-1.3.8.1.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/directory-1.3.8.1.conf'
  422. 50.27 # Fix the mode, in case umask is set
  423. 50.27 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/directory-1.3.8.1.conf' # to the doc files.
  424. 50.27 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-9.6.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghc-boot-9.6.2/ghc-boot.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghc-boot-9.6.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-9.6.2.conf.copy'
  425. 50.28 # The rts package doesn't actually supply haddocks, so we stop advertising them
  426. 50.28 # altogether.
  427. 50.28 ((echo "ghc-boot" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-9.6.2.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-9.6.2.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-9.6.2.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-9.6.2.conf.copy.copy')
  428. 50.28 # We finally replace the original file.
  429. 50.29 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-9.6.2.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-9.6.2.conf'
  430. 50.29 # Fix the mode, in case umask is set
  431. 50.29 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghc-boot-9.6.2.conf' # to the doc files.
  432. 50.29 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghci-9.6.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghci-9.6.2/ghci.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/ghci-9.6.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghci-9.6.2.conf.copy'
  433. 50.29 # The rts package doesn't actually supply haddocks, so we stop advertising them
  434. 50.29 # altogether.
  435. 50.30 ((echo "ghci" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghci-9.6.2.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghci-9.6.2.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghci-9.6.2.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghci-9.6.2.conf.copy.copy')
  436. 50.30 # We finally replace the original file.
  437. 50.30 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghci-9.6.2.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghci-9.6.2.conf'
  438. 50.30 # Fix the mode, in case umask is set
  439. 50.30 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/ghci-9.6.2.conf' # to the doc files.
  440. 50.31 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-syntax-3.10.1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/Cabal-syntax-3.10.1.0/Cabal-syntax.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/Cabal-syntax-3.10.1.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-syntax-3.10.1.0.conf.copy'
  441. 50.31 # The rts package doesn't actually supply haddocks, so we stop advertising them
  442. 50.31 # altogether.
  443. 50.31 ((echo "Cabal-syntax" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-syntax-3.10.1.0.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-syntax-3.10.1.0.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-syntax-3.10.1.0.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-syntax-3.10.1.0.conf.copy.copy')
  444. 50.32 # We finally replace the original file.
  445. 50.32 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-syntax-3.10.1.0.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-syntax-3.10.1.0.conf'
  446. 50.32 # Fix the mode, in case umask is set
  447. 50.32 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/Cabal-syntax-3.10.1.0.conf' # to the doc files.
  448. 50.32 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/binary-0.8.9.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/binary-0.8.9.1/binary.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/binary-0.8.9.1"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/binary-0.8.9.1.conf.copy'
  449. 50.32 # The rts package doesn't actually supply haddocks, so we stop advertising them
  450. 50.33 # altogether.
  451. 50.33 ((echo "binary" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/binary-0.8.9.1.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/binary-0.8.9.1.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/binary-0.8.9.1.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/binary-0.8.9.1.conf.copy.copy')
  452. 50.33 # We finally replace the original file.
  453. 50.33 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/binary-0.8.9.1.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/binary-0.8.9.1.conf'
  454. 50.33 # Fix the mode, in case umask is set
  455. 50.33 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/binary-0.8.9.1.conf' # to the doc files.
  456. 50.34 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/deepseq-1.4.8.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/deepseq-1.4.8.1/deepseq.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/deepseq-1.4.8.1"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/deepseq-1.4.8.1.conf.copy'
  457. 50.34 # The rts package doesn't actually supply haddocks, so we stop advertising them
  458. 50.34 # altogether.
  459. 50.34 ((echo "deepseq" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/deepseq-1.4.8.1.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/deepseq-1.4.8.1.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/deepseq-1.4.8.1.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/deepseq-1.4.8.1.conf.copy.copy')
  460. 50.35 # We finally replace the original file.
  461. 50.35 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/deepseq-1.4.8.1.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/deepseq-1.4.8.1.conf'
  462. 50.35 # Fix the mode, in case umask is set
  463. 50.35 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/deepseq-1.4.8.1.conf' # to the doc files.
  464. 50.35 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/process-1.6.17.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/process-1.6.17.0/process.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/process-1.6.17.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/process-1.6.17.0.conf.copy'
  465. 50.36 # The rts package doesn't actually supply haddocks, so we stop advertising them
  466. 50.36 # altogether.
  467. 50.36 ((echo "process" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/process-1.6.17.0.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/process-1.6.17.0.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/process-1.6.17.0.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/process-1.6.17.0.conf.copy.copy')
  468. 50.36 # We finally replace the original file.
  469. 50.36 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/process-1.6.17.0.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/process-1.6.17.0.conf'
  470. 50.37 # Fix the mode, in case umask is set
  471. 50.37 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/process-1.6.17.0.conf' # to the doc files.
  472. 50.37 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/containers-0.6.7.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/containers-0.6.7/containers.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/containers-0.6.7"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/containers-0.6.7.conf.copy'
  473. 50.37 # The rts package doesn't actually supply haddocks, so we stop advertising them
  474. 50.37 # altogether.
  475. 50.37 ((echo "containers" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/containers-0.6.7.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/containers-0.6.7.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/containers-0.6.7.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/containers-0.6.7.conf.copy.copy')
  476. 50.38 # We finally replace the original file.
  477. 50.38 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/containers-0.6.7.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/containers-0.6.7.conf'
  478. 50.38 # Fix the mode, in case umask is set
  479. 50.38 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/containers-0.6.7.conf' # to the doc files.
  480. 50.38 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/rts-1.0.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/rts-1.0.2/rts.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/rts-1.0.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/rts-1.0.2.conf.copy'
  481. 50.39 # The rts package doesn't actually supply haddocks, so we stop advertising them
  482. 50.39 # altogether.
  483. 50.39 ((echo "rts" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/rts-1.0.2.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/rts-1.0.2.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/rts-1.0.2.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/rts-1.0.2.conf.copy.copy')
  484. 50.39 rts
  485. 50.39 # We finally replace the original file.
  486. 50.40 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/rts-1.0.2.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/rts-1.0.2.conf'
  487. 50.40 # Fix the mode, in case umask is set
  488. 50.40 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/rts-1.0.2.conf' # to the doc files.
  489. 50.40 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/time-1.12.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/time-1.12.2/time.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/time-1.12.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/time-1.12.2.conf.copy'
  490. 50.40 # The rts package doesn't actually supply haddocks, so we stop advertising them
  491. 50.40 # altogether.
  492. 50.41 ((echo "time" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/time-1.12.2.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/time-1.12.2.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/time-1.12.2.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/time-1.12.2.conf.copy.copy')
  493. 50.41 # We finally replace the original file.
  494. 50.41 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/time-1.12.2.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/time-1.12.2.conf'
  495. 50.41 # Fix the mode, in case umask is set
  496. 50.41 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/time-1.12.2.conf' # to the doc files.
  497. 50.42 cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/bytestring-0.11.4.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/bytestring-0.11.4.0/bytestring.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.6.2/html/libraries/bytestring-0.11.4.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/bytestring-0.11.4.0.conf.copy'
  498. 50.42 # The rts package doesn't actually supply haddocks, so we stop advertising them
  499. 50.42 # altogether.
  500. 50.42 ((echo "bytestring" | grep rts) && (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/bytestring-0.11.4.0.conf.copy' | sed 's|haddock-.*||' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/bytestring-0.11.4.0.conf.copy.copy')) || (cat '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/bytestring-0.11.4.0.conf.copy' > '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/bytestring-0.11.4.0.conf.copy.copy')
  501. 50.42 # We finally replace the original file.
  502. 50.43 mv '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/bytestring-0.11.4.0.conf.copy.copy' '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/bytestring-0.11.4.0.conf'
  503. 50.43 # Fix the mode, in case umask is set
  504. 50.43 chmod 644 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d/bytestring-0.11.4.0.conf'
  505. 50.43 '/usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin/ghc-pkg' --global-package-db "/usr/local/ghc-9.6.2/lib/ghc-9.6.2/lib/package.conf.d" recache
  506. 50.43 /usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin/ghc-pkg: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin/../lib/x86_64-linux-ghc-9.6.2/libHSbytestring-0.11.4.0-ghc9.6.2.so)
  507. 50.43 /usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin/ghc-pkg: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin/../lib/x86_64-linux-ghc-9.6.2/libHStemplate-haskell-2.20.0.0-ghc9.6.2.so)
  508. 50.43 /usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin/ghc-pkg: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin/../lib/x86_64-linux-ghc-9.6.2/libHSbase-4.18.0.0-ghc9.6.2.so)
  509. 50.43 /usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin/ghc-pkg: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin/../lib/x86_64-linux-ghc-9.6.2/libHSghc-prim-0.10.0-ghc9.6.2.so)
  510. 50.43 /usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin/ghc-pkg: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/local/ghc-9.6.2/lib/ghc-9.6.2/bin/../lib/x86_64-linux-ghc-9.6.2/libHSrts-1.0.2-ghc9.6.2.so)
  511. 50.43 make: *** [Makefile:228: update_package_db] Error 1
  512. ------
  513. Dockerfile:133
  514. --------------------
  515. 132 | 9.6.2
  516. 133 | >>> RUN set -xe && \
  517. 134 | >>> apt-get update && \
  518. 135 | >>> # apt-get install -y --no-install-recommends libgmp-dev libtinfo5 glibc-source && \
  519. 136 | >>> rm -rf /var/lib/apt/lists/* && \
  520. 137 | >>> for VERSION in $HASKELL_VERSIONS; do \
  521. 138 | >>> curl -fSsL "https://downloads.haskell.org/~ghc/$VERSION/ghc-$VERSION-x86_64-deb11-linux.tar.xz" -o /tmp/ghc-$VERSION.tar.xz && \
  522. 139 | >>> mkdir /tmp/ghc-$VERSION && \
  523. 140 | >>> tar -xf /tmp/ghc-$VERSION.tar.xz -C /tmp/ghc-$VERSION --strip-components=1 && \
  524. 141 | >>> rm /tmp/ghc-$VERSION.tar.xz && \
  525. 142 | >>> cd /tmp/ghc-$VERSION && \
  526. 143 | >>> ./configure \
  527. 144 | >>> --prefix=/usr/local/ghc-$VERSION && \
  528. 145 | >>> make -j$(nproc) install && \
  529. 146 | >>> rm -rf /tmp/*; \
  530. 147 | >>> done
  531. 148 |
  532. --------------------
  533. ERROR: failed to solve: process "/bin/sh -c set -xe && apt-get update && rm -rf /var/lib/apt/lists/* && for VERSION in $HASKELL_VERSIONS; do curl -fSsL \"https://downloads.haskell.org/~ghc/$VERSION/ghc-$VERSION-x86_64-deb11-linux.tar.xz\" -o /tmp/ghc-$VERSION.tar.xz && mkdir /tmp/ghc-$VERSION && tar -xf /tmp/ghc-$VERSION.tar.xz -C /tmp/ghc-$VERSION --strip-components=1 && rm /tmp/ghc-$VERSION.tar.xz && cd /tmp/ghc-$VERSION && ./configure --prefix=/usr/local/ghc-$VERSION && make -j$(nproc) install && rm -rf /tmp/*; done" did not complete successfully: exit code: 2
  534. ➜ compilers git:(master) ✗
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement