Opened 12 years ago

Closed 12 years ago

#35859 closed defect (fixed)

geomview: sed: RE error: illegal byte sequence

Reported by: bcbarnes@… Owned by: raphael-st (Raphael Straub)
Priority: Normal Milestone:
Component: ports Version:
Keywords: mountainlion Cc:
Port: geomview

Description (last modified by raphael-st (Raphael Straub))

This seems possibly related to: #29037 but I'm not sure. It's a different error message for the same part of the build.

After raphael quickly fixed my previous geomview ticket (thanks!), I now encounter this:

:info:build Making all in doc
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_geomview/geomview/work/geomview-1.9.4/doc'
:info:build TEXINPUTS=".:$TEXINPUTS" \
:info:build 	MAKEINFO='/bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_geomview/geomview/work/geomview-1.9.4/missing --run makeinfo --no-validate  -I .' \
:info:build 	texi2dvi --pdf --batch geomview-pt_BR.texi
:info:build sed: RE error: illegal byte sequence
:info:build make[2]: *** [geomview-pt_BR.pdf] Error 1
:info:build make[2]: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_geomview/geomview/work/geomview-1.9.4/doc'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_geomview/geomview/work/geomview-1.9.4'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_geomview/geomview/work/geomview-1.9.4'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_geomview/geomview/work/geomview-1.9.4" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
name:~ name$ which texi2dvi
/opt/local/bin/texi2dvi
name:~ name$ texi2dvi -v
texi2dvi (GNU Texinfo 4.13) 1.135

related installed tex ports:

texinfo                        @4.13           textproc/texinfo
texlive                        @2012           tex/texlive

OS X 10.8.1, XCode 4.4.1, latest command line tools and macports, etc. Sorry for the weird double-spacing. For some reason, when I have normal newlines in safari in my description textbox, they do not carry over to the ticket preview. I have to doublespace lines to get any newlines at all. Bleh.

Change History (6)

comment:1 Changed 12 years ago by raphael-st (Raphael Straub)

Description: modified (diff)
Version: 2.1.2

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: raphael@… removed
Description: modified (diff)
Keywords: mountainlion added
Owner: changed from macports-tickets@… to raphael@…
Summary: tex-related? geomview build failuregeomview: sed: RE error: illegal byte sequence

This just looks like the standard error you get on Mountain Lion when you use sed on a file that is not UTF-8 that we've been patching in many other ports already. We probably just need to set LANG=C somewhere.

Note that port list does not do what you think it does.

comment:3 Changed 12 years ago by raphael-st (Raphael Straub)

Description: modified (diff)
Status: newassigned

comment:4 in reply to:  description Changed 12 years ago by raphael-st (Raphael Straub)

Replying to bcbarnes@…:

Sorry for the weird double-spacing. For some reason, when I have normal newlines in safari in my description textbox, they do not carry over to the ticket preview. I have to doublespace lines to get any newlines at all. Bleh.

Please use WikiFormatting and quote your logs with {{{ and }}}.

As Ryan said, this is a problem with sed on Mountain Lion. As I don't have Mountain Lion, please tell me if the following commands work for you.

port clean geomview
port install geomview build.env="LANG=C"

comment:5 Changed 12 years ago by bcbarnes@…

The build.env flag allows the build to complete, thanks.

comment:6 Changed 12 years ago by raphael-st (Raphael Straub)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.