[OmniOS-discuss] OmniOS r151016: perl build broken?

Dan McDonald danmcd at omniti.com
Wed Nov 4 13:05:36 UTC 2015


> On Nov 4, 2015, at 7:46 AM, Dan McDonald <danmcd at omniti.com> wrote:
> 
> I'm testing the Perl build right now, and will likely commit a change as soon as I get confirmation from Dominik, I'll spin & update.

It built, and I think successfully.  Here's a webrev with my omnios-build changes:

	http://kebe.com/~danmcd/webrevs/perl-errno/

And here are diffs from the build proto area (fixed) vs. what's installed (broken):

bloody(build_danmcd/runtime_perl-5161_pkg)[1]% diff -u {,.}/usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64int/Errno.pm
--- /usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64int/Errno.pm	Wed Jun 17 10:45:24 2015
+++ ./usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64int/Errno.pm	Wed Nov  4 07:44:27 2015
@@ -20,6 +20,128 @@
 
 BEGIN {
     %err = (
+	EPERM => 1,
+	ENOENT => 2,
+	ESRCH => 3,
+	EINTR => 4,
+	EIO => 5,
+	ENXIO => 6,
+	E2BIG => 7,
+	ENOEXEC => 8,
+	EBADF => 9,
+	ECHILD => 10,
+	EWOULDBLOCK => 11,
+	EAGAIN => 11,
+	ENOMEM => 12,
+	EACCES => 13,
+	EFAULT => 14,
+	ENOTBLK => 15,
+	EBUSY => 16,
+	EEXIST => 17,
+	EXDEV => 18,
+	ENODEV => 19,
+	ENOTDIR => 20,
+	EISDIR => 21,
+	EINVAL => 22,
+	ENFILE => 23,
+	EMFILE => 24,
+	ENOTTY => 25,
+	ETXTBSY => 26,
+	EFBIG => 27,
+	ENOSPC => 28,
+	ESPIPE => 29,
+	EROFS => 30,
+	EMLINK => 31,
+	EPIPE => 32,
+	EDOM => 33,
+	ERANGE => 34,
+	ENOMSG => 35,
+	EIDRM => 36,
+	ECHRNG => 37,
+	EL2NSYNC => 38,
+	EL3HLT => 39,
+	EL3RST => 40,
+	ELNRNG => 41,
+	EUNATCH => 42,
+	ENOCSI => 43,
+	EL2HLT => 44,
+	EDEADLK => 45,
+	ENOLCK => 46,
+	ECANCELED => 47,
+	ENOTSUP => 48,
+	EDQUOT => 49,
+	EBADE => 50,
+	EBADR => 51,
+	EXFULL => 52,
+	ENOANO => 53,
+	EBADRQC => 54,
+	EBADSLT => 55,
+	EDEADLOCK => 56,
+	EBFONT => 57,
+	EOWNERDEAD => 58,
+	ENOTRECOVERABLE => 59,
+	ENOSTR => 60,
+	ENODATA => 61,
+	ETIME => 62,
+	ENOSR => 63,
+	ENONET => 64,
+	ENOPKG => 65,
+	EREMOTE => 66,
+	ENOLINK => 67,
+	EADV => 68,
+	ESRMNT => 69,
+	ECOMM => 70,
+	EPROTO => 71,
+	ELOCKUNMAPPED => 72,
+	ENOTACTIVE => 73,
+	EMULTIHOP => 74,
+	EBADMSG => 77,
+	ENAMETOOLONG => 78,
+	EOVERFLOW => 79,
+	ENOTUNIQ => 80,
+	EBADFD => 81,
+	EREMCHG => 82,
+	ELIBACC => 83,
+	ELIBBAD => 84,
+	ELIBSCN => 85,
+	ELIBMAX => 86,
+	ELIBEXEC => 87,
+	EILSEQ => 88,
+	ENOSYS => 89,
+	ELOOP => 90,
+	ERESTART => 91,
+	ESTRPIPE => 92,
+	ENOTEMPTY => 93,
+	EUSERS => 94,
+	ENOTSOCK => 95,
+	EDESTADDRREQ => 96,
+	EMSGSIZE => 97,
+	EPROTOTYPE => 98,
+	ENOPROTOOPT => 99,
+	EPROTONOSUPPORT => 120,
+	ESOCKTNOSUPPORT => 121,
+	EOPNOTSUPP => 122,
+	EPFNOSUPPORT => 123,
+	EAFNOSUPPORT => 124,
+	EADDRINUSE => 125,
+	EADDRNOTAVAIL => 126,
+	ENETDOWN => 127,
+	ENETUNREACH => 128,
+	ENETRESET => 129,
+	ECONNABORTED => 130,
+	ECONNRESET => 131,
+	ENOBUFS => 132,
+	EISCONN => 133,
+	ENOTCONN => 134,
+	ESHUTDOWN => 143,
+	ETOOMANYREFS => 144,
+	ETIMEDOUT => 145,
+	ECONNREFUSED => 146,
+	EHOSTDOWN => 147,
+	EHOSTUNREACH => 148,
+	EALREADY => 149,
+	EINPROGRESS => 150,
+	ESTALE => 151,
     );
     # Generate proxy constant subroutines for all the values.
     # Well, almost all the values. Unfortunately we can't assume that at this
@@ -46,7 +168,16 @@
 
 our %EXPORT_TAGS = (
     POSIX => [qw(
-	
+	E2BIG EACCES EADDRINUSE EADDRNOTAVAIL EAFNOSUPPORT EAGAIN EALREADY
+	EBADF EBUSY ECHILD ECONNABORTED ECONNREFUSED ECONNRESET EDEADLK
+	EDESTADDRREQ EDOM EDQUOT EEXIST EFAULT EFBIG EHOSTDOWN EHOSTUNREACH
+	EINPROGRESS EINTR EINVAL EIO EISCONN EISDIR ELOOP EMFILE EMLINK
+	EMSGSIZE ENAMETOOLONG ENETDOWN ENETRESET ENETUNREACH ENFILE ENOBUFS
+	ENODEV ENOENT ENOEXEC ENOLCK ENOMEM ENOPROTOOPT ENOSPC ENOSYS ENOTBLK
+	ENOTCONN ENOTDIR ENOTEMPTY ENOTSOCK ENOTTY ENXIO EOPNOTSUPP EPERM
+	EPFNOSUPPORT EPIPE EPROTONOSUPPORT EPROTOTYPE ERANGE EREMOTE ERESTART
+	EROFS ESHUTDOWN ESOCKTNOSUPPORT ESPIPE ESRCH ESTALE ETIMEDOUT
+	ETOOMANYREFS ETXTBSY EUSERS EWOULDBLOCK EXDEV
     )]
 );
 
bloody(build_danmcd/runtime_perl-5161_pkg)[1]% 


Hope this helps!
Dan



More information about the OmniOS-discuss mailing list