[MacPorts] #66234: taglib fails to build with gcc-4.2
MacPorts
noreply at macports.org
Sat Nov 12 03:15:45 UTC 2022
#66234: taglib fails to build with gcc-4.2
-------------------------------------------+------------------------
Reporter: barracuda156 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Keywords: powerpc, leopard, snowleopard | Port: taglib
-------------------------------------------+------------------------
Universal build on Leopard fails almost immediately with:
{{{
g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple
-arch flags
make[2]: *** [taglib/CMakeFiles/tag.dir/mpeg/mpegfile.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
}}}
Single-arch build fails later, with numerous errors:
{{{
In file included from /opt/local/include/cppunit/TestAssert.h:8,
from /opt/local/include/cppunit/TestCase.h:6,
from /opt/local/include/cppunit/TestCaller.h:5,
from
/opt/local/include/cppunit/extensions/HelperMacros.h:9,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_taglib/taglib/work/taglib-1.13/tests/test_map.cpp:28:
/opt/local/include/cppunit/tools/StringHelper.h:7:23: error: type_traits:
No such file or directory
In file included from /opt/local/include/cppunit/TestAssert.h:8,
from /opt/local/include/cppunit/TestCase.h:6,
from /opt/local/include/cppunit/TestCaller.h:5,
from
/opt/local/include/cppunit/extensions/HelperMacros.h:9,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_taglib/taglib/work/taglib-1.13/tests/test_list.cpp:27:
/opt/local/include/cppunit/tools/StringHelper.h:7:23: error: type_traits:
No such file or directory
In file included from /opt/local/include/cppunit/TestAssert.h:6,
from /opt/local/include/cppunit/TestCase.h:6,
from /opt/local/include/cppunit/TestCaller.h:5,
from
/opt/local/include/cppunit/extensions/HelperMacros.h:9,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_taglib/taglib/work/taglib-1.13/tests/test_list.cpp:27:
/opt/local/include/cppunit/Asserter.h:50: error: expected unqualified-id
before ‘[’ token
/opt/local/include/cppunit/Asserter.h:56: error: expected unqualified-id
before ‘[’ token
/opt/local/include/cppunit/Asserter.h:162: error: expected unqualified-id
before ‘[’ token
In file included from /opt/local/include/cppunit/TestAssert.h:8,
from /opt/local/include/cppunit/TestCase.h:6,
from /opt/local/include/cppunit/TestCaller.h:5,
from
/opt/local/include/cppunit/extensions/HelperMacros.h:9,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_taglib/taglib/work/taglib-1.13/tests/test_list.cpp:27:
/opt/local/include/cppunit/tools/StringHelper.h:22: error: ‘enable_if’ in
namespace ‘std’ does not name a type
/opt/local/include/cppunit/tools/StringHelper.h:22: error: expected
unqualified-id before ‘<’ token
/opt/local/include/cppunit/tools/StringHelper.h:31: error: ‘enable_if’ in
namespace ‘std’ does not name a type
/opt/local/include/cppunit/tools/StringHelper.h:31: error: expected
unqualified-id before ‘<’ token
/opt/local/include/cppunit/tools/StringHelper.h:39: error: ‘toString’ is
not a template function
/opt/local/include/cppunit/tools/StringHelper.h:44: error: ‘toString’ is
not a template function
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66234>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list