pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[FOUND] Re: pkgsrc-2024Q3: emulators/wine flex error
The problem described below comes from pkgsrc picking the system flex
that is unable to interpret the regex idiom, while pkgsrc
flex-2.6.4 compiles the scanner without ado.
How to force the use of some version of the tools?
On Fri, Dec 20, 2024 at 11:38:42PM +0100, tlaronde%kergis.com@localhost wrote:
> Flex throws an error:
>
> emulators/wine/work/wine-5.0.5/dlls/msxml3/xslpattern.l:150: negative
> range in character class
>
> The line number is not correct. The problem is line 149, because Flex
> is apparently using signed char and such ranges:
>
>
> NCNameStartChar ([A-Za-z_]|[\xc0-\xd6\xd8-\xf6\xf8-\xff])
>
> NameCharEx ([0-9]|[-._\xb7])
>
> NCNameChar ({NCNameStartChar}|{NameCharEx})
>
>
> where hexa \xb7 and "more" are turned into negative char values.
>
> I'm on:
>
> NetBSD cauchy.polynum.local 10.99.12 NetBSD 10.99.12 (CAUCHY) #2: Thu Sep 26 16:02:35 CEST 2024 tlaronde@cauchy.polynum.local:/data/m/netbsd-10.99/sys/arch/amd64/compile/CAUCHY amd64
>
> Where does the problem lie? The regex lib? How to force the use of
> unsigned chars in character comparisons?
> --
> Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
> http://www.kergis.com/
> http://kertex.kergis.com/
> Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C
--
Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
http://www.kergis.com/
http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C
Home |
Main Index |
Thread Index |
Old Index