[MacPorts] #69142: MoarVM @2023.12: error: incomplete definition of type 'struct uv__queue'

MacPorts noreply at macports.org
Tue Jul 2 15:05:53 UTC 2024


#69142: MoarVM @2023.12: error: incomplete definition of type 'struct uv__queue'
-----------------------+--------------------------
  Reporter:  kwolcott  |      Owner:  barracuda156
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.1
Resolution:            |   Keywords:
      Port:  MoarVM    |
-----------------------+--------------------------

Comment (by barracuda156):

 It fails for me now as well:
 {{{
 compiling 3rdparty/libuv/src/unix/darwin-proctitle.o
 In file included from 3rdparty/libuv/src/unix/darwin.c:22:
 In file included from 3rdparty/libuv/src/unix/internal.h:25:
 In file included from 3rdparty/libuv/src/uv-common.h:37:
 3rdparty/libuv/src/queue.h:27:42: warning: declaration of 'struct
 uv__queue' will not be visible outside of this function [-Wvisibility]
 static inline void uv__queue_init(struct uv__queue* q) {
                                          ^
 3rdparty/libuv/src/queue.h:28:4: error: incomplete definition of type
 'struct uv__queue'
   q->next = q;
   ~^
 3rdparty/libuv/src/queue.h:27:42: note: forward declaration of 'struct
 uv__queue'
 static inline void uv__queue_init(struct uv__queue* q) {
                                          ^
 3rdparty/libuv/src/queue.h:29:4: error: incomplete definition of type
 'struct uv__queue'
   q->prev = q;
   ~^
 3rdparty/libuv/src/queue.h:27:42: note: forward declaration of 'struct
 uv__queue'
 static inline void uv__queue_init(struct uv__queue* q) {
                                          ^
 3rdparty/libuv/src/queue.h:32:48: warning: declaration of 'struct
 uv__queue' will not be visible outside of this function [-Wvisibility]
 static inline int uv__queue_empty(const struct uv__queue* q) {
                                                ^
 3rdparty/libuv/src/queue.h:33:16: error: incomplete definition of type
 'struct uv__queue'
   return q == q->next;
               ~^
 3rdparty/libuv/src/queue.h:32:48: note: forward declaration of 'struct
 uv__queue'
 static inline int uv__queue_empty(const struct uv__queue* q) {
                                                ^
 3rdparty/libuv/src/queue.h:37:11: error: incomplete definition of type
 'struct uv__queue'
   return q->next;
          ~^
 3rdparty/libuv/src/queue.h:36:22: note: forward declaration of 'struct
 uv__queue'
 static inline struct uv__queue* uv__queue_head(const struct uv__queue* q)
 {
                      ^
 3rdparty/libuv/src/queue.h:41:11: error: incomplete definition of type
 'struct uv__queue'
   return q->next;
          ~^
 3rdparty/libuv/src/queue.h:36:22: note: forward declaration of 'struct
 uv__queue'
 static inline struct uv__queue* uv__queue_head(const struct uv__queue* q)
 {
                      ^
 3rdparty/libuv/src/queue.h:45:4: error: incomplete definition of type
 'struct uv__queue'
   h->prev->next = n->next;
   ~^
 3rdparty/libuv/src/queue.h:36:22: note: forward declaration of 'struct
 uv__queue'
 static inline struct uv__queue* uv__queue_head(const struct uv__queue* q)
 {
                      ^
 3rdparty/libuv/src/queue.h:45:20: error: incomplete definition of type
 'struct uv__queue'
   h->prev->next = n->next;
                   ~^
 3rdparty/libuv/src/queue.h:36:22: note: forward declaration of 'struct
 uv__queue'
 static inline struct uv__queue* uv__queue_head(const struct uv__queue* q)
 {
                      ^
 3rdparty/libuv/src/queue.h:46:4: error: incomplete definition of type
 'struct uv__queue'
   n->next->prev = h->prev;
   ~^
 3rdparty/libuv/src/queue.h:36:22: note: forward declaration of 'struct
 uv__queue'
 static inline struct uv__queue* uv__queue_head(const struct uv__queue* q)
 {
                      ^
 3rdparty/libuv/src/queue.h:46:20: error: incomplete definition of type
 'struct uv__queue'
   n->next->prev = h->prev;
                   ~^
 }}}

 However it obviously passed CI on Sonoma, so likely some build conflict.

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


More information about the macports-tickets mailing list