Opened 4 months ago

Last modified 7 days ago

#72761 assigned defect

Ports depending on SDL3 can't be installed on < macOS 11

Reported by: mrkapqa Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version:
Keywords: catalina Cc: jmroot (Joshua Root), JanWielemaker (Jan Wielemaker)
Port: FreeRDP swi-prolog-devel audacious-plugins

Description

Hello ,

encurring this error on Catalina 10.15 when upgrading macports

--->  Building SDL3                                      
Error: Failed to build SDL3: command execution failed   

thank you very much.

Attachments (1)

sdl3.log (116.4 KB) - added by mrkapqa 4 months ago.

Download all attachments as: .zip

Change History (11)

Changed 4 months ago by mrkapqa

Attachment: sdl3.log added

comment:1 Changed 4 months ago by jmroot (Joshua Root)

Cc: jmroot added

SDL3 builds on macOS 11 or later. When you install it on 10.15, there should be a message telling you that it is known to fail. Are you deliberately installing SDL3, or is it a dependency of one of your other ports?

comment:2 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: catalina added
Owner: set to jmroot
Port: SDL3 added
Status: newassigned
Summary: (10.15) Error: Failed to build SDL3: command execution failedSDL3: Build failure

comment:3 Changed 4 months ago by mrkapqa

it is a dependency i presume since never installed it consciously; it is listed as

SDL3                           @3.2.18         devel/SDL3
SDL3_ttf                       @3.2.2          devel/SDL3_ttf

maybe due to "gtk3-devel" which is only can remember that i install with "devel" on mac probaly thanks

comment:4 Changed 4 months ago by jmroot (Joshua Root)

Cc: JanWielemaker added
Port: FreeRDP swi-prolog-devel added; SDL3 removed
Summary: SDL3: Build failurePorts depending on SDL3 can't be installed on < macOS 11

The ports that depend on SDL3 by default appear to be FreeRDP and swi-prolog-devel.

comment:5 Changed 4 months ago by jmroot (Joshua Root)

In 6894405ef26656c0a3839aeb0e05becf487c12df/macports-ports (master):

FreeRDP: default to +sdl2 on older OS versions

See: #72761

comment:6 in reply to:  1 Changed 4 months ago by barracuda156

Replying to jmroot:

SDL3 builds on macOS 11 or later. When you install it on 10.15, there should be a message telling you that it is known to fail. Are you deliberately installing SDL3, or is it a dependency of one of your other ports?

SDL3 builds and works even on 10.5, if you use X11 backend. It is the port which is broken.

comment:7 Changed 4 weeks ago by mrkapqa

have disabled port "freerdp" but sdl3 still fail build when "port upgrade"?

comment:8 Changed 3 weeks ago by mrkapqa

dont know if this is the proper place to post here

however, the sdl3 seem to wanna persist on the computer.

 sudo port deactivate SDL3
rich@richs-Mac-Pro ~ % sudo port clean sdl3      
--->  Cleaning SDL3
rich@richs-Mac-Pro ~ % sudo port upgrade outdated
--->  Computing dependencies for SDL3
--->  Fetching archive for SDL3
--->  Attempting to fetch SDL3-3.2.26_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/SDL3
--->  Attempting to fetch SDL3-3.2.26_0.darwin_19.x86_64.tbz2 from https://fra.de.packages.macports.org/SDL3
--->  Attempting to fetch SDL3-3.2.26_0.darwin_19.x86_64.tbz2 from https://nue.de.packages.macports.org/SDL3
--->  Fetching distfiles for SDL3
--->  Verifying checksums for SDL3
--->  Extracting SDL3
--->  Configuring SDL3

it is deactivated, but still included in "port upgrade"?

comment:9 in reply to:  8 Changed 3 weeks ago by ryandesign (Ryan Carsten Schmidt)

Port: audacious-plugins added

Evidently, SDL3 is in the dependency chain of a port you have installed. This command might show you which one(s):

port installed depends:':SDL3($|\s)'

comment:10 Changed 7 days ago by mrkapqa

thank you , this has been very helpful. was able now to "upgrade outdated".

Note: See TracTickets for help on using tickets.