Opened 5 years ago

Closed 5 years ago

#58823 closed defect (worksforme)

ffmpeg 4.2_0+gpl2+gpl3+nonfree fails to build if libbluray is not installed

Reported by: pftbest (Vadzim Dambrouski) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: ffmpeg

Description

Manually installing libbluray fixed the issue.

Full log is in attachment.

Attachments (1)

ffmpeg-libbluray.log (16.2 KB) - added by pftbest (Vadzim Dambrouski) 5 years ago.

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by pftbest (Vadzim Dambrouski)

Attachment: ffmpeg-libbluray.log added

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Cc: dbevans removed
Owner: set to dbevans
Status: newassigned

comment:2 Changed 5 years ago by mf2k (Frank Schima)

It is already a dependency, so it should be installed.

$ port info --depends ffmpeg +gpl2 +gpl3 +nonfree
depends_fetch: 
depends_extract: xz
depends_patch: 
depends_build: pkgconfig, gmake, texinfo, nasm
depends_lib: lame, libiconv, libvorbis, libopus, libogg, librsvg, libtheora, libmodplug, libass, libbluray, libvpx, gnutls, openjpeg, fontconfig, freetype, fribidi, speex, soxr, bzip2, xz, zlib, libsdl2, x265, XviD, x264
depends_run: 
depends_test: 

comment:3 Changed 5 years ago by pftbest (Vadzim Dambrouski)

Maybe it was deactivated for some reason, and using port install libbluray reactivated it?

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

Searching for dependency: libbluray
Found Dependency: receipt exists for libbluray

indicates that libbluray appeared to be installed and active. Seeing the config.log would be necessary to see how exactly it failed to find it with pkgconfig.

comment:5 Changed 5 years ago by pftbest (Vadzim Dambrouski)

Sorry, I forgot to save config.log.

I failed to mention that I also had a small problem with libxml2 on this upgrade. I had created include/libxml2/unicode symlink some time ago for development reasons, but now the latest version of libxml2 provides this symlink too, so there was a conflict on upgrade. Which I solved by removing old symlink.

The whole interaction went like this:

1) port upgrade outdated - ffmpeg build fails
2) port install libbluray - error message about libxml2
3) removed symlink
4) port activate libxml2 - ok
5) port install libbluray - ok
6) port upgrade outdated - ok

Initially I thought I was just missing libbluray and it was not related, but now I think this might be the root cause of the issue.

Feel free to close this ticket, it was probably a misconfiguration on my side.

comment:6 Changed 5 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.