pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build failure for finance/gnucash



...
16531468 May  9 10:03 /usr/pkgsrc/packages/All/gnucash-3.10.tgz
...

I built gnucash (as part of pkg_rolling-replace) with no problem,
9.99.60 amd64.

This was actually one of my best runs of pkg_rolling-replace, only a
few - 10-15 out of a total of 3500 - packages failed; among them
firefox and thunderbird, but these were sorted out after the latest
patch to clang10.

On Mon, 11 May 2020 at 05:45, Paul Goyette <paul%whooppee.com@localhost> wrote:
>
> On Sun, 10 May 2020, Adam wrote:
>
> >> 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(), ']', ')');
> >>          ^~~~~~~
> >
> > Looks like it needs C++17 compiler. Can you try setting:
> > USE_LANGUAGES= c c++17
> > ?
>
> That does not seem to be sufficient.  I now see
>
> ...
> /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(), ']', ')');
>            ^~~~~~~
> ...
>
> (The whole log file is fairly small - only 100KB, so I have attached it
> to this Email.)
>
>
> > I guess you are using GCC. Which version?
>
> Standard, in-tree gcc from NetBSD 9.99.59 (amd64):
>
> # gcc --version
> gcc (nb1 20200311) 8.4.0
> Copyright (C) 2018 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
> #
>
> +--------------------+--------------------------+-----------------------+
> | 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