#67330 closed defect (fixed)

libheif @1.15.2 on PPC Leopard/Mac OS X 10.5.8 does not use svt-av1 encoder

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: leopard ppc Cc: mascguy (Christopher Nielsen)
Port: libheif

Description

svt-av1 @1.5.0_0 (active) requested_variants='' platform='darwin 9' archs='ppc' date='2023-04-29T10:26:46+0200' was recently upgraded and is used by

port echo dependentof:svt-av1
libavif

(which is needed/used by gd2). libheif reports that it is not using svt-av1:

--->  Configuring libheif
DEBUG: Preferred compilers: macports-gcc-7 macports-gcc-6 macports-gcc-5 macports-clang-7.0 macports-clang-6.0 macports-clang-5.0
DEBUG: Using compiler 'MacPorts GCC 7'
DEBUG: Executing org.macports.configure (libheif)
DEBUG: Environment: 
CC='/opt/local/bin/gcc-mp-7'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/.CC_PRINT_OPTIONS'
CFLAGS='-pipe -Os -arch ppc'
CPATH='/opt/local/include'
CPPFLAGS='-I/opt/local/include'
CXX='/opt/local/bin/g++-mp-7'
CXXFLAGS='-pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc'
DEVELOPER_DIR='/Developer'
F77='/opt/local/bin/gfortran-mp-7'
F90='/opt/local/bin/gfortran-mp-7'
F90FLAGS='-pipe -Os -m32'
FC='/opt/local/bin/gfortran-mp-7'
FCFLAGS='-pipe -Os -m32'
FFLAGS='-pipe -Os -m32'
INSTALL='/usr/bin/install -c'
LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.5'
OBJC='/opt/local/bin/gcc-mp-7'
OBJCFLAGS='-pipe -Os -arch ppc'
OBJCXX='/opt/local/bin/g++-mp-7'
OBJCXXFLAGS='-pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc'
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.15.2" && ./configure --prefix=/opt/local --disable-go --disable-rav1e --disable-aom 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.15.2" && ./configure --prefix=/opt/local --disable-go --disable-rav1e --disable-aom 
checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
checking target system type... powerpc-apple-darwin9.8.0
checking how to print strings... printf
checking for gcc... /opt/local/bin/gcc-mp-7
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /opt/local/bin/gcc-mp-7 accepts -g... yes
checking for /opt/local/bin/gcc-mp-7 option to enable C11 features... none needed
checking whether /opt/local/bin/gcc-mp-7 understands -c and -o together... yes
checking for a sed that does not truncate output... /opt/local/bin/gsed
checking for grep that handles long lines and -e... /opt/local/bin/ggrep
checking for egrep... /opt/local/bin/ggrep -E
checking for fgrep... /opt/local/bin/ggrep -F
checking for ld used by /opt/local/bin/gcc-mp-7... /opt/local/bin/ld
checking if the linker (/opt/local/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert powerpc-apple-darwin9.8.0 file names to powerpc-apple-darwin9.8.0 format... func_convert_file_noop
checking how to convert powerpc-apple-darwin9.8.0 file names to toolchain format... func_convert_file_noop
checking for /opt/local/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -p output from /opt/local/bin/gcc-mp-7 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /opt/local/bin/gcc-mp-7 supports -fno-rtti -fno-exceptions... no
checking for /opt/local/bin/gcc-mp-7 option to produce PIC... -fno-common -DPIC
checking if /opt/local/bin/gcc-mp-7 PIC flag -fno-common -DPIC works... yes
checking if /opt/local/bin/gcc-mp-7 static flag -static works... no
checking if /opt/local/bin/gcc-mp-7 supports -c -o file.o... yes
checking if /opt/local/bin/gcc-mp-7 supports -c -o file.o... (cached) yes
checking whether the /opt/local/bin/gcc-mp-7 linker (/opt/local/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /opt/local/bin/gcc-mp-7... gcc3
checking whether the compiler supports GNU C++... yes
checking whether /opt/local/bin/g++-mp-7 accepts -g... yes
checking for /opt/local/bin/g++-mp-7 option to enable C++11 features... none needed
checking how to run the C++ preprocessor... /opt/local/bin/g++-mp-7 -E
checking for ld used by /opt/local/bin/g++-mp-7... /opt/local/bin/ld
checking if the linker (/opt/local/bin/ld) is GNU ld... no
checking whether the /opt/local/bin/g++-mp-7 linker (/opt/local/bin/ld) supports shared libraries... yes
checking for /opt/local/bin/g++-mp-7 option to produce PIC... -fno-common -DPIC
checking if /opt/local/bin/g++-mp-7 PIC flag -fno-common -DPIC works... yes
checking if /opt/local/bin/g++-mp-7 static flag -static works... no
checking if /opt/local/bin/g++-mp-7 supports -c -o file.o... yes
checking if /opt/local/bin/g++-mp-7 supports -c -o file.o... (cached) yes
checking whether the /opt/local/bin/g++-mp-7 linker (/opt/local/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) /opt/local/bin/gcc-mp-7
checking whether the compiler supports GNU C... (cached) yes
checking whether /opt/local/bin/gcc-mp-7 accepts -g... (cached) yes
checking for /opt/local/bin/gcc-mp-7 option to enable C11 features... (cached) none needed
checking whether /opt/local/bin/gcc-mp-7 understands -c and -o together... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for grep that handles long lines and -e... (cached) /opt/local/bin/ggrep
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /opt/local/bin/gmkdir -p
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking dependency style of /opt/local/bin/gcc-mp-7... gcc3
checking dependency style of /opt/local/bin/g++-mp-7... gcc3
checking whether /opt/local/bin/g++-mp-7 supports C++11 features by default... yes
checking for _Bool... yes
checking for stdbool.h that conforms to C99... yes
checking for inttypes.h... (cached) yes
checking for stddef.h... yes
checking for unistd.h... (cached) yes
checking for inline... inline
checking for error_at_line... no
checking for size_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for pthread_create in -lpthread... yes
checking for simple visibility declarations... yes
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libde265... yes
checking for x265... yes
checking for jpeglib.h... yes
checking for jpeg_CreateCompress in -ljpeg... yes
checking for jpeg_write_icc_profile... yes
checking for libpng... yes
checking for gdk-pixbuf-2.0... yes
checking for dav1d... yes
configure: Enable multithreading
checking whether compiler supports -Wno-error=potentially-evaluated-expression... no
checking whether compiler supports -Wno-error=tautological-compare... yes
checking whether compiler supports -Wno-error=tautological-constant-out-of-range-compare... no
configure: ---------------------------------------
configure: Multithreading: yes
configure: Symbol visibility: yes
configure: libaom decoder: no
configure: libaom encoder: no
configure: rav1e encoder: no
configure: dav1d decoder: yes
configure: svt-av1 encoder: no
configure: libde265 decoder: yes
configure: libx265 encoder: yes
configure: JPEG output: yes
configure: PNG output: yes
configure: GdkPixbuf2 loader: yes
configure: Examples: yes
configure: Tests:  (tests will cause 'visibility' to be turned off)
configure: ---------------------------------------
configure: DEPRECATION WARNING
configure: The autotools build scripts are deprecated in favor of CMake.
configure: Please switch to a CMake building process.
configure: The 'configure' script will be removed in a future release.
configure: ---------------------------------------
checking that generated files are newer than configure... done

Is this expected behaviour?

Change History (2)

comment:1 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: mascguy added; mcalhoun@… mascguy@… removed
Owner: set to MarcusCalhoun-Lopez
Port: libheif added; svt-av1 encoder removed
Status: newassigned
Type: requestdefect

The libheif portfile does not declare a dependency on svt-av1, and it does not use the configure arg --enable-svt, so it seems intentional that libheif does not use svt-av1.

comment:2 Changed 18 months ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed

Support for svt-av1 was added as part of the recent update to 1.16.1:

https://github.com/macports/macports-ports/commit/7c19fe8639848aeee9f112d6ddc77547ce94eb2f

Note: See TracTickets for help on using tickets.