[MacPorts] #60947: ffmpeg: can't build +universal since dependency on dav1d was added and has no universal variant
MacPorts
noreply at macports.org
Sun Aug 2 20:49:10 UTC 2020
#60947: ffmpeg: can't build +universal since dependency on dav1d was added and has
no universal variant
---------------------+----------------------
Reporter: kencu | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: ffmpeg |
---------------------+----------------------
Comment (by ctreleaven):
Replying to [comment:5 iEFdev]:
> Replying to [comment:3 kencu]:
> > that looks like it would do the trick.
>
> I've made the change and will push it now.
>
>
> > I wonder what would be involved to make {{{davld}}} build universal?
>
> Portfile only says:
>
> {{{
> # fails attempting to build for i386 due to sse2 code
> universal_variant no
> }}}
When I was working on the dav1d port, I didn't spend a lot of time on
whether it would build universal. However, the log where it failed on the
10.6_i386 builder is still online at:
https://build.macports.org/builders/ports-10.6_i386-builder/builds/14433/steps
/install-port/logs/stdio
In case it gets purged, the last bit of the log says:
{{{
[96/98] /opt/local/bin/clang-mp-9.0 -o src/libdav1d.4.dylib
'src/25a6634@@dav1d at sha/cpuid.obj' 'src/25a6634@@dav1d at sha/msac.obj'
'src/25a6634@@dav1d at sha/cdef_avx512.obj'
'src/25a6634@@dav1d at sha/cdef_avx2.obj'
'src/25a6634@@dav1d at sha/film_grain.obj' 'src/25a6634@@dav1d at sha/ipred.obj'
'src/25a6634@@dav1d at sha/itx.obj' 'src/25a6634@@dav1d at sha/loopfilter.obj'
'src/25a6634@@dav1d at sha/looprestoration.obj'
'src/25a6634@@dav1d at sha/mc.obj' 'src/25a6634@@dav1d at sha/cdef_sse.obj'
'src/25a6634@@dav1d at sha/film_grain_ssse3.obj'
'src/25a6634@@dav1d at sha/ipred_ssse3.obj'
'src/25a6634@@dav1d at sha/itx_ssse3.obj'
'src/25a6634@@dav1d at sha/loopfilter_ssse3.obj'
'src/25a6634@@dav1d at sha/looprestoration_ssse3.obj'
'src/25a6634@@dav1d at sha/mc_sse.obj' 'src/25a6634@@dav1d at sha/cdf.c.o'
'src/25a6634@@dav1d at sha/cpu.c.o' 'src/25a6634@@dav1d at sha/data.c.o'
'src/25a6634@@dav1d at sha/decode.c.o'
'src/25a6634@@dav1d at sha/dequant_tables.c.o'
'src/25a6634@@dav1d at sha/getbits.c.o'
'src/25a6634@@dav1d at sha/intra_edge.c.o'
'src/25a6634@@dav1d at sha/itx_1d.c.o' 'src/25a6634@@dav1d at sha/lf_mask.c.o'
'src/25a6634@@dav1d at sha/log.c.o' 'src/25a6634@@dav1d at sha/msac.c.o'
'src/25a6634@@dav1d at sha/obu.c.o' 'src/25a6634@@dav1d at sha/picture.c.o'
'src/25a6634@@dav1d at sha/qm.c.o' 'src/25a6634@@dav1d at sha/ref.c.o'
'src/25a6634@@dav1d at sha/refmvs.c.o' 'src/25a6634@@dav1d at sha/scan.c.o'
'src/25a6634@@dav1d at sha/tables.c.o' 'src/25a6634@@dav1d at sha/warpmv.c.o'
'src/25a6634@@dav1d at sha/wedge.c.o' 'src/25a6634@@dav1d at sha/x86_cpu.c.o'
'src/25a6634@@dav1d at sha/x86_msac_init.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/cdef_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/cdef_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/fg_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/film_grain_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/ipred_prepare_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/ipred_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/itx_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/lf_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/loopfilter_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/looprestoration_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/lr_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/mc_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/recon_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/x86_cdef_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/x86_film_grain_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/x86_ipred_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/x86_itx_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/x86_loopfilter_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/x86_looprestoration_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/x86_mc_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/cdef_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/cdef_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/fg_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/film_grain_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/ipred_prepare_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/ipred_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/itx_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/lf_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/loopfilter_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/looprestoration_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/lr_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/mc_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/recon_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/x86_cdef_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/x86_film_grain_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/x86_ipred_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/x86_itx_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/x86_loopfilter_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/x86_looprestoration_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/x86_mc_init_tmpl.c.o'
'src/25a6634@@dav1d_entrypoint at sta/lib.c.o'
'src/25a6634@@dav1d_entrypoint at sta/thread_task.c.o' -L/opt/local/lib
-Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names
-Wl,-undefined,error -shared -install_name @rpath/libdav1d.4.dylib
-compatibility_version 4 -current_version 4 -pipe -Os -arch i386
-Wl,-headerpad_max_install_names -arch i386
FAILED: src/libdav1d.4.dylib
/opt/local/bin/clang-mp-9.0 -o src/libdav1d.4.dylib
'src/25a6634@@dav1d at sha/cpuid.obj' 'src/25a6634@@dav1d at sha/msac.obj'
'src/25a6634@@dav1d at sha/cdef_avx512.obj'
'src/25a6634@@dav1d at sha/cdef_avx2.obj'
'src/25a6634@@dav1d at sha/film_grain.obj' 'src/25a6634@@dav1d at sha/ipred.obj'
'src/25a6634@@dav1d at sha/itx.obj' 'src/25a6634@@dav1d at sha/loopfilter.obj'
'src/25a6634@@dav1d at sha/looprestoration.obj'
'src/25a6634@@dav1d at sha/mc.obj' 'src/25a6634@@dav1d at sha/cdef_sse.obj'
'src/25a6634@@dav1d at sha/film_grain_ssse3.obj'
'src/25a6634@@dav1d at sha/ipred_ssse3.obj'
'src/25a6634@@dav1d at sha/itx_ssse3.obj'
'src/25a6634@@dav1d at sha/loopfilter_ssse3.obj'
'src/25a6634@@dav1d at sha/looprestoration_ssse3.obj'
'src/25a6634@@dav1d at sha/mc_sse.obj' 'src/25a6634@@dav1d at sha/cdf.c.o'
'src/25a6634@@dav1d at sha/cpu.c.o' 'src/25a6634@@dav1d at sha/data.c.o'
'src/25a6634@@dav1d at sha/decode.c.o'
'src/25a6634@@dav1d at sha/dequant_tables.c.o'
'src/25a6634@@dav1d at sha/getbits.c.o'
'src/25a6634@@dav1d at sha/intra_edge.c.o'
'src/25a6634@@dav1d at sha/itx_1d.c.o' 'src/25a6634@@dav1d at sha/lf_mask.c.o'
'src/25a6634@@dav1d at sha/log.c.o' 'src/25a6634@@dav1d at sha/msac.c.o'
'src/25a6634@@dav1d at sha/obu.c.o' 'src/25a6634@@dav1d at sha/picture.c.o'
'src/25a6634@@dav1d at sha/qm.c.o' 'src/25a6634@@dav1d at sha/ref.c.o'
'src/25a6634@@dav1d at sha/refmvs.c.o' 'src/25a6634@@dav1d at sha/scan.c.o'
'src/25a6634@@dav1d at sha/tables.c.o' 'src/25a6634@@dav1d at sha/warpmv.c.o'
'src/25a6634@@dav1d at sha/wedge.c.o' 'src/25a6634@@dav1d at sha/x86_cpu.c.o'
'src/25a6634@@dav1d at sha/x86_msac_init.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/cdef_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/cdef_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/fg_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/film_grain_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/ipred_prepare_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/ipred_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/itx_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/lf_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/loopfilter_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/looprestoration_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/lr_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/mc_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/recon_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/x86_cdef_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/x86_film_grain_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/x86_ipred_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/x86_itx_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/x86_loopfilter_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/x86_looprestoration_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_8 at sta/x86_mc_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/cdef_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/cdef_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/fg_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/film_grain_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/ipred_prepare_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/ipred_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/itx_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/lf_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/loopfilter_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/looprestoration_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/lr_apply_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/mc_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/recon_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/x86_cdef_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/x86_film_grain_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/x86_ipred_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/x86_itx_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/x86_loopfilter_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/x86_looprestoration_init_tmpl.c.o'
'src/25a6634@@dav1d_bitdepth_16 at sta/x86_mc_init_tmpl.c.o'
'src/25a6634@@dav1d_entrypoint at sta/lib.c.o'
'src/25a6634@@dav1d_entrypoint at sta/thread_task.c.o' -L/opt/local/lib
-Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names
-Wl,-undefined,error -shared -install_name @rpath/libdav1d.4.dylib
-compatibility_version 4 -current_version 4 -pipe -Os -arch i386
-Wl,-headerpad_max_install_names -arch i386
ld: warning: could not create compact unwind for
_dav1d_create_lf_mask_inter: stack subq instruction is too different from
dwarf stack size
ld: warning: could not create compact unwind for _dav1d_init_wedge_masks:
stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _dav1d_apply_grain_8bpc:
stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _inv_txfm_add_c: stack
subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _wiener_c: stack subq
instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _selfguided_c: stack subq
instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _selfguided_filter: stack
subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _lr_sbrow: stack subq
instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _put_bilin_c: stack subq
instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _put_bilin_scaled_c:
stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _prep_bilin_c: stack subq
instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _prep_bilin_scaled_c:
stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _put_8tap_c: stack subq
instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _put_8tap_scaled_c: stack
subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _prep_8tap_c: stack subq
instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _prep_8tap_scaled_c:
stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _wiener_filter_sse2:
stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _wiener_filter_ssse3:
stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _sgr_filter_ssse3: stack
subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _dav1d_sgr_filter1_ssse3:
stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _dav1d_sgr_filter2_ssse3:
stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _dav1d_apply_grain_16bpc:
stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _inv_txfm_add_c: stack
subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _wiener_c: stack subq
instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _selfguided_c: stack subq
instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _selfguided_filter: stack
subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _lr_sbrow: stack subq
instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _put_bilin_c: stack subq
instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _put_bilin_scaled_c:
stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _prep_bilin_c: stack subq
instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _prep_bilin_scaled_c:
stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _put_8tap_c: stack subq
instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _put_8tap_scaled_c: stack
subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _prep_8tap_c: stack subq
instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _prep_8tap_scaled_c:
stack subq instruction is too different from dwarf stack size
ld: illegal text-relocation to pw_8 in src/25a6634@@dav1d at sha/mc_sse.obj
from _dav1d_prep_bilin_sse2.hv_w4_loop in
src/25a6634@@dav1d at sha/mc_sse.obj for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
ninja: build stopped: subcommand failed.
Command failed: cd
"/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_multimedia_dav1d/dav1d/work/build"
&& /opt/local/bin/ninja -j4 -v
Exit code: 1
Error: Failed to build dav1d: command execution failed
DEBUG: Error code: CHILDSTATUS 85526 1
DEBUG: Backtrace: command execution failed
while executing
"system {*}$notty {*}$nice $fullcmdstring"
invoked from within
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
Error: See
/opt/local/var/macports/logs/_opt_bblocal_var_buildworker_ports_build_ports_multimedia_dav1d/dav1d/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port dav1d failed
Build of 'dav1d' failed.
./mpbb/mpbb: error: `install-port' failed to run successfully
program finished with exit code 1
elapsedTime=63.419081
}}}
I did not try to debug the problem. Perhaps I missed something that is
obvious to others. My intention was to see what happens when Apple
Silicon Macs start to appear.
--
Ticket URL: <https://trac.macports.org/ticket/60947#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list