pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Build failure for finance/gnucash
With up-to-date pkgsrc on amd64 running NetBSD 9.99.59 I'm getting a
repeatable build failure for gnucash. The first error noted is
...
Scanning dependencies of target gncmod-ledger-core
/tmp/pkgs/finance/gnucash/work.x86_64/gnucash-3.10/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp: In function 'void csv_price_imp_preview_settings_text_inserted_cb(GtkEditable*, gchar*, gint, gint*, CsvImpPriceAssist*)':
/tmp/pkgs/finance/gnucash/work.x86_64/gnucash-3.10/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp:270:10: error: 'replace' is not a member of 'std'
std::replace (mod_txt.begin(), mod_txt.end(), '[', '(');
^~~~~~~
/tmp/pkgs/finance/gnucash/work.x86_64/gnucash-3.10/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp:271:10: error: 'replace' is not a member of 'std'
std::replace (mod_txt.begin(), mod_txt.end(), ']', ')');
^~~~~~~
/tmp/pkgs/finance/gnucash/work.x86_64/gnucash-3.10/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp: In member function 'void CsvImpPriceAssist::preview_reparse_col_type(GncPricePropType)':
/tmp/pkgs/finance/gnucash/work.x86_64/gnucash-3.10/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp:1196:41: error: no matching function for call to 'find(std::vector<GncPricePropType>::iterator, std::vector<GncPricePropType>::iterator, GncPricePropType&)'
column_types.end(), type);
^
In file included from /usr/include/g++/bits/locale_facets.h:48,
from /usr/include/g++/bits/basic_ios.h:37,
from /usr/include/g++/ios:44,
from /usr/include/g++/ostream:38,
from /usr/include/g++/iostream:39,
from /tmp/pkgs/finance/gnucash/work.x86_64/gnucash-3.10/libgnucash/engine/gnc-numeric.hpp:27,
from /tmp/pkgs/finance/gnucash/work.x86_64/gnucash-3.10/gnucash/import-export/csv-imp/gnc-imp-props-price.hpp:43,
from /tmp/pkgs/finance/gnucash/work.x86_64/gnucash-3.10/gnucash/import-export/csv-imp/gnc-imp-settings-csv-price.hpp:39,
from /tmp/pkgs/finance/gnucash/work.x86_64/gnucash-3.10/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp:55:
/usr/include/g++/bits/streambuf_iterator.h:368:5: note: candidate: 'template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)'
find(istreambuf_iterator<_CharT> __first,
^~~~
...
+--------------------+--------------------------+-----------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost |
+--------------------+--------------------------+-----------------------+
Home |
Main Index |
Thread Index |
Old Index