1 |
Hello list, |
2 |
|
3 |
this is my first posting to this mailinglist since I recently switched |
4 |
to Gentoo. I worked a few years with ArchLinux, then dumped it for |
5 |
FreeBSD and - due to getting a new Laptop (Thinkpad X220) - I |
6 |
considered switching back to Linux. So, here I am. |
7 |
|
8 |
I tried to install haskell-platform (the overlay, that is) and it got |
9 |
me into the following problem: emerging haskell-opengl-2.2.1.1 failed. |
10 |
I append the build.log. |
11 |
|
12 |
Thanks in advance, |
13 |
greetings from Cologne, |
14 |
Christian Lask. |
15 |
|
16 |
|
17 |
|
18 |
The build.log residing in /var/tmp/portage/dev-haskell/opengl-2.2.1.1/temp/: |
19 |
|
20 |
|
21 |
* Package: dev-haskell/opengl-2.2.1.1 |
22 |
* Repository: gentoo-haskell |
23 |
* Maintainer: haskell@g.o |
24 |
* USE: amd64 elibc_glibc kernel_linux multilib userland_GNU |
25 |
* FEATURES: sandbox |
26 |
>>> Unpacking source... |
27 |
>>> Unpacking OpenGL-2.2.1.1.tar.gz to |
28 |
>>> /var/tmp/portage/dev-haskell/opengl-2.2.1.1/work |
29 |
>>> Source unpacked in /var/tmp/portage/dev-haskell/opengl-2.2.1.1/work |
30 |
>>> Compiling source in |
31 |
>>> /var/tmp/portage/dev-haskell/opengl-2.2.1.1/work/OpenGL-2.2.1.1 ... |
32 |
* Using cabal-1.14.0. |
33 |
/usr/bin/ghc -package Cabal-1.14.0 --make |
34 |
/var/tmp/portage/dev-haskell/opengl-2.2.1.1/work/OpenGL-2.2.1.1/Setup.hs |
35 |
-dynamic -o setup |
36 |
[1 of 1] Compiling Main ( |
37 |
/var/tmp/portage/dev-haskell/opengl-2.2.1.1/work/OpenGL-2.2.1.1/Setup.hs, |
38 |
/var/tmp/portage/dev-haskell/opengl-2.2.1.1/work/OpenGL-2.2.1.1/Setup.o |
39 |
) |
40 |
|
41 |
/var/tmp/portage/dev-haskell/opengl-2.2.1.1/work/OpenGL-2.2.1.1/Setup.hs:3:1: |
42 |
Warning: In the use of `defaultUserHooks' |
43 |
(imported from Distribution.Simple): |
44 |
Deprecated: "Use simpleUserHooks or autoconfUserHooks, |
45 |
unless you need Cabal-1.2 |
46 |
compatibility in which case you must stick with defaultUserHooks" |
47 |
Linking setup ... |
48 |
./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc |
49 |
--with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 |
50 |
--libsubdir=opengl-2.2.1.1/ghc-7.4.1 --datadir=/usr/share/ |
51 |
--datasubdir=opengl-2.2.1.1/ghc-7.4.1 --ghc-option=-optl-Wl,-O1 |
52 |
--ghc-option=-optl-Wl,--as-needed --disable-executable-stripping |
53 |
--docdir=/usr/share/doc/opengl-2.2.1.1 --verbose |
54 |
Warning: defaultUserHooks in Setup script is deprecated. |
55 |
Configuring OpenGL-2.2.1.1... |
56 |
Dependency base -any: using base-4.5.0.0 |
57 |
Using Cabal-1.14.0 compiled by ghc-7.4 |
58 |
Using compiler: ghc-7.4.1 |
59 |
Using install prefix: /usr |
60 |
Binaries installed in: /usr/bin |
61 |
Libraries installed in: /usr/lib64/opengl-2.2.1.1/ghc-7.4.1 |
62 |
Private binaries installed in: /usr/libexec |
63 |
Data files installed in: /usr/share/opengl-2.2.1.1/ghc-7.4.1 |
64 |
Documentation installed in: /usr/share/doc/opengl-2.2.1.1 |
65 |
No alex found |
66 |
Using ar found on system at: /usr/bin/ar |
67 |
No c2hs found |
68 |
No cpphs found |
69 |
No ffihugs found |
70 |
Using gcc version 4.5.3 found on system at: /usr/bin/gcc |
71 |
Using ghc version 7.4.1 given by user at: /usr/bin/ghc |
72 |
Using ghc-pkg version 7.4.1 given by user at: /usr/bin/ghc-pkg |
73 |
No greencard found |
74 |
No haddock found |
75 |
No happy found |
76 |
No hmake found |
77 |
Using hpc version 0.6 found on system at: /usr/bin/hpc |
78 |
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs |
79 |
No hscolour found |
80 |
No hugs found |
81 |
No jhc found |
82 |
Using ld found on system at: /usr/bin/ld |
83 |
No lhc found |
84 |
No lhc-pkg found |
85 |
No nhc98 found |
86 |
Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config |
87 |
Using ranlib found on system at: /usr/bin/ranlib |
88 |
Using strip found on system at: /usr/bin/strip |
89 |
Using tar found on system at: /bin/tar |
90 |
No uhc found |
91 |
sh configure --with-hc=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg |
92 |
--prefix=/usr --libdir=/usr/lib64 --datadir=/usr/share/ |
93 |
--with-gcc=/usr/bin/gcc |
94 |
checking for gcc... gcc |
95 |
checking for C compiler default output file name... a.out |
96 |
checking whether the C compiler works... yes |
97 |
checking whether we are cross compiling... no |
98 |
checking for suffix of executables... |
99 |
checking for suffix of object files... o |
100 |
checking whether we are using the GNU C compiler... yes |
101 |
checking whether gcc accepts -g... yes |
102 |
checking for gcc option to accept ISO C89... none needed |
103 |
checking for Windows environment... no |
104 |
checking how to run the C preprocessor... gcc -E |
105 |
checking for X... libraries , headers |
106 |
checking for gethostbyname... yes |
107 |
checking for connect... yes |
108 |
checking for remove... yes |
109 |
checking for shmat... yes |
110 |
checking for IceConnectionNumber in -lICE... yes |
111 |
checking build system type... x86_64-unknown-linux-gnu |
112 |
checking host system type... x86_64-unknown-linux-gnu |
113 |
checking target system type... x86_64-unknown-linux-gnu |
114 |
checking for atan... no |
115 |
checking for atan in -lm... yes |
116 |
checking for GL library... -lGL -lm |
117 |
checking for GLU library... -lGLU -lGL -lm |
118 |
checking for grep that handles long lines and -e... /bin/grep |
119 |
checking for egrep... /bin/grep -E |
120 |
checking for ANSI C header files... yes |
121 |
checking for sys/types.h... yes |
122 |
checking for sys/stat.h... yes |
123 |
checking for stdlib.h... yes |
124 |
checking for string.h... yes |
125 |
checking for memory.h... yes |
126 |
checking for strings.h... yes |
127 |
checking for inttypes.h... yes |
128 |
checking for stdint.h... yes |
129 |
checking for unistd.h... yes |
130 |
checking GL/gl.h usability... yes |
131 |
checking GL/gl.h presence... yes |
132 |
checking for GL/gl.h... yes |
133 |
checking OpenGL/gl.h usability... no |
134 |
checking OpenGL/gl.h presence... no |
135 |
checking for OpenGL/gl.h... no |
136 |
checking GL/glu.h usability... yes |
137 |
checking GL/glu.h presence... yes |
138 |
checking for GL/glu.h... yes |
139 |
checking OpenGL/glu.h usability... no |
140 |
checking OpenGL/glu.h presence... no |
141 |
checking for OpenGL/glu.h... no |
142 |
checking Haskell type for GLboolean... Word8 |
143 |
checking Haskell type for GLbyte... Int8 |
144 |
checking Haskell type for GLubyte... Word8 |
145 |
checking Haskell type for GLshort... Int16 |
146 |
checking Haskell type for GLushort... Word16 |
147 |
checking Haskell type for GLint... Int32 |
148 |
checking Haskell type for GLuint... Word32 |
149 |
checking Haskell type for GLsizei... Int32 |
150 |
checking Haskell type for GLenum... Word32 |
151 |
checking Haskell type for GLbitfield... Word32 |
152 |
checking Haskell type for GLfloat... Float |
153 |
checking Haskell type for GLclampf... Float |
154 |
checking Haskell type for GLdouble... Double |
155 |
checking Haskell type for GLclampd... Double |
156 |
checking Haskell type for GLchar... Int8 |
157 |
checking Haskell type for GLintptr... Int64 |
158 |
checking Haskell type for GLsizeiptr... Int64 |
159 |
configure: creating ./config.status |
160 |
config.status: creating config.mk |
161 |
config.status: creating OpenGL.buildinfo |
162 |
config.status: creating include/HsOpenGLConfig.h |
163 |
config.status: creating include/HsOpenGL.h |
164 |
config.status: include/HsOpenGL.h is unchanged |
165 |
Reading parameters from ./OpenGL.buildinfo |
166 |
./setup build |
167 |
Building OpenGL-2.2.1.1... |
168 |
Preprocessing library OpenGL-2.2.1.1... |
169 |
[ 1 of 84] Compiling Graphics.Rendering.OpenGL.GL.FlushFinish ( |
170 |
Graphics/Rendering/OpenGL/GL/FlushFinish.hs, |
171 |
dist/build/Graphics/Rendering/OpenGL/GL/FlushFinish.o ) |
172 |
[ 2 of 84] Compiling Graphics.Rendering.OpenGL.GL.IOState ( |
173 |
Graphics/Rendering/OpenGL/GL/IOState.hs, |
174 |
dist/build/Graphics/Rendering/OpenGL/GL/IOState.o ) |
175 |
[ 3 of 84] Compiling Graphics.Rendering.OpenGL.GL.PeekPoke ( |
176 |
Graphics/Rendering/OpenGL/GL/PeekPoke.hs, |
177 |
dist/build/Graphics/Rendering/OpenGL/GL/PeekPoke.o ) |
178 |
[ 4 of 84] Compiling Graphics.Rendering.OpenGL.GL.GLboolean ( |
179 |
Graphics/Rendering/OpenGL/GL/GLboolean.hs, |
180 |
dist/build/Graphics/Rendering/OpenGL/GL/GLboolean.o ) |
181 |
|
182 |
Graphics/Rendering/OpenGL/GL/GLboolean.hs:27:23: |
183 |
Could not deduce (Eq a) arising from a use of `/=' |
184 |
from the context (Num a) |
185 |
bound by the type signature for |
186 |
unmarshalGLboolean :: Num a => a -> Bool |
187 |
at Graphics/Rendering/OpenGL/GL/GLboolean.hs:27:1-27 |
188 |
Possible fix: |
189 |
add (Eq a) to the context of |
190 |
the type signature for unmarshalGLboolean :: Num a => a -> Bool |
191 |
In the expression: (/= 0) |
192 |
In an equation for `unmarshalGLboolean': |
193 |
unmarshalGLboolean = (/= 0) |
194 |
* ERROR: dev-haskell/opengl-2.2.1.1 failed (compile phase): |
195 |
* setup build failed |
196 |
* |
197 |
* Call stack: |
198 |
* ebuild.sh, line 85: Called src_compile |
199 |
* environment, line 2566: Called haskell-cabal_src_compile |
200 |
* environment, line 1973: Called cabal_src_compile |
201 |
* environment, line 516: Called cabal-build |
202 |
* environment, line 336: Called die |
203 |
* The specific snippet of code: |
204 |
* ./setup "$@" || die "setup build failed" |
205 |
* |
206 |
* If you need support, post the output of 'emerge --info |
207 |
=dev-haskell/opengl-2.2.1.1', |
208 |
* the complete build log and the output of 'emerge -pqv |
209 |
=dev-haskell/opengl-2.2.1.1'. |
210 |
* This ebuild used the following eclasses from overlays: |
211 |
* /var/lib/layman/haskell/eclass/haskell-cabal.eclass |
212 |
* /var/lib/layman/haskell/eclass/ghc-package.eclass |
213 |
* This ebuild is from an overlay named 'gentoo-haskell': |
214 |
'/var/lib/layman/haskell/' |
215 |
* The complete build log is located at |
216 |
'/var/tmp/portage/dev-haskell/opengl-2.2.1.1/temp/build.log'. |
217 |
* The ebuild environment file is located at |
218 |
'/var/tmp/portage/dev-haskell/opengl-2.2.1.1/temp/environment'. |
219 |
* S: '/var/tmp/portage/dev-haskell/opengl-2.2.1.1/work/OpenGL-2.2.1.1' |