[Intrepid] FTBFS for Hugs98
Bug #287166 reported by
Fabrice Coutadeur
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hugs98 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When trying to fix installation error for libhugs-
Basically, it fails when trying to install non existing examples:
dh_installexamples
cp: cannot stat `debian/
dh_installexamples: command returned error code 256
make[1]: *** [binary-common] Error 1
make[1]: Leaving directory `/tmp/buildd/
make: *** [binary-arch] Error 2
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2
The solution is to delete the example files for them.
Changed in hugs98: | |
assignee: | nobody → fabricesp |
status: | New → In Progress |
description: | updated |
To post a comment you must log in.
There are several compilation errors, so the package is really broken, and it's not only because of example installation: /tools/ hsc2hs -D__HUGS__ -Iinclude -DCALLCONV=ccall -o Network/Socket.hs Network/Socket.hsc Socket_ hsc_make. c failed
../../libraries
Socket.hsc: In function 'main':
Socket.hsc:354: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
Socket.hsc:1003: error: invalid application of 'sizeof' to incomplete type 'struct ucred'
Socket.hsc:1003: error: invalid application of 'sizeof' to incomplete type 'struct ucred'
Socket.hsc:1003: error: invalid application of 'sizeof' to incomplete type 'struct ucred'
Socket.hsc:1009: error: invalid use of undefined type 'struct ucred'
Socket.hsc:1010: error: invalid use of undefined type 'struct ucred'
Socket.hsc:1011: error: invalid use of undefined type 'struct ucred'
compiling Network/
Compiling FFI stubs /hugsdir/ packages/ OpenGL: -i"HsOpenGL.h" ../../hugsdir/ packages/ OpenGL/ Graphics/ Rendering/ OpenGL/ GL/BeginEnd. hs -Iinclude -DCALLCONV=ccall -D__HUGS__ -Dlinux_HOST_OS -Dlinux_TARGET_OS -Wl -Bsymbolic- functions -lGLU -lGL -lm
../../src/ffihugs -98 -P../..
cc1: error: unrecognized command line option "-Wl"
runhugs: Error occurred
Compiling FFI stubs /hugsdir/ packages/ GLUT: -i"HsGLUT.h" ../../hugsdir/ packages/ GLUT/Graphics/ UI/GLUT/ Begin.hs -Iinclude -DCALLCONV=ccall -D__HUGS__ -Dlinux_HOST_OS -Dlinux_TARGET_OS -Wl -Bsymbolic- functions -lglut -lSM -lICE -lXmu -lXi -lGLU -lGL -lm hugsdir/ packages/ GLUT/Graphics/ UI/GLUT/ Begin.hs" - Error while running compilation command 'gcc -Wall -fPIC -Wl,-Bsymbolic- functions -shared -fPIC -D__HUGS__ "-I../. ./hugsdir/ include" -o "../../ hugsdir/ packages/ GLUT/Graphics/ UI/GLUT/ Begin.so" "../../ hugsdir/ packages/ GLUT/Graphics/ UI/GLUT/ Begin.c" -Iinclude -DCALLCONV=ccall -D__HUGS__ -Dlinux_HOST_OS -Dlinux_TARGET_OS -Wl -Bsymbolic- functions -lglut -lSM -lICE -lXmu -lXi -lGLU -lGL -lm'
../../src/ffihugs -98 -P../..
cc1: error: unrecognized command line option "-Wl"
runhugs: Error occurred
ERROR "../../