Mock Version: 2.15
Mock Version: 2.15
Mock Version: 2.15
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-language-java.spec'], chrootPath='/var/lib/mock/f38-build-726616-100233/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3faa10eac0>timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-language-java.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1687651200
Wrote: /builddir/build/SRPMS/ghc-language-java-0.2.9-22.rvre0.fc38.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-language-java.spec'], chrootPath='/var/lib/mock/f38-build-726616-100233/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3faa10eac0>timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-language-java.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1687651200
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jQo4M9
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf language-java-0.2.9
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/language-java-0.2.9.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd language-java-0.2.9
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cp -bp /builddir/build/SOURCES/language-java-0.2.9.cabal language-java.cabal
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vYTXxg
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed   -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1  '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd language-java-0.2.9
++ ls
++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)'
++ echo -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer
++ sed -e 's/-Wall //' -e 's/-Werror=format-security //'
+ CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer'
+ export CFLAGS
+ export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed   -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1  '
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed   -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1  '
+ '[' -f Setup.hs -o -f Setup.lhs ']'
+ '[' -d /usr/lib64/ghc-9.2.6/lib ']'
+ subsubdir=/lib
+ '[' -x Setup ']'
+ ghc --make -package Cabal -no-user-package-db -dynamic Setup
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking Setup ...
+ LANG=C.utf8
+ ./Setup --version
Cabal library version 3.6.3.0
+ '[' -x Setup ']'
+ LANG=C.utf8
++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer
++ sed -e 's/ / -optc/g'
++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1
++ sed -e 's/ / -optl/g'
+ ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-language-java '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.2.6/lib --enable-tests --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optc-fno-omit-frame-pointer  -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/language-java-0.2.9 --global
Configuring language-java-0.2.9...
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup build -j1
Preprocessing library for language-java-0.2.9..
Building library for language-java-0.2.9..
[1 of 6] Compiling Language.Java.Lexer
dist/build/Language/Java/Lexer.hs:55:1: warning: [-Wunused-imports]
    The import of ‘Data.Char’ is redundant
      except perhaps to import instances from ‘Data.Char’
    To import instances alone, use: import Data.Char()
   |
55 | import Data.Char (ord)
   | ^^^^^^^^^^^^^^^^^^^^^^
dist/build/Language/Java/Lexer.hs:417:19: warning: [-Wname-shadowing]
    This binding for ‘pos’ shadows the existing binding
      defined at Language/Java/Lexer.x:249:1
    |
417 |   where go inp__@(pos,_,_,str) =
    |                   ^^^
[2 of 6] Compiling Language.Java.Syntax.Exp
[3 of 6] Compiling Language.Java.Syntax.Types
[4 of 6] Compiling Language.Java.Syntax
[5 of 6] Compiling Language.Java.Pretty
Language/Java/Pretty.hs:7:1: warning: [-Wunused-imports]
    The import of ‘Data.List’ is redundant
      except perhaps to import instances from ‘Data.List’
    To import instances alone, use: import Data.List()
  |
7 | import Data.List (intersperse)
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Language/Java/Pretty.hs:52:35: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.Base’)
   |
52 |   prettyPrec p (InterfaceTypeDecl id) = prettyPrec p id
   |                                   ^^
Language/Java/Pretty.hs:129:37: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.Base’)
    |
129 |   prettyPrec p (MemberInterfaceDecl id) = prettyPrec p id
    |                                     ^^
Language/Java/Pretty.hs:170:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
170 |   prettyPrec p mod = text . map toLower $ show mod
    |              ^
Language/Java/Pretty.hs:170:16: warning: [-Wname-shadowing]
    This binding for ‘mod’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.Real’)
    |
170 |   prettyPrec p mod = text . map toLower $ show mod
    |                ^^^
Language/Java/Pretty.hs:200:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
200 |   prettyPrec p (IfThen c th) =
    |              ^
Language/Java/Pretty.hs:227:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
227 |   prettyPrec p Empty = semi
    |              ^
Language/Java/Pretty.hs:277:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
277 |   prettyPrec p Default = text "default:"
    |              ^
Language/Java/Pretty.hs:318:37: warning: [-Wname-shadowing]
    This binding for ‘init’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.List’)
    |
318 |   prettyPrec p (ArrayCreateInit t k init) =
    |                                     ^^^^
Language/Java/Pretty.hs:377:34: warning: [-Wname-shadowing]
    This binding for ‘exp’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.Float’)
    |
377 |   prettyPrec p (LambdaExpression exp) = prettyPrec p exp
    |                                  ^^^
Language/Java/Pretty.hs:381:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
381 |   prettyPrec p (Int i) = text (show i)
    |              ^
Language/Java/Pretty.hs:382:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
382 |   prettyPrec p (Word i) = text (show i) <> char 'L'
    |              ^
Language/Java/Pretty.hs:383:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
383 |   prettyPrec p (Float f) = text (show f) <> char 'F'
    |              ^
Language/Java/Pretty.hs:384:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
384 |   prettyPrec p (Double d) = text (show d)
    |              ^
Language/Java/Pretty.hs:385:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
385 |   prettyPrec p (Boolean b) = text . map toLower $ show b
    |              ^
Language/Java/Pretty.hs:386:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
386 |   prettyPrec p (Char c) = quotes $ text (escapeChar c)
    |              ^
Language/Java/Pretty.hs:387:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
387 |   prettyPrec p (String s) = doubleQuotes $ text (concatMap escapeString s)
    |              ^
Language/Java/Pretty.hs:388:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
388 |   prettyPrec p (Null) = text "null"
    |              ^
Language/Java/Pretty.hs:391:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
391 |   prettyPrec p op = text $ case op of
    |              ^
Language/Java/Pretty.hs:413:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
413 |   prettyPrec p aop = text $ case aop of
    |              ^
Language/Java/Pretty.hs:498:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
498 |   prettyPrec p Diamond = text "<>"
    |              ^
Language/Java/Pretty.hs:505:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
505 |   prettyPrec p BooleanT = text "boolean"
    |              ^
Language/Java/Pretty.hs:506:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
506 |   prettyPrec p ByteT    = text "byte"
    |              ^
Language/Java/Pretty.hs:507:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
507 |   prettyPrec p ShortT   = text "short"
    |              ^
Language/Java/Pretty.hs:508:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
508 |   prettyPrec p IntT     = text "int"
    |              ^
Language/Java/Pretty.hs:509:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
509 |   prettyPrec p LongT    = text "long"
    |              ^
Language/Java/Pretty.hs:510:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
510 |   prettyPrec p CharT    = text "char"
    |              ^
Language/Java/Pretty.hs:511:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
511 |   prettyPrec p FloatT   = text "float"
    |              ^
Language/Java/Pretty.hs:512:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
512 |   prettyPrec p DoubleT  = text "double"
    |              ^
Language/Java/Pretty.hs:544:19: warning: [-Wname-shadowing]
    This binding for ‘exp’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.Float’)
    |
544 | ppDefault p (Just exp) = text "default" <+> prettyPrec p exp
    |                   ^^^
Language/Java/Pretty.hs:558:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
558 |   prettyPrec p (Ident s) = text s
    |              ^
Language/Java/Pretty.hs:564:36: warning: [-Wunused-matches]
    Defined but not used: ‘b’
    |
564 | prettyNestedStmt prio p@(StmtBlock b) = prettyPrec prio p
    |                                    ^
[6 of 6] Compiling Language.Java.Parser
Language/Java/Parser.hs:44:1: warning: [-Wdodgy-imports]
    Module ‘Prelude’ does not export ‘catch’
   |
44 | import Prelude hiding ( exp, catch, (>>), (>>=) )
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:47:1: warning: [-Wunused-imports]
    The import of ‘Control.Monad’ is redundant
      except perhaps to import instances from ‘Control.Monad’
    To import instances alone, use: import Control.Monad()
   |
47 | import Control.Monad ( ap )
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:56:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
56 | import Control.Applicative ( (<$>), (<$), (<*), (<*>) )
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:74:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘parseCompilationUnit’
   |
74 | parseCompilationUnit inp =
   | ^^^^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:122:25: warning: [-Wname-shadowing]
    This binding for ‘ms’ shadows the existing binding
      bound at Language/Java/Parser.hs:120:5
    |
122 |               return $ \ms -> ClassTypeDecl (cd ms)) <|>
    |                         ^^
Language/Java/Parser.hs:123:15: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
123 |           (do id <- annInterfaceDecl <|> interfaceDecl
    |               ^^
Language/Java/Parser.hs:124:25: warning: [-Wname-shadowing]
    This binding for ‘ms’ shadows the existing binding
      bound at Language/Java/Parser.hs:120:5
    |
124 |               return $ \ms -> InterfaceTypeDecl (id ms))
    |                         ^^
Language/Java/Parser.hs:166:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
166 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:182:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
182 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:191:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
191 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:206:8: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘[()]’
    Suppress this warning by saying ‘_ <- list1 semiColon’
    |
206 |        list1 semiColon
    |        ^^^^^^^^^^^^^^^
Language/Java/Parser.hs:222:9: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
222 |         id  <- try annInterfaceDecl <|> try interfaceDecl
    |         ^^
Language/Java/Parser.hs:239:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
239 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:253:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
253 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:296:9: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
296 |     (do id  <- try annInterfaceDecl <|> try interfaceDecl
    |         ^^
Language/Java/Parser.hs:305:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
305 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:329:43: warning: [-Wunused-matches]
    Defined but not used: ‘xs’
    |
329 |         validateFPs (FormalParam _ _ b _ :xs) = not b
    |                                           ^^
Language/Java/Parser.hs:393:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
393 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:394:5: warning: [-Wname-shadowing]
    This binding for ‘abs’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Num’)
    |
394 |     abs <- list arrBrackets
    |     ^^^
Language/Java/Parser.hs:415:5: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘Maybe ()’
    Suppress this warning by saying ‘_ <- opt comma’
    |
415 |     opt comma
    |     ^^^^^^^^^
Language/Java/Parser.hs:722:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘primaryNoNewArray’
    |
722 | primaryNoNewArray = startSuff primaryNoNewArrayNPS primarySuffix
    | ^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:888:28: warning: [-Wname-shadowing]
    This binding for ‘n’ shadows the existing binding
      bound at Language/Java/Parser.hs:886:9
    |
888 |                  return $ \n -> MethodCall n as) <|>
    |                            ^
Language/Java/Parser.hs:895:27: warning: [-Wname-shadowing]
    This binding for ‘n’ shadows the existing binding
      bound at Language/Java/Parser.hs:886:9
    |
895 |                 return $ \n -> mc n rts i as)
    |                           ^
Language/Java/Parser.hs:901:9: warning: [-Wunused-matches]
    Defined but not used: ‘rts’
    |
901 |         rts <- lopt refTypeArgs
    |         ^^^
Language/Java/Parser.hs:985:24: warning: [-Wname-shadowing]
    This binding for ‘t’ shadows the existing binding
      bound at Language/Java/Parser.hs:981:5
    |
985 |              return $ \t -> ArrayCreateInit t (length ds) ai) <|>
    |                        ^
Language/Java/Parser.hs:988:24: warning: [-Wname-shadowing]
    This binding for ‘t’ shadows the existing binding
      bound at Language/Java/Parser.hs:981:5
    |
988 |              return $ \t -> ArrayCreate t des (length ds))
    |                        ^
Language/Java/Parser.hs:1188:17: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘sep’
    Suppress this warning by saying ‘_ <- sep’
     |
1188 |         try (do sep
     |                 ^^^
Language/Java/Parser.hs:1204:11: warning: [-Wname-shadowing]
    This binding for ‘test’ shadows the existing binding
      defined at Language/Java/Parser.hs:1235:1
     |
1204 | javaToken test = token showT posT testT
     |           ^^^^
Language/Java/Parser.hs:1235:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘test’
     |
1235 | test = "public class Foo { }"
     | ^^^^
Language/Java/Parser.hs:1236:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘testFile’
     |
1236 | testFile file = do
     | ^^^^^^^^
[1 of 6] Compiling Language.Java.Lexer
dist/build/Language/Java/Lexer.hs:55:1: warning: [-Wunused-imports]
    The import of ‘Data.Char’ is redundant
      except perhaps to import instances from ‘Data.Char’
    To import instances alone, use: import Data.Char()
   |
55 | import Data.Char (ord)
   | ^^^^^^^^^^^^^^^^^^^^^^
dist/build/Language/Java/Lexer.hs:417:19: warning: [-Wname-shadowing]
    This binding for ‘pos’ shadows the existing binding
      defined at Language/Java/Lexer.x:249:1
    |
417 |   where go inp__@(pos,_,_,str) =
    |                   ^^^
[2 of 6] Compiling Language.Java.Syntax.Exp
[3 of 6] Compiling Language.Java.Syntax.Types
[4 of 6] Compiling Language.Java.Syntax
[5 of 6] Compiling Language.Java.Pretty
Language/Java/Pretty.hs:7:1: warning: [-Wunused-imports]
    The import of ‘Data.List’ is redundant
      except perhaps to import instances from ‘Data.List’
    To import instances alone, use: import Data.List()
  |
7 | import Data.List (intersperse)
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Language/Java/Pretty.hs:52:35: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.Base’)
   |
52 |   prettyPrec p (InterfaceTypeDecl id) = prettyPrec p id
   |                                   ^^
Language/Java/Pretty.hs:129:37: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.Base’)
    |
129 |   prettyPrec p (MemberInterfaceDecl id) = prettyPrec p id
    |                                     ^^
Language/Java/Pretty.hs:170:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
170 |   prettyPrec p mod = text . map toLower $ show mod
    |              ^
Language/Java/Pretty.hs:170:16: warning: [-Wname-shadowing]
    This binding for ‘mod’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.Real’)
    |
170 |   prettyPrec p mod = text . map toLower $ show mod
    |                ^^^
Language/Java/Pretty.hs:200:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
200 |   prettyPrec p (IfThen c th) =
    |              ^
Language/Java/Pretty.hs:227:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
227 |   prettyPrec p Empty = semi
    |              ^
Language/Java/Pretty.hs:277:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
277 |   prettyPrec p Default = text "default:"
    |              ^
Language/Java/Pretty.hs:318:37: warning: [-Wname-shadowing]
    This binding for ‘init’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.List’)
    |
318 |   prettyPrec p (ArrayCreateInit t k init) =
    |                                     ^^^^
Language/Java/Pretty.hs:377:34: warning: [-Wname-shadowing]
    This binding for ‘exp’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.Float’)
    |
377 |   prettyPrec p (LambdaExpression exp) = prettyPrec p exp
    |                                  ^^^
Language/Java/Pretty.hs:381:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
381 |   prettyPrec p (Int i) = text (show i)
    |              ^
Language/Java/Pretty.hs:382:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
382 |   prettyPrec p (Word i) = text (show i) <> char 'L'
    |              ^
Language/Java/Pretty.hs:383:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
383 |   prettyPrec p (Float f) = text (show f) <> char 'F'
    |              ^
Language/Java/Pretty.hs:384:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
384 |   prettyPrec p (Double d) = text (show d)
    |              ^
Language/Java/Pretty.hs:385:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
385 |   prettyPrec p (Boolean b) = text . map toLower $ show b
    |              ^
Language/Java/Pretty.hs:386:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
386 |   prettyPrec p (Char c) = quotes $ text (escapeChar c)
    |              ^
Language/Java/Pretty.hs:387:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
387 |   prettyPrec p (String s) = doubleQuotes $ text (concatMap escapeString s)
    |              ^
Language/Java/Pretty.hs:388:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
388 |   prettyPrec p (Null) = text "null"
    |              ^
Language/Java/Pretty.hs:391:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
391 |   prettyPrec p op = text $ case op of
    |              ^
Language/Java/Pretty.hs:413:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
413 |   prettyPrec p aop = text $ case aop of
    |              ^
Language/Java/Pretty.hs:498:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
498 |   prettyPrec p Diamond = text "<>"
    |              ^
Language/Java/Pretty.hs:505:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
505 |   prettyPrec p BooleanT = text "boolean"
    |              ^
Language/Java/Pretty.hs:506:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
506 |   prettyPrec p ByteT    = text "byte"
    |              ^
Language/Java/Pretty.hs:507:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
507 |   prettyPrec p ShortT   = text "short"
    |              ^
Language/Java/Pretty.hs:508:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
508 |   prettyPrec p IntT     = text "int"
    |              ^
Language/Java/Pretty.hs:509:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
509 |   prettyPrec p LongT    = text "long"
    |              ^
Language/Java/Pretty.hs:510:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
510 |   prettyPrec p CharT    = text "char"
    |              ^
Language/Java/Pretty.hs:511:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
511 |   prettyPrec p FloatT   = text "float"
    |              ^
Language/Java/Pretty.hs:512:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
512 |   prettyPrec p DoubleT  = text "double"
    |              ^
Language/Java/Pretty.hs:544:19: warning: [-Wname-shadowing]
    This binding for ‘exp’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.Float’)
    |
544 | ppDefault p (Just exp) = text "default" <+> prettyPrec p exp
    |                   ^^^
Language/Java/Pretty.hs:558:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
558 |   prettyPrec p (Ident s) = text s
    |              ^
Language/Java/Pretty.hs:564:36: warning: [-Wunused-matches]
    Defined but not used: ‘b’
    |
564 | prettyNestedStmt prio p@(StmtBlock b) = prettyPrec prio p
    |                                    ^
[6 of 6] Compiling Language.Java.Parser
Language/Java/Parser.hs:44:1: warning: [-Wdodgy-imports]
    Module ‘Prelude’ does not export ‘catch’
   |
44 | import Prelude hiding ( exp, catch, (>>), (>>=) )
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:47:1: warning: [-Wunused-imports]
    The import of ‘Control.Monad’ is redundant
      except perhaps to import instances from ‘Control.Monad’
    To import instances alone, use: import Control.Monad()
   |
47 | import Control.Monad ( ap )
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:56:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
56 | import Control.Applicative ( (<$>), (<$), (<*), (<*>) )
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:74:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘parseCompilationUnit’
   |
74 | parseCompilationUnit inp =
   | ^^^^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:122:25: warning: [-Wname-shadowing]
    This binding for ‘ms’ shadows the existing binding
      bound at Language/Java/Parser.hs:120:5
    |
122 |               return $ \ms -> ClassTypeDecl (cd ms)) <|>
    |                         ^^
Language/Java/Parser.hs:123:15: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
123 |           (do id <- annInterfaceDecl <|> interfaceDecl
    |               ^^
Language/Java/Parser.hs:124:25: warning: [-Wname-shadowing]
    This binding for ‘ms’ shadows the existing binding
      bound at Language/Java/Parser.hs:120:5
    |
124 |               return $ \ms -> InterfaceTypeDecl (id ms))
    |                         ^^
Language/Java/Parser.hs:166:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
166 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:182:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
182 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:191:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
191 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:206:8: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘[()]’
    Suppress this warning by saying ‘_ <- list1 semiColon’
    |
206 |        list1 semiColon
    |        ^^^^^^^^^^^^^^^
Language/Java/Parser.hs:222:9: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
222 |         id  <- try annInterfaceDecl <|> try interfaceDecl
    |         ^^
Language/Java/Parser.hs:239:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
239 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:253:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
253 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:296:9: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
296 |     (do id  <- try annInterfaceDecl <|> try interfaceDecl
    |         ^^
Language/Java/Parser.hs:305:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
305 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:329:43: warning: [-Wunused-matches]
    Defined but not used: ‘xs’
    |
329 |         validateFPs (FormalParam _ _ b _ :xs) = not b
    |                                           ^^
Language/Java/Parser.hs:393:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
393 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:394:5: warning: [-Wname-shadowing]
    This binding for ‘abs’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Num’)
    |
394 |     abs <- list arrBrackets
    |     ^^^
Language/Java/Parser.hs:415:5: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘Maybe ()’
    Suppress this warning by saying ‘_ <- opt comma’
    |
415 |     opt comma
    |     ^^^^^^^^^
Language/Java/Parser.hs:722:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘primaryNoNewArray’
    |
722 | primaryNoNewArray = startSuff primaryNoNewArrayNPS primarySuffix
    | ^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:888:28: warning: [-Wname-shadowing]
    This binding for ‘n’ shadows the existing binding
      bound at Language/Java/Parser.hs:886:9
    |
888 |                  return $ \n -> MethodCall n as) <|>
    |                            ^
Language/Java/Parser.hs:895:27: warning: [-Wname-shadowing]
    This binding for ‘n’ shadows the existing binding
      bound at Language/Java/Parser.hs:886:9
    |
895 |                 return $ \n -> mc n rts i as)
    |                           ^
Language/Java/Parser.hs:901:9: warning: [-Wunused-matches]
    Defined but not used: ‘rts’
    |
901 |         rts <- lopt refTypeArgs
    |         ^^^
Language/Java/Parser.hs:985:24: warning: [-Wname-shadowing]
    This binding for ‘t’ shadows the existing binding
      bound at Language/Java/Parser.hs:981:5
    |
985 |              return $ \t -> ArrayCreateInit t (length ds) ai) <|>
    |                        ^
Language/Java/Parser.hs:988:24: warning: [-Wname-shadowing]
    This binding for ‘t’ shadows the existing binding
      bound at Language/Java/Parser.hs:981:5
    |
988 |              return $ \t -> ArrayCreate t des (length ds))
    |                        ^
Language/Java/Parser.hs:1188:17: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘sep’
    Suppress this warning by saying ‘_ <- sep’
     |
1188 |         try (do sep
     |                 ^^^
Language/Java/Parser.hs:1204:11: warning: [-Wname-shadowing]
    This binding for ‘test’ shadows the existing binding
      defined at Language/Java/Parser.hs:1235:1
     |
1204 | javaToken test = token showT posT testT
     |           ^^^^
Language/Java/Parser.hs:1235:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘test’
     |
1235 | test = "public class Foo { }"
     | ^^^^
Language/Java/Parser.hs:1236:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘testFile’
     |
1236 | testFile file = do
     | ^^^^^^^^
Preprocessing test suite 'test-java-parse' for language-java-0.2.9..
Building test suite 'test-java-parse' for language-java-0.2.9..
[1 of 1] Compiling Main
tests/Tests.hs:11:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
11 | import Control.Applicative
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
Linking dist/build/test-java-parse/test-java-parse ...
+ '[' -n dist/build/libHSlanguage-java-0.2.9-8FydsIlPLfu8Qcxa43iYfj-ghc9.2.6.so ']'
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup haddock --html --hyperlink-source --hoogle
Preprocessing library for language-java-0.2.9..
Running Haddock on library for language-java-0.2.9..
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: array-0.5.4.0, base-4.16.4.0,
binary-0.8.9.0, bytestring-0.11.4.0, containers-0.6.5.1, deepseq-1.4.6.1,
ghc-bignum-1.2, ghc-boot-th-9.2.6, ghc-prim-0.8.0, mtl-2.2.2, parsec-3.1.15.0,
pretty-1.1.3.6, template-haskell-2.18.0.0, text-1.2.5.0, transformers-0.5.6.2
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
dist/build/Language/Java/Lexer.hs:55:1: warning: [-Wunused-imports]
    The import of ‘Data.Char’ is redundant
      except perhaps to import instances from ‘Data.Char’
    To import instances alone, use: import Data.Char()
   |
55 | import Data.Char (ord)
   | ^^^^^^^^^^^^^^^^^^^^^^
dist/build/Language/Java/Lexer.hs:417:19: warning: [-Wname-shadowing]
    This binding for ‘pos’ shadows the existing binding
      defined at Language/Java/Lexer.x:249:1
    |
417 |   where go inp__@(pos,_,_,str) =
    |                   ^^^
Language/Java/Pretty.hs:7:1: warning: [-Wunused-imports]
    The import of ‘Data.List’ is redundant
      except perhaps to import instances from ‘Data.List’
    To import instances alone, use: import Data.List()
  |
7 | import Data.List (intersperse)
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Language/Java/Pretty.hs:52:35: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.Base’)
   |
52 |   prettyPrec p (InterfaceTypeDecl id) = prettyPrec p id
   |                                   ^^
Language/Java/Pretty.hs:129:37: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.Base’)
    |
129 |   prettyPrec p (MemberInterfaceDecl id) = prettyPrec p id
    |                                     ^^
Language/Java/Pretty.hs:170:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
170 |   prettyPrec p mod = text . map toLower $ show mod
    |              ^
Language/Java/Pretty.hs:170:16: warning: [-Wname-shadowing]
    This binding for ‘mod’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.Real’)
    |
170 |   prettyPrec p mod = text . map toLower $ show mod
    |                ^^^
Language/Java/Pretty.hs:200:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
200 |   prettyPrec p (IfThen c th) =
    |              ^
Language/Java/Pretty.hs:227:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
227 |   prettyPrec p Empty = semi
    |              ^
Language/Java/Pretty.hs:277:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
277 |   prettyPrec p Default = text "default:"
    |              ^
Language/Java/Pretty.hs:318:37: warning: [-Wname-shadowing]
    This binding for ‘init’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.List’)
    |
318 |   prettyPrec p (ArrayCreateInit t k init) =
    |                                     ^^^^
Language/Java/Pretty.hs:377:34: warning: [-Wname-shadowing]
    This binding for ‘exp’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.Float’)
    |
377 |   prettyPrec p (LambdaExpression exp) = prettyPrec p exp
    |                                  ^^^
Language/Java/Pretty.hs:381:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
381 |   prettyPrec p (Int i) = text (show i)
    |              ^
Language/Java/Pretty.hs:382:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
382 |   prettyPrec p (Word i) = text (show i) <> char 'L'
    |              ^
Language/Java/Pretty.hs:383:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
383 |   prettyPrec p (Float f) = text (show f) <> char 'F'
    |              ^
Language/Java/Pretty.hs:384:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
384 |   prettyPrec p (Double d) = text (show d)
    |              ^
Language/Java/Pretty.hs:385:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
385 |   prettyPrec p (Boolean b) = text . map toLower $ show b
    |              ^
Language/Java/Pretty.hs:386:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
386 |   prettyPrec p (Char c) = quotes $ text (escapeChar c)
    |              ^
Language/Java/Pretty.hs:387:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
387 |   prettyPrec p (String s) = doubleQuotes $ text (concatMap escapeString s)
    |              ^
Language/Java/Pretty.hs:388:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
388 |   prettyPrec p (Null) = text "null"
    |              ^
Language/Java/Pretty.hs:391:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
391 |   prettyPrec p op = text $ case op of
    |              ^
Language/Java/Pretty.hs:413:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
413 |   prettyPrec p aop = text $ case aop of
    |              ^
Language/Java/Pretty.hs:498:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
498 |   prettyPrec p Diamond = text "<>"
    |              ^
Language/Java/Pretty.hs:505:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
505 |   prettyPrec p BooleanT = text "boolean"
    |              ^
Language/Java/Pretty.hs:506:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
506 |   prettyPrec p ByteT    = text "byte"
    |              ^
Language/Java/Pretty.hs:507:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
507 |   prettyPrec p ShortT   = text "short"
    |              ^
Language/Java/Pretty.hs:508:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
508 |   prettyPrec p IntT     = text "int"
    |              ^
Language/Java/Pretty.hs:509:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
509 |   prettyPrec p LongT    = text "long"
    |              ^
Language/Java/Pretty.hs:510:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
510 |   prettyPrec p CharT    = text "char"
    |              ^
Language/Java/Pretty.hs:511:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
511 |   prettyPrec p FloatT   = text "float"
    |              ^
Language/Java/Pretty.hs:512:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
512 |   prettyPrec p DoubleT  = text "double"
    |              ^
Language/Java/Pretty.hs:544:19: warning: [-Wname-shadowing]
    This binding for ‘exp’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Pretty.hs:12:1-28
      (and originally defined in ‘GHC.Float’)
    |
544 | ppDefault p (Just exp) = text "default" <+> prettyPrec p exp
    |                   ^^^
Language/Java/Pretty.hs:558:14: warning: [-Wunused-matches]
    Defined but not used: ‘p’
    |
558 |   prettyPrec p (Ident s) = text s
    |              ^
Language/Java/Pretty.hs:564:36: warning: [-Wunused-matches]
    Defined but not used: ‘b’
    |
564 | prettyNestedStmt prio p@(StmtBlock b) = prettyPrec prio p
    |                                    ^
Language/Java/Parser.hs:44:1: warning: [-Wdodgy-imports]
    Module ‘Prelude’ does not export ‘catch’
   |
44 | import Prelude hiding ( exp, catch, (>>), (>>=) )
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:47:1: warning: [-Wunused-imports]
    The import of ‘Control.Monad’ is redundant
      except perhaps to import instances from ‘Control.Monad’
    To import instances alone, use: import Control.Monad()
   |
47 | import Control.Monad ( ap )
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:56:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
56 | import Control.Applicative ( (<$>), (<$), (<*), (<*>) )
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:74:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘parseCompilationUnit’
   |
74 | parseCompilationUnit inp =
   | ^^^^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:122:25: warning: [-Wname-shadowing]
    This binding for ‘ms’ shadows the existing binding
      bound at Language/Java/Parser.hs:120:5
    |
122 |               return $ \ms -> ClassTypeDecl (cd ms)) <|>
    |                         ^^
Language/Java/Parser.hs:123:15: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
123 |           (do id <- annInterfaceDecl <|> interfaceDecl
    |               ^^
Language/Java/Parser.hs:124:25: warning: [-Wname-shadowing]
    This binding for ‘ms’ shadows the existing binding
      bound at Language/Java/Parser.hs:120:5
    |
124 |               return $ \ms -> InterfaceTypeDecl (id ms))
    |                         ^^
Language/Java/Parser.hs:166:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
166 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:182:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
182 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:191:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
191 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:206:8: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘[()]’
    Suppress this warning by saying ‘_ <- list1 semiColon’
    |
206 |        list1 semiColon
    |        ^^^^^^^^^^^^^^^
Language/Java/Parser.hs:222:9: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
222 |         id  <- try annInterfaceDecl <|> try interfaceDecl
    |         ^^
Language/Java/Parser.hs:239:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
239 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:253:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
253 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:296:9: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
296 |     (do id  <- try annInterfaceDecl <|> try interfaceDecl
    |         ^^
Language/Java/Parser.hs:305:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
305 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:329:43: warning: [-Wunused-matches]
    Defined but not used: ‘xs’
    |
329 |         validateFPs (FormalParam _ _ b _ :xs) = not b
    |                                           ^^
Language/Java/Parser.hs:393:5: warning: [-Wname-shadowing]
    This binding for ‘id’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Base’)
    |
393 |     id  <- ident
    |     ^^
Language/Java/Parser.hs:394:5: warning: [-Wname-shadowing]
    This binding for ‘abs’ shadows the existing binding
      imported from ‘Prelude’ at Language/Java/Parser.hs:44:1-49
      (and originally defined in ‘GHC.Num’)
    |
394 |     abs <- list arrBrackets
    |     ^^^
Language/Java/Parser.hs:415:5: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘Maybe ()’
    Suppress this warning by saying ‘_ <- opt comma’
    |
415 |     opt comma
    |     ^^^^^^^^^
Language/Java/Parser.hs:722:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘primaryNoNewArray’
    |
722 | primaryNoNewArray = startSuff primaryNoNewArrayNPS primarySuffix
    | ^^^^^^^^^^^^^^^^^
Language/Java/Parser.hs:888:28: warning: [-Wname-shadowing]
    This binding for ‘n’ shadows the existing binding
      bound at Language/Java/Parser.hs:886:9
    |
888 |                  return $ \n -> MethodCall n as) <|>
    |                            ^
Language/Java/Parser.hs:895:27: warning: [-Wname-shadowing]
    This binding for ‘n’ shadows the existing binding
      bound at Language/Java/Parser.hs:886:9
    |
895 |                 return $ \n -> mc n rts i as)
    |                           ^
Language/Java/Parser.hs:901:9: warning: [-Wunused-matches]
    Defined but not used: ‘rts’
    |
901 |         rts <- lopt refTypeArgs
    |         ^^^
Language/Java/Parser.hs:985:24: warning: [-Wname-shadowing]
    This binding for ‘t’ shadows the existing binding
      bound at Language/Java/Parser.hs:981:5
    |
985 |              return $ \t -> ArrayCreateInit t (length ds) ai) <|>
    |                        ^
Language/Java/Parser.hs:988:24: warning: [-Wname-shadowing]
    This binding for ‘t’ shadows the existing binding
      bound at Language/Java/Parser.hs:981:5
    |
988 |              return $ \t -> ArrayCreate t des (length ds))
    |                        ^
Language/Java/Parser.hs:1188:17: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘sep’
    Suppress this warning by saying ‘_ <- sep’
     |
1188 |         try (do sep
     |                 ^^^
Language/Java/Parser.hs:1204:11: warning: [-Wname-shadowing]
    This binding for ‘test’ shadows the existing binding
      defined at Language/Java/Parser.hs:1235:1
     |
1204 | javaToken test = token showT posT testT
     |           ^^^^
Language/Java/Parser.hs:1235:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘test’
     |
1235 | test = "public class Foo { }"
     | ^^^^
Language/Java/Parser.hs:1236:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘testFile’
     |
1236 | testFile file = do
     | ^^^^^^^^
   0% (  0 /  4) in 'Language.Java.Lexer'
  Missing documentation for:
    Module header
    L (Language/Java/Lexer.x:242)
    Token (Language/Java/Lexer.x:251)
    lexer (Language/Java/Lexer.x:370)
  89% ( 51 / 57) in 'Language.Java.Syntax'
  Missing documentation for:
    Module header
    desugarAnnotation (Language/Java/Syntax.hs:234)
    desugarAnnotation' (Language/Java/Syntax.hs:237)
    LambdaParams (Language/Java/Syntax.hs:435)
    TypeDeclSpecifier (Language/Java/Syntax/Types.hs:35)
    Diamond (Language/Java/Syntax/Types.hs:41)
   0% (  0 / 20) in 'Language.Java.Pretty'
  Missing documentation for:
    Module header
    prettyPrint (Language/Java/Pretty.hs:15)
    parenPrec (Language/Java/Pretty.hs:18)
    Pretty (Language/Java/Pretty.hs:24)
    ppEVList (Language/Java/Pretty.hs:178)
    ppArgs (Language/Java/Pretty.hs:469)
    ppTypeParams (Language/Java/Pretty.hs:521)
    ppImplements (Language/Java/Pretty.hs:527)
    ppExtends (Language/Java/Pretty.hs:532)
    ppThrows (Language/Java/Pretty.hs:537)
    ppDefault (Language/Java/Pretty.hs:542)
    ppResultType (Language/Java/Pretty.hs:546)
    prettyNestedStmt (Language/Java/Pretty.hs:563)
    maybePP (Language/Java/Pretty.hs:567)
    opt (Language/Java/Pretty.hs:570)
    braceBlock (Language/Java/Pretty.hs:573)
    opPrec (Language/Java/Pretty.hs:578)
    escapeGeneral (Language/Java/Pretty.hs:598)
    escapeChar (Language/Java/Pretty.hs:609)
    escapeString (Language/Java/Pretty.hs:613)
   0% (  0 / 49) in 'Language.Java.Parser'
  Missing documentation for:
    Module header
    parser (Language/Java/Parser.hs:77)
    compilationUnit (Language/Java/Parser.hs:85)
    packageDecl (Language/Java/Parser.hs:93)
    importDecl (Language/Java/Parser.hs:100)
    typeDecl (Language/Java/Parser.hs:109)
    classDecl (Language/Java/Parser.hs:127)
    interfaceDecl (Language/Java/Parser.hs:188)
    memberDecl (Language/Java/Parser.hs:216)
    fieldDecl (Language/Java/Parser.hs:229)
    methodDecl (Language/Java/Parser.hs:235)
    constrDecl (Language/Java/Parser.hs:250)
    interfaceMemberDecl (Language/Java/Parser.hs:292)
    absMethodDecl (Language/Java/Parser.hs:301)
    formalParams (Language/Java/Parser.hs:320)
    formalParam (Language/Java/Parser.hs:331)
    modifier (Language/Java/Parser.hs:344)
    varDecls (Language/Java/Parser.hs:382)
    varDecl (Language/Java/Parser.hs:385)
    block (Language/Java/Parser.hs:421)
    blockStmt (Language/Java/Parser.hs:424)
    stmt (Language/Java/Parser.hs:435)
    stmtExp (Language/Java/Parser.hs:617)
    exp (Language/Java/Parser.hs:653)
    primary (Language/Java/Parser.hs:716)
    literal (Language/Java/Parser.hs:991)
    ttype (Language/Java/Parser.hs:1073)
    primType (Language/Java/Parser.hs:1076)
    refType (Language/Java/Parser.hs:1087)
    classType (Language/Java/Parser.hs:1102)
    resultType (Language/Java/Parser.hs:1111)
    lambdaExp (Language/Java/Parser.hs:801)
    methodRef (Language/Java/Parser.hs:807)
    typeParams (Language/Java/Parser.hs:1120)
    typeParam (Language/Java/Parser.hs:1123)
    name (Language/Java/Parser.hs:1149)
    ident (Language/Java/Parser.hs:1152)
    empty (Language/Java/Parser.hs:1159)
    list (Language/Java/Parser.hs:1174)
    list1 (Language/Java/Parser.hs:1177)
    seplist (Language/Java/Parser.hs:1180)
    seplist1 (Language/Java/Parser.hs:1184)
    opt (Language/Java/Parser.hs:1162)
    bopt (Language/Java/Parser.hs:1165)
    lopt (Language/Java/Parser.hs:1168)
    comma (Language/Java/Parser.hs:1227)
    semiColon (Language/Java/Parser.hs:1227)
    period (Language/Java/Parser.hs:1227)
    colon (Language/Java/Parser.hs:1227)
Warning: Language.Java.Lexer: could not find link destinations for:
	- Language.Java.Lexer.Pos
	- GHC.Show.Show
	- GHC.Show.showsPrec
	- GHC.Types.Int
	- GHC.Show.ShowS
	- GHC.Show.show
	- GHC.Base.String
	- GHC.Show.showList
	- GHC.Classes.Eq
	- GHC.Classes.==
	- GHC.Types.Bool
	- GHC.Classes./=
	- GHC.Num.Integer.Integer
	- GHC.Types.Double
	- GHC.Types.Char
Warning: Language.Java.Syntax: could not find link destinations for:
	- GHC.Maybe.Maybe
	- Data.Data.Data
	- Data.Data.gfoldl
	- Data.Data.gunfold
	- Data.Data.Constr
	- Data.Data.toConstr
	- Data.Data.dataTypeOf
	- Data.Data.DataType
	- Data.Data.dataCast1
	- Data.Typeable.Internal.Typeable
	- Data.Data.dataCast2
	- Data.Data.gmapT
	- Data.Data.gmapQl
	- Data.Data.gmapQr
	- Data.Data.gmapQ
	- Data.Data.gmapQi
	- GHC.Types.Int
	- Data.Data.gmapM
	- GHC.Base.Monad
	- Data.Data.gmapMp
	- GHC.Base.MonadPlus
	- Data.Data.gmapMo
	- GHC.Generics.Generic
	- GHC.Generics.from
	- GHC.Generics.Rep
	- GHC.Generics.to
	- GHC.Types.Type
	- GHC.Read.Read
	- GHC.Read.readsPrec
	- Text.ParserCombinators.ReadP.ReadS
	- GHC.Read.readList
	- GHC.Read.readPrec
	- Text.ParserCombinators.ReadPrec.ReadPrec
	- GHC.Read.readListPrec
	- GHC.Show.Show
	- GHC.Show.showsPrec
	- GHC.Show.ShowS
	- GHC.Show.show
	- GHC.Base.String
	- GHC.Show.showList
	- GHC.Classes.Eq
	- GHC.Classes.==
	- GHC.Types.Bool
	- GHC.Classes./=
	- Text.PrettyPrint.HughesPJ.Doc
	- GHC.Generics.D1
	- GHC.Generics.MetaData
	- GHC.Types.False
	- GHC.Generics.C1
	- GHC.Generics.MetaCons
	- GHC.Generics.PrefixI
	- GHC.Generics.:*:
	- GHC.Generics.S1
	- GHC.Generics.MetaSel
	- GHC.Maybe.Nothing
	- GHC.Types.Symbol
	- GHC.Generics.NoSourceUnpackedness
	- GHC.Generics.NoSourceStrictness
	- GHC.Generics.DecidedLazy
	- GHC.Generics.Rec0
	- GHC.Types.True
	- GHC.Generics.:+:
	- GHC.Generics.U1
	- GHC.Maybe.Just
	- GHC.Base..
	- GHC.Num.Integer.Integer
	- GHC.Types.Double
	- GHC.Types.Char
	- GHC.Classes.Ord
	- GHC.Classes.compare
	- GHC.Types.Ordering
	- GHC.Classes.<
	- GHC.Classes.<=
	- GHC.Classes.>
	- GHC.Classes.>=
	- GHC.Classes.max
	- GHC.Classes.min
Warning: Language.Java.Pretty: could not find link destinations for:
	- GHC.Base.String
	- GHC.Types.Int
	- Text.PrettyPrint.HughesPJ.Doc
	- GHC.Maybe.Maybe
	- GHC.Types.Bool
	- GHC.Num.Num
	- GHC.Types.Char
Warning: Language.Java.Parser: could not find link destinations for:
	- Text.Parsec.Prim.Parsec
	- GHC.Base.String
	- Data.Either.Either
	- Text.Parsec.Error.ParseError
	- Language.Java.Parser.P
	- GHC.Maybe.Maybe
	- Language.Java.Parser.Mod
	- GHC.Types.Bool
Documentation created: dist/doc/html/language-java/index.html,
dist/doc/html/language-java/language-java.txt
Preprocessing test suite 'test-java-parse' for language-java-0.2.9..
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YP7tFz
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64
++ dirname /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64
+ CFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed   -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1  '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd language-java-0.2.9
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64
Installing library in /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/language-java-0.2.9
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup register --gen-pkg-config
+ '[' -d /usr/lib64/ghc-9.2.6/lib ']'
+ subsubdir=/lib
+ '[' -d language-java-0.2.9.conf ']'
+ install -D --mode=0644 language-java-0.2.9.conf /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/language-java-0.2.9.conf
+ '[' -d /usr/lib64/ghc-9.2.6/lib ']'
+ subsubdir=/lib
++ ls /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/language-java-0.2.9.conf
+ '[' -z /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/language-java-0.2.9.conf ']'
+ rm -f ghc-language-java.files ghc-language-java-doc.files
+ touch ghc-language-java.files ghc-language-java-doc.files
+ for i in /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6${subsubdir}/libHSlanguage-java-0.2.9-*ghc9.2.6.so
+ '[' -x /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSlanguage-java-0.2.9-8FydsIlPLfu8Qcxa43iYfj-ghc9.2.6.so ']'
+ echo /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSlanguage-java-0.2.9-8FydsIlPLfu8Qcxa43iYfj-ghc9.2.6.so
+ pkgdir=/usr/lib64/ghc-9.2.6/lib/language-java-0.2.9
+ '[' -d /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/language-java-0.2.9 ']'
+ find /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/language-java-0.2.9 -type d -fprintf ghc-language-java-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-language-java-prof.files -o -fprint ghc-language-java-devel.files
+ ls /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/language-java-0.2.9.conf
+ haddock_dir=/usr/share/doc/ghc/html/libraries/language-java-0.2.9
+ '[' -d /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/share/doc/ghc/html/libraries/language-java-0.2.9 ']'
+ echo /usr/share/doc/ghc/html/libraries/language-java-0.2.9
+ for i in ghc-language-java.files ghc-language-java-devel.files ghc-language-java-doc.files ghc-language-java-prof.files
+ '[' -f ghc-language-java.files ']'
+ sed -i -e 's!/builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64!!g' ghc-language-java.files
+ for i in ghc-language-java.files ghc-language-java-devel.files ghc-language-java-doc.files ghc-language-java-prof.files
+ '[' -f ghc-language-java-devel.files ']'
+ sed -i -e 's!/builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64!!g' ghc-language-java-devel.files
+ for i in ghc-language-java.files ghc-language-java-devel.files ghc-language-java-doc.files ghc-language-java-prof.files
+ '[' -f ghc-language-java-doc.files ']'
+ sed -i -e 's!/builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64!!g' ghc-language-java-doc.files
+ for i in ghc-language-java.files ghc-language-java-devel.files ghc-language-java-doc.files ghc-language-java-prof.files
+ '[' -f ghc-language-java-prof.files ']'
+ sed -i -e 's!/builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64!!g' ghc-language-java-prof.files
running ghc_delete_rpaths:
+ echo 'running ghc_delete_rpaths:'
+ type chrpath
++ find /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print
+ for i in $(find /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print)
+ '[' -x /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSlanguage-java-0.2.9-8FydsIlPLfu8Qcxa43iYfj-ghc9.2.6.so ']'
++ chrpath /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSlanguage-java-0.2.9-8FydsIlPLfu8Qcxa43iYfj-ghc9.2.6.so
++ sed -e 's@^/builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSlanguage-java-0.2.9-8FydsIlPLfu8Qcxa43iYfj-ghc9.2.6.so: R.*PATH=@@'
+ rpath=/usr/lib64/ghc-9.2.6/lib:/usr/lib64/ghc-9.2.6/lib/riscv64-linux-ghc-9.2.6
+ case "$rpath" in
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ /usr/lib/rpm/brp-remove-la-files
+ env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4
+ /usr/lib/rpm/redhat/brp-python-hardlink
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.fiJjBV
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed   -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1  '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd language-java-0.2.9
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup test
Running 1 test suites...
Test suite test-java-parse: RUNNING...
Test suite test-java-parse: PASS
Test suite logged to: dist/test/language-java-0.2.9-test-java-parse.log
1 of 1 test suites (1 of 1 test cases) passed.
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: ghc-language-java-0.2.9-22.rvre0.fc38.riscv64
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2HYYHi
+ umask 022
+ cd /builddir/build/BUILD
+ cd language-java-0.2.9
+ LICENSEDIR=/builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/share/licenses/ghc-language-java
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/share/licenses/ghc-language-java
+ cp -pr LICENSE /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/share/licenses/ghc-language-java
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: ghc-language-java = 0.2.9-22.rvre0.fc38 ghc-language-java(riscv-64) = 0.2.9-22.rvre0.fc38 libHSlanguage-java-0.2.9-8FydsIlPLfu8Qcxa43iYfj-ghc9.2.6.so()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libHSarray-0.5.4.0-ghc9.2.6.so()(64bit) libHSbase-4.16.4.0-ghc9.2.6.so()(64bit) libHSbinary-0.8.9.0-ghc9.2.6.so()(64bit) libHSbytestring-0.11.4.0-ghc9.2.6.so()(64bit) libHScontainers-0.6.5.1-ghc9.2.6.so()(64bit) libHSdeepseq-1.4.6.1-ghc9.2.6.so()(64bit) libHSghc-bignum-1.2-ghc9.2.6.so()(64bit) libHSghc-boot-th-9.2.6-ghc9.2.6.so()(64bit) libHSghc-prim-0.8.0-ghc9.2.6.so()(64bit) libHSmtl-2.2.2-ghc9.2.6.so()(64bit) libHSparsec-3.1.15.0-ghc9.2.6.so()(64bit) libHSpretty-1.1.3.6-ghc9.2.6.so()(64bit) libHStemplate-haskell-2.18.0.0-ghc9.2.6.so()(64bit) libHStext-1.2.5.0-ghc9.2.6.so()(64bit) libHStransformers-0.5.6.2-ghc9.2.6.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH)
Processing files: ghc-language-java-devel-0.2.9-22.rvre0.fc38.riscv64
Provides: ghc-devel(language-java-0.2.9-8FydsIlPLfu8Qcxa43iYfj) ghc-language-java-devel = 0.2.9-22.rvre0.fc38 ghc-language-java-devel(riscv-64) = 0.2.9-22.rvre0.fc38 ghc-language-java-static = 0.2.9-22.rvre0.fc38 ghc-language-java-static(riscv-64) = 0.2.9-22.rvre0.fc38
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ghc-devel(array-0.5.4.0) ghc-devel(base-4.16.4.0) ghc-devel(parsec-3.1.15.0) ghc-devel(pretty-1.1.3.6)
Processing files: ghc-language-java-doc-0.2.9-22.rvre0.fc38.noarch
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NnzlKs
+ umask 022
+ cd /builddir/build/BUILD
+ cd language-java-0.2.9
+ LICENSEDIR=/builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/share/licenses/ghc-language-java-doc
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/share/licenses/ghc-language-java-doc
+ cp -pr LICENSE /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64/usr/share/licenses/ghc-language-java-doc
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: ghc-language-java-doc = 0.2.9-22.rvre0.fc38
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: ghc-language-java-prof-0.2.9-22.rvre0.fc38.riscv64
Provides: ghc-language-java-prof = 0.2.9-22.rvre0.fc38 ghc-language-java-prof(riscv-64) = 0.2.9-22.rvre0.fc38 ghc-prof(language-java-0.2.9-8FydsIlPLfu8Qcxa43iYfj)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ghc-prof(array-0.5.4.0) ghc-prof(base-4.16.4.0) ghc-prof(parsec-3.1.15.0) ghc-prof(pretty-1.1.3.6)
Supplements: (ghc-language-java-devel and ghc-prof)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64
Wrote: /builddir/build/RPMS/ghc-language-java-doc-0.2.9-22.rvre0.fc38.noarch.rpm
Wrote: /builddir/build/RPMS/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64.rpm
Wrote: /builddir/build/RPMS/ghc-language-java-devel-0.2.9-22.rvre0.fc38.riscv64.rpm
Wrote: /builddir/build/RPMS/ghc-language-java-prof-0.2.9-22.rvre0.fc38.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3hiR8e
+ umask 022
+ cd /builddir/build/BUILD
+ cd language-java-0.2.9
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-language-java-0.2.9-22.rvre0.fc38.riscv64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.R8r6DB
+ umask 022
+ cd /builddir/build/BUILD
+ rm -rf language-java-0.2.9 language-java-0.2.9.gemspec
+ RPM_EC=0
++ jobs -p
+ exit 0
Child return code was: 0