I see a compile error with ledger @ fa641c5 on Gentoo Linux ~amd64. It has
been
ongoing for some time now.
Installed package versions include:
sys-devel/gcc-4.8.2
sys-libs/glibc-2.19
dev-libs/boost-1.55.0-r1
dev-util/boost-build-1.55.0
The error is as follows. Apologies in advance for the long output, and not
using
a pastebin if that is list etiquette.
Jeff
ledger % ./acprep update
acprep: INFO: Invoking primary phase: update
acprep: INFO: Executing phase: update
acprep: INFO: Executing phase: pull
Already up-to-date.
acprep: INFO: Executing phase: submodule
acprep: INFO: Executing phase: make
acprep: INFO: Executing phase: config
acprep: INFO: Executing phase: submodule
acprep: INFO: Executing phase: configure
acprep: INFO: System type is => Linux
acprep: INFO: Setting up build flavor => debug
-- Boost version: 1.52.0
-- Found the following Boost libraries:
-- date_time
-- filesystem
-- system
-- iostreams
-- regex
-- unit_test_framework
-- Configuring done
-- Generating done
-- Build files have been written to: /software/ledger
[ 1%] Generating ../system.hh.gch
Scanning dependencies of target libledger
[ 3%] Building CXX object src/CMakeFiles/libledger.dir/stats.cc.o
In file included from /software/ledger/src/session.h:46:0,
from /software/ledger/src/report.h:52,
from /software/ledger/src/stats.cc:38:
/software/ledger/src/journal.h:79:5: error: reference to ‘uintmax_t’ is
ambiguous
uintmax_t size;
^
In file included from /usr/include/unicode/ptypes.h:66:0,
from /usr/include/unicode/umachine.h:44,
from /usr/include/unicode/utypes.h:36,
from /usr/include/boost-1_51/boost/regex/icu.hpp:22,
from /software/ledger/system.hh:217:
/usr/include/stdint.h:135:27: note: candidates are: typedef long unsigned
int uintmax_t
typedef unsigned long int uintmax_t;
^
In file included from /usr/include/boost-1_51/boost/integer_fwd.hpp:17:0,
from /usr/include/boost-1_51/boost/integer.hpp:18,
from
/usr/include/boost-1_51/boost/function/function_base.hpp:21,
from
/usr/include/boost-1_51/boost/function/detail/prologue.hpp:17,
from /usr/include/boost-1_51/boost/function.hpp:24,
from
/usr/include/boost-1_51/boost/algorithm/string/detail/find_iterator.hpp:18,
from
/usr/include/boost-1_51/boost/algorithm/string/find_iterator.hpp:24,
from
/usr/include/boost-1_51/boost/algorithm/string/iter_find.hpp:27,
from
/usr/include/boost-1_51/boost/algorithm/string/split.hpp:16,
from /usr/include/boost-1_51/boost/algorithm/string.hpp:23,
from /software/ledger/system.hh:170:
/usr/include/boost-1_51/boost/cstdint.hpp:307:42: note:
typedef boost::ulong_long_type boost::uintm
ax_t
typedef ::boost::ulong_long_type uintmax_t;
^
In file included from /software/ledger/src/session.h:46:0,
from /software/ledger/src/report.h:52,
from /software/ledger/src/stats.cc:38:
/software/ledger/src/journal.h:79:5: error: ‘uintmax_t’ does not name a type
uintmax_t size;
^
/software/ledger/src/journal.h: In constructor
‘ledger::journal_t::fileinfo_t::fileinfo_t()’:
/software/ledger/src/journal.h:83:20: error: class
‘ledger::journal_t::fileinfo_t’ does not have any field named ‘s
ize’
fileinfo_t() : size(0), from_stream(true) {
^
/software/ledger/src/journal.h: In constructor
‘ledger::journal_t::fileinfo_t::fileinfo_t(const path&)’:
/software/ledger/src/journal.h:88:15: error: overloaded function with no
contextual type information
size = file_size(*filename);
^
/software/ledger/src/journal.h: In copy constructor
‘ledger::journal_t::fileinfo_t::fileinfo_t(const ledger::journa
l_t::fileinfo_t&)’:
/software/ledger/src/journal.h:93:34: error: class
‘ledger::journal_t::fileinfo_t’ does not have any field named ‘s
ize’
: filename(info.filename), size(info.size),
^
/software/ledger/src/journal.h:93:44: error: ‘const struct
ledger::journal_t::fileinfo_t’ has no member named ‘size
’
: filename(info.filename), size(info.size),
^
src/CMakeFiles/libledger.dir/build.make:63: recipe for target
'src/CMakeFiles/libledger.dir/stats.cc.o' failed
make[2]: *** [src/CMakeFiles/libledger.dir/stats.cc.o] Error 1
CMakeFiles/Makefile2:115: recipe for target
'src/CMakeFiles/libledger.dir/all' failed
make[1]: *** [src/CMakeFiles/libledger.dir/all] Error 2
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2
acprep: ERROR: Execution failed: make
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.