Opened 10 months ago

Closed 9 months ago

Last modified 9 months ago

#69269 closed defect (fixed)

libsdl2 @2.30.0: build failures for 10.15 and earlier

Reported by: ednl (Ewoud Dronkert) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: Cc: mascguy (Christopher Nielsen), tehcog (tehcog)
Port: libsdl2

Description

  • MacOS Catalina 10.15.7
  • MacPorts 2.9.1
  • libsdl2 installed: 2.28.5_0
  • libsdl2 available: 2.30.0_0

Build error:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.30.0/src/joystick/iphoneos/SDL_mfijoystick.m:1140:84: error: property 'physicalInputProfile' not found on object of type 'GCController *'
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.30.0/src/joystick/iphoneos/SDL_mfijoystick.m:1141:87: error: property 'physicalInputProfile' not found on object of type 'GCController *'

Also 8 deprecated warnings around 'gamepad', see attached log file.

Attachments (2)

main.log (740.3 KB) - added by ednl (Ewoud Dronkert) 10 months ago.
main.2.log (868.1 KB) - added by pallas42 (phasmid) 10 months ago.
Error: Failed to build libsdl2: command execution faile

Download all attachments as: .zip

Change History (9)

Changed 10 months ago by ednl (Ewoud Dronkert)

Attachment: main.log added

comment:1 Changed 10 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:2 Changed 10 months ago by mascguy (Christopher Nielsen)

Owner: set to jmroot
Status: newassigned
Summary: libsdl2 2.30.0_0 fails to build on Catalina 10.15.7libsdl2 @2.30.0: build failures for 10.15 and earlier

More generally, there are failures almost across-the-board, for 10.15 and earlier:

https://ports.macports.org/port/libsdl2/details/

comment:3 Changed 10 months ago by tehcog (tehcog)

Cc: tehcog added

Changed 10 months ago by pallas42 (phasmid)

Attachment: main.2.log added

Error: Failed to build libsdl2: command execution faile

comment:4 Changed 10 months ago by pallas42 (phasmid)

I'm encountering the same issues.

port upgrade libsdl2 failed

macOS Catalina 10.15.7 macports 2.9.1 libsdl2 installed 2.28.5_0 libsdl2. available 2.30.0_0

'gamepad' is deprecated: first deprecated in macOS 10.12

see attached log file.

Version 0, edited 10 months ago by pallas42 (phasmid) (next)

comment:5 Changed 10 months ago by aeiouaeiouaeiouaeiouaeiouaeiou

Joshua has already fixed that.

comment:6 Changed 9 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 9d5fbb95d8451b22ee026b6ba93bea273dd17b0f/macports-ports (master):

libsdl2: build fixes for older systems

Closes: #69269

comment:7 Changed 9 months ago by ednl (Ewoud Dronkert)

Thank you!

Note: See TracTickets for help on using tickets.