pkgsrc-Users archive

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

Re: Problem building finance/gnucash



On Mon, 22 Nov 2021 at 05:50, Paul Goyette <paul%whooppee.com@localhost> wrote:
>
>
> >> ...
> >> [ 97%] Built target scm-deprecated-gnucash-report-job-report
> >> wrote `/tmp/pkgs/finance/gnucash/work.x86_64/gnucash-4.8/lib/guile/2.2/site-ccache/gnucash/deprecated/gnucash/report/receipt.go'
> >> [ 97%] Built target scm-deprecated-gnucash-report-receipt
> >> wrote `/tmp/pkgs/finance/gnucash/work.x86_64/gnucash-4.8/lib/guile/2.2/site-ccache/gnucash/deprecated/gnucash/report/receivables.go'
> >> wrote `/tmp/pkgs/finance/gnucash/work.x86_64/gnucash-4.8/lib/guile/2.2/site-ccache/gnucash/deprecated/gnucash/report/standard-reports/cashflow-barchart.go'
> >> [ 97%] Built target scm-deprecated-gnucash-report-receivables
> >> [ 97%] Built target scm-deprecated-gnucash-report-standard-reports-cashflow-barchart
> >> wrote `/tmp/pkgs/finance/gnucash/work.x86_64/gnucash-4.8/lib/guile/2.2/site-ccache/gnucash/deprecated/gnucash/report/customer-summary.go'
> >> [ 97%] Built target scm-deprecated-gnucash-report-customer-summary
> >> <hangs here, for hours!>
>
> On Sun, 21 Nov 2021, Thomas Klausner wrote:
>
> > That's a bug in -current that mostly affects cmake (though I don't see
> > it there often) and guile.
> >
> > The easiest workaround is to
> >
> > pkill -STOP guile
> > pkill -CONT guile
> >
> > and it should finish the build. (I sometimes need to do this 2 or 3
> > times.)

It happened twice during my last guile22 build; the inconvenience is
that it stops the overnight build. Its true that this happens usually
with cmake, though. All threads were waiting in ___lwp_park60 as
follows:

Thread 2 (LWP 2975 of process 21980 "GC-marker-5"):
#0  0x000070b8252b1efa in ___lwp_park60 () from /usr/lib/libc.so.12
#1  0x000070b827a0b1bd in pthread_cond_timedwait () from
/usr/lib/libpthread.so.1
#2  0x000070b827e0d167 in GC_help_marker () from
/usr/pkgsrc/lang/guile22/work/.buildlink/lib/libgc.so.1
#3  0x000070b827e0d26a in GC_mark_thread () from
/usr/pkgsrc/lang/guile22/work/.buildlink/lib/libgc.so.1
#4  0x000070b827a0c84f in ?? () from /usr/lib/libpthread.so.1
#5  0x000070b82529b1c0 in ?? () from /usr/lib/libc.so.12
#6  0x0000000000200000 in ?? ()
#7  0x0000000000000000 in ?? ()

With cmake hanging there usually was one thread waiting elsewhere.

>
> Yup - that works!  Thanks!
>
>
> +--------------------+--------------------------+----------------------+
> | 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  |
> | & Network Engineer |                          | pgoyette99%gmail.com@localhost |
> +--------------------+--------------------------+----------------------+



-- 
----


Home | Main Index | Thread Index | Old Index