public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Trunk of 'file' fails to build due to regex error
@ 2016-02-09 22:33 David Macek
  2016-02-10 11:58 ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: David Macek @ 2016-02-09 22:33 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 653 bytes --]

Hi all.

I'm trying to build the `file` program from trunk, but I'm getting a regex error that seems to be related to 8-bit character handling in Cygwin.

The error happens when compiling the magicfile:

> file: line 83: regex error 17 for `[=.<>|!^▒]{79}', (illegal byte sequence)

I currently have little idea where to start in investigating this error. I'd be glad if someone could help.

See <http://bugs.gw.com/view.php?id=518> for upstream bug where there's a link to <https://cygwin.com/ml/cygwin/2013-07/msg00426.html> which seems to be about a very similar (if not the same) error, but more than 2 years ago.

-- 
David Macek


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3834 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trunk of 'file' fails to build due to regex error
  2016-02-09 22:33 Trunk of 'file' fails to build due to regex error David Macek
@ 2016-02-10 11:58 ` Corinna Vinschen
  2016-02-10 20:16   ` David Macek
  0 siblings, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2016-02-10 11:58 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 895 bytes --]

On Feb  9 23:33, David Macek wrote:
> Hi all.
> 
> I'm trying to build the `file` program from trunk, but I'm getting a regex error that seems to be related to 8-bit character handling in Cygwin.
> 
> The error happens when compiling the magicfile:
> 
> > file: line 83: regex error 17 for `[=.<>|!^▒]{79}', (illegal byte sequence)
> 
> I currently have little idea where to start in investigating this error. I'd be glad if someone could help.
> 
> See <http://bugs.gw.com/view.php?id=518> for upstream bug where
> there's a link to <https://cygwin.com/ml/cygwin/2013-07/msg00426.html>
> which seems to be about a very similar (if not the same) error, but
> more than 2 years ago.

I replied in the bug tracker.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trunk of 'file' fails to build due to regex error
  2016-02-10 11:58 ` Corinna Vinschen
@ 2016-02-10 20:16   ` David Macek
  2016-02-11  9:51     ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: David Macek @ 2016-02-10 20:16 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 252 bytes --]

On 10. 2. 2016 12:58, Corinna Vinschen wrote:
> I replied in the bug tracker.

It seems a fix (or at least a work-around) was implemented based on your replies. I can now build `file` from trunk without any issues.

Thanks.

-- 
David Macek


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3834 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trunk of 'file' fails to build due to regex error
  2016-02-10 20:16   ` David Macek
@ 2016-02-11  9:51     ` Corinna Vinschen
  0 siblings, 0 replies; 4+ messages in thread
From: Corinna Vinschen @ 2016-02-11  9:51 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 477 bytes --]

On Feb 10 21:15, David Macek wrote:
> On 10. 2. 2016 12:58, Corinna Vinschen wrote:
> > I replied in the bug tracker.
> 
> It seems a fix (or at least a work-around) was implemented based on your replies. I can now build `file` from trunk without any issues.
> 
> Thanks.

Cool, thanks for your feedback.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-11  9:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-09 22:33 Trunk of 'file' fails to build due to regex error David Macek
2016-02-10 11:58 ` Corinna Vinschen
2016-02-10 20:16   ` David Macek
2016-02-11  9:51     ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).