pkgsrc-Users archive

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

Re: lang/guile 1.8.8 nb11 build failure



BTW TeXmacs from svn builds with guile 1.8 and starts to run, but
crashes in locale processing:
....
Thread 1 (process 2756):

                             #0  0x000079b66879918a in _lwp_kill ()
from /usr/lib/libc.so.12
#1  0x000079b66879967a in abort () from /usr/lib/libc.so.12
#2  0x000079b668ea2415 in __gnu_cxx::__verbose_terminate_handler () at
../../../../gcc-9.3.0/libstdc++-v3/libsupc++/vterminate.cc:95
#3  0x000079b668ead085 in __cxxabiv1::__terminate (handler=<optimized
out>) at ../../../../gcc-9.3.0/libstdc++-v3/libsupc++/eh_terminate.cc:48
#4  0x000079b668ead0c7 in std::terminate () at
../../../../gcc-9.3.0/libstdc++-v3/libsupc++/eh_terminate.cc:58
#5  0x000079b668ead2ac in __cxxabiv1::__cxa_throw
(obj=obj@entry=0x79b66a5d4f00, tinfo=0x79b6691bb2e0 <typeinfo for
std::runtime_error>, dest=0x79b668eb7b1a
<std::runtime_error::~runtime_error()>) at
../../../../gcc-9.3.0/libstdc++-v3/libsupc++/eh_throw.cc:95
#6  0x000079b668ea44c4 in std::__throw_runtime_error
(__s=__s@entry=0x79b668f727a0 "locale::facet::_S_create_c_locale name
not valid") at ../../../../../gcc-9.3.0/libstdc++-v3/src/c++11/functexcept.cc:102
#7  0x000079b668ebf3df in std::locale::facet::_S_create_c_locale
(__cloc=@0x7f7fff67fb88: 0x0, __s=__s@entry=0x79b66511c400
"LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=POSIX;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.UTF-8;LC_MONETARY=en_GB.UTF-8;LC_MESSAGES=en_GB.UTF-8")
at c++locale.cc:227
#8  0x000079b668eb646c in std::locale::_Impl::_Impl
(this=0x79b6684f4630, __s=0x79b66511c400
"LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=POSIX;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.UTF-8;LC_MONETARY=en_GB.UTF-8;LC_MESSAGES=en_GB.UTF-8",
__refs=<optimized out>) at
../../../../../gcc-9.3.0/libstdc++-v3/src/c++98/localename.cc:186
#9  0x000079b668eb760e in std::locale::locale (this=0x7f7fff67fca0,
__s=<optimized out>) at
../../../../../gcc-9.3.0/libstdc++-v3/src/c++98/localename.cc:129
#10 0x0000000000bdfc70 in get_locale_charset() ()
#11 0x0000000001088fda in tree_to_verbatim(tree, bool, string) ()
...


On Thu, 19 Aug 2021 at 20:10, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> On Thu, 19 Aug 2021 at 19:36, Greg Troxel <gdt%lexort.com@localhost> wrote:
> >
> >
> > Chavdar Ivanov <ci4ic4%gmail.com@localhost> writes:
> >
> > > Somewhat late...
> > > lang/guile still fails to build when using the system's gcc 10.3, as
> > > reported before. Instead of reverting the earlier releases and pkgsrc
> > > checkouts, I just placed /usr/pkg/gcc9/bin in front of the PATH; this
> > > way guile 1.8.8 builds and tests fine. No idea why...
> >
> > 1.8 is basically obsolete.  I'll try it with current after I update my
> > current box.
> >
> > > I haven't checked which packages need lang/guile; in my case, this is
> > > TeXmacs, which explicitly states that only guile version 1 is
> > > supported (I was able to build it with version 2, but then the
> > > execution fails miserably in the scheme scripts). he guile site shows
> > > version 3.0.7 as the current one, with version 2 considered legacy and
> > > no mentioning of version 1.
> >
> > guile 1.8 is really crufty but still exists slightly.  2.0 is very old,
> > and 2.2 somewhat old.  3 is still in wip, and I don't remember why.
> >
> > Basically any project that doesn't work with 2.2 or 3.0 I would consider
> > not maintained.
> >
> > > I guess lang/gcc9 should be added as a build dependency and the
> > > package modified to use it.
> >
> > It's not really that it needs 9 but that 10 isn't ok.   This seems like
> > a combination of a a bug in the old guile and new gcc warning
> > fussiness.  It's not clear that force-requiring 9 is the right approach.
> >
> > Have you filed a bug with  texmacs that it doesn't work with 2.2 and
> > 3.0?
>
> From the TeXmacs current site:
> ...
> Guile
>
> The GNU implementation of Scheme, which is used as an extension
> language. Please note that as of Oct. 2013, Guile 2.x is not
> supported; you will need Guile 1.8.
> ...
>
> The version in pkgsrc is 1.99.13; the current released TeXmacs is 2.1.
> I tried to build the version from subversion; the configure script
> needs bash (even if it starts with #!/bin/sh ...); it finds guile 2
> and complains about needing guile 1, unless one knows what is doing
> and then one can run it with --enable-guile2; further down the whole
> compile process actually finishes fine, with the exception of the
> final link of texmacs-shared.bin, which reports missing
> {add,remove}_notifier and perform_select; these apparently should be
> fixed by adding '--enable-qtpipes'  to the configure parameters...
> This now completes without an apparent error. The execution fails
> similarly to when I enabled guile v2, as mentioned before; a lot of
> scheme errors.
>
> It seems to me if we want TeXmacs to build on -current, we should
> still keep guile 1.8.8 and build it with gcc9... Otherwise the bump to
> TeXmacs 2.1 should be possible.
>
>
>
>
>
>
>
> --
> ----



-- 
----


Home | Main Index | Thread Index | Old Index