[MacPorts] #68277: dosbox-staging port build fails on MacOSX 14 Sonoma

MacPorts noreply at macports.org
Fri Sep 29 06:41:25 UTC 2023


#68277: dosbox-staging port build fails on MacOSX 14 Sonoma
-----------------------+----------------------------
 Reporter:  thaewrapt  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:
 Keywords:             |       Port:  dosbox-staging
-----------------------+----------------------------
 During a port rebuild after upgradeing 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.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68277>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list