[MacPorts] #31547: mp4v2 fails to build in Lion
MacPorts
noreply at macports.org
Sun Oct 9 08:54:30 PDT 2011
#31547: mp4v2 fails to build in Lion
----------------------------------------+-----------------------------------
Reporter: chocolate.camera@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: mp4 | Port: mp4v2
----------------------------------------+-----------------------------------
With ports tree updated (2011/10/09) I cannot build mp4v2, which the port
mp4ip depends on (which contains mp4creator, which is what I need).
Tried on Mac OS X 10.7.1 Lion. This was the command line and output:
{{{
$ sudo port -v install mp4v2
---> Computing dependencies for mp4v2.
---> Building mp4v2
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mp4v2/mp4v2/work/mp4v2-1.9.1'
/bin/sh ./libtool --tag=CXX --mode=compile /Developer/usr/bin/clang++
-DHAVE_CONFIG_H -I./include -I./include -I. -I. -I/opt/local/include
-Wall -Wformat -pipe -O2 -arch x86_64 -fvisibility=hidden -c -o
src/bmff/typebmff.lo src/bmff/typebmff.cpp
/bin/sh ./libtool --tag=CXX --mode=compile /Developer/usr/bin/clang++
-DHAVE_CONFIG_H -I./include -I./include -I. -I. -I/opt/local/include
-Wall -Wformat -pipe -O2 -arch x86_64 -fvisibility=hidden -c -o
src/itmf/type.lo src/itmf/type.cpp
/Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I./include -I./include -I.
-I. -I/opt/local/include -Wall -Wformat -pipe -O2 -arch x86_64
-fvisibility=hidden -c src/itmf/type.cpp -fno-common -DPIC -o
src/itmf/.libs/type.o
/Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I./include -I./include -I.
-I. -I/opt/local/include -Wall -Wformat -pipe -O2 -arch x86_64
-fvisibility=hidden -c src/bmff/typebmff.cpp -fno-common -DPIC -o
src/bmff/.libs/typebmff.o
src/itmf/type.cpp:39:43: error: definition or redeclaration of 'data' not
in a namespace enclosing 'Enum<mp4v2::impl::itmf::BasicType, 255>'
const EnumBasicType::Entry EnumBasicType::data[] = {
~~~~~~~~~~~~~~~^
src/bmff/typebmff.cpp:38:49: error: definition or redeclaration of 'data'
not in a namespace enclosing 'Enum<mp4v2::impl::bmff::LanguageCode, 0>'
const EnumLanguageCode::Entry EnumLanguageCode::data[] = {
~~~~~~~~~~~~~~~~~~^
src/itmf/type.cpp:67:43: error: definition or redeclaration of 'data' not
in a namespace enclosing 'Enum<mp4v2::impl::itmf::GenreType, 0>'
const EnumGenreType::Entry EnumGenreType::data[] = {
~~~~~~~~~~~~~~~^
src/itmf/type.cpp:203:41: error: definition or redeclaration of 'data' not
in a namespace enclosing 'Enum<mp4v2::impl::itmf::StikType, 255>'
const EnumStikType::Entry EnumStikType::data[] = {
~~~~~~~~~~~~~~^
1 error generated.
src/itmf/type.cpp:219:47: error: definition or redeclaration of 'data' not
in a namespace enclosing 'Enum<mp4v2::impl::itmf::AccountType, 255>'
const EnumAccountType::Entry EnumAccountType::data[] = {
~~~~~~~~~~~~~~~~~^
make: *** [src/bmff/typebmff.lo] Error 1
make: *** Waiting for unfinished jobs....
src/itmf/type.cpp:229:47: error: definition or redeclaration of 'data' not
in a namespace enclosing 'Enum<mp4v2::impl::itmf::CountryCode, 0>'
const EnumCountryCode::Entry EnumCountryCode::data[] = {
~~~~~~~~~~~~~~~~~^
src/itmf/type.cpp:259:51: error: definition or redeclaration of 'data' not
in a namespace enclosing 'Enum<mp4v2::impl::itmf::ContentRating, 255>'
const EnumContentRating::Entry EnumContentRating::data[] = {
~~~~~~~~~~~~~~~~~~~^
6 errors generated.
make: *** [src/itmf/type.lo] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mp4v2/mp4v2/work/mp4v2-1.9.1'
shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mp4v2/mp4v2/work/mp4v2-1.9.1"
&& /usr/bin/make -j2 -w all " returned error 2
Error: Target org.macports.build returned: shell command failed (see log
for details)
Warning: the following items did not execute (for mp4v2):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Log for mp4v2 is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mp4v2/mp4v2/main.log
Error: Status 1 encountered during processing.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/31547>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list