Opened 8 weeks ago

#70814 assigned defect

libmusicbrainz5 fails to build: error: invalid conversion from ‘const xmlError*’ to ‘xmlError*’

Reported by: barracuda156 Owned by: kurthindenburg (Kurt Hindenburg)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: libmusicbrainz5

Description

--->  Configuring libmusicbrainz5
        (using ccache)
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build" && /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX='/opt/local' -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_C_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_CXX_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_Fortran_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_OBJC_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_OBJCXX_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_ISPC_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local;/usr" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="ppc" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.6" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0 
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc-4.2 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++-4.2 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /opt/local/bin/pkg-config (found version "0.29.2")
-- Checking for module 'neon'
--   Found neon, version 0.33.0
-- Found Neon: /opt/local/lib/libneon.dylib
-- Checking for module 'libxml-2.0'
--   Found libxml-2.0, version 2.13.3
-- Found LibXml2: /opt/local/lib/libxml2.dylib
-- Configuring done (9.8s)
-- Generating done (0.3s)
-- Build files have been written to: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build
--->  Building libmusicbrainz5
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build" && /usr/bin/make -j6 -w all VERBOSE=ON 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build'
/opt/local/bin/cmake -S/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build --check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build/CMakeFiles /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build//CMakeFiles/progress.marks
/usr/bin/make  -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build'
/usr/bin/make  -f src/CMakeFiles/make-c-interface.dir/build.make src/CMakeFiles/make-c-interface.dir/depend
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build'
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0/src /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build/src /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build/src/CMakeFiles/make-c-interface.dir/DependInfo.cmake "--color="
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build'
/usr/bin/make  -f src/CMakeFiles/make-c-interface.dir/build.make src/CMakeFiles/make-c-interface.dir/build
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build'
[  1%] Building CXX object src/CMakeFiles/make-c-interface.dir/xmlParser.cc.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build/src && /opt/local/bin/ccache /usr/bin/g++-4.2  -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0/src/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0/src/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build/src/../include -I/opt/local/include/neon -I/opt/local/include/libxml2 -pipe -Os -Wall -Wextra -pedantic-errors -DNDEBUG -arch ppc -mmacosx-version-min=10.6 -MD -MT src/CMakeFiles/make-c-interface.dir/xmlParser.cc.o -MF CMakeFiles/make-c-interface.dir/xmlParser.cc.o.d -o CMakeFiles/make-c-interface.dir/xmlParser.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0/src/xmlParser.cc
[  3%] Building CXX object src/CMakeFiles/make-c-interface.dir/make-c-interface.cc.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build/src && /opt/local/bin/ccache /usr/bin/g++-4.2  -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0/src/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0/src/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build/src/../include -I/opt/local/include/neon -I/opt/local/include/libxml2 -pipe -Os -Wall -Wextra -pedantic-errors -DNDEBUG -arch ppc -mmacosx-version-min=10.6 -MD -MT src/CMakeFiles/make-c-interface.dir/make-c-interface.cc.o -MF CMakeFiles/make-c-interface.dir/make-c-interface.cc.o.d -o CMakeFiles/make-c-interface.dir/make-c-interface.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0/src/make-c-interface.cc
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0/src/xmlParser.cc: In static member function ‘static XMLNode* XMLRootNode::parseFile(const std::string&, XMLResults*)’:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0/src/xmlParser.cc:59: error: invalid conversion from ‘const xmlError*’ to ‘xmlError*’
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0/src/xmlParser.cc: In static member function ‘static XMLNode* XMLRootNode::parseString(const std::string&, XMLResults*)’:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/libmusicbrainz-5.1.0/src/xmlParser.cc:74: error: invalid conversion from ‘const xmlError*’ to ‘xmlError*’
make[2]: *** [src/CMakeFiles/make-c-interface.dir/xmlParser.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build'
make[1]: *** [src/CMakeFiles/make-c-interface.dir/all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libmusicbrainz5/libmusicbrainz5/work/build" && /usr/bin/make -j6 -w all VERBOSE=ON 
Exit code: 2

Change History (0)

Note: See TracTickets for help on using tickets.