perl 5.10.0 makes IPC::ShareLite cry

Rafael Garcia-Suarez rgarciasuarez at gmail.com
Mon Feb 11 10:15:36 UTC 2008


On 09/02/2008, Tom Callaway <tcallawa at redhat.com> wrote:
> http://koji.fedoraproject.org/koji/getfile?taskID=403983&name=build.log
>
> This is a rather critical link in the perl dependency chain, and we'd
> really need to get this one fixed before we could move forward with perl
> 5.10.0.

I don't reproduce it here with a 5.10.0 built with threads, provided I
apply the patch from
<http://rt.cpan.org/Public/Bug/Display.html?id=17663> : all tests pass
for me.

Does it happen only on x86_64 ? I shall try with a 64bitint perl.

I also applied this small patch to prevent gcc from complaining about
memcpy() implicit declaration:

diff --git a/sharelite.c b/sharelite.c
index 186751b..438f3fa 100644
--- a/sharelite.c
+++ b/sharelite.c
@@ -5,6 +5,7 @@
 #include <sys/shm.h>
 #include <sys/sem.h>
 #include <errno.h>
+#include <string.h>
 #include "config.h"
 #include "sharelite.h"




More information about the Fedora-perl-devel-list mailing list