[racket-dev] build failed on ubuntu 13.04
Ok I think I found the issue. Commit 1e375bab48f3d704bb2beeade77d05a2a3a642de is not in stable. The commit is basically
diff --git a/src/racket/gc2/sighand.c b/src/racket/gc2/sighand.c
index c40aa09..b91ec7c 100644
--- a/src/racket/gc2/sighand.c
+++ b/src/racket/gc2/sighand.c
@@ -60,7 +60,7 @@ void launchgdb() {
}
#endif
-void fault_handler(int sn, struct siginfo *si, void *ctx)
+void fault_handler(int sn, siginfo_t *si, void *ctx)
{
So should this commit be merged to stable?
On 11/07/2012 09:17 PM, Jon Rafkind wrote:
> Racket failed to build for the ppa on ubuntu 13.04 (raring). I'm not exactly sure what the issue is but the details are that its using gcc-4.7_4.7.2-5ubuntu5.
>
> Full build log: https://launchpadlibrarian.net/122334588/buildlog_ubuntu-raring-i386.racket_5.3-20121107~raring_FAILEDTOBUILD.txt.gz
>
> The error is
>
> make[5]: Entering directory `/build/buildd/racket-5.3/build/racket/gc2'
> gcc -I./.. -I/build/buildd/racket-5.3/src/racket/gc2/../include -g -pthread -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -I./.. -c /build/buildd/racket-5.3/src/racket/gc2/gc2.c -o gc2.o
> In file included from /build/buildd/racket-5.3/src/racket/gc2/gc2.c:15:0:
> /build/buildd/racket-5.3/src/racket/gc2/newgc.c: In function 'GC_message_objects_size':
> /build/buildd/racket-5.3/src/racket/gc2/newgc.c:1594:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uintptr_t' [-Wformat]
> In file included from /build/buildd/racket-5.3/src/racket/gc2/newgc.c:2438:0,
> from /build/buildd/racket-5.3/src/racket/gc2/gc2.c:15:
> /build/buildd/racket-5.3/src/racket/gc2/sighand.c: At top level:
> /build/buildd/racket-5.3/src/racket/gc2/sighand.c:63:35: warning: 'struct siginfo' declared inside parameter list [enabled by default]
> /build/buildd/racket-5.3/src/racket/gc2/sighand.c:63:35: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
> /build/buildd/racket-5.3/src/racket/gc2/sighand.c: In function 'fault_handler':
> /build/buildd/racket-5.3/src/racket/gc2/sighand.c:65:15: error: dereferencing pointer to incomplete type
> /build/buildd/racket-5.3/src/racket/gc2/sighand.c:67:13: error: dereferencing pointer to incomplete type
> /build/buildd/racket-5.3/src/racket/gc2/sighand.c:71:9: error: dereferencing pointer to incomplete type
> /build/buildd/racket-5.3/src/racket/gc2/sighand.c:87:46: error: dereferencing pointer to incomplete type
> /build/buildd/racket-5.3/src/racket/gc2/sighand.c:87:58: error: dereferencing pointer to incomplete type
> /build/buildd/racket-5.3/src/racket/gc2/sighand.c:103:11: error: dereferencing pointer to incomplete type
> _________________________
> Racket Developers list:
> http://lists.racket-lang.org/dev