[MacPorts] #72347: libavif does not compile on Leopard
MacPorts
noreply at macports.org
Mon Apr 14 08:50:08 UTC 2025
#72347: libavif does not compile on Leopard
-------------------------+---------------------
Reporter: rmottola | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: leopard gcc | Port: libavif
-------------------------+---------------------
Compilation or rebuild fail (10.5 x86_64)
{{{
/usr/bin/g++-4.2 -DAVIF_DLL
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libavif/libavif/work/libavif-1.2.0/apps/shared
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libavif/libavif/work/libavif-1.2.0/include
-isystem /opt/local/include/libargparse -pipe -Os -DNDEBUG
-I/opt/local/include -arch x86_64 -mmacosx-version-min=10.5 -fPIE -Wall
-Wextra -MD -MT
CMakeFiles/avifgainmaputil.dir/apps/avifgainmaputil/convert_command.cc.o
-MF
CMakeFiles/avifgainmaputil.dir/apps/avifgainmaputil/convert_command.cc.o.d
-o
CMakeFiles/avifgainmaputil.dir/apps/avifgainmaputil/convert_command.cc.o
-c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libavif/libavif/work/libavif-1.2.0/apps/avifgainmaputil/convert_command.cc
In file included from
/opt/local/include/libargparse/argparse_default_converter.hpp:7,
from /opt/local/include/libargparse/argparse.hpp:12,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libavif/libavif/work/libavif-1.2.0/apps/avifgainmaputil/program_command.h:9,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libavif/libavif/work/libavif-1.2.0/apps/avifgainmaputil/convert_command.h:8,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libavif/libavif/work/libavif-1.2.0/apps/avifgainmaputil/convert_command.cc:4:
/opt/local/include/libargparse/argparse_util.hpp:3:17: error: array: No
such file or directory
In file included from /opt/local/include/libargparse/argparse.hpp:11,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libavif/libavif/work/libavif-1.2.0/apps/avifgainmaputil/program_command.h:9,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libavif/libavif/work/libavif-1.2.0/apps/avifgainmaputil/convert_command.h:8,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libavif/libavif/work/libavif-1.2.0/apps/avifgainmaputil/convert_command.cc:4:
/opt/local/include/libargparse/argparse_formatter.hpp:23: error: expected
‘;’ before ‘override’
/opt/local/include/libargparse/argparse_formatter.hpp:24: error: expected
‘;’ before ‘override’
/opt/local/include/libargparse/argparse_formatter.hpp:25: error: expected
‘;’ before ‘override’
/opt/local/include/libargparse/argparse_formatter.hpp:26: error: expected
‘;’ before ‘override’
/opt/local/include/libargparse/argparse_formatter.hpp:27: error: expected
‘;’ before ‘override’
/opt/local/include/libargparse/argparse_formatter.hpp:28: error: expected
‘;’ before ‘override’
In file included from
/opt/local/include/libargparse/argparse_default_converter.hpp:6,
from /opt/local/include/libargparse/argparse.hpp:12,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libavif/libavif/work/libavif-1.2.0/apps/avifgainmaputil/program_command.h:9,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libavif/libavif/work/libavif-1.2.0/apps/avifgainmaputil/convert_command.h:8,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libavif/libavif/work/libavif-1.2.0/apps/avifgainmaputil/convert_command.cc:4:
/opt/local/include/libargparse/argparse_error.hpp:7: error:
‘std::runtime_error::runtime_error’ names constructor
/opt/local/include/libargparse/argparse_error.hpp:11: error:
‘argparse::ArgParseError::ArgParseError’ names constructor
In file included from
/opt/local/include/libargparse/argparse_default_converter.hpp:7,
from /opt/local/include/libargparse/argparse.hpp:12,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libavif/libavif/work/libavif-1.2.0/apps/avifgainmaputil/program_command.h:9,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libavif/libavif/work/libavif-1.2.0/apps/avifgainmaputil/convert_command.h:8,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libavif/libavif/work/libavif-1.2.0/apps/avifgainmaputil/convert_command.cc:4:
/opt/local/include/libargparse/argparse_util.hpp:14: error: expected
constructor, destructor, or type conversion before ‘<’ token
/opt/local/include/libargparse/argparse_util.hpp:24: error: ‘shared_ptr’
is not a member of ‘std’
/opt/local/include/libargparse/argparse_util.hpp:24: error: ‘shared_ptr’
is not a member of ‘std’
/opt/local/include/libargparse/argparse_util.hpp:24: error: ‘arg_map’ was
not declared in this scope
/opt/local/include/libargparse/argparse_util.hpp:24: error: `&' cannot
appear in a constant-expression
/opt/local/include/libargparse/argparse_util.hpp:24: error: template
argument 2 is invalid
/opt/local/include/libargparse/argparse_util.hpp:24: error: template
argument 4 is invalid
/opt/local/include/libargparse/argparse_util.hpp:39: error: expected
primary-expression before ‘{’ token
/opt/local/include/libargparse/argparse_util.hpp:39: error: expected `)'
before ‘{’ token
/opt/local/include/libargparse/argparse_util.hpp: In function
‘std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >
argparse::wrap_width(const std::string&, size_t, const
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >&)’:
/opt/local/include/libargparse/argparse_util.hpp:39: error: expected `;'
before ‘}’ token
/opt/local/include/libargparse/argparse_util.hpp: At global scope:
/opt/local/include/libargparse/argparse_util.hpp:39: error: expected
unqualified-id before ‘)’ token
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72347>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list