Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#55164 closed defect (fixed)

Error intstalling VLC

Reported by: l-g Owned by: RJVB (René Bertin)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: VLC

Description

uname -a Darwin 15 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64

port -v install VLC +full +quartz +svg

See attached log

Attachments (2)

main.log (2.2 MB) - added by l-g 7 years ago.
patch-vda-ffmpeg34+.diff (402 bytes) - added by RJVB (René Bertin) 7 years ago.

Change History (8)

Changed 7 years ago by l-g

Attachment: main.log added

comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)

Owner: set to RJVB
Status: newassigned

It looks like the pertinent error is

:info:build codec/avcodec/vda.c:148:25: error: use of undeclared identifier 'PIX_FMT_VDA_VLD'; did you mean 'AV_PIX_FMT_VDA_VLD'?
:info:build     external->pix_fmt = PIX_FMT_VDA_VLD;
:info:build                         ^~~~~~~~~~~~~~~
:info:build                         AV_PIX_FMT_VDA_VLD
:info:build /opt/local/include/libavutil/pixfmt.h:179:5: note: 'AV_PIX_FMT_VDA_VLD' declared here
:info:build     AV_PIX_FMT_VDA_VLD,    ///< hardware decoding through VDA
:info:build     ^

comment:2 Changed 7 years ago by RJVB (René Bertin)

Is this caused by the ffmpeg upgrade? I see in the Portfile comments that ffmpeg now fails to build with --enable-vda, which seems like it might be related.

(Thanks Marius for extracting the error).

Changed 7 years ago by RJVB (René Bertin)

Attachment: patch-vda-ffmpeg34+.diff added

comment:3 Changed 7 years ago by RJVB (René Bertin)

Can you please apply the patch and report back if this does the trick?

comment:4 Changed 6 years ago by mklein-de (Michael Klein)

Can't speak for the reporter, but for me the patch did the trick

comment:5 Changed 6 years ago by l2dy (Zero King)

Resolution: fixed
Status: assignedclosed

comment:6 Changed 6 years ago by RJVB (René Bertin)

In a973cb5aaf438ad3c6ec631a123354489a2a532d/macports-ports (master):

VLC: make compatible with FFmpeg 4.0 and lua 5.3

Also, drop the Qt variants as they never worked properly on Mac and didn't even build anymore.

Closes: #55164

Note: See TracTickets for help on using tickets.