Bug 251131 - multimedia/handbrake: (poudriere) compilation error: ===> Compilation failed unexpectedly.
Summary: multimedia/handbrake: (poudriere) compilation error: ===> Compilation failed ...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-14 10:26 UTC by O. Hartmann
Modified: 2020-11-26 08:53 UTC (History)
3 users (show)

See Also:
naito.yuichiro: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2020-11-14 10:26:31 UTC
The port fails to build on multiple hosts running CURRENT within a 12-stable jail (see below) building a repository.

[...]
[-w+macro-params-legacy]
/wrkdirs/usr/ports/multimedia/handbrake/work/HandBrake-1.3.3/build/contrib/x265/x265_3.2.1/source/common/x86/ipfilter8.asm:14896: ... from macro `FILTER_VERT_LUMA_64xN_AVX512' defined here
/wrkdirs/usr/ports/multimedia/handbrake/work/HandBrake-1.3.3/build/contrib/x265/x265_3.2.1/source/common/x86/ipfilter8.asm:720: ... from macro `cglobal' defined here
/wrkdirs/usr/ports/multimedia/handbrake/work/HandBrake-1.3.3/build/contrib/x265/x265_3.2.1/source/common/x86/ipfilter8.asm:753: ... from macro `cglobal_internal' defined here
/wrkdirs/usr/ports/multimedia/handbrake/work/HandBrake-1.3.3/build/contrib/x265/x265_3.2.1/source/common/x86/ipfilter8.asm:576: ... from macro `PROLOGUE' defined here
gmake[4]: Leaving directory '/wrkdirs/usr/ports/multimedia/handbrake/work/HandBrake-1.3.3/build/contrib/x265/x265_3.2.1/8bit'
[ 98%] Built target common
gmake[4]: Entering directory '/wrkdirs/usr/ports/multimedia/handbrake/work/HandBrake-1.3.3/build/contrib/x265/x265_3.2.1/8bit'
Scanning dependencies of target x265-static
gmake[4]: Leaving directory '/wrkdirs/usr/ports/multimedia/handbrake/work/HandBrake-1.3.3/build/contrib/x265/x265_3.2.1/8bit'
gmake[4]: Entering directory '/wrkdirs/usr/ports/multimedia/handbrake/work/HandBrake-1.3.3/build/contrib/x265/x265_3.2.1/8bit'
[100%] Linking CXX static library libx265.a
gmake[4]: Leaving directory '/wrkdirs/usr/ports/multimedia/handbrake/work/HandBrake-1.3.3/build/contrib/x265/x265_3.2.1/8bit'
[100%] Built target x265-static
gmake[3]: Leaving directory '/wrkdirs/usr/ports/multimedia/handbrake/work/HandBrake-1.3.3/build/contrib/x265/x265_3.2.1/8bit'
gmake[2]: Leaving directory '/wrkdirs/usr/ports/multimedia/handbrake/work/HandBrake-1.3.3/build/contrib/x265/x265_3.2.1/8bit'
touch contrib/x265/.stamp.x265_8.build
gmake[1]: Leaving directory '/wrkdirs/usr/ports/multimedia/handbrake/work/HandBrake-1.3.3/build'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/handbrake
=>> Cleaning up wrkdir
===>  Cleaning for handbrake-1.3.3_2
build of multimedia/handbrake | handbrake-1.3.3_2 ended at Sat Nov 14 02:17:08 UTC 2020
build time: 00:05:38
!!! build failure encountered !!!
[...]


The building environment (poudriere, jail 12-stable, running host current) is as follows:

=>> Building multimedia/handbrake
build started at Sat Nov 14 02:11:30 UTC 2020
port directory: /usr/ports/multimedia/handbrake
package name: handbrake-1.3.3_2
building for: FreeBSD gdr.de 12.2-STABLE FreeBSD 12.2-STABLE 1202504 amd64
maintained by: naito.yuichiro@gmail.com
Makefile ident:      $FreeBSD: head/multimedia/handbrake/Makefile 554400 2020-11-07 15:49:11Z jbeich $
Poudriere version: 3.3.5
Host OSVERSION: 1300128
Jail OSVERSION: 1202504
Job Id: 04

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202504
UNAME_v=FreeBSD 12.2-STABLE 1202504
UNAME_r=12.2-STABLE
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.5
MAKEOBJDIRPREFIX=/pool/sources/12-STABLE/obj/
MASTERMNT=/pool/poudriere/data/.m/12-amd64-head-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
PWD=/pool/poudriere/data/.m/12-amd64-head-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=12-amd64-head-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/pool/poudriere/data/.m/12-amd64-head-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for handbrake-1.3.3_2:
     FDK_AAC=off: Enable non-free Fraunhofer FDK AAC codec
     MFX=on: Intel MediaSDK (aka Quick Sync Video)
     X11=on: Build GTK+3 based GUI program
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
naito.yuichiro@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--
--force --enable-x265 --disable-fdk-aac --enable-qsv --disable-gtk-update-checks --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

[...]
Comment 1 Yuichiro NAITO 2020-11-14 15:01:18 UTC
Would you show me full build log of multimedia/handbrake?
I think error messages might be shown in the middle of log file.
Comment 2 Rainer Hurling freebsd_committer 2020-11-14 20:25:02 UTC
I just tried on a host running CURRENT with Poudriere in a 12.2 amd64 jail (r367125) and with default options enabled and it builds fine for me.
Comment 3 Fernando Apesteguía freebsd_committer 2020-11-15 19:17:49 UTC
Also, there are no pkg-fallout messages about this port:

https://docs.freebsd.org/mail/current/freebsd-pkg-fallout.html
Comment 4 Yuichiro NAITO 2020-11-26 08:53:00 UTC
O.Hartmann@

If your multimedia/ffmpeg option doen't include 'DAV1D' in the 12-stable build,
It might be same problem as #251044.
Try `handbrake-1.3.3_3.patch' of #251044.