Opened 14 months ago

Last modified 13 months ago

#68277 assigned defect

dosbox-staging port build fails on MacOSX 14 Sonoma — at Version 1

Reported by: thaewrapt (Alexey Ugnichev) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: sonoma Cc:
Port: dosbox-staging

Description (last modified by thaewrapt (Alexey Ugnichev))

During a port rebuild after upgrading to Sonoma, the build is failing.

Excerpt from the main.log (which is in the attachment as well):

:info:build /usr/bin/clang -Isrc/libs/manymouse/libmanymouse.a.p -Isrc/libs/manymouse -I../dosbox-staging-0.80.1/src/libs/manymouse -I../dosbox-staging-0.80.1/include -I. -I../dosbox-staging-0.80.1 -I/opt/local/include -fcolor-diagnostics
 -DNDEBUG -Wall -Winvalid-pch -Wextra -Wpedantic -O3 -Wno-unknown-pragmas -Weffc++ -Wextra-semi -fstrict-aliasing -Wstrict-aliasing -fmerge-all-constants -fno-math-errno -fno-signed-zeros -fno-trapping-math -fassociative-math -freciprocal
-math -ffinite-math-only -ffunction-sections -fdata-sections -fPIC -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -MD -MQ src/libs/manymo
use/libmanymouse.a.p/x11_xinput2.c.o -MF src/libs/manymouse/libmanymouse.a.p/x11_xinput2.c.o.d -o src/libs/manymouse/libmanymouse.a.p/x11_xinput2.c.o -c ../dosbox-staging-0.80.1/src/libs/manymouse/x11_xinput2.c
:info:build ../dosbox-staging-0.80.1/src/libs/manymouse/x11_xinput2.c:377:13: error: call to undeclared function 'select'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
:info:build         if (select(fd+1, &fdset, NULL, NULL, &nowait) == 1)
:info:build             ^
:info:build 1 error generated.

Change History (2)

Changed 14 months ago by thaewrapt (Alexey Ugnichev)

Attachment: dosbox-staging-main.log added

comment:1 Changed 14 months ago by thaewrapt (Alexey Ugnichev)

Description: modified (diff)
Note: See TracTickets for help on using tickets.