Opened 7 weeks ago

Closed 6 weeks ago

#70776 closed defect (fixed)

at-spi2-core @2.38.0_0 fails to build on MacOS 15 Sequoia

Reported by: haberg-1 (Hans Åberg) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: sequoia Cc: wdormann
Port: at-spi2-core

Description

The command 'port migrate' failed to restore lilypond-devel on MacOS 15 Sequoia, due to a dependency at-spi2-core, and the issue remains with 'port install lilypond-devel'.

Attachments (2)

main.log.zip (19.1 KB) - added by haberg-1 (Hans Åberg) 7 weeks ago.
patch_at-spi2-core_Portfile.diff (1.0 KB) - added by slewsys (Andrew L. Moore) 7 weeks ago.
Patch to update at-spi2-core to version 2.44.1.

Download all attachments as: .zip

Change History (8)

Changed 7 weeks ago by haberg-1 (Hans Åberg)

Attachment: main.log.zip added

comment:1 Changed 7 weeks ago by jmroot (Joshua Root)

Owner: set to mascguy
Port: at-spi2-core added; lilypond-devel removed
Status: newassigned
Summary: Migration failed to restore lilypond-devel on MacOS 15 Sequoiaat-spi2-core @2.38.0_0 fails to build on MacOS 15 Sequoia
:info:build In file included from ../at-spi2-core-2.38.0/registryd/deviceeventcontroller-x11.c:46:
:info:build In file included from /opt/local/include/glib-2.0/glib.h:34:
:info:build In file included from /opt/local/include/glib-2.0/glib/gasyncqueue.h:34:
:info:build In file included from /opt/local/include/glib-2.0/glib/gthread.h:36:
:info:build In file included from /opt/local/include/glib-2.0/glib/gutils.h:426:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/stdlib.h:58:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/_stdlib.h:66:
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/sys/wait.h:207:19: error: duplicate member 'w_Filler'
:info:build   207 |                 unsigned int    w_Filler:16,    /* upper bits filler */
:info:build       |                                 ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/sys/wait.h:204:7: note: previous declaration is here
:info:build   204 |                     w_Filler:16;                /* upper bits filler */
:info:build       |                     ^

comment:2 Changed 7 weeks ago by jmroot (Joshua Root)

In the macOS 14 SDK at least, the declaration in question is done like this:

union wait {
        int     w_status;               /* used in syscall */
        /*
         * Terminated process status.
         */
        struct {
#if __DARWIN_BYTE_ORDER == __DARWIN_LITTLE_ENDIAN
                unsigned int    w_Termsig:7,    /* termination signal */
                    w_Coredump:1,               /* core dump indicator */
                    w_Retcode:8,                /* exit code if w_termsig==0 */
                    w_Filler:16;                /* upper bits filler */
#endif
#if __DARWIN_BYTE_ORDER == __DARWIN_BIG_ENDIAN
                unsigned int    w_Filler:16,    /* upper bits filler */
                    w_Retcode:8,                /* exit code if w_termsig==0 */
                    w_Coredump:1,               /* core dump indicator */
                    w_Termsig:7;                /* termination signal */
#endif
        } w_T;

So possibly something funny is going on with the byte order macros.

Last edited 7 weeks ago by jmroot (Joshua Root) (previous) (diff)

comment:3 Changed 7 weeks ago by jmroot (Joshua Root)

I confirmed that sys/wait.h in the macOS 15 SDK is identical to that in macOS 14.

Changed 7 weeks ago by slewsys (Andrew L. Moore)

Patch to update at-spi2-core to version 2.44.1.

comment:4 Changed 7 weeks ago by slewsys (Andrew L. Moore)

comment:5 Changed 7 weeks ago by wdormann

Cc: wdormann added

comment:6 Changed 6 weeks ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.