[MacPorts] #62618: dav1d @0.8.2: build fails on leopard PPC (at least) with several errors
MacPorts
noreply at macports.org
Sat Apr 3 13:40:55 UTC 2021
#62618: dav1d @0.8.2: build fails on leopard PPC (at least) with several errors
---------------------+---------------------------
Reporter: kencu | Owner: ctreleaven
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: leopard tiger
Port: dav1d |
---------------------+---------------------------
Comment (by ballapete):
The trouble starts with private shadowed C header files:
{{{
. ./config.h
. /usr/include/string.h
.. /usr/include/_types.h
... /usr/include/sys/_types.h
.... /usr/include/sys/cdefs.h
.... /usr/include/machine/_types.h
..... /usr/include/ppc/_types.h
.
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/include/common/intops.h
.. /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stdint.h
... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include-fixed/stdint.h
..
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/include/common/attributes.h
... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stddef.h
. ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/cdef_apply.h
..
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/include/common/bitdepth.h
.. ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/internal.h
... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stdatomic.h
...
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/include/dav1d/data.h
.... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stddef.h
....
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/include/dav1d/common.h
..... /usr/include/errno.h
...... /usr/include/sys/errno.h
..... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stddef.h
... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/cdef.h
.... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stddef.h
... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/cdf.h
.... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/levels.h
.....
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/include/dav1d/headers.h
...... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stddef.h
.... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/ref.h
.....
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/include/dav1d/dav1d.h
...... /usr/include/errno.h
...... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stdarg.h
......
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/include/dav1d/picture.h
....... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stddef.h
.......
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/include/dav1d/headers.h
......
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/include/dav1d/data.h
...... include/dav1d/version.h
..... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/mem.h
...... /usr/include/stdlib.h
....... /usr/include/available.h
....... /usr/include/sys/wait.h
........ /usr/include/sys/signal.h
......... /usr/include/sys/appleapiopts.h
......... /usr/include/machine/signal.h
.......... /usr/include/ppc/signal.h
........... /usr/include/ppc/_structs.h
......... /usr/include/sys/_structs.h
.......... /usr/include/machine/_structs.h
........... /usr/include/ppc/_structs.h
............ /usr/include/mach/ppc/_structs.h
........ /usr/include/sys/resource.h
......... /usr/include/sys/_structs.h
........ /usr/include/machine/endian.h
......... /usr/include/ppc/endian.h
.......... /usr/include/sys/_endian.h
....... /usr/include/alloca.h
....... /usr/include/machine/types.h
........
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/ppc/types.h
————» /usr/include/ppc/types.h
......... /opt/local/lib/gcc7/gcc/ppc-apple-
darwin9/7.5.0/include/altivec.h
......
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/thread.h
«———— line #39 of
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/mem.h
....... /usr/include/pthread.h
........ /usr/include/pthread_impl.h
........ /usr/include/sched.h
........ /usr/include/time.h
......... /usr/include/_structs.h
.......... /usr/include/sys/_structs.h
In file included from
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/ref.h:33:0,
from
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/cdf.h:34,
from
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/internal.h:44,
from
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/cdef_apply.h:33,
from
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/cdef_apply_tmpl.c:34:
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/mem.h:73:2:
error: #error Missing aligned alloc implementation
#error Missing aligned alloc implementation
^~~~~
..... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stddef.h
....
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/thread_data.h
... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/data.h
... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/env.h
.... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stddef.h
.... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/refmvs.h
.....
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/intra_edge.h
..... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/tables.h
...
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/film_grain.h
... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/ipred.h
.... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stddef.h
... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/itx.h
.... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stddef.h
... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/lf_mask.h
.... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stddef.h
...
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/loopfilter.h
.... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stddef.h
...
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/looprestoration.h
.... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stddef.h
... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/mc.h
.... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stddef.h
... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/msac.h
... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/picture.h
....
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/include/dav1d/picture.h
... ../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/recon.h
....
../dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/internal.h
Multiple include guards may be useful for:
/usr/include/_structs.h
/usr/include/machine/_structs.h
}}}
Above is the list of C header files included when trying to compile
.../dav1d/work/dav1d-0.8.2-f06148e7c755098666b9c0ed97a672a51785413a/src/cdef_apply_tmpl.c.
--
Ticket URL: <https://trac.macports.org/ticket/62618#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list