[MacPorts] #38771: file port
#38771: file port ----------------------------+-------------------------------- Reporter: zhang.jielai@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: file | Port: file ----------------------------+-------------------------------- Hi, When I run the command
file -b -N -L -k -r an_image_fits_file.fits ERROR: line 5: regexec error 17, (illegal byte sequence)
file --version file-5.12 magic file from /opt/local/share/misc/magic
port installed | grep file file @5.12_2 (active) p5-file-changenotify @0.190.0_3 (active) p5.12-file-changenotify @0.190.0_3 (active) p5.12-file-listing @6.20.0_2 (active)
I have been recommended to report this problem to macports, reading Ticket Guidelines makes me think I should report it to whoever uploaded the "file" port? I do not know how to find this out- sorry! -- Ticket URL: <https://trac.macports.org/ticket/38771> MacPorts <http://www.macports.org/> Ports system for OS X
#38771: file: ERROR: line 5: regexec error 17, (illegal byte sequence) -----------------------------+-------------------------------- Reporter: zhang.jielai@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: file | -----------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * keywords: file => Old description:
Hi,
When I run the command
file -b -N -L -k -r an_image_fits_file.fits ERROR: line 5: regexec error 17, (illegal byte sequence)
file --version file-5.12 magic file from /opt/local/share/misc/magic
port installed | grep file file @5.12_2 (active) p5-file-changenotify @0.190.0_3 (active) p5.12-file-changenotify @0.190.0_3 (active) p5.12-file-listing @6.20.0_2 (active)
I have been recommended to report this problem to macports, reading Ticket Guidelines makes me think I should report it to whoever uploaded the "file" port? I do not know how to find this out- sorry!
New description: Hi, When I run the command {{{
file -b -N -L -k -r an_image_fits_file.fits ERROR: line 5: regexec error 17, (illegal byte sequence)
file --version file-5.12 magic file from /opt/local/share/misc/magic
port installed | grep file file @5.12_2 (active) p5-file-changenotify @0.190.0_3 (active) p5.12-file-changenotify @0.190.0_3 (active) p5.12-file-listing @6.20.0_2 (active) }}}
I have been recommended to report this problem to macports, reading Ticket Guidelines makes me think I should report it to whoever uploaded the "file" port? I do not know how to find this out- sorry! -- Comment: I also get that kind of error on some files. The "file" port has no maintainer, so there is nobody within the MacPorts community who has claimed responsibility for this software. Even if there were, I doubt the problem is MacPorts-specific, so you should report the bug to the people who develop the "file" program; see their homepage at http://www.darwinsys.com/file/ for how to do that. -- Ticket URL: <https://trac.macports.org/ticket/38771#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38771: file: ERROR: line 5: regexec error 17, (illegal byte sequence) -----------------------------+-------------------------------- Reporter: zhang.jielai@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: file | -----------------------------+-------------------------------- Comment (by zhang.jielai@…): Hi Ryan, thanks for your reply. This error goes away when I use my /usr/bin/file instead of /opt/local/bin/file I will tell this someone who developed the "file" program too! -- Ticket URL: <https://trac.macports.org/ticket/38771#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38771: file: ERROR: line 5: regexec error 17, (illegal byte sequence) -----------------------------+-------------------------------- Reporter: zhang.jielai@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: file | -----------------------------+-------------------------------- Comment (by jmr@…): I take it you're on 10.8? The regex library now errors out when the string/file contents are not valid in the encoding specified by the current locale. However the current version of the file port is 5.14, so you should really upgrade and confirm that the problem still exists before going any further. -- Ticket URL: <https://trac.macports.org/ticket/38771#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38771: file: ERROR: line 5: regexec error 17, (illegal byte sequence) -----------------------------+-------------------------------- Reporter: zhang.jielai@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: file | -----------------------------+-------------------------------- Comment (by zhang.jielai@…): Yep, 10.8.3 I just updated to file port 5.14
port installed | grep file file @5.12_2 file @5.14_0 (active) p5-file-changenotify @0.190.0_3 (active) p5.12-file-changenotify @0.190.0_3 (active) p5.12-file-listing @6.20.0_2 (active)
and that solved the problem. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/38771#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38771: file: ERROR: line 5: regexec error 17, (illegal byte sequence) -----------------------------+-------------------------------- Reporter: zhang.jielai@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: file | -----------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/38771#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38771: file: ERROR: line 5: regexec error 17, (illegal byte sequence) -----------------------------+-------------------------------- Reporter: zhang.jielai@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: file | -----------------------------+-------------------------------- Changes (by panayotis@…): * status: closed => reopened * resolution: invalid => Comment: I still have the same problem, with OSX 10.9 and file 5.15 -- Ticket URL: <https://trac.macports.org/ticket/38771#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38771: file: ERROR: line 5: regexec error 17, (illegal byte sequence) -----------------------------+-------------------------------- Reporter: zhang.jielai@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: file | -----------------------------+-------------------------------- Changes (by ryandesign@…): * cc: panayotis@… (added) * status: reopened => closed * resolution: => invalid Comment: Replying to [comment:6 panayotis@…]:
I still have the same problem, with OSX 10.9 and file 5.15
See #41069. -- Ticket URL: <https://trac.macports.org/ticket/38771#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#38771: file: ERROR: line 5: regexec error 17, (illegal byte sequence) -----------------------------+-------------------------------- Reporter: zhang.jielai@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: file | -----------------------------+-------------------------------- Comment (by wteltel@…): Replying to [comment:6 panayotis@…]:
I still have the same problem, with OSX 10.9 and file 5.15
Adding {{{ export LC_CTYPE=C export LANG=C }}} to ~/.profile solve the problem -- Ticket URL: <https://trac.macports.org/ticket/38771#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#38771: file: ERROR: line 5: regexec error 17, (illegal byte sequence) -----------------------------+-------------------------------- Reporter: zhang.jielai@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: file | -----------------------------+-------------------------------- Comment (by ryandesign@…): Setting the locale to `C` is what the developer says he did to fix the problem; this fix will presumably be part of file 5.17, whenever that's released. -- Ticket URL: <https://trac.macports.org/ticket/38771#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#38771: file: ERROR: line 5: regexec error 17, (illegal byte sequence) -----------------------------+-------------------------------- Reporter: zhang.jielai@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: file | -----------------------------+-------------------------------- Comment (by mdgriffin@…): I just installed '''file''' 5.17, and the problem remains unresolved. Setting locale and language to C continues to be effective as a workaround. -- Ticket URL: <https://trac.macports.org/ticket/38771#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#38771: file: ERROR: line 5: regexec error 17, (illegal byte sequence) -----------------------------+-------------------------------- Reporter: zhang.jielai@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: file | -----------------------------+-------------------------------- Changes (by ryandesign@…): * cc: mdgriffin@… (added) Comment: Please relay your concerns to the developer of file so that he can fix the problem. -- Ticket URL: <https://trac.macports.org/ticket/38771#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#38771: file: ERROR: line 5: regexec error 17, (illegal byte sequence) -----------------------------+-------------------------------- Reporter: zhang.jielai@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: file | -----------------------------+-------------------------------- Comment (by andrewbass@…): Should be either [http://bugs.gw.com/view.php?id=281] or [http://bugs.gw.com/view.php?id=292]. -- Ticket URL: <https://trac.macports.org/ticket/38771#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts