[MacPorts] #41604: log4cxx build fails on Mavericks
MacPorts
noreply at macports.org
Fri Nov 29 15:21:13 PST 2013
#41604: log4cxx build fails on Mavericks
------------------------+--------------------------------
Reporter: kazenyuk@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port:
------------------------+--------------------------------
Mavericks 10.9 / XCode 5.0.2 (5A3005) / MacPorts 2.2.1
{{{
$ sudo port clean log4cxx
---> Cleaning log4cxx
[ks at weisser-stein-m:src](master *)$ sudo port install log4cxx
---> Computing dependencies for log4cxx
---> Fetching archive for log4cxx
---> Attempting to fetch log4cxx-0.10.0_0.darwin_13.x86_64.tbz2 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/log4cxx
---> Attempting to fetch log4cxx-0.10.0_0.darwin_13.x86_64.tbz2 from
http://lil.fr.packages.macports.org/log4cxx
---> Attempting to fetch log4cxx-0.10.0_0.darwin_13.x86_64.tbz2 from
http://packages.macports.org/log4cxx
---> Fetching distfiles for log4cxx
---> Verifying checksums for log4cxx
---> Extracting log4cxx
---> Applying patches to log4cxx
---> Configuring log4cxx
---> Building log4cxx
Error: org.macports.build for port log4cxx returned: command execution
failed
Please see the log file for port log4cxx for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_log4cxx/log4cxx/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port log4cxx failed
}}}
Relevant portion of the log file:
{{{
:info:build simpledateformat.cpp:598:24: error: out-of-line definition of
'addToken' does not match any declaration in
'log4cxx::helpers::SimpleDateFormat'
:info:build void SimpleDateFormat::addToken(const logchar spec, const int
repeat, const std::locale * locale,
:info:build ^~~~~~~~
:info:build
../../../src/main/include/log4cxx/helpers/simpledateformat.h:82:84: note:
type of 3rd parameter of member declaration does not match definition
('const std::locale
*' vs 'const std::locale *' (aka 'const std::__1::locale *'))
:info:build static void addToken(const logchar spec,
const int repeat, const std::locale* locale, PatternTokenList& pattern);
:info:build
^
:info:build simpledateformat.cpp:706:24: error: out-of-line definition of
'parsePattern' does not match any declaration in
'log4cxx::helpers::SimpleDateFormat'
:info:build void SimpleDateFormat::parsePattern( const LogString & fmt,
const std::locale * locale,
:info:build ^~~~~~~~~~~~
:info:build
../../../src/main/include/log4cxx/helpers/simpledateformat.h:83:73: note:
type of 2nd parameter of member declaration does not match definition
('const std::locale
*' vs 'const std::locale *' (aka 'const std::__1::locale *'))
:info:build static void parsePattern(const LogString&
spec, const std::locale* locale, PatternTokenList& pattern);
:info:build
^
:info:build simpledateformat.cpp:746:19: error: out-of-line definition of
'SimpleDateFormat' does not match any declaration in
'log4cxx::helpers::SimpleDateFormat'
:info:build SimpleDateFormat::SimpleDateFormat( const LogString & fmt,
const std::locale * locale ) : timeZone( TimeZone::getDefault() )
:info:build ^~~~~~~~~~~~~~~~
:info:build
../../../src/main/include/log4cxx/helpers/simpledateformat.h:56:68: note:
type of 2nd parameter of member declaration does not match definition
('const std::locale *' vs 'const std::locale *' (aka 'const
std::__1::locale *'))
:info:build SimpleDateFormat(const LogString& pattern,
const std::locale* locale);
:info:build
^
:info:build 3 errors generated.
:info:build make[3]: *** [simpledateformat.lo] Error 1
}}}
Related homebrew issue with patches:
https://github.com/mxcl/homebrew/issues/23744
--
Ticket URL: <https://trac.macports.org/ticket/41604>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list