Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#59875 closed defect (fixed)

x265 @3.2.1 does not build on PPC Mac OS X 10.4.11, Tiger, because 'posix_memalign' was not declared in this scope

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: tiger Cc:
Port: x265

Description

[ 31%] Building CXX object common/CMakeFiles/common.dir/common.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_multimedia_x265/x265/work/build/common && /opt/local/bin/g++-apple-4.2  -DEXPORT_C_API=1 -DHAVE_INT_TYPES_H=1 -DHIGH_BIT_DEPTH=0 -DMACOS=1 -DX265_DEPTH=8 -DX265_NS=x265 -D__STDC_LIMIT_MACROS=1 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_multimedia_x265/x265/work/x265_3.2.1/source/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_multimedia_x265/x265/work/x265_3.2.1/source/common -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_multimedia_x265/x265/work/x265_3.2.1/source/encoder -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_multimedia_x265/x265/work/build  -pipe -Os -DNDEBUG -I/opt/local/include -arch ppc -mmacosx-version-min=10.4   -Wall -Wextra -Wshadow -std=gnu++98 -ffast-math -fno-exceptions -o CMakeFiles/common.dir/common.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_multimedia_x265/x265/work/x265_3.2.1/source/common/common.cpp
/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_multimedia_x265/x265/work/x265_3.2.1/source/common/common.cpp: In function 'void* x265::x265_malloc(size_t)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_multimedia_x265/x265/work/x265_3.2.1/source/common/common.cpp:81: error: 'posix_memalign' was not declared in this scope
make[2]: *** [common/CMakeFiles/common.dir/common.cpp.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_multimedia_x265/x265/work/build'
make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_multimedia_x265/x265/work/build'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_multimedia_x265/x265/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_multimedia_x265/x265/work/build" && /usr/bin/make -w all VERBOSE=ON 
Exit code: 2

PortGroup legacysupport 1.0 missing?

Attachments (1)

main.log (45.7 KB) - added by ballapete (Peter "Pete" Dyballa) 5 years ago.
Main.log from PPC Tiger

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from PPC Tiger

comment:1 Changed 5 years ago by ballapete (Peter "Pete" Dyballa)

With this addition x265 built on PPC Tiger.

comment:2 Changed 5 years ago by kencu (Ken)

Owner: set to kencu
Resolution: fixed
Status: newclosed

In f68d06099109d5a275dbcc4a9a5e4479c1c8a065/macports-ports (master):

x265: use legacysupport for posix_memalign

closes: #59875

comment:3 Changed 4 years ago by kencu (Ken)

In f68d06099109d5a275dbcc4a9a5e4479c1c8a065/macports-ports (dar, master, py38-reproject, revert-6945-rust-1.43.0, wireshark):

x265: use legacysupport for posix_memalign

closes: #59875

Note: See TracTickets for help on using tickets.