New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blead build failure under Debian 6/PPC: io/eintr.t fails #12680
Comments
From @CorionCreated by @CorionI'm trying to build bleadperl on a "WD My Book Live Duo", a small Currently, io/eintr.t fails, which feels weird to me, as this Maybe the cause is some unapplied hint or something. Test failure I wish you all a good start into the new year! $ sh ./Configure -Dusedevel -de && make test $ ./perl io/eintr.t The full output of Configure follows: Beginning of configuration questions for perl5. Checking echo to see how to suppress newlines... First let's make sure your kit is complete. Checking... Would you like to see the instructions? [n] Locating common programs... Don't worry if any of the following aren't found... Checking compatibility between /bin/echo and builtin echo (if any)... Dresden.pm<--The stars should be here. Dear Perl user, system administrator or package Symbolic links are supported. Checking how to test for symbolic links... Good, your tr supports [:lower:] and [:upper:] to convert case. I see a config.sh file. Shall I use it to set the defaults? [y] Configure uses the operating system name and version to set some defaults. Operating system name? [linux] Operating system version? [2.6.32.11-svn70860] By default, perl5 will be installed in /usr/local/bin, manual pages Installation prefix to use? (~name ok) [/usr/local] AFS does not seem to be running... In some special cases, particularly when building perl5 for distribution, What installation prefix should I use for installing files? (~name ok) Getting the current patchlevel... Perl can be built to take advantage of threads on some systems. Note that Perl built with threading support runs slightly slower If this doesn't make any sense to you, just accept the default 'n'. Perl can be built so that multiple Perl interpreters can coexist If this doesn't make any sense to you, just accept the default 'n'. Use which C compiler? [cc] Hmm... Looks kind of like a Version 7 system, but we'll see... Congratulations. You aren't running Eunice. It's not Xenix... Nor is it Venix... Checking for GNU cc in disguise and/or its version number... Hmm... Doesn't look like a MIPS system. Now, how can we feed standard input to your C preprocessor... Some systems have incompatible or broken versions of libraries. Among Directories to use for library searches? On some systems, shared libraries may be available. Answer 'none' if What is the file extension used for shared libraries? [so] Perl can be built to use the SOCKS proxy protocol library. To do so, If this doesn't make any sense to you, just accept the default 'n'. Perl can be built to take advantage of long doubles which If this doesn't make any sense to you, just accept the default 'n'. Checking for optional libraries... In order to compile perl5 on your machine, a number of libraries What libraries to use? [-lnsl -ldl -lm -lcrypt -lutil -lc] By default, perl5 compiles with the -O flag to use the optimizer. What optimizer/debugger flag should be used? [-O1] Your C compiler may want other flags. For this question you should include To use no flags, specify the word "none". Any additional cc flags? Let me guess what the preprocessor flags are... Your C linker may need flags. For this question you should Make sure you include the appropriate -L/path flags if your C linker Any additional ld flags (NOT including libraries)? Checking your choice of C compiler and flags for coherency... Computing filename position in cpp output for #include directives... <stdlib.h> found. Checking to see if you have long long... <inttypes.h> found. Checking to see if you have int64_t... Checking which 64-bit integer type we could use... Perl can be built to take advantage of 64-bit integer types If this doesn't make any sense to you, just accept the default 'n'. You may also choose to try maximal 64-bitness. It means using as much If this doesn't make any sense to you, just accept the default 'n'. Checking to see if you have long double... What is your architecture name [ppc-linux] Pathname where the public executables will reside? (~name ok) Would you like to build Perl so that the installation is relocatable, so If this doesn't make any sense to you, just accept the default 'n'. There are some auxiliary files for perl5 that need to be put into a Pathname where the private library files will reside? (~name ok) Perl5 contains architecture-dependent library files. If you are Where do you want to put the public architecture-dependent libraries? Some kernels have a bug that prevents setuid #! scripts from being First let's decide if your kernel supports secure setuid #! scripts. If you are not sure if they are secure, I can check but I'll need a Other username to test security of setuid scripts with? [none] After perl5 is installed, you may wish to install various If you do not wish to put everything under a single prefix, that's The default should be fine for most people. Installation prefix to use for add-on modules and utilities? (~name ok) The installation process will create a directory for Pathname for the site-specific library files? (~name ok) In order to ease the process of upgrading, this version of perl The default should almost always be sensible, so if you're not sure, <malloc/malloc.h> NOT found. <malloc.h> found. Checking to see how well your C compiler groks the void type... Do you wish to wrap malloc calls to protect against potential overflows? Do you wish to attempt to use the malloc that comes with perl5? [n] Your system wants malloc to return 'void *', it would seem. The installation process will also create a directory for Pathname for the site-specific architecture-dependent library files? The installation process will also create a directory for Of course you may also use these directories in whatever way you see The default answer should be fine for most people. Do you want to configure vendor-specific add-on directories? [n] Lastly, you can have perl look in other directories for extensions and Enter a colon-separated set of extra paths to include in perl's @INC Colon-separated list of additional directories for perl to search? [none] Checking out function prototypes... Perl can be built to support DTrace on platforms that support it. If this doesn't make any sense to you, just accept the default 'none'. *** WHOA THERE!!! *** Perl can be built with extra modules or bundles of modules which Notice that you will need access to the CPAN; either via the Internet, Notice also that if the modules require any external software such as If this doesn't make any sense to you, just accept the default 'n'. If you wish to install html files for programs in Perl5, indicate If you wish to install html files for modules associated with Perl5, Many scripts expect perl to be installed as /usr/bin/perl. If you want to, I can install the perl you are about to compile However, please note that because you already have a /usr/bin/perl, Do you want to install perl as /usr/bin/perl? [n] Checking for GNU C Library... I can use /usr/bin/nm to extract the symbols from your C libraries. This You probably shouldn't let me use 'nm' if you are using the GNU C Library. Shall I use /usr/bin/nm to extract C symbols from the libraries? [n] <dld.h> NOT found. Checking for C++... dlopen() found. <unistd.h> found. Do you wish to use dynamic loading? [y] Some systems may require passing special flags to cc -c to Any special flags to pass to cc -c to compile shared library modules? Some systems use ld to create libraries that can be dynamically loaded, What command should be used to create dynamic libraries? [cc] Some systems may require passing special flags to cc to create a Any special flags to pass to cc to create a dynamically loaded library? Some systems may require passing special flags to cc to indicate that Any special flags to pass to cc to use dynamic linking? [-Wl,-E] The perl executable is normally obtained by linking perlmain.c with Build a shared libperl.so (y/n) [n] System manual is in /usr/share/man/man1. Perl5 has manual pages available in source form. Where do the main Perl5 manual pages (source) go? (~name ok) You can have filenames longer than 14 characters. Perl5 has manual pages for many of the library modules. Where do the perl5 library man pages (source) go? (~name ok) Figuring out host name... What is your domain name? [.maischein-int.de] I need to get your e-mail address in Internet format if possible, i.e. What is your e-mail address? [root@mybookliveduo.maischein-int.de] If you or somebody else will be maintaining perl at your site, please Perl administrator e-mail address [root@mybookliveduo.maischein-int.de] Do you want to install only the version-specific parts of the perl Some installations have a separate directory just for executable scripts so Where do you keep publicly executable scripts? (~name ok) [/usr/local/bin] Perl can be built to use 'fast stdio', which means using the stdio If this doesn't make any sense to you, just accept the default 'n'. Checking to see how big your file offsets are... Checking the size of fpos_t... Perl can be built to understand large files (files larger than 2 gigabytes) If this doesn't make any sense to you, just accept the default 'y'. Using <string.h> instead of <strings.h>. qgcvt() found. Checking how to print long doubles... fwalk() NOT found. access() found. <sys/file.h> defines the *_OK access constants. accessx() NOT found. aintl() NOT found. alarm() found. ctime64() NOT found. localtime64() NOT found. gmtime64() NOT found. mktime64() NOT found. difftime64() NOT found. asctime64() NOT found. <pthread.h> found. <sys/types.h> found. <sys/select.h> found. Checking to see if your struct tm has tm_zone field... Checking to see if your struct tm has tm_gmtoff field... asctime_r() found. *** WHOA THERE!!! *** atolf() NOT found. atoll() found. bcmp() found. bcopy() found. getpgrp() found. Checking to see which flavor of getpgrp is in use... setpgrp() found. Checking to see which flavor of setpgrp is in use... bzero() found. <stdarg.h> found. <varargs.h> found. We'll include <stdarg.h> to get va_dcl definition. You have void (*signal())(). Checking whether your C compiler can cast large floats to int32. Checking whether your C compiler can cast negative float to unsigned. vprintf() found. chown() found. chroot() found. chsize() NOT found. class() NOT found. clearenv() found. Hmm... Looks like you have Berkeley networking support. socketpair() found. Checking the availability sa_len in the sock struct ... Checking the availability struct sockaddr_in6 ... Checking the availability sin6_scope_id in struct sockaddr_in6 ... Checking the availability struct ip_mreq ... Checking the availability struct ip_mreq_source ... Checking the availability struct ipv6_mreq ... Checking the availability struct ipv6_mreq_source ... Checking the availability of certain socket constants... <sys/uio.h> found. Checking to see if your system supports struct cmsghdr... Checking to see if your C compiler knows about "const"... copysignl() found. crypt() found. <crypt.h> found. crypt_r() found. *** WHOA THERE!!! *** ctermid() found. ctermid_r() NOT found. ctime_r() found. *** WHOA THERE!!! *** cuserid() found. <limits.h> found. <float.h> found. DBL_DIG found. dbmclose() NOT found. dbminit() prototype NOT found. difftime() found. <dirent.h> found. Your directory entries are struct dirent. Your directory entry does not know about the d_namlen field. <sys/dir.h> found. <sys/ndir.h> NOT found. dirfd() found. dlerror() found. <dlfcn.h> found. On a few systems, the dynamically loaded modules that perl generates and What is the extension of dynamically loaded modules [so] Checking whether your dlsym() needs a leading underscore ... drand48_r() found. *** WHOA THERE!!! *** drand48() prototype found. dup2() found. eaccess() found. endgrent() found. <grp.h> found. endgrent_r() NOT found. endhostent() found. <netdb.h> found. endhostent_r() NOT found. endnetent() found. endnetent_r() NOT found. endprotoent() found. endprotoent_r() NOT found. endpwent() found. <pwd.h> found. endpwent_r() NOT found. endservent() found. endservent_r() NOT found. <sys/file.h> defines the O_* constants... <sys/file.h> found. We'll be including <sys/file.h>. <fcntl.h> found. We don't need to include <fcntl.h> if we include <sys/file.h>. fork() found. pipe() found. Figuring out the flag used by open() for non-blocking I/O... Let's see what value errno gets from read() on a O_NONBLOCK file... (Looks like you have stdio.h from Linux.) fchdir() found. fchmod() found. fchown() found. fcntl() found. Checking if fcntl-based file locking works... Checking to see how well your C compiler handles fd_set and friends ... fgetpos() found. finite() found. finitel() found. flock() found. flock() prototype found. fp_class() NOT found. pathconf() found. fpathconf() found. fpclass() NOT found. fpclassify() NOT found. fpclassl() NOT found. Checking to see if you have fpos64_t... frexpl() found. <sys/param.h> found. <sys/mount.h> found. Checking to see if your system supports struct fs_data... fseeko() found. fsetpos() found. fstatfs() found. statvfs() found. fstatvfs() found. fsync() found. ftello() found. Checking if you have a working futimes() <ndbm.h> NOT found. <gdbm/ndbm.h> NOT found. <gdbm-ndbm.h> NOT found. getaddrinfo() found. getcwd() found. getespwnam() NOT found. getfsstat() NOT found. getgrent() found. getgrent_r() found. *** WHOA THERE!!! *** getgrgid_r() found. *** WHOA THERE!!! *** getgrnam_r() found. *** WHOA THERE!!! *** gethostbyaddr() found. gethostbyname() found. gethostent() found. gethostname() found. Every now and then someone has a gethostname() that lies about the hostname Shall I ignore gethostname() from now on? [n] gethostbyaddr_r() found. *** WHOA THERE!!! *** gethostbyname_r() found. *** WHOA THERE!!! *** gethostent_r() found. *** WHOA THERE!!! *** gethostent() prototype found. getitimer() found. getlogin() found. getlogin_r() found. *** WHOA THERE!!! *** getmnt() NOT found. getmntent() found. getnameinfo() found. getnetbyaddr() found. getnetbyname() found. getnetent() found. getnetbyaddr_r() found. *** WHOA THERE!!! *** getnetbyname_r() found. *** WHOA THERE!!! *** getnetent_r() found. *** WHOA THERE!!! *** getnetent() prototype found. getpagesize() found. getprotobyname() found. getprotobynumber() found. getprotoent() found. getpgid() found. getpgrp2() NOT found. getppid() found. getpriority() found. getprotobyname_r() found. *** WHOA THERE!!! *** getprotobynumber_r() found. *** WHOA THERE!!! *** getprotoent_r() found. *** WHOA THERE!!! *** getprotoent() prototype found. getprpwnam() NOT found. getpwent() found. getpwent_r() found. *** WHOA THERE!!! *** getpwnam_r() found. *** WHOA THERE!!! *** getpwuid_r() found. *** WHOA THERE!!! *** getservbyname() found. getservbyport() found. getservent() found. getservbyname_r() found. *** WHOA THERE!!! *** getservbyport_r() found. *** WHOA THERE!!! *** getservent_r() found. *** WHOA THERE!!! *** getservent() prototype found. getspnam() found. <shadow.h> found. getspnam_r() found. *** WHOA THERE!!! *** gettimeofday() found. gmtime_r() found. *** WHOA THERE!!! *** hasmntopt() found. <netinet/in.h> found. <arpa/inet.h> found. htonl() found. ilogbl() found. strchr() found. inet_aton() found. inet_ntop() found. inet_pton() found. isascii() found. isblank() found. isfinite() NOT found. isinf() found. isnan() found. isnanl() found. killpg() found. lchown() found. LDBL_DIG found. <math.h> found. Checking to see if your libm supports _LIB_VERSION... link() found. localtime_r() found. *** WHOA THERE!!! *** localeconv() found. lockf() found. lseek() prototype found. lstat() found. madvise() found. malloc_size() NOT found. malloc_good_size() NOT found. mblen() found. mbstowcs() found. mbtowc() found. memchr() found. memcmp() found. memcpy() found. memmove() found. memset() found. mkdir() found. mkdtemp() found. mkfifo() found. mkstemp() found. mkstemps() found. mktime() found. <sys/mman.h> found. mmap() found. sqrtl() found. scalbnl() found. modfl() found. modfl() prototype found. mprotect() found. msgctl() found. msgget() found. msgsnd() found. msgrcv() found. You have the full msg*(2) library. Checking to see if your system supports struct msghdr... msync() found. munmap() found. nice() found. <langinfo.h> found. nl_langinfo() found. Checking to see if your C compiler knows about "volatile"... Choosing the C types to be used for Perl's internal types... Checking to see if you have off64_t... pause() found. poll() found. prctl() found. readlink() found. You have Linux-like /proc/self/exe. vfork() found. Perl can only use a vfork() that doesn't suffer from strict Do you still want to use vfork()? [n] pthread_attr_setscope() found. random_r() found. *** WHOA THERE!!! *** readdir() found. seekdir() found. telldir() found. rewinddir() found. readdir64_r() found. *** WHOA THERE!!! *** readdir_r() found. *** WHOA THERE!!! *** readv() found. recvmsg() found. rename() found. rmdir() found. <memory.h> found. We won't be including <memory.h>. I'll use memmove() instead of bcopy() for overlapping copies. I'll use memmove() instead of memcpy() for overlapping copies. Checking if your memcmp() can compare relative magnitude... sbrk() prototype found. select() found. semctl() found. semget() found. semop() found. You have the full sem*(2) library. You do not have union semun in <sys/sem.h>. You can use union semun for semctl IPC_STAT. sendmsg() found. setegid() found. seteuid() found. setgrent() found. setgrent_r() NOT found. sethostent() found. sethostent_r() NOT found. setitimer() found. setlinebuf() found. setlocale() found. <locale.h> found. setlocale_r() NOT found. setnetent() found. setnetent_r() NOT found. setprotoent() found. setpgid() found. setpgrp2() NOT found. setpriority() found. setproctitle() NOT found. setprotoent_r() NOT found. setpwent() found. setpwent_r() NOT found. setregid() found. setresgid() found. setreuid() found. setresuid() found. setrgid() NOT found. setruid() NOT found. setservent() found. setservent_r() NOT found. setsid() found. setvbuf() found. <sfio.h> NOT found. shmctl() found. shmget() found. shmat() found. shmdt() found. You have the full shm*(2) library. sigaction() found. <sunmath.h> NOT found. sigprocmask() found. POSIX sigsetjmp found. snprintf() found. vsnprintf() found. sockatmark() found. sockatmark() prototype found. socks5_init() NOT found. srand48_r() found. *** WHOA THERE!!! *** srandom_r() found. *** WHOA THERE!!! *** setresgid() prototype NOT found. setresuid() prototype NOT found. <sys/stat.h> found. Checking to see if your struct stat has st_blocks field... <sys/vfs.h> found. <sys/statfs.h> found. Checking to see if your system supports struct statfs... Checking to see if your struct statfs has f_flags field... Checking to see if your system supports static inline... strcoll() found. Checking to see if your C compiler can copy structs... strerror_r() found. *** WHOA THERE!!! *** strftime() found. strlcat() NOT found. strlcpy() NOT found. strtod() found. strtol() found. strtold() found. strtoll() found. strtoq() found. strtoul() found. strtoull() found. strtouq() found. strxfrm() found. symlink() found. syscall() found. syscall() prototype found. sysconf() found. system() found. tcgetpgrp() found. tcsetpgrp() found. telldir() prototype found. timegm() found. <sys/times.h> found. times() found. tmpnam_r() found. *** WHOA THERE!!! *** truncate() found. ttyname_r() found. *** WHOA THERE!!! *** tzname[] found. Checking to see whether you can access character data unalignedly... ualarm() found. umask() found. unordered() NOT found. unsetenv() found. usleep() found. usleep() prototype found. ustat() found. closedir() found. Checking whether closedir() returns a status... wait4() found. waitpid() found. wcstombs() found. wctomb() found. writev() found. Doubles must be aligned on a how-many-byte boundary? [8] Checking to see how your cpp does stuff like concatenate tokens... <db.h> NOT found. Looking for a random number function... Determining whether or not we are on an EBCDIC system... Checking how to flush all pending stdio output... Looking for the type for group ids returned by getgid(). Checking the size of gid_t... Checking the sign of gid_t... Checking how to print 64-bit integers... Checking the format strings to be used for Perl's internal types... Checking the format string to be used for gids... getgroups() found. setgroups() found. What type of pointer is the second argument to getgroups() and setgroups()? What type pointer is the second argument to getgroups() and setgroups()? Would you like to build with Misc Attribute Decoration? This is development If this doesn't make any sense to you, just accept the default 'n'. Checking if your /usr/bin/make program sets $(MAKE)... It seems that va_copy() or similar will be needed. What pager is used on your system? [/usr/bin/less -R] Checking how to generate random libraries on your machine... <values.h> found. Generating a list of signal names and numbers... SIGZERO SIGHUP SIGINT SIGQUIT SIGILL SIGTRAP SIGABRT SIGBUS SIGFPE Checking the size of size_t... Checking to see if you have socklen_t... <socks.h> NOT found. Checking to see what type is the last argument of accept(). I'll be using ssize_t for functions returning a byte count. Checking the size of st_ino... Checking the sign of st_ino... Your stdio uses signed chars. Looking for the type for user ids returned by getuid(). Checking the size of uid_t... Checking the sign of uid_t... Checking the format string to be used for uids... Determining whether we can use sysctl with KERN_PROC_PATHNAME to find Determining whether we can use _NSGetExecutablePath to find executing It appears we'll be able to prototype varargs functions. Which compiler compiler (yacc) shall I use? [yacc] <assert.h> found. <fp.h> NOT found. <fp_class.h> NOT found. <gdbm.h> NOT found. <libutil.h> NOT found. <mntent.h> found. <net/errno.h> NOT found. <netinet/tcp.h> found. <poll.h> found. <prot.h> NOT found. Guessing which symbols your C compiler and preprocessor define... Your C pre-processor also defines the following symbols: Your C compiler further defines the following cpp symbols: tcsetattr() found. You have POSIX termios.h... good! <stdbool.h> found. <stddef.h> found. <sys/access.h> NOT found. <sys/filio.h> NOT found. <sys/ioctl.h> found. <sys/sockio.h> not found, assuming socket ioctls are in <sys/ioctl.h>. <syslog.h> found. <sys/mode.h> NOT found. <sys/poll.h> found. <sys/resource.h> found. <sys/security.h> NOT found. <sys/statvfs.h> found. <sys/un.h> found. <sys/utsname.h> found. <sys/wait.h> found. <ustat.h> found. <utime.h> found. Looking for extensions... What extensions do you wish to load dynamically? End of configuration questions. Stripping down executable paths... Creating config.sh... Doing variable substitutions on .SH files... Now you need to generate make dependencies by running "make depend". Run make depend now? [y]
If you compile perl5 on a different machine or from a different object Perl Info
|
From @Corion... too early this year I meant "test failure", not "build failure"... -max |
From @jkeenanOn Tue Jan 01 10:34:05 2013, corion@cpan.org wrote:
Thanks for your report. This is not the only circumstance where ISTR requesting that the following patch be applied and being told No: $ diff t/io/eintr.t ~/learn/perl/eintr.t
I don't claim to know what t/io/eintr.t is all about, but I'm not Thank you very much. |
The RT System itself - Status changed from 'new' to 'open' |
From @jmdhOn Sat, Jan 05, 2013 at 06:09:42PM -0800, James E Keenan via RT wrote:
FWIW, current bleadperl (8379978) -- |
From @iabynOn Sat, Jan 05, 2013 at 06:09:42PM -0800, James E Keenan via RT wrote:
It's supposed to test, on platforms where it happens, that when an On platforms where reads and writes aren't interruptible, the test will If Darwin < 9.0 is one of these platforms, then I have no objection to -- |
From @jkeenanOn Mon Jan 07 07:07:54 2013, davem wrote:
Please see patch attached. Note that this only addresses the issue I Thank you very much. |
From @jkeenanFrom 3e1b4a546dd37569e408a4940b5b749e6bd1923e Mon Sep 17 00:00:00 2001 For RT #116262 t/io/eintr.t | 5 +++-- Inline Patchdiff --git a/t/io/eintr.t b/t/io/eintr.t
index 966922b..900c038 100644
--- a/t/io/eintr.t
+++ b/t/io/eintr.t
@@ -50,8 +50,9 @@ if (exists $ENV{PERLIO} && $ENV{PERLIO} =~ /stdio/ ) {
# platforms
if ($^O eq 'VMS' || $^O eq 'MSWin32' || $^O eq 'cygwin' || $^O =~ /freebsd/ ||
- ($^O eq 'solaris' && $Config{osvers} eq '2.8')
- || ((int($]*1000) & 1) == 0)
+ ($^O eq 'solaris' && $Config{osvers} eq '2.8') ||
+ ($^O eq 'darwin' && $Config{osvers} lt '9.0') ||
+ ((int($]*1000) & 1) == 0)
) {
skip_all('various portability issues');
exit 0;
--
1.6.3.2 |
From @tonycozOn Tue, Jan 08, 2013 at 04:58:42AM -0800, James E Keenan via RT wrote:
That should probably be < rather than lt. neptune:~ tony$ uname -rmns Tony |
From @jkeenanOn Tue Jan 08 18:20:00 2013, tonyc wrote:
Hmm, that suggests that the other comparisons to $Config{osvers} in the This needs further investigation, which I'll try to do if no one else Thank you very much. |
From @tonycozOn Wed, Jan 09, 2013 at 05:08:28AM -0800, James E Keenan via RT wrote:
The only other version comparison is an exact test against solaris Tony |
From @jkeenanOn Wed Jan 09 05:08:27 2013, jkeenan wrote:
I would argue that the patch is correct as it stands. $Config{osvers} But I think we're okay for Darwin, which appears to use a M.m.p version cmp_ok($config{darwin}, '<', $guess, "'lt' works with $guess"); $guess = '9.0.0'; Thank you very much. |
From @tonycozOn Thu, Jan 10, 2013 at 04:21:54PM -0800, James E Keenan via RT wrote:
Except that it forces a skip on 10.x, 11.x, 12.x where the skip isn't There's no need to make it a table lookup. To avoid the warning we could extract the first two digits of my ($osmajmin) = $Config{osvers} =~ /^(\d+\.\d+)/; or within the condition: ($^O eq 'darwin' && ($Config{osvers} =~ /^(\d+\.\d+)/)[0] < 9) (I prefer the first.) Tony |
From @jkeenanOn Thu Jan 10 17:01:50 2013, tonyc wrote:
Take 3, attached. |
From @jkeenanFrom 6f8957895c59f45f4b5765493ecc6c0d019626c8 Mon Sep 17 00:00:00 2001 Identify the OS version by capturing the first two parts of the M.m.p version For RT #116262 t/io/eintr.t | 6 ++++-- Inline Patchdiff --git a/t/io/eintr.t b/t/io/eintr.t
index 966922b..5804f34 100644
--- a/t/io/eintr.t
+++ b/t/io/eintr.t
@@ -49,9 +49,11 @@ if (exists $ENV{PERLIO} && $ENV{PERLIO} =~ /stdio/ ) {
# Also skip on release builds, to avoid other possibly problematic
# platforms
+my ($osmajmin) = $Config{osvers} =~ /^(\d+\.\d+)/;
if ($^O eq 'VMS' || $^O eq 'MSWin32' || $^O eq 'cygwin' || $^O =~ /freebsd/ ||
- ($^O eq 'solaris' && $Config{osvers} eq '2.8')
- || ((int($]*1000) & 1) == 0)
+ ($^O eq 'solaris' && $Config{osvers} eq '2.8') ||
+ ($^O eq 'darwin' && $osmajmin < 9) ||
+ ((int($]*1000) & 1) == 0)
) {
skip_all('various portability issues');
exit 0;
--
1.6.3.2 |
From @tonycozOn Fri, Jan 11, 2013 at 05:35:57PM -0800, James E Keenan via RT wrote:
...
Sorry, this got lost in the swamp that is my Inbox. This looks sane. Thanks, |
From @jkeenanOn Thu Jan 17 17:43:53 2013, tonyc wrote:
I applied my patch in commit f24e984. We now return you to the original subject of this RT as posted by corion:
Thank you very much. |
Migrated from rt.perl.org#116262 (status was 'open')
Searchable as RT116262$
The text was updated successfully, but these errors were encountered: