[Intrepid] FTBFS for Hugs98

Bug #287166 reported by Fabrice Coutadeur
2
Affects Status Importance Assigned to Milestone
hugs98 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When trying to fix installation error for libhugs-openal-bundled (depends on deleted library libopenal0a) , I found a FTBFS for hug98.

Basically, it fails when trying to install non existing examples:
dh_installexamples
cp: cannot stat `debian/tmp/usr/lib/hugs/demos/GLUT': No such file or directory
dh_installexamples: command returned error code 256
make[1]: *** [binary-common] Error 1
make[1]: Leaving directory `/tmp/buildd/hugs98-98.200609.21'
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
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

There are several compilation errors, so the package is really broken, and it's not only because of example installation:
../../libraries/tools/hsc2hs -D__HUGS__ -Iinclude -DCALLCONV=ccall -o Network/Socket.hs Network/Socket.hsc
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/Socket_hsc_make.c failed

Compiling FFI stubs
../../src/ffihugs -98 -P../../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
cc1: error: unrecognized command line option "-Wl"
runhugs: Error occurred

Compiling FFI stubs
../../src/ffihugs -98 -P../../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
cc1: error: unrecognized command line option "-Wl"
runhugs: Error occurred
ERROR "../../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'

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

I give up.
I don' even know the language, and the original package cannot be rebuild, to have newer version of network lib, for example, that fix this issue.
Anyway, I don't know why it's not FTBFS in Debian...

Changed in hugs98:
assignee: fabricesp → nobody
status: In Progress → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hugs98 - 98.200609.21-5ubuntu1

---------------
hugs98 (98.200609.21-5ubuntu1) lucid; urgency=low

  * Rebuild for libopenal0a -> libopenal1 transition.
  * Reset LDFLAGS to fix FTBFS: comma in default value gets lost somehow,
    which makes compiler unhappy (LP: #287166).
 -- Ilya Barygin <email address hidden> Sun, 31 Jan 2010 20:21:29 +0300

Changed in hugs98 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.