[Snap Framework] Build failed in Hudson: snap-server-portable #27

greg at gregorycollins.net greg at gregorycollins.net
Sun Jun 6 21:14:00 CDT 2010


See <http://buildbot.snapframework.com/job/snap-server-portable/27/changes>

Changes:

[Shu-yu Guo] Add our own sendfile wrappers so we can do timeout

[Shu-yu Guo] Add our own sendfile

[Shu-yu Guo] Merge branch 'master' of git.snapframework.com:snap-server

------------------------------------------
Started by an SCM change
Checkout:workspace / <http://buildbot.snapframework.com/job/snap-server-portable/ws/> - hudson.remoting.LocalChannel at 2758d0
Using strategy: Default
Last Built Revision: Revision 9b077119d681c625c1af61993a58da57f7eff69f (origin/master)
Checkout:workspace / <http://buildbot.snapframework.com/job/snap-server-portable/ws/> - hudson.remoting.LocalChannel at 2758d0
GitAPI created
Fetching changes from the remote Git repository
Fetching upstream changes from http://git.snapframework.com/snap-server.git
[workspace] $ git fetch -t http://git.snapframework.com/snap-server.git +refs/heads/*:refs/remotes/origin/*
[workspace] $ git ls-tree HEAD
Seen branch in repository origin/master
Commencing build of Revision 6737c7d5102c573296a1ca7a8b2560e6e081f259 (origin/master)
GitAPI created
Checking out Revision 6737c7d5102c573296a1ca7a8b2560e6e081f259 (origin/master)
[workspace] $ git checkout -f 6737c7d5102c573296a1ca7a8b2560e6e081f259
[workspace] $ git tag -a -f -m "Hudson Build #27" hudson-snap-server-portable-27
Recording changes in branch origin/master
[workspace] $ git log --pretty=format:%H 9b077119d681c625c1af61993a58da57f7eff69f..6737c7d5102c573296a1ca7a8b2560e6e081f259
[workspace] $ git log -M --summary --pretty=raw -n 1 6737c7d5102c573296a1ca7a8b2560e6e081f259
[workspace] $ git diff-tree -M -r 6737c7d5102c573296a1ca7a8b2560e6e081f259
[workspace] $ git log -M --summary --pretty=raw -n 1 fdeb9def160fb610aa7723b5c3788ef7c58a1aeb
[workspace] $ git diff-tree -M -r fdeb9def160fb610aa7723b5c3788ef7c58a1aeb
[workspace] $ git log -M --summary --pretty=raw -n 1 2e5888136d04168b02d4d4ad3a168300e61727d7
[workspace] $ git diff-tree -M -r 2e5888136d04168b02d4d4ad3a168300e61727d7
[workspace] $ /bin/sh -xe /tmp/hudson1330951402194697275.sh
+ rm -f /home/hudson/.ghc /home/hudson/.cabal
+ ln -s /home/hudson/.ghc-portable /home/hudson/.ghc
+ ln -s /home/hudson/.cabal-portable /home/hudson/.cabal
+ cabal clean
cleaning...
+ cabal update
Downloading the latest package list from hackage.haskell.org
+ cabal install -f portable
Resolving dependencies...
Configuring network-2.2.1.7...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking ws2tcpip.h usability... no
checking ws2tcpip.h presence... no
checking for ws2tcpip.h... no
checking wspiapi.h usability... no
checking wspiapi.h presence... no
checking for wspiapi.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking for readlink... yes
checking for symlink... yes
checking for struct msghdr.msg_control... yes
checking for struct msghdr.msg_accrights... no
checking for struct sockaddr.sa_len... no
checking for in_addr_t in netinet/in.h... yes
checking for SO_PEERCRED and struct ucred in sys/socket.h... yes
checking for _head_libws2_32_a in -lws2_32... no
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking whether AI_ADDRCONFIG is declared... yes
checking whether AI_ALL is declared... yes
checking whether AI_NUMERICSERV is declared... yes
checking whether AI_V4MAPPED is declared... yes
checking for sendfile in sys/sendfile.h... yes
checking for sendfile in sys/socket.h... no
checking for gethostent... yes
configure: creating ./config.status
config.status: creating network.buildinfo
config.status: creating include/HsNetworkConfig.h
Preprocessing library network-2.2.1.7...
Building network-2.2.1.7...
[1 of 5] Compiling Network.URI      ( Network/URI.hs, dist/build/Network/URI.o )
[2 of 5] Compiling Network.Socket.Internal ( dist/build/Network/Socket/Internal.hs, dist/build/Network/Socket/Internal.o )
[3 of 5] Compiling Network.Socket   ( dist/build/Network/Socket.hs, dist/build/Network/Socket.o )
[4 of 5] Compiling Network.BSD      ( dist/build/Network/BSD.hs, dist/build/Network/BSD.o )
[5 of 5] Compiling Network          ( Network.hs, dist/build/Network.o )

Network.hs:274:15:
    Warning: Pattern match(es) are overlapped
             In a case alternative: a -> ...
Registering network-2.2.1.7...
Installing library in /home/hudson/.cabal/lib/network-2.2.1.7/ghc-6.12.1
Registering network-2.2.1.7...
[1 of 1] Compiling Main             ( /tmp/network-bytestring-0.1.321590/network-bytestring-0.1.3/Setup.hs, /tmp/network-bytestring-0.1.321590/network-bytestring-0.1.3/dist/setup/Main.o )
Linking /tmp/network-bytestring-0.1.321590/network-bytestring-0.1.3/dist/setup/setup ...
Configuring network-bytestring-0.1.3...
Preprocessing library network-bytestring-0.1.3...
Building network-bytestring-0.1.3...
[1 of 5] Compiling Network.Socket.ByteString.IOVec ( dist/build/Network/Socket/ByteString/IOVec.hs, dist/build/Network/Socket/ByteString/IOVec.o )
[2 of 5] Compiling Network.Socket.ByteString.MsgHdr ( dist/build/Network/Socket/ByteString/MsgHdr.hs, dist/build/Network/Socket/ByteString/MsgHdr.o )
[3 of 5] Compiling Network.Socket.ByteString.Internal ( Network/Socket/ByteString/Internal.hs, dist/build/Network/Socket/ByteString/Internal.o )
[4 of 5] Compiling Network.Socket.ByteString ( Network/Socket/ByteString.hs, dist/build/Network/Socket/ByteString.o )
[5 of 5] Compiling Network.Socket.ByteString.Lazy ( dist/build/Network/Socket/ByteString/Lazy.hs, dist/build/Network/Socket/ByteString/Lazy.o )
Registering network-bytestring-0.1.3...
Installing library in
/home/hudson/.cabal/lib/network-bytestring-0.1.3/ghc-6.12.1
Registering network-bytestring-0.1.3...
Configuring snap-server-0.2.7...
Preprocessing library snap-server-0.2.7...
Building snap-server-0.2.7...
[ 1 of 10] Compiling Snap.Internal.Http.Parser ( src/Snap/Internal/Http/Parser.hs, dist/build/Snap/Internal/Http/Parser.o )
[ 2 of 10] Compiling Paths_snap_server ( dist/build/autogen/Paths_snap_server.hs, dist/build/Paths_snap_server.o )
[ 3 of 10] Compiling System.SendFile.Linux ( dist/build/System/SendFile/Linux.hs, dist/build/System/SendFile/Linux.o )
[ 4 of 10] Compiling System.SendFile  ( src/System/SendFile.hs, dist/build/System/SendFile.o )
[ 5 of 10] Compiling Snap.Internal.Http.Server.Date ( src/Snap/Internal/Http/Server/Date.hs, dist/build/Snap/Internal/Http/Server/Date.o )
[ 6 of 10] Compiling Snap.Internal.Http.Server.SimpleBackend ( src/Snap/Internal/Http/Server/SimpleBackend.hs, dist/build/Snap/Internal/Http/Server/SimpleBackend.o )

src/Snap/Internal/Http/Server/SimpleBackend.hs:96:10:
    Not in scope: `openFd'

src/Snap/Internal/Http/Server/SimpleBackend.hs:96:20:
    Not in scope: data constructor `ReadOnly'

src/Snap/Internal/Http/Server/SimpleBackend.hs:96:37:
    Not in scope: `defaultFileFlags'

src/Snap/Internal/Http/Server/SimpleBackend.hs:102:20:
    Not in scope: `SF.sendFile'

src/Snap/Internal/Http/Server/SimpleBackend.hs:107:10:
    Not in scope: data constructor `Fd'
cabal: Error: some packages failed to install:
snap-server-0.2.7 failed during the building phase. The exception was:
ExitFailure 1
Publishing Javadoc
Recording test results
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level <http://buildbot.snapframework.com/job/snap-server-portable/ws/test/dist/hpc> to /home/hudson/data/jobs/snap-server-portable/htmlreports/HTML_Report



More information about the Snap mailing list