Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#41604 closed defect (fixed)

log4cxx build fails on Mavericks

Reported by: kazenyuk@… Owned by: mail@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc: ryandesign (Ryan Carsten Schmidt)
Port: log4cxx

Description

Mavericks 10.9 / XCode 5.0.2 (5A3005) / MacPorts 2.2.1

$ sudo port clean log4cxx
--->  Cleaning log4cxx
[ks@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

Attachments (1)

main.log (305.5 KB) - added by kazenyuk@… 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by kazenyuk@…

Attachment: main.log added

comment:1 Changed 10 years ago by kazenyuk@…

Cc: kazenyuk@… added

Cc Me!

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: kazenyuk@… removed
Owner: changed from macports-tickets@… to mail@…
Port: log4cxx added

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Keywords: mavericks added
Resolution: fixed
Status: newclosed

r114179 (maintainer timeout)

Build still fails as described in #40093.

comment:4 in reply to:  3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

r114179 (maintainer timeout)

Oh, I was looking at the other ticket; this one has not yet timed out; sorry about that, Uwe.

Note: See TracTickets for help on using tickets.