Opened 43 hours ago

Last modified 9 hours ago

#70776 assigned defect

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

Reported by: haberg-1 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 43 hours ago.
patch_at-spi2-core_Portfile.diff (1.0 KB) - added by slewsys (Andrew L. Moore) 20 hours ago.
Patch to update at-spi2-core to version 2.44.1.

Download all attachments as: .zip

Change History (7)

Changed 43 hours ago by haberg-1

Attachment: main.log.zip added

comment:1 Changed 39 hours 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 39 hours 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 39 hours ago by jmroot (Joshua Root) (previous) (diff)

comment:3 Changed 24 hours ago by jmroot (Joshua Root)

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

Changed 20 hours ago by slewsys (Andrew L. Moore)

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

comment:4 Changed 19 hours ago by slewsys (Andrew L. Moore)

comment:5 Changed 9 hours ago by wdormann

Cc: wdormann added
Note: See TracTickets for help on using tickets.