Opened 4 years ago
Last modified 3 years ago
#62619 assigned defect
aom @3.0.0: ppc_cpudetect.c:15:10: fatal error: asm/cputable.h: No such file or directory
Reported by: | kencu (Ken) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Leopard PowerPC | Cc: | |
Port: | aom |
Description
first error, at least:
aom_ports/ppc_cpudetect.c:15:10: fatal error: asm/cputable.h: No such file or directory #include <asm/cputable.h> ^~~~~~~~~~~~~~~~ compilation terminated.
Attachments (1)
Change History (7)
Changed 4 years ago by kencu (Ken)
Attachment: | aom-fail-leopard-ppc.log added |
---|
comment:1 Changed 4 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
comment:2 Changed 4 years ago by kencu (Ken)
Thanks, Marcus -- I don't actually expect you to personally fix these :>
I just put this here more for an explanation about why we need to disable this dep for libheif on PPC, pending me (or someone like me) fixing it someday.
comment:4 follow-up: 5 Changed 4 years ago by kencu (Ken)
comment:5 Changed 3 years ago by barracuda156
Replying to kencu:
In d706b73e3832dbaebd6229e77fe6cec35815de7f/macports-ports (master):
Thank you, this was very helpful suggestion.
comment:6 Changed 3 years ago by barracuda156
For the record, it also fails on 10.6.8 Rosetta in the same way:
:15:10: fatal error: asm/cputable.h: No such file or directory #include <asm/cputable.h> ^~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/aom_ports.dir/aom_ports/ppc_cpudetect.c.o] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/build' make[1]: *** [CMakeFiles/aom_ports.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 2%] Built target generate_exports make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/build' [ 2%] Built target aom_version_check [ 2%] Linking CXX static library libaom_gtest.a /opt/local/bin/cmake -P CMakeFiles/aom_gtest.dir/cmake_clean_target.cmake /opt/local/bin/cmake -E cmake_link_script CMakeFiles/aom_gtest.dir/link.txt --verbose=ON /opt/local/bin/ar qc libaom_gtest.a CMakeFiles/aom_gtest.dir/third_party/googletest/src/googletest/src/gtest-all.cc.o /opt/local/bin/ranlib libaom_gtest.a make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/build' [ 2%] Built target aom_gtest make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/build' make: *** [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/build' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON Exit code: 2 Error: Failed to build aom: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port aom failed
Note: See
TracTickets for help on using
tickets.
I am afraid I cannot even get to this error.
The only way I can test PPC builds is by setting
build_arch
toppc
on an Intel virtual machine running Mac OS X 10.5.Needless to say, it is not a perfect solution.
I run into the following error before I get to the missing header file, and I have no idea how to fix it.