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/xmobar.spec'], chrootPath='/var/lib/mock/f40-build-799154-142138/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xmobar.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Wrote: /builddir/build/SRPMS/xmobar-0.46-29.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xmobar.spec'], chrootPath='/var/lib/mock/f40-build-799154-142138/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xmobar.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I6rYKW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xmobar-0.46 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xmobar-0.46.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xmobar-0.46 + rm -rf /builddir/build/BUILD/xmobar-0.46-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/xmobar-0.46-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/netlink-1.1.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pretty-hex-1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/xmobar-flags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3Scwkv + 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 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes' + export RUSTFLAGS + 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 xmobar-0.46 + HOME=/builddir/build/BUILD/xmobar-0.46 + for i in pretty-hex-1.1 netlink-1.1.1.0 ++ echo pretty-hex-1.1 ++ sed -e 's/\(.*\)-.*/\1/' + name=pretty-hex ++ echo pretty-hex-1.1 ++ sed -e 's/.*-\(.*\)/\1/' + ver=1.1 + cd pretty-hex-1.1 + case $name in ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + 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 -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.4.5/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.hs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 + ./Setup --version Cabal library version 3.8.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ 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 -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/xmobar '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --user '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -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-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 --docdir=/usr/share/licenses/ghc-pretty-hex --htmldir=/usr/share/doc/ghc/html/libraries/pretty-hex-1.1 --user Configuring pretty-hex-1.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j4 Preprocessing library for pretty-hex-1.1.. Building library for pretty-hex-1.1.. [1 of 1] Compiling Hexdump [1 of 1] Compiling Hexdump + '[' -n dist/build/libHSpretty-hex-1.1-2861Nkv8pS0CIRpZJwwJMG-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for pretty-hex-1.1.. Running Haddock on library for pretty-hex-1.1.. 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.17.1.0, bytestring-0.11.4.0, deepseq-1.4.8.0, ghc-bignum-1.3, ghc-boot-th-9.4.5, ghc-prim-0.9.0, pretty-1.1.3.6, template-haskell-2.19.0.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. 28% ( 2 / 7) in 'Hexdump' Missing documentation for: Module header prettyHex (Hexdump.hs:33) Cfg (Hexdump.hs:17) defaultCfg (Hexdump.hs:22) wrapRange (Hexdump.hs:28) Warning: Hexdump: could not find link destinations for: - Data.ByteString.Internal.Type.ByteString - GHC.Base.String - GHC.Types.Int - Hexdump.paddedShowHex - Hexdump.isWorthPrinting - GHC.Types.True - Hexdump.group Documentation created: dist/doc/html/pretty-hex/index.html, dist/doc/html/pretty-hex/pretty-hex.txt + ./Setup register --inplace Registering library for pretty-hex-1.1.. + cd .. + for i in pretty-hex-1.1 netlink-1.1.1.0 ++ echo netlink-1.1.1.0 ++ sed -e 's/\(.*\)-.*/\1/' + name=netlink ++ echo netlink-1.1.1.0 ++ sed -e 's/.*-\(.*\)/\1/' + ver=1.1.1.0 + cd netlink-1.1.1.0 + case $name in ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + 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 -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.4.5/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.hs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 + ./Setup --version Cabal library version 3.8.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ 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 -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/xmobar '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --user '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -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-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 --docdir=/usr/share/licenses/ghc-netlink --htmldir=/usr/share/doc/ghc/html/libraries/netlink-1.1.1.0 --user Configuring netlink-1.1.1.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j4 Preprocessing library for netlink-1.1.1.0.. Building library for netlink-1.1.1.0.. [ 1 of 13] Compiling System.Linux.Netlink.Constants [ 2 of 13] Compiling System.Linux.Netlink.C System/Linux/Netlink/C.hsc:135:35: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 135 | throwErrnoIfMinus1_ "sendmsg" $c_sendmsg fd (castPtr msg) (0 :: CInt) | ^ System/Linux/Netlink/C.hsc:172:25: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 172 | size = fromIntegral $sizeOf (undefined :: CInt) | ^ [ 3 of 13] Compiling System.Linux.Netlink.GeNetlink.Constants [ 4 of 13] Compiling System.Linux.Netlink.GeNetlink.NL80211.Constants [ 5 of 13] Compiling System.Linux.Netlink.Helpers [ 6 of 13] Compiling System.Linux.Netlink System/Linux/Netlink.hs:144:59: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 144 | showList xs = ((concat . intersperse "===\n" . map show $xs) ++) | ^ System/Linux/Netlink.hs:216:27: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 216 | p16 (fromIntegral $BS.length value + 4) | ^ System/Linux/Netlink.hs:219:45: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 219 | when (BS.length value `mod` 4 /= 0) $replicateM_ (4 - (BS.length value `mod` 4)) (p8 0) | ^ System/Linux/Netlink.hs:224:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 224 | let attrs = runPut $putAttributes attributes | ^ System/Linux/Netlink.hs:225:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 225 | cus = runPut $getPut custom | ^ System/Linux/Netlink.hs:226:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 226 | hdr = runPut $putHeader (BS.length attrs + BS.length cus + 16) header | ^ System/Linux/Netlink.hs:236:10: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 236 | return $ErrorMsg hdr code packet | ^ System/Linux/Netlink.hs:341:69: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 341 | _ -> fail ("Expected one packet, received " ++ (show . length $pkts)) | ^ [ 7 of 13] Compiling System.Linux.Netlink.GeNetlink.NL80211.WifiEI System/Linux/Netlink/GeNetlink/NL80211/WifiEI.hs:34:29: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 34 | getRight (Left err) = error $show err | ^ System/Linux/Netlink/GeNetlink/NL80211/WifiEI.hs:40:11: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 40 | (indent $showAttrs showIEEE80211EID attrs) | ^ [ 8 of 13] Compiling System.Linux.Netlink.GeNetlink.NL80211.StaInfo System/Linux/Netlink/GeNetlink/NL80211/StaInfo.hs:28:1: warning: [-Wunused-imports] The import of ‘Data.Serialize.Get’ is redundant except perhaps to import instances from ‘Data.Serialize.Get’ To import instances alone, use: import Data.Serialize.Get() | 28 | import Data.Serialize.Get (Get, runGet) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 9 of 13] Compiling System.Linux.Netlink.GeNetlink System/Linux/Netlink/GeNetlink.hs:57:12: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 57 | return $GenlData hdr dat | ^ System/Linux/Netlink/GeNetlink.hs:79:59: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 79 | showList xs = ((concat . intersperse "===\n" . map show $xs) ++) | ^ System/Linux/Netlink/GeNetlink.hs:91:12: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled.[10 of 13] Compiling System.Linux.Netlink.GeNetlink.Control Suggested fix: Add whitespace after the ‘$’. | 91 | return $GenlHeader cmd version | ^ System/Linux/Netlink/GeNetlink/Control.hs:111:16: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 111 | attrs <- e2M $runGet getAttributes x | ^ System/Linux/Netlink/GeNetlink/Control.hs:124:16: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 124 | attrs <- e2M $runGet getAttributes x | ^ System/Linux/Netlink/GeNetlink/Control.hs:135:57: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 135 | getAttribute (i, x) = fromMaybe (CTRL_ATTR_UNKNOWN i x) $makeAttribute i x | ^ System/Linux/Netlink/GeNetlink/Control.hs:139:35: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 139 | | i == eCTRL_ATTR_UNSPEC = Just $CTRL_ATTR_UNSPEC x | ^ System/Linux/Netlink/GeNetlink/Control.hs:140:58: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 140 | | i == eCTRL_ATTR_FAMILY_ID = fmap CTRL_ATTR_FAMILY_ID $getW16 x | ^ System/Linux/Netlink/GeNetlink/Control.hs:141:71: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 141 | | i == eCTRL_ATTR_FAMILY_NAME = Just . CTRL_ATTR_FAMILY_NAME . init $unpack x | ^ System/Linux/Netlink/GeNetlink/Control.hs:142:54: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 142 | | i == eCTRL_ATTR_VERSION = fmap CTRL_ATTR_VERSION $getW32 x | ^ System/Linux/Netlink/GeNetlink/Control.hs:143:54: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 143 | | i == eCTRL_ATTR_HDRSIZE = fmap CTRL_ATTR_HDRSIZE $getW32 x | ^ System/Linux/Netlink/GeNetlink/Control.hs:144:54: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 144 | | i == eCTRL_ATTR_MAXATTR = fmap CTRL_ATTR_MAXATTR $getW32 x | ^ System/Linux/Netlink/GeNetlink/Control.hs:145:46: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 145 | | i == eCTRL_ATTR_OPS = fmap CTRL_ATTR_OPS $getOpAttrs x | ^ [11 of 13] Compiling System.Linux.Netlink.GeNetlink.NL80211 System/Linux/Netlink/GeNetlink/Control.hs:146:64: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 146 | | i == eCTRL_ATTR_MCAST_GROUPS = fmap CTRL_ATTR_MCAST_GROUPS $getMcastGroupAttrs x | ^ System/Linux/Netlink/GeNetlink/Control.hs:188:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 188 | where a = fromList $map ctrlAttributesToAttribute attrs | ^ System/Linux/Netlink/GeNetlink/Control.hs:197:51: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 197 | attrs = fromList [(eCTRL_ATTR_FAMILY_ID, runPut $putWord16host fid)] in | ^ System/Linux/Netlink/GeNetlink/Control.hs:212:10: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 212 | return $fmap fst may | ^ System/Linux/Netlink/GeNetlink/Control.hs:222:29: warning: [-Woverflowed-literals] Literal -1 is out of the Word16 range 0..65535 | 222 | getIdFromList [] = -1 | ^ System/Linux/Netlink/GeNetlink/Control.hs:233:10: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 233 | return $fromMaybe (error "Could not find family") may | ^ System/Linux/Netlink/GeNetlink/Control.hs:255:107: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 255 | let (CtrlPacket _ _ attrs) = fromMaybe (error "Got infalid family id for request") . ctrlPacketFromGenl $packet | ^ System/Linux/Netlink/GeNetlink/Control.hs:256:10: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 256 | return $getMCFromList attrs | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:77:50: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 77 | showList xs = ((intercalate "===\n" . map show $xs) ++) | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:116:29: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 116 | getRight (Left err) = error $show err | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:124:10: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 124 | return $NLS sock fid | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:133:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 133 | Nothing -> error $"Could not find \"" ++ name ++ "\" multicast group" | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:165:9: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 165 | (init $unpack name, getRight $runGet getWord32host ifindex) | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:165:32: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 165 | (init $unpack name, getRight $runGet getWord32host ifindex) | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:196:60: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 196 | where attrs = M.fromList [(eNL80211_ATTR_IFINDEX, runPut $putWord32host ifindex)] | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:212:45: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 212 | isConn (Packet _ _ attrs) = hasConn $M.lookup eNL80211_ATTR_BSS attrs | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:221:61: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 221 | hasConn (Just attrs) = M.member eNL80211_BSS_STATUS $getRight $runGet getAttributes attrs | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:221:71: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 221 | hasConn (Just attrs) = M.member eNL80211_BSS_STATUS $getRight $runGet getAttributes attrs | ^ [12 of 13] Compiling System.Linux.Netlink.Route.LinkStat [13 of 13] Compiling System.Linux.Netlink.Route System/Linux/Netlink/Route.hs:109:59: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 109 | showList xs = ((concat . intersperse "===\n" . map show $xs) ++) | ^ [ 1 of 13] Compiling System.Linux.Netlink.Constants [ 2 of 13] Compiling System.Linux.Netlink.C System/Linux/Netlink/C.hsc:135:35: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 135 | throwErrnoIfMinus1_ "sendmsg" $c_sendmsg fd (castPtr msg) (0 :: CInt) | ^ System/Linux/Netlink/C.hsc:172:25: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 172 | size = fromIntegral $sizeOf (undefined :: CInt) | ^ [ 3 of 13] Compiling System.Linux.Netlink.GeNetlink.Constants [ 4 of 13] Compiling System.Linux.Netlink.GeNetlink.NL80211.Constants [ 5 of 13] Compiling System.Linux.Netlink.Helpers [ 6 of 13] Compiling System.Linux.Netlink System/Linux/Netlink.hs:144:59: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 144 | showList xs = ((concat . intersperse "===\n" . map show $xs) ++) | ^ System/Linux/Netlink.hs:216:27: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 216 | p16 (fromIntegral $BS.length value + 4) | ^ System/Linux/Netlink.hs:219:45: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 219 | when (BS.length value `mod` 4 /= 0) $replicateM_ (4 - (BS.length value `mod` 4)) (p8 0) | ^ System/Linux/Netlink.hs:224:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 224 | let attrs = runPut $putAttributes attributes | ^ System/Linux/Netlink.hs:225:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 225 | cus = runPut $getPut custom | ^ System/Linux/Netlink.hs:226:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 226 | hdr = runPut $putHeader (BS.length attrs + BS.length cus + 16) header | ^ System/Linux/Netlink.hs:236:10: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 236 | return $ErrorMsg hdr code packet | ^ System/Linux/Netlink.hs:341:69: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 341 | _ -> fail ("Expected one packet, received " ++ (show . length $pkts)) | ^ [ 7 of 13] Compiling System.Linux.Netlink.GeNetlink.NL80211.WifiEI System/Linux/Netlink/GeNetlink/NL80211/WifiEI.hs:34:29: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 34 | getRight (Left err) = error $show err | ^ System/Linux/Netlink/GeNetlink/NL80211/WifiEI.hs:40:11: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 40 | (indent $showAttrs showIEEE80211EID attrs) | ^ [ 8 of 13] Compiling System.Linux.Netlink.GeNetlink.NL80211.StaInfo System/Linux/Netlink/GeNetlink/NL80211/StaInfo.hs:28:1: warning: [-Wunused-imports] The import of ‘Data.Serialize.Get’ is redundant except perhaps to import instances from ‘Data.Serialize.Get’ To import instances alone, use: import Data.Serialize.Get() | 28 | import Data.Serialize.Get (Get, runGet) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 9 of 13] Compiling System.Linux.Netlink.GeNetlink System/Linux/Netlink/GeNetlink.hs:57:12: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 57 | return $GenlData hdr dat | ^ System/Linux/Netlink/GeNetlink.hs:79:59: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 79 | showList xs = ((concat . intersperse "===\n" . map show $xs) ++) | ^ System/Linux/Netlink/GeNetlink.hs:91:12: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote[10 of 13] Compiling System.Linux.Netlink.GeNetlink.Control an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 91 | return $GenlHeader cmd version | ^ System/Linux/Netlink/GeNetlink/Control.hs:111:16: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 111 | attrs <- e2M $runGet getAttributes x | ^ System/Linux/Netlink/GeNetlink/Control.hs:124:16: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 124 | attrs <- e2M $runGet getAttributes x | ^ System/Linux/Netlink/GeNetlink/Control.hs:135:57: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 135 | getAttribute (i, x) = fromMaybe (CTRL_ATTR_UNKNOWN i x) $makeAttribute i x | ^ System/Linux/Netlink/GeNetlink/Control.hs:139:35: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 139 | | i == eCTRL_ATTR_UNSPEC = Just $CTRL_ATTR_UNSPEC x | ^ System/Linux/Netlink/GeNetlink/Control.hs:140:58: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 140 | | i == eCTRL_ATTR_FAMILY_ID = fmap CTRL_ATTR_FAMILY_ID $getW16 x | ^ System/Linux/Netlink/GeNetlink/Control.hs:141:71: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 141 | | i == eCTRL_ATTR_FAMILY_NAME = Just . CTRL_ATTR_FAMILY_NAME . init $unpack x | ^ System/Linux/Netlink/GeNetlink/Control.hs:142:54: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 142 | | i == eCTRL_ATTR_VERSION = fmap CTRL_ATTR_VERSION $getW32 x | ^ System/Linux/Netlink/GeNetlink/Control.hs:143:54: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 143 | | i == eCTRL_ATTR_HDRSIZE = fmap CTRL_ATTR_HDRSIZE $getW32 x | ^ System/Linux/Netlink/GeNetlink/Control.hs:144:54: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 144 | | i == eCTRL_ATTR_MAXATTR = fmap CTRL_ATTR_MAXATTR $getW32 x | ^ System/Linux/Netlink/GeNetlink/Control.hs:145:46: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 145 | | i == eCTRL_ATTR_OPS = fmap CTRL_ATTR_OPS $getOpAttrs x | ^ System/Linux/Netlink/GeNetlink/Control.hs:146:64: warning: [[11 of 13] Compiling System.Linux.Netlink.GeNetlink.NL80211 -Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 146 | | i == eCTRL_ATTR_MCAST_GROUPS = fmap CTRL_ATTR_MCAST_GROUPS $getMcastGroupAttrs x | ^ System/Linux/Netlink/GeNetlink/Control.hs:188:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 188 | where a = fromList $map ctrlAttributesToAttribute attrs | ^ System/Linux/Netlink/GeNetlink/Control.hs:197:51: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 197 | attrs = fromList [(eCTRL_ATTR_FAMILY_ID, runPut $putWord16host fid)] in | ^ System/Linux/Netlink/GeNetlink/Control.hs:212:10: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 212 | return $fmap fst may | ^ System/Linux/Netlink/GeNetlink/Control.hs:222:29: warning: [-Woverflowed-literals] Literal -1 is out of the Word16 range 0..65535 | 222 | getIdFromList [] = -1 | ^ System/Linux/Netlink/GeNetlink/Control.hs:233:10: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 233 | return $fromMaybe (error "Could not find family") may | ^ System/Linux/Netlink/GeNetlink/Control.hs:255:107: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 255 | let (CtrlPacket _ _ attrs) = fromMaybe (error "Got infalid family id for request") . ctrlPacketFromGenl $packet | ^ System/Linux/Netlink/GeNetlink/Control.hs:256:10: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 256 | return $getMCFromList attrs | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:77:50: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 77 | showList xs = ((intercalate "===\n" . map show $xs) ++) | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:116:29: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 116 | getRight (Left err) = error $show err | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:124:10: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 124 | return $NLS sock fid | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:133:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 133 | Nothing -> error $"Could not find \"" ++ name ++ "\" multicast group" | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:165:9: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 165 | (init $unpack name, getRight $runGet getWord32host ifindex) | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:165:32: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 165 | (init $unpack name, getRight $runGet getWord32host ifindex) | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:196:60: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 196 | where attrs = M.fromList [(eNL80211_ATTR_IFINDEX, runPut $putWord32host ifindex)] | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:212:45: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 212 | isConn (Packet _ _ attrs) = hasConn $M.lookup eNL80211_ATTR_BSS attrs | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:221:61: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 221 | hasConn (Just attrs) = M.member eNL80211_BSS_STATUS $getRight $runGet getAttributes attrs | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:221:71: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 221 | hasConn (Just attrs) = M.member eNL80211_BSS_STATUS $getRight $runGet getAttributes attrs | ^ [12 of 13] Compiling System.Linux.Netlink.Route.LinkStat [13 of 13] Compiling System.Linux.Netlink.Route System/Linux/Netlink/Route.hs:109:59: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 109 | showList xs = ((concat . intersperse "===\n" . map show $xs) ++) | ^ Preprocessing executable 'dump_nl80211' for netlink-1.1.1.0.. Building executable 'dump_nl80211' for netlink-1.1.1.0.. [1 of 1] Compiling Main Utils/DumpNL80211.hs:11:12: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 11 | putStrLn $show pack | ^ [2 of 2] Linking dist/build/dump_nl80211/dump_nl80211 Preprocessing executable 'genlinfo' for netlink-1.1.1.0.. Building executable 'genlinfo' for netlink-1.1.1.0.. [1 of 1] Compiling Main Utils/GenlInfo.hs:17:7: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[CtrlAttribute]’ not matched: [] ((CTRL_ATTR_UNSPEC _):_) ((CTRL_ATTR_FAMILY_ID _):_) ((CTRL_ATTR_VERSION _):_) ... | 17 | let [CTRL_ATTR_FAMILY_NAME name] = filter isName (ctrlAttributes pack) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Utils/GenlInfo.hs:41:12: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 41 | putStrLn $show fam | ^ Utils/GenlInfo.hs:47:12: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 47 | putStrLn $show pack | ^ [2 of 2] Linking dist/build/genlinfo/genlinfo Preprocessing executable 'dump_rtnetlink' for netlink-1.1.1.0.. Building executable 'dump_rtnetlink' for netlink-1.1.1.0.. [1 of 1] Compiling Main Utils/DumpRTNL.hs:11:12: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 11 | putStrLn $show pack | ^ [2 of 2] Linking dist/build/dump_rtnetlink/dump_rtnetlink + '[' -n dist/build/libHSnetlink-1.1.1.0-1EzW4t5pOCpICR0pqoTT6q-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for netlink-1.1.1.0.. Running Haddock on library for netlink-1.1.1.0.. 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.17.1.0, bytestring-0.11.4.0, cereal-0.5.8.3, containers-0.6.7, deepseq-1.4.8.0, ghc-bignum-1.3, ghc-boot-th-9.4.5, ghc-prim-0.9.0, monad-loops-0.4.3, pretty-1.1.3.6, template-haskell-2.19.0.0, time-1.12.2, unix-2.7.3 Warning: --source-* options are ignored when --hyperlinked-source is enabled. System/Linux/Netlink/C.hsc:135:35: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 135 | throwErrnoIfMinus1_ "sendmsg" $c_sendmsg fd (castPtr msg) (0 :: CInt) | ^ System/Linux/Netlink/C.hsc:172:25: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 172 | size = fromIntegral $sizeOf (undefined :: CInt) | ^ System/Linux/Netlink.hs:144:59: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 144 | showList xs = ((concat . intersperse "===\n" . map show $xs) ++) | ^ System/Linux/Netlink.hs:216:27: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 216 | p16 (fromIntegral $BS.length value + 4) | ^ System/Linux/Netlink.hs:219:45: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 219 | when (BS.length value `mod` 4 /= 0) $replicateM_ (4 - (BS.length value `mod` 4)) (p8 0) | ^ System/Linux/Netlink.hs:224:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 224 | let attrs = runPut $putAttributes attributes | ^ System/Linux/Netlink.hs:225:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 225 | cus = runPut $getPut custom | ^ System/Linux/Netlink.hs:226:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 226 | hdr = runPut $putHeader (BS.length attrs + BS.length cus + 16) header | ^ System/Linux/Netlink.hs:236:10: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 236 | return $ErrorMsg hdr code packet | ^ System/Linux/Netlink.hs:341:69: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 341 | _ -> fail ("Expected one packet, received " ++ (show . length $pkts)) | ^ System/Linux/Netlink/GeNetlink/NL80211/WifiEI.hs:34:29: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 34 | getRight (Left err) = error $show err | ^ System/Linux/Netlink/GeNetlink/NL80211/WifiEI.hs:40:11: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 40 | (indent $showAttrs showIEEE80211EID attrs) | ^ System/Linux/Netlink/GeNetlink/NL80211/StaInfo.hs:28:1: warning: [-Wunused-imports] The import of ‘Data.Serialize.Get’ is redundant except perhaps to import instances from ‘Data.Serialize.Get’ To import instances alone, use: import Data.Serialize.Get() | 28 | import Data.Serialize.Get (Get, runGet) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ System/Linux/Netlink/GeNetlink.hs:57:12: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 57 | return $GenlData hdr dat | ^ System/Linux/Netlink/GeNetlink.hs:79:59: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 79 | showList xs = ((concat . intersperse "===\n" . map show $xs) ++) | ^ System/Linux/Netlink/GeNetlink.hs:91:12: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 91 | return $GenlHeader cmd version | ^ System/Linux/Netlink/GeNetlink/Control.hs:111:16: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 111 | attrs <- e2M $runGet getAttributes x | ^ System/Linux/Netlink/GeNetlink/Control.hs:124:16: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 124 | attrs <- e2M $runGet getAttributes x | ^ System/Linux/Netlink/GeNetlink/Control.hs:135:57: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 135 | getAttribute (i, x) = fromMaybe (CTRL_ATTR_UNKNOWN i x) $makeAttribute i x | ^ System/Linux/Netlink/GeNetlink/Control.hs:139:35: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 139 | | i == eCTRL_ATTR_UNSPEC = Just $CTRL_ATTR_UNSPEC x | ^ System/Linux/Netlink/GeNetlink/Control.hs:140:58: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 140 | | i == eCTRL_ATTR_FAMILY_ID = fmap CTRL_ATTR_FAMILY_ID $getW16 x | ^ System/Linux/Netlink/GeNetlink/Control.hs:141:71: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 141 | | i == eCTRL_ATTR_FAMILY_NAME = Just . CTRL_ATTR_FAMILY_NAME . init $unpack x | ^ System/Linux/Netlink/GeNetlink/Control.hs:142:54: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 142 | | i == eCTRL_ATTR_VERSION = fmap CTRL_ATTR_VERSION $getW32 x | ^ System/Linux/Netlink/GeNetlink/Control.hs:143:54: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 143 | | i == eCTRL_ATTR_HDRSIZE = fmap CTRL_ATTR_HDRSIZE $getW32 x | ^ System/Linux/Netlink/GeNetlink/Control.hs:144:54: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 144 | | i == eCTRL_ATTR_MAXATTR = fmap CTRL_ATTR_MAXATTR $getW32 x | ^ System/Linux/Netlink/GeNetlink/Control.hs:145:46: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 145 | | i == eCTRL_ATTR_OPS = fmap CTRL_ATTR_OPS $getOpAttrs x | ^ System/Linux/Netlink/GeNetlink/Control.hs:146:64: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 146 | | i == eCTRL_ATTR_MCAST_GROUPS = fmap CTRL_ATTR_MCAST_GROUPS $getMcastGroupAttrs x | ^ System/Linux/Netlink/GeNetlink/Control.hs:188:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 188 | where a = fromList $map ctrlAttributesToAttribute attrs | ^ System/Linux/Netlink/GeNetlink/Control.hs:197:51: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 197 | attrs = fromList [(eCTRL_ATTR_FAMILY_ID, runPut $putWord16host fid)] in | ^ System/Linux/Netlink/GeNetlink/Control.hs:212:10: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 212 | return $fmap fst may | ^ System/Linux/Netlink/GeNetlink/Control.hs:222:29: warning: [-Woverflowed-literals] Literal -1 is out of the Word16 range 0..65535 | 222 | getIdFromList [] = -1 | ^ System/Linux/Netlink/GeNetlink/Control.hs:233:10: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 233 | return $fromMaybe (error "Could not find family") may | ^ System/Linux/Netlink/GeNetlink/Control.hs:255:107: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 255 | let (CtrlPacket _ _ attrs) = fromMaybe (error "Got infalid family id for request") . ctrlPacketFromGenl $packet | ^ System/Linux/Netlink/GeNetlink/Control.hs:256:10: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 256 | return $getMCFromList attrs | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:77:50: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 77 | showList xs = ((intercalate "===\n" . map show $xs) ++) | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:116:29: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 116 | getRight (Left err) = error $show err | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:124:10: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 124 | return $NLS sock fid | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:133:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 133 | Nothing -> error $"Could not find \"" ++ name ++ "\" multicast group" | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:165:9: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 165 | (init $unpack name, getRight $runGet getWord32host ifindex) | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:165:32: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 165 | (init $unpack name, getRight $runGet getWord32host ifindex) | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:196:60: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 196 | where attrs = M.fromList [(eNL80211_ATTR_IFINDEX, runPut $putWord32host ifindex)] | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:212:45: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 212 | isConn (Packet _ _ attrs) = hasConn $M.lookup eNL80211_ATTR_BSS attrs | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:221:61: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 221 | hasConn (Just attrs) = M.member eNL80211_BSS_STATUS $getRight $runGet getAttributes attrs | ^ System/Linux/Netlink/GeNetlink/NL80211.hs:221:71: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 221 | hasConn (Just attrs) = M.member eNL80211_BSS_STATUS $getRight $runGet getAttributes attrs | ^ System/Linux/Netlink/Route.hs:109:59: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. | 109 | showList xs = ((concat . intersperse "===\n" . map show $xs) ++) | ^ Warning: 'Put' is ambiguous. It is defined * in ‘Data.Serialize.Put’ * in ‘Data.Serialize.Put’ You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined in ‘Data.Serialize.Put’ 100% ( 10 / 10) in 'System.Linux.Netlink.Helpers' Warning: 'Storable' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Put' is ambiguous. It is defined * in ‘Data.Serialize.Put’ * in ‘Data.Serialize.Put’ You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined in ‘Data.Serialize.Put’ Warning: 'Attribute' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 27 / 27) in 'System.Linux.Netlink' 100% ( 3 / 3) in 'System.Linux.Netlink.GeNetlink.NL80211.WifiEI' 100% ( 10 / 10) in 'System.Linux.Netlink.GeNetlink.NL80211.StaInfo' Warning: 'Put' is ambiguous. It is defined * in ‘Data.Serialize.Put’ * in ‘Data.Serialize.Put’ You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined in ‘Data.Serialize.Put’ 100% ( 7 / 7) in 'System.Linux.Netlink.GeNetlink' Warning: 'CtrPacket' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 16 / 16) in 'System.Linux.Netlink.GeNetlink.Control' 100% ( 14 / 14) in 'System.Linux.Netlink.GeNetlink.NL80211' 100% ( 6 / 6) in 'System.Linux.Netlink.Route.LinkStat' 100% ( 20 / 20) in 'System.Linux.Netlink.Route' Warning: System.Linux.Netlink.Helpers: could not find link destinations for: - GHC.Base.String - GHC.Word.Word8 - Data.Serialize.Put.Put - Data.Serialize.Put.PutM - GHC.Word.Word16 - GHC.Word.Word32 - GHC.Word.Word64 - Data.Serialize.Get.Get Warning: System.Linux.Netlink: could not find link destinations for: - System.Linux.Netlink.Constants.MessageType - GHC.Word.Word16 - GHC.Word.Word32 - 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./= - Data.Map.Internal.Map - Data.ByteString.Internal.Type.ByteString - Foreign.C.Types.CInt - Data.Serialize.Get.Get - Data.Serialize.Put.Put - Data.Serialize.Put.PutM - Data.Either.Either - GHC.Types.IO - System.Posix.Types.Fd Warning: System.Linux.Netlink.GeNetlink.NL80211.WifiEI: could not find link destinations for: - Data.ByteString.Internal.Type.ByteString - GHC.Base.String - Data.Serialize.Get.Get Warning: System.Linux.Netlink.GeNetlink.NL80211.StaInfo: could not find link destinations for: - GHC.Maybe.Maybe - GHC.Word.Word32 - GHC.Word.Word64 - GHC.Word.Word16 - GHC.Word.Word8 - Data.ByteString.Internal.Type.ByteString - GHC.Read.Read - GHC.Read.readsPrec - GHC.Types.Int - 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./= - Data.Serialize.Get.Get Warning: System.Linux.Netlink.GeNetlink: could not find link destinations for: - GHC.Word.Word8 - 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./= - System.Linux.Netlink.Constants.MessageType - Data.Serialize.Get.Get - Data.Serialize.Put.Put - Data.Serialize.Put.PutM - GHC.Types.IO Warning: System.Linux.Netlink.GeNetlink.Control: could not find link destinations for: - Data.ByteString.Internal.Type.ByteString - GHC.Word.Word16 - GHC.Base.String - GHC.Word.Word32 - GHC.Types.Int - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Maybe.Maybe - GHC.Types.IO Warning: System.Linux.Netlink.GeNetlink.NL80211: could not find link destinations for: - System.Linux.Netlink.GeNetlink.NL80211.NoData80211 - GHC.Types.IO - GHC.Base.String - GHC.Word.Word8 - GHC.Types.Bool - GHC.Word.Word32 - GHC.Maybe.Maybe - System.Posix.Types.Fd Warning: System.Linux.Netlink.Route.LinkStat: could not find link destinations for: - 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./= - Data.Serialize.Get.Get - Data.Serialize.Put.Put Warning: System.Linux.Netlink.Route: could not find link destinations for: - 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./= - Data.ByteString.Internal.Type.ByteString - Data.Either.Either - Data.Serialize.Get.Get - System.Linux.Netlink.Constants.LinkType - GHC.Word.Word32 - System.Linux.Netlink.Constants.AddressFamily - GHC.Word.Word8 - GHC.Int.Int32 - GHC.Word.Word16 - System.Linux.Netlink.Constants.MessageType - Data.Serialize.Put.Put - System.Linux.Netlink.Route.AttributeReader - System.Linux.Netlink.Route.LinkAddress - System.Linux.Netlink.Route.AttributeWriter Documentation created: dist/doc/html/netlink/index.html, dist/doc/html/netlink/netlink.txt Preprocessing executable 'dump_nl80211' for netlink-1.1.1.0.. Preprocessing executable 'genlinfo' for netlink-1.1.1.0.. Preprocessing executable 'dump_rtnetlink' for netlink-1.1.1.0.. + ./Setup register --inplace Registering library for netlink-1.1.1.0.. + cd .. ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f changelog.md -a -x changelog.md ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f readme.org -a -x readme.org ']' + 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 -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 ']' + cp /usr/share/ghc-rpm-macros/Setup.hs . + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.hs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 + ./Setup --version Cabal library version 3.8.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ 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 -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/xmobar '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --user '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -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-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/xmobar-0.46 --user Configuring xmobar-0.46... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j4 Preprocessing library for xmobar-0.46.. Building library for xmobar-0.46.. [ 1 of 98] Compiling Paths_xmobar [ 2 of 98] Compiling Xmobar.App.Compile [ 3 of 98] Compiling Xmobar.Plugins.Monitors.Common.Types [ 4 of 98] Compiling Xmobar.Plugins.Monitors.Common.Parsers [ 5 of 98] Compiling Xmobar.Plugins.Monitors.Common.Output src/Xmobar/Plugins/Monitors/Common/Output.hs:91:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[a]’ not matched: [] [_] (_:_:_:_) | 91 | [ll,hh] = map fromIntegral $ sort [pLow p, pHigh p] -- consider high < low | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Xmobar/Plugins/Monitors/Common/Output.hs:200:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[a]’ not matched: [] [_] (_:_:_:_) | 200 | [ll,hh] = map fromIntegral $ sort [l, h] -- consider high < low | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Xmobar/Plugins/Monitors/Common/Output.hs:263:7: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Float]’ not matched: [] [_] (_:_:_:_) | 263 | let [ll, hh] = sort [l, h] | ^^^^^^^^^^^^^^^^^^^^^^ [ 6 of 98] Compiling Xmobar.Plugins.Monitors.Common.Files [ 7 of 98] Compiling Xmobar.Plugins.Monitors.Cpu.Common [ 8 of 98] Compiling Xmobar.Plugins.Monitors.Cpu.Linux [ 9 of 98] Compiling Xmobar.Plugins.Monitors.Disk.Common [10 of 98] Compiling Xmobar.Plugins.Monitors.Load.Common [11 of 98] Compiling Xmobar.Plugins.Monitors.Load.Linux [12 of 98] Compiling Xmobar.Plugins.Monitors.Mem.Linux src/Xmobar/Plugins/Monitors/Mem/Linux.hs:28:12: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Float]’ not matched: [] [_] [_, _] [_, _, _] ... | 28 | [total, free, buffer, cache] = | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... [13 of 98] Compiling Xmobar.Plugins.Monitors.Net.Common [14 of 98] Compiling Xmobar.Plugins.Monitors.Net.Linux [15 of 98] Compiling Xmobar.Plugins.Monitors.Swap.Linux [16 of 98] Compiling Xmobar.Plugins.Monitors.Top.Common [17 of 98] Compiling Xmobar.Plugins.Monitors.Uptime.Linux [18 of 98] Compiling Xmobar.Run.Actions [19 of 98] Compiling Xmobar.Run.Timer [20 of 98] Compiling Xmobar.System.Environment [21 of 98] Compiling Xmobar.System.Kbd [22 of 98] Compiling Xmobar.System.Localize src/Xmobar/Plugins/Monitors/Net/Linux.hs:50:1: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[String]’ not matched: [] [_] [_, _] (_:_:_:_:_) | 50 | readNetDev ~[d, x, y] = do | ^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Xmobar/System/Environment.hs:39:32: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Char]’ not matched: [] | 39 | where escString s' = let (cc:_) = s' in | ^^^^^^^^^^^ [23 of 98] Compiling Xmobar.System.Signal [24 of 98] Compiling Xmobar.Run.Exec [25 of 98] Compiling Xmobar.Plugins.StdinReader [26 of 98] Compiling Xmobar.Plugins.QueueReader [27 of 98] Compiling Xmobar.Plugins.PipeReader [28 of 98] Compiling Xmobar.Plugins.NotmuchMail [29 of 98] Compiling Xmobar.Plugins.Monitors.Common.Run [30 of 98] Compiling Xmobar.Plugins.Monitors.Common [31 of 98] Compiling Xmobar.Plugins.Monitors.Wireless [32 of 98] Compiling Xmobar.Plugins.Monitors.Weather [33 of 98] Compiling Xmobar.Plugins.Monitors.Uptime [34 of 98] Compiling Xmobar.Plugins.Monitors.Top.Linux [35 of 98] Compiling Xmobar.Plugins.Monitors.Top [36 of 98] Compiling Xmobar.Plugins.Monitors.ThermalZone [37 of 98] Compiling Xmobar.Plugins.Monitors.Thermal [38 of 98] Compiling Xmobar.Plugins.Monitors.Swap [39 of 98] Compiling Xmobar.Plugins.Monitors.Net [40 of 98] Compiling Xmobar.Plugins.Monitors.MultiCpu [41 of 98] Compiling Xmobar.Plugins.Monitors.MultiCoreTemp [42 of 98] Compiling Xmobar.Plugins.Monitors.Mem [43 of 98] Compiling Xmobar.Plugins.Monitors.Load [44 of 98] Compiling Xmobar.Plugins.Monitors.K10Temp [45 of 98] Compiling Xmobar.Plugins.Monitors.CpuFreq [46 of 98] Compiling Xmobar.Plugins.Monitors.Cpu [47 of 98] Compiling Xmobar.Plugins.Monitors.CoreTemp [48 of 98] Compiling Xmobar.Plugins.Monitors.CatInt [49 of 98] Compiling Xmobar.Plugins.Monitors.Bright [50 of 98] Compiling Xmobar.Plugins.Monitors.Batt.Common [51 of 98] Compiling Xmobar.Plugins.Monitors.Batt.Linux [52 of 98] Compiling Xmobar.Plugins.Monitors.Batt [53 of 98] Compiling Xmobar.Plugins.MarqueePipeReader [54 of 98] Compiling Xmobar.Plugins.HandleReader [55 of 98] Compiling Xmobar.Plugins.Date [56 of 98] Compiling Xmobar.Plugins.CommandReader [57 of 98] Compiling Xmobar.Plugins.Command [58 of 98] Compiling Xmobar.Plugins.BufferedPipeReader [59 of 98] Compiling Xmobar.System.StatFS [60 of 98] Compiling Xmobar.Plugins.Monitors.Disk.Linux [61 of 98] Compiling Xmobar.Plugins.Monitors.Disk src/Xmobar/Plugins/Monitors/Disk.hs:136:7: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Integer]’ not matched: [] [_] [_, _] (_:_:_:_:_) | 136 | let [total, free, diff] = stat | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [62 of 98] Compiling Xmobar.Plugins.Monitors [63 of 98] Compiling Xmobar.System.Utils [64 of 98] Compiling Xmobar.Text.Ansi [65 of 98] Compiling Xmobar.Text.Pango [66 of 98] Compiling Xmobar.Text.SwaybarClicks [67 of 98] Compiling Xmobar.X11.CairoSurface [68 of 98] Compiling Xmobar.X11.ColorCache [69 of 98] Compiling Xmobar.X11.Bitmap [70 of 98] Compiling Xmobar.X11.Events [71 of 98] Compiling Xmobar.Plugins.XMonadLog [72 of 98] Compiling Xmobar.Plugins.Locks [73 of 98] Compiling Xmobar.Plugins.Kbd src/Xmobar/X11/Bitmap.hs:119:27: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[Pixel]’ not matched: [] [_] (_:_:_:_) | 119 | withColors d [fc, bc] $ \[fc', bc'] -> do | ^^^^^^^^^^^^^^^^^... [74 of 98] Compiling Xmobar.Plugins.EWMH [75 of 98] Compiling Xmobar.Run.Runnable[boot] [76 of 98] Compiling Xmobar.Run.Types [77 of 98] Compiling Xmobar.Run.Runnable [78 of 98] Compiling Xmobar.Run.Template src/Xmobar/Run/Template.hs:80:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Char]’ not matched: [] [_] (_:_:_:_) | 80 | where [l, r] = if length alignSep == 2 then alignSep else defaultAlign | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [79 of 98] Compiling Xmobar.Config.Types [80 of 98] Compiling Xmobar.Run.Loop [81 of 98] Compiling Xmobar.Draw.Types [82 of 98] Compiling Xmobar.Draw.Boxes src/Xmobar/Draw/Boxes.hs:46:5: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Double]’ not matched: [] [_] [_, _] [_, _, _] ... | 46 | [mt, mr, mb, ml] = map fromIntegral [top, right, bot, left] [83 of 98] Compiling Xmobar.Config.Template | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [84 of 98] Compiling Xmobar.Config.Parse [85 of 98] Compiling Xmobar.Text.Swaybar [86 of 98] Compiling Xmobar.Text.Output [87 of 98] Compiling Xmobar.Text.Loop [88 of 98] Compiling Xmobar.Draw.Cairo src/Xmobar/Draw/Cairo.hs:172:7: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[[C.Segment]]’ not matched: [] [_] [_, _] (_:_:_:_:_) | 172 | let [left, center, right] = take 3 $ T.dcSegments dctx ++ repeat [] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [89 of 98] Compiling Xmobar.App.Opts [90 of 98] Compiling Xmobar.App.Config [91 of 98] Compiling Xmobar.X11.Text [92 of 98] Compiling Xmobar.X11.Types [93 of 98] Compiling Xmobar.X11.Window [94 of 98] Compiling Xmobar.X11.XRender [95 of 98] Compiling Xmobar.X11.Draw [96 of 98] Compiling Xmobar.X11.Loop src/Xmobar/Draw/Cairo.hs:186:7: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Double]’ not matched: [] [_] (_:_:_:_) | 186 | let [rw, cw] = map sWidth [rlyts, clyts] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Xmobar/X11/Loop.hs:151:7: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[String]’ not matched: [] [_] [_, _] | 151 | let l:c:r:_ = s ++ repeat "" | ^^^^^^^^^^^^^^^^^^^^^^^^ [97 of 98] Compiling Xmobar.App.Main [98 of 98] Compiling Xmobar [ 1 of 98] Compiling Paths_xmobar /var/tmp/rpm-tmp.3Scwkv: line 166: 46800 Segmentation fault (core dumped) ./Setup build -j${RPM_BUILD_NCPUS} error: Bad exit status from /var/tmp/rpm-tmp.3Scwkv (%build) Bad exit status from /var/tmp/rpm-tmp.3Scwkv (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xmobar.spec