bug-bison
[Top][All Lists]
Advanced

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

Re: complain.c:(.text+0x6df): undefined reference to `ostream_printf'


From: Ken Moffat
Subject: Re: complain.c:(.text+0x6df): undefined reference to `ostream_printf'
Date: Fri, 24 Jul 2020 18:18:22 +0100
User-agent: Mutt/1.14.6 (2020-07-11)

On Fri, Jul 24, 2020 at 07:31:06AM +0200, Akim Demaille wrote:
> Hi Lars,
> 
> > Le 23 juil. 2020 à 21:58, Lars Wendler <polynomial-c@gentoo.org> a écrit :
> > 
> > Hi Akim,
> > 
> >> I think the problem is "simply" that your version of libtextstyle is
> >> too old.
> >> 
> >> I'm using 0.20.5.
> >> 
> >> https://alpha.gnu.org/gnu/gettext/libtextstyle-0.20.5.tar.gz
> > 
> > In Gentoo libtextstyle is provided by gettext and neither version
> > 0.20.2 nor 0.21-rc1 seem to provide a recent enough libtextstyle. Do
> > you really expect distros to split libtextstyle out from gettext?
> 
> Yes, I believe this is something that should happen.  In the gettext
> package, there's a PACKAGING file that starts with:
> 
> > Packaging hints for binary package distributors
> > ===============================================
> > 
> > Although the source of the gettext package comes as a single package,
> > I recommend that in distributions of binary packages the installed files
> > be split into three packages:
> > 
> >    gettext-runtime
> >         Contents: Runtime libraries and programs.
> >         Audience: Anyone who wants to run internationalized programs.
> > 
> >    libtextstyle
> >         Contents: Text styling library.
> >         Audience: Anyone who wants to run or develop programs that produce
> >                   styled text, to be displayed in a terminal emulator.
> > 
> >    gettext-tools
> >         Contents: Tools and documentation for developers and translators.
> >         Audience: Anyone who wants to develop or localize internationalized
> >                   programs, i.e. developers and translators.
> >         Dependencies: requires gettext-runtime.
> 
> But Bison should use a stricter Autoconf check to rule out versions
> of libtextstyle that don't support it.  I'll do that eventually.
> 
> Meanwhile, disable text styling with configure --without-libtextstyle-prefix.
> 
> Cheers!

Given that libtextstyle is part of gettext, you seem to be requiring
people to use an unreleased version to build bison ?

I can see that some binary distros have it separated, but they all
seem to be using 0.20.2.

Is there a reason why bison-3.7 now *needs* ostream_printf and
styled_ostream_set_hyperlink from what is currently only an alpha
release of libtextstyle ?

On a completed linuxfromscratch I was able to build and test 3.6.94
last weekend without problems, but it seems I was wasting my time
since I cannot build the release.

ĸen
-- 
+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
                          - Hogfather



reply via email to

[Prev in Thread] Current Thread [Next in Thread]