pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ctype change in NetBSD 11.0 RC1 might have broken print/p5-biblatex-biber
David Brownlee <abs%absd.org@localhost> écrit :
> On Fri, 13 Feb 2026 at 19:26, Marc Baudoin <babafou%babafou.eu.org@localhost> wrote:
> >
> > Since having upgraded my computer to NetBSD 11.0_RC1, I get
> > SIGSEGV most of the time when using print/p5-biblatex-biber:
> >
> > INFO - This is Biber 2.20
> > INFO - Logfile is 'test.blg'
> > INFO - Reading 'test.bcf'
> > INFO - Using all citekeys in bib section 0
> > INFO - Processing section 0
> > INFO - Looking for bibtex file 'script.bib' for section 0
> > INFO - LaTeX decoding ...
> > INFO - Found BibTeX data source 'script.bib'
> > FATAL - Caught signal: SEGV
> > Likely your .bib has a very bad entry which causes libbtparse to crash: Inappropriate ioctl for device
> > Biber error: [195] bibtex.pm:97> FATAL - Caught signal: SEGV
> >
> > print/p5-biblatex-biber worked fine before and my files are
> > correct. Moreover, when setting LIBC_ALLOWCTYPEABUSE,
> > print/p5-biblatex-biber doesn't get SIGSEGV anymore but I get
> > that kind of message from LuaLaTeX when using the generated
> > bibliography file from print/p5-biblatex-biber:
> >
> > Missing character: There is no � (U+FFFD) in font [CabinCondensed-RegularCond
> > ensed.otf]:mode=node;script=latn;language=dflt;+tlig;!
> > Missing character: There is no � (U+FFFD) in font [CabinCondensed-RegularCond
> > ensed.otf]:mode=node;script=latn;language=dflt;+tlig;!
> >
> > Again, the specific font is not the issue, it worked perfectly
> > before upgrading to NetBSD 11.0_RC1 (and it still works on other
> > operating systems that NetBSD 11.0_RC1).
> >
> > Any idea on how to fix that?
>
> Just a quick thought - can you take the
> print/p5-biblatex-biber+LIBC_ALLOWCTYPEABUSE'd file from NetBSD-11 and
> test on a non NetBSD-11 LuaLaTeX? (just to confirm if the issue is
> with print/p5-biblatex-biber and not LuaLaTeX)
The bbl file generated by biber (with LIBC_ALLOWCTYPEABUSE set)
is corrupted.
My .bib file is:
@book
{
test ,
author = {Auteur Accentué} ,
title = {Titre accentué} ,
subtitle = {Sous-titre accentué} ,
publisher = {Éditeur} ,
}
I'm experiencing the crashes when using UTF-8 accented
characters.
The bbl file generated by biber contains:
\name{author}{1}{}{%
{{hash=91f7bdcdb5ba9aa364fc899a9b5ee245}{%
family={Accentu�},
familyi={A\bibinitperiod},
given={Auteur},
giveni={A\bibinitperiod}}}%
}
The family value is not valid UTF-8, hence the problem. On the
other hand, the values for all the other fields are valid UTF-8.
The problem is the same if I use old-style ASCII syntax for
accented characters:
author = {Auteur Accentu{\'e}} ,
So it looks like a biber (or some of its pkgsrc dependencies)
issue.
On Linux, everything processed from scratch is OK and I get the
same messages from LuaLaTeX when using the
print/p5-biblatex-biber+LIBC_ALLOWCTYPEABUSE'd file from NetBSD
11.0_RC1 because the problem is inside it.
Home |
Main Index |
Thread Index |
Old Index