Bug 267237 - multimedia/gstreamer1-libav: configure failure (poudriere, FBSD 13.1-RELENG)
Summary: multimedia/gstreamer1-libav: configure failure (poudriere, FBSD 13.1-RELENG)
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-21 06:34 UTC by O. Hartmann
Modified: 2022-12-04 14:25 UTC (History)
5 users (show)

See Also:
riggs: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2022-10-21 06:34:38 UTC
The port repeatedly fails to build in both make and poudriere environemnt, provided is the failure report from poudriere. For the poudriere environemnt, please see PR 267235

[...]
C compiler for the host machine: cc (clang 13.0.0 "FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)")
C linker for the host machine: cc ld.lld 13.0.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/local/bin/pkgconf (1.8.0)
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libavfilter found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency libavfilter

meson.build:21:0: ERROR: Neither a subproject directory nor a FFmpeg.wrap file was found.

A full log can be found at /wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.20.3/_build/meson-logs/meson-log.txt
===>  Script "configure" failed unexpectedly.
Please report the problem to multimedia@FreeBSD.org [maintainer] and attach
the
"/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.20.3/_build/meson-logs/meson-log.txt"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/gstreamer1-libav
=>> Cleaning up wrkdir
===>  Cleaning for gstreamer1-libav-1.20.3
build of multimedia/gstreamer1-libav | gstreamer1-libav-1.20.3 ended at Fri Oct 21 06:09:05 UTC 2022
build time: 00:00:09
!!! build failure encountered !!!
Comment 1 jeremy.m.cox 2022-10-25 02:58:10 UTC
(In reply to O. Hartmann from comment #0)
I'm not sure what your build options are for gstreamer1-libav, but I had the exact same build failure using Poudriere. The way I "fixed" it was to enable the FFMPEG option and gstreamer1-libav built with no issues in Poudriere after that. Hopefully that helps.
Comment 2 Tomoaki AOKI 2022-11-14 06:41:26 UTC
(In reply to jeremy.m.cox from comment #1)

2 notes to mention.

multimedia/gstreamer1-libav builds fine if multimedia/ffmpeg is installed, regardless the FFMPEG option is enabled or not, with portupgrade or `make` on multimedia/gstreamer1-libav/. On the other hand, poudriere builds on clean environment, thus installed ffmpeg is not picked.

FFMPEG option was disabled at r468844 [1] and re-enebled by default at r484697 [2]. So we shoud have this port installed between these revisions.


[1] https://cgit.freebsd.org/ports/commit/multimedia/gstreamer1-libav?id=c400a2c8b66ef7d81b63a185371097fcd14de2f7

[2] https://cgit.freebsd.org/ports/commit/multimedia/gstreamer1-libav?id=9ac8c6a3323b3e3f4ec319f9fdc49b713a304034
Comment 3 Thomas Zander freebsd_committer freebsd_triage 2022-12-04 14:25:22 UTC
gstreamer1-libav: 1.20.4 builds fine in poudriere with default options. Closing as WAI. Feel free to reopen or file a new bug with attached poudriere log in case the error is reproducible.