Source: hugs98
Version: 98.200609.21-5
Severity: serious
Justification: rebuild produces a broken package

I rebuilt hugs98 in a clean sid i386 chroot. The package was built successfully, but the resulting libhugs-network-bundled was mostly empty:

$ dpkg -c libhugs-network-bundled_98.200609.21-5_i386.deb | grep -v -E 
'/($|usr/share/doc)'
-rw-r--r-- root/root       605 2010-12-18 15:20 
./usr/lib/hugs/packages/network/autogen/Paths_network.hs

The interesting part of the build log:

| Preprocessing library network-2.0...
| ../../libraries/tools/hsc2hs -D__HUGS__ -Iinclude -DCALLCONV=ccall -o 
Network/BSD.hs Network/BSD.hsc
| ../../libraries/tools/hsc2hs -D__HUGS__ -Iinclude -DCALLCONV=ccall -o 
Network/Socket.hs Network/Socket.hsc
| Socket.hsc: In function 'main':
| Socket.hsc:1002: error: invalid application of 'sizeof' to incomplete type 
'struct ucred'
| Socket.hsc:1002: error: invalid application of 'sizeof' to incomplete type 
'struct ucred'
| Socket.hsc:1002: error: invalid application of 'sizeof' to incomplete type 
'struct ucred'
| Socket.hsc:1008: error: invalid use of undefined 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'
| compiling Network/Socket_hsc_make.c failed

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to