Opened 14 months ago

Closed 13 months ago

Last modified 13 months ago

#66674 closed defect (fixed)

xine-lib @1.2.12: error: no member named 'n_frame_threads' in 'struct Dav1dSettings'

Reported by: ShadSterling (Shad Sterling) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: ventura Cc:
Port: xine-lib

Description

Tried to reinstall xine-ui after #36366 was closed, dependency xine-lib fails on missing members of struct Dav1dSettings:

:info:build dav1d.c:547:12: error: no member named 'n_frame_threads' in 'struct Dav1dSettings'
:info:build   settings.n_frame_threads = (ncpu > 8) ? 4 : (ncpu < 2) ? 1 : ncpu/2;
:info:build   ~~~~~~~~ ^
:info:build dav1d.c:548:12: error: no member named 'n_tile_threads' in 'struct Dav1dSettings'
:info:build   settings.n_tile_threads = MAX(1, ncpu - settings.n_frame_threads + 1);
:info:build   ~~~~~~~~ ^
:info:build dav1d.c:548:52: error: no member named 'n_frame_threads' in 'struct Dav1dSettings'
:info:build   settings.n_tile_threads = MAX(1, ncpu - settings.n_frame_threads + 1);
:info:build                                           ~~~~~~~~ ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/param.h:218:26: note: expanded from macro 'MAX'
:info:build #define MAX(a, b) (((a)>(b))?(a):(b))
:info:build                          ^
:info:build dav1d.c:548:52: error: no member named 'n_frame_threads' in 'struct Dav1dSettings'
:info:build   settings.n_tile_threads = MAX(1, ncpu - settings.n_frame_threads + 1);
:info:build                                           ~~~~~~~~ ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/param.h:218:35: note: expanded from macro 'MAX'
:info:build #define MAX(a, b) (((a)>(b))?(a):(b))
:info:build                                   ^
:info:build dav1d.c:551:22: error: no member named 'n_frame_threads' in 'struct Dav1dSettings'
:info:build             settings.n_frame_threads, settings.n_tile_threads);
:info:build             ~~~~~~~~ ^
:info:build ../../include/xine/xineutils.h:687:40: note: expanded from macro 'xprintf'
:info:build         xine_log(xine, XINE_LOG_TRACE, __VA_ARGS__);                        \
:info:build                                        ^~~~~~~~~~~
:info:build dav1d.c:551:48: error: no member named 'n_tile_threads' in 'struct Dav1dSettings'
:info:build             settings.n_frame_threads, settings.n_tile_threads);
:info:build                                       ~~~~~~~~ ^
:info:build ../../include/xine/xineutils.h:687:40: note: expanded from macro 'xprintf'
:info:build         xine_log(xine, XINE_LOG_TRACE, __VA_ARGS__);                        \
:info:build                                        ^~~~~~~~~~~
:info:build 4 warnings and 6 errors generated.

Attachments (1)

main.log (637.8 KB) - added by ShadSterling (Shad Sterling) 14 months ago.

Download all attachments as: .zip

Change History (5)

Changed 14 months ago by ShadSterling (Shad Sterling)

Attachment: main.log added

comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign removed
Owner: set to ryandesign
Status: newassigned
Summary: xine-lib: build fails on macOS 13xine-lib @1.2.12: error: no member named 'n_frame_threads' in 'struct Dav1dSettings'

That was already fixed in [9a9cf053afafe23577801bcecfb02b36922f426f/macports-ports]. sudo port selfupdate and try again.

comment:2 Changed 14 months ago by ShadSterling (Shad Sterling)

Oops, I didn't think to do that between seeing the email and trying to install. That does get the install to work, but the app doesn't play videos.

The first error was

This is xine (X11 gui) - a free video player v0.99.14.
(c) 2000-2019 The xine Team.
Built with xine library 1.2.12 (1.2.12)
Found xine library version: 1.2.12 (1.2.12).
Cannot open display
gui.init: ERROR: xiTK engine unavailable.

Which I think reflects a missing dependency on x11

(Sometime after #36366 I replaced everything that used x11 with quartz or aqua variants.)

I tried installing xorg-server to see if that would get it to work, which it didn't. After starting xinit I could get the xine UI to come up, but playing still failed, and the output included

This is xine (X11 gui) - a free video player v0.99.14.
(c) 2000-2019 The xine Team.
jack init_class returning 0x6000018fc8d0
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
exec of JACK server (command = "/usr/local/bin/jackd") failed: No such file or directory
Cannot connect to server socket err = No such file or directory

jack is installed, so I'm not sure why that's not working, or if that's why videos won't play

I gather that I'm expected to reboot after installing xorg-server, which would be too disruptive right now, so I'll try that another day.

comment:3 Changed 13 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

we'll close this ticket as fixed, which it is, and then there can be another ticket about xine not finding jack properly

comment:4 in reply to:  3 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to kencu:

another ticket about xine not finding jack properly

#66791

Note: See TracTickets for help on using tickets.