[MacPorts] #64262: libuv fails to build for ppc+ppc64

MacPorts noreply at macports.org
Thu Mar 31 19:27:45 UTC 2022


#64262: libuv fails to build for ppc+ppc64
---------------------------+-------------------------------------
  Reporter:  barracuda156  |      Owner:  michaelld
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  PowerPC, Leopard, ppc64
      Port:  libuv         |
---------------------------+-------------------------------------

Comment (by barracuda156):

 Replying to [comment:1 ryandesign]:
 > The relevant error seems to be `{standard input}:349:Parameter syntax
 error (parameter 1)` but I have no idea what it means.
 >
 > Googling the error, here is another report of it in a different
 software, and how it was fixed there; maybe that helps:
 >
 > https://mta.openssl.org/pipermail/openssl-dev/2016-March/005644.html

 Sadly, nothing in common. Here is the current failure section (10.5.8 with
 @1.44.1):

 {{{
 static void uv__async_send(uv_loop_t* loop) {
   const void* buf;
   ssize_t len;
   int fd;
   int r;

   buf = "";
   len = 1;
   fd = loop->async_wfd;

 #if defined(__linux__)
   if (fd == -1) {
     static const uint64_t val = 1;
     buf = &val;
     len = sizeof(val);
     fd = loop->async_io_watcher.fd;  /* eventfd */
   }
 #endif

   do
     r = write(fd, buf, len);
   while (r == -1 && errno == EINTR);

   if (r == len)
     return;

   if (r == -1)
     if (errno == EAGAIN || errno == EWOULDBLOCK)
       return;

   abort();
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64262#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list