Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-OpenGL.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-839051-28396/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-OpenGL.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=1687737600 Wrote: /builddir/build/SRPMS/ghc-OpenGL-3.0.3.0-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-OpenGL.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-839051-28396/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-OpenGL.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=1687737600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Bt4ZMw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf OpenGL-3.0.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/OpenGL-3.0.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd OpenGL-3.0.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -bp /builddir/build/SOURCES/OpenGL-3.0.3.0.cabal OpenGL.cabal + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.P6Xo3K + 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 OpenGL-3.0.3.0 ++ 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.md -a -x README.md ']' ++ 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-OpenGL '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.2.6/lib --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/OpenGL-3.0.3.0 --global Configuring OpenGL-3.0.3.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for OpenGL-3.0.3.0.. Building library for OpenGL-3.0.3.0.. [ 1 of 118] Compiling Graphics.Rendering.OpenGL.GL.BlendingFactor src/Graphics/Rendering/OpenGL/GL/BlendingFactor.hs:20:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/OpenGLRaw-3.3.4.1/Graphics/GL.hi mismatched interface file profile tag (wanted "", got "u") | 20 | import Graphics.GL | ^^^^^^^^^^^^^^^^^^ [ 2 of 118] Compiling Graphics.Rendering.OpenGL.GL.BufferMode [ 3 of 118] Compiling Graphics.Rendering.OpenGL.GL.ComparisonFunction src/Graphics/Rendering/OpenGL/GL/BufferMode.hs:22:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/OpenGLRaw-3.3.4.1/Graphics/GL.hi mismatched interface file profile tag (wanted "", got "u") | 22 | import Graphics.GL | ^^^^^^^^^^^^^^^^^^ src/Graphics/Rendering/OpenGL/GL/ComparisonFunction.hs:21:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/OpenGLRaw-3.3.4.1/Graphics/GL.hi mismatched interface file profile tag (wanted "", got "u") | 21 | import Graphics.GL | ^^^^^^^^^^^^^^^^^^ [ 4 of 118] Compiling Graphics.Rendering.OpenGL.GL.DataType src/Graphics/Rendering/OpenGL/GL/DataType.hs:60:32: error: Not in scope: type constructor or class ‘GLenum’ | 60 | marshalDataType :: DataType -> GLenum | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/DataType.hs:94:22: error:[ 5 of 118] Compiling Graphics.Rendering.OpenGL.GL.Exception Not in scope: type constructor or class ‘GLenum’ | 94 | unmarshalDataType :: GLenum -> DataType | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/DataType.hs:137:32: error: Not in scope: type constructor or class ‘GLenum’ | 137 | unmarshalDataRepresentation :: GLenum -> Maybe DataRepresentation | ^^^^^^ [ 6 of 118] Compiling Graphics.Rendering.OpenGL.GL.Face [ 7 of 118] Compiling Graphics.Rendering.OpenGL.GL.FlushFinish src/Graphics/Rendering/OpenGL/GL/Face.hs:20:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/OpenGLRaw-3.3.4.1/Graphics/GL.hi mismatched interface file profile tag (wanted "", got "u") | 20 | import Graphics.GL | ^^^^^^^^^^^^^^^^^^ src/Graphics/Rendering/OpenGL/GL/FlushFinish.hs:41:9: error: Variable not in scope: glFlush :: IO () | 41 | flush = glFlush | ^^^^^^^ src/Graphics/Rendering/OpenGL/GL/FlushFinish.hs:50:10: error: Variable not in scope:[ 8 of 118] Compiling Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferTarget glFinish :: IO () | 50 | finish = glFinish | ^^^^^^^^ src/Graphics/Rendering/OpenGL/GL/FramebufferObjects/FramebufferTarget.hs:30:50: error: Not in scope: type constructor or class ‘GLenum’ | 30 | marshalFramebufferTarget :: FramebufferTarget -> GLenum | ^^^^^^ [ 9 of 118] Compiling Graphics.Rendering.OpenGL.GL.GLboolean src/Graphics/Rendering/OpenGL/GL/GLboolean.hs:26:13: error: Data constructor not in scope: GL_FALSE | 26 | False -> GL_FALSE | ^^^^^^^^ src/Graphics/Rendering/OpenGL/GL/GLboolean.hs:27:12: error: Data constructor not in scope: GL_TRUE | 27 | True -> GL_TRUE | ^^^^^^^ src/Graphics/Rendering/OpenGL/GL/GLboolean.hs:30:39: error: Data constructor not in scope:[ 11 of 118] Compiling Graphics.Rendering.OpenGL.GL.IOState GL_FALSE | 30 | unmarshalGLboolean = (/= fromIntegral GL_FALSE) | ^^^^^^^^ src/Graphics/Rendering/OpenGL/GL/IOState.hs:34:4: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (IOState s)’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 34 | pure = return | ^^^^^^^^^^^^^^ src/Graphics/Rendering/OpenGL/GL/IOState.hs:41:4: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (IOState s)’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 41 | return a = IOState $ \s -> return (a, s) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 12 of 118] Compiling Graphics.Rendering.OpenGL.GL.PeekPoke [ 13 of 118] Compiling Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferTarget src/Graphics/Rendering/OpenGL/GL/FramebufferObjects/RenderbufferTarget.hs:29:52: error: Not in scope: type constructor or class ‘GLenum’ | 29 | marshalRenderbufferTarget :: RenderbufferTarget -> GLenum | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/FramebufferObjects/RenderbufferTarget.hs:35:44: error: Not in scope: type constructor or class ‘GLint’ | 35 | getRBParameteriv :: RenderbufferTarget -> (GLint -> a) -> GLenum -> IO a | ^^^^^ src/Graphics/Rendering/OpenGL/GL/FramebufferObjects/RenderbufferTarget.hs:35:59: error:[ 15 of 118] Compiling Graphics.Rendering.OpenGL.GL.PixelFormat Not in scope: type constructor or class ‘GLenum’ | 35 | getRBParameteriv :: RenderbufferTarget -> (GLint -> a) -> GLenum -> IO a | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/FramebufferObjects/RenderbufferTarget.hs:42:27: error: Not in scope: type constructor or class ‘GLsizei’ | 42 | newtype Samples = Samples GLsizei | ^^^^^^^ src/Graphics/Rendering/OpenGL/GL/PixelFormat.hs:59:38: error: Not in scope: type constructor or class ‘GLenum’ | 59 | marshalPixelFormat :: PixelFormat -> GLenum | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/PixelFormat.hs:94:25: error:[ 19 of 118] Compiling Graphics.Rendering.OpenGL.GL.PointParameter Not in scope: type constructor or class ‘GLenum’ | 94 | unmarshalPixelFormat :: GLenum -> PixelFormat | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/PointParameter.hs:31:44: error: Not in scope: type constructor or class ‘GLenum’ | 31 | marshalPointParameter :: PointParameter -> GLenum | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/PointParameter.hs:40:38: error: Not in scope: type constructor or class ‘GLfloat’ | 40 | pointParameterf :: PointParameter -> GLfloat -> IO () | ^^^^^^^ src/Graphics/Rendering/OpenGL/GL/PointParameter.hs:43:43: error: Not in scope: type constructor or class ‘GLfloat’ | [ 20 of 118] Compiling Graphics.Rendering.OpenGL.GL.PolygonMode 43 | pointParameterfv :: PointParameter -> Ptr GLfloat -> IO () | ^^^^^^^ src/Graphics/Rendering/OpenGL/GL/PolygonMode.hs:30:38: error: Not in scope: type constructor or class ‘GLenum’ | 30 | marshalPolygonMode :: PolygonMode -> GLenum | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/PolygonMode.hs:36:25: error: Not in scope: type constructor or class ‘GLenum’ | [ 21 of 118] Compiling Graphics.Rendering.OpenGL.GL.QueryUtils.VertexAttrib 36 | unmarshalPolygonMode :: GLenum -> PolygonMode | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:30:41: error: Not in scope: type constructor or class ‘GLuint’ | 30 | newtype AttribLocation = AttribLocation GLuint | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:45:56: error: Not in scope: type constructor or class ‘GLenum’ | 45 | marshalGetVertexAttribPName :: GetVertexAttribPName -> GLenum | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:58:29: error: Not in scope: type constructor or class ‘GLint’ | 58 | getVertexAttribInteger1 :: (GLint -> b) -> AttribLocation -> GetVertexAttribPName -> IO b | ^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:63:26: error: Not in scope: type constructor or class ‘GLenum’ | 63 | getVertexAttribEnum1 :: (GLenum -> b) -> AttribLocation -> GetVertexAttribPName -> IO b | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:66:29: error: Not in scope: type constructor or class ‘GLboolean’ | 66 | getVertexAttribBoolean1 :: (GLboolean -> b) -> AttribLocation -> GetVertexAttribPName -> IO b | ^^^^^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:69:27: error: Not in scope: type constructor or class ‘GLfloat’ | 69 | getVertexAttribFloat4 :: (GLfloat -> GLfloat -> GLfloat -> GLfloat -> b) -> AttribLocation -> GetVertexAttribPName -> IO b | ^^^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:69:38: error: Not in scope: type constructor or class ‘GLfloat’ | 69 | getVertexAttribFloat4 :: (GLfloat -> GLfloat -> GLfloat -> GLfloat -> b) -> AttribLocation -> GetVertexAttribPName -> IO b | ^^^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:69:49: error: Not in scope: type constructor or class ‘GLfloat’ | 69 | getVertexAttribFloat4 :: (GLfloat -> GLfloat -> GLfloat -> GLfloat -> b) -> AttribLocation -> GetVertexAttribPName -> IO b | ^^^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:69:60: error: Not in scope: type constructor or class ‘GLfloat’ | 69 | getVertexAttribFloat4 :: (GLfloat -> GLfloat -> GLfloat -> GLfloat -> b) -> AttribLocation -> GetVertexAttribPName -> IO b | ^^^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:74:30: error: Not in scope: type constructor or class ‘GLint’ | 74 | getVertexAttribIInteger4 :: (GLint -> GLint -> GLint -> GLint -> b) -> AttribLocation -> GetVertexAttribPName -> IO b | ^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:74:39: error: Not in scope: type constructor or class ‘GLint’ | 74 | getVertexAttribIInteger4 :: (GLint -> GLint -> GLint -> GLint -> b) -> AttribLocation -> GetVertexAttribPName -> IO b | ^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:74:48: error: Not in scope: type constructor or class ‘GLint’ | 74 | getVertexAttribIInteger4 :: (GLint -> GLint -> GLint -> GLint -> b) -> AttribLocation -> GetVertexAttribPName -> IO b | ^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:74:57: error: Not in scope: type constructor or class ‘GLint’ | 74 | getVertexAttribIInteger4 :: (GLint -> GLint -> GLint -> GLint -> b) -> AttribLocation -> GetVertexAttribPName -> IO b | ^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:79:31: error: Not in scope: type constructor or class ‘GLuint’ | 79 | getVertexAttribIuInteger4 :: (GLuint -> GLuint -> GLuint -> GLuint -> b) -> AttribLocation -> GetVertexAttribPName -> IO b | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:79:41: error:[ 22 of 118] Compiling Graphics.Rendering.OpenGL.GL.SavingState Not in scope: type constructor or class ‘GLuint’ | 79 | getVertexAttribIuInteger4 :: (GLuint -> GLuint -> GLuint -> GLuint -> b) -> AttribLocation -> GetVertexAttribPName -> IO b | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:79:51: error: Not in scope: type constructor or class ‘GLuint’ | 79 | getVertexAttribIuInteger4 :: (GLuint -> GLuint -> GLuint -> GLuint -> b) -> AttribLocation -> GetVertexAttribPName -> IO b | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:79:61: error: Not in scope: type constructor or class ‘GLuint’ | 79 | getVertexAttribIuInteger4 :: (GLuint -> GLuint -> GLuint -> GLuint -> b) -> AttribLocation -> GetVertexAttribPName -> IO b | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/QueryUtils/VertexAttrib.hs:89:70: error: Not in scope: type constructor or class ‘GLenum’ | 89 | marshalGetVertexAttribPointerPName :: GetVertexAttribPointerPName -> GLenum | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/SavingState.hs:51:56: error: Not in scope: type constructor or class ‘GLbitfield’ | 51 | marshalServerAttributeGroup :: ServerAttributeGroup -> GLbitfield | ^^^^^^^^^^ src/Graphics/Rendering/OpenGL/GL/SavingState.hs:92:56: error:[ 23 of 118] Compiling Graphics.Rendering.OpenGL.GL.Tensor Not in scope: type constructor or class ‘GLbitfield’ | 92 | marshalClientAttributeGroup :: ClientAttributeGroup -> GLbitfield | ^^^^^^^^^^ [ 24 of 118] Compiling Graphics.Rendering.OpenGL.GL.Rectangles src/Graphics/Rendering/OpenGL/GL/Rectangles.hs:51:15: error: Not in scope: type constructor or class ‘GLshort’ | 51 | instance Rect GLshort where | ^^^^^^^ src/Graphics/Rendering/OpenGL/GL/Rectangles.hs:55:15: error: Not in scope: type constructor or class ‘GLint’ | 55 | instance Rect GLint where | ^^^^^ src/Graphics/Rendering/OpenGL/GL/Rectangles.hs:59:15: error: Not in scope: type constructor or class ‘GLfloat’ | 59 | instance Rect GLfloat where | ^^^^^^^ src/Graphics/Rendering/OpenGL/GL/Rectangles.hs:63:15: error:[ 25 of 118] Compiling Graphics.Rendering.OpenGL.GL.Texturing.Filter [ 26 of 118] Compiling Graphics.Rendering.OpenGL.GL.Texturing.PixelInternalFormat [ 27 of 118] Compiling Graphics.Rendering.OpenGL.GL.Texturing.TextureUnit Not in scope: type constructor or class ‘GLdouble’ | 63 | instance Rect GLdouble where | ^^^^^^^^ src/Graphics/Rendering/OpenGL/GL/Texturing/Filter.hs:22:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/OpenGLRaw-3.3.4.1/Graphics/GL.hi mismatched interface file profile tag (wanted "", got "u") | 22 | import Graphics.GL | ^^^^^^^^^^^^^^^^^^ src/Graphics/Rendering/OpenGL/GL/Texturing/PixelInternalFormat.hs:157:54: error: Not in scope: type constructor or class ‘GLint’ | 157 | marshalPixelInternalFormat :: PixelInternalFormat -> GLint | ^^^^^ src/Graphics/Rendering/OpenGL/GL/Texturing/PixelInternalFormat.hs:290:55: error: Not in scope: type constructor or class ‘GLenum’ | 290 | marshalPixelInternalFormat' :: PixelInternalFormat -> GLenum | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/Texturing/PixelInternalFormat.hs:293:33: error: Not in scope: type constructor or class ‘GLint’ | 293 | unmarshalPixelInternalFormat :: GLint -> PixelInternalFormat | ^^^^^ src/Graphics/Rendering/OpenGL/GL/Texturing/TextureUnit.hs:29:35: error: Not in scope: type constructor or class ‘GLuint’ | 29 | newtype TextureUnit = TextureUnit GLuint | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/Texturing/TextureUnit.hs:36:56: error:[ 28 of 118] Compiling Graphics.Rendering.OpenGL.GL.VertexAttributes Not in scope: type constructor or class ‘GLuint’ | 36 | sizeOf _ = sizeOf (undefined :: GLuint) | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/Texturing/TextureUnit.hs:37:56: error: Not in scope: type constructor or class ‘GLuint’ | 37 | alignment _ = alignment (undefined :: GLuint) | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/Texturing/TextureUnit.hs:46:38: error: Not in scope: type constructor or class ‘GLenum’ | 46 | marshalTextureUnit :: TextureUnit -> GLenum | ^^^^^^ src/Graphics/Rendering/OpenGL/GL/Texturing/TextureUnit.hs:49:25: error: Not in scope: type constructor or class ‘GLenum’ | 49 | unmarshalTextureUnit :: GLenum -> TextureUnit | ^^^^^^ [ 29 of 118] Compiling Graphics.Rendering.OpenGL.GLU.ErrorsInternal src/Graphics/Rendering/OpenGL/GLU/ErrorsInternal.hs:25:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/GLURaw-2.0.0.5/Graphics/GLU.hi mismatched interface file profile tag (wanted "", got "u") | 25 | import Graphics.GLU | ^^^^^^^^^^^^^^^^^^^ error: Bad exit status from /var/tmp/rpm-tmp.P6Xo3K (%build) Bad exit status from /var/tmp/rpm-tmp.P6Xo3K (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-OpenGL.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-OpenGL.spec