[MacPorts] #35421: joe @ 3.7 installation failed
#35421: joe @ 3.7 installation failed ------------------------------+--------------------------------------------- Reporter: pl1zahd@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion joe | Port: joe ------------------------------+--------------------------------------------- The installation fails with command:[[BR]] {{{ sed 's,@JOERC\@,/opt/local/etc/joe,; s,@JOEDOC\@,/opt/local/share/doc/joe,; s,@JOEDATA\@,/opt/local/share/joe,; s,@SPELL\@,ispell,; s,@BINDIR\@,/opt/local/bin,' ./joe.1.in > joe.1 sed: RE error: illegal byte sequence }}} See the main.log file attached. OS Version: OS X 10.8 Mountain Lion[[BR]] XCode: Version 4.4 (4F250) -- Ticket URL: <https://trac.macports.org/ticket/35421> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35421: joe @ 3.7 installation failed ----------------------------+----------------------------------------------- Reporter: pl1zahd@… | Owner: noses@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: joe ----------------------------+----------------------------------------------- Changes (by macsforever2000@…): * keywords: mountainlion joe => mountainlion * owner: macports-tickets@… => noses@… Comment: In the future, please Cc the port maintainer(s). -- Ticket URL: <https://trac.macports.org/ticket/35421#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35421: joe @ 3.7 installation failed ----------------------------+----------------------------------------------- Reporter: pl1zahd@… | Owner: noses@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: joe ----------------------------+----------------------------------------------- Changes (by ryandesign@…): * cc: macports@… (added) Comment: Has duplicate #35462. -- Ticket URL: <https://trac.macports.org/ticket/35421#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35421: joe @ 3.7 installation failed ----------------------------+----------------------------------------------- Reporter: pl1zahd@… | Owner: noses@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: joe ----------------------------+----------------------------------------------- Comment(by macports@…): Hi all, I made it work with a manual workaround... I added the following line before each sed in three Makefiles (see below, change joerc.in to the actual file): "iconv -c -t UTF-8 $(srcdir)/joerc.in
$(srcdir)/joerc.in" Then it compiled OK, however, the resulting joe etc files was emty so I copied them from another system (Ubuntu 10.04) and it worked.
I attached the modified files to this post + a tgz archive of the joe configuration files. Steps to make it work: 1) Download the three Makefiles + the joe.tgz file 2) port clean joe 3) port configure joe 4) cp Makefile-rc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_joe/joe/work/joe-3.7/rc/Makefile 5) cp Makefile-man /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_joe/joe/work/joe-3.7/man/Makefile 6) cp Makefile-man-ru /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_joe/joe/work/joe-3.7/man/ru/Makefile 7) port build joe 8) port install joe 9) cd /opt/local/etc/joe/ 10) rm * 11) tar zxvpf /path-to-joe.tgz/joe.tgz Now it works! It this may be helpful to implement a permanent solution to this issue... Regards; Henrik -- Ticket URL: <https://trac.macports.org/ticket/35421#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35421: joe @ 3.7 installation failed ----------------------------+----------------------------------------------- Reporter: pl1zahd@… | Owner: noses@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: joe ----------------------------+----------------------------------------------- Comment(by tobias@…): Another possible fix that worked for me was adding the following line to the Portfile (trunk/dports/editors/joe/Portfile) before installing joe: build.env LANG=C -- Ticket URL: <https://trac.macports.org/ticket/35421#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35421: joe @ 3.7 installation failed ----------------------------+----------------------------------------------- Reporter: pl1zahd@… | Owner: noses@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: joe ----------------------------+----------------------------------------------- Comment(by info@…): I fixed it this way: {{{ $ sudo port install joe -- fails with error "sed: RE error: illegal byte sequence" $ sudo su - # export LANG=C # cd /opt/local/var/macports/build/*_joe/joe/work/joe-*/ # make clean # make # make install # exit $ sudo port -f activate joe }}} -- Ticket URL: <https://trac.macports.org/ticket/35421#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35421: joe @ 3.7 installation failed ----------------------------+----------------------------------------------- Reporter: pl1zahd@… | Owner: noses@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: joe ----------------------------+----------------------------------------------- Comment(by mp@…): The issue with sed being stricter about encodings in Mountain Lion has been part of many recent bug reports. See http://lists.macosforge.org/pipermail/macports-dev/2012-August/019993.html which is about the same problem underlying "reinplace..." calls in Portfiles. build.env = C in the Portfile is another possibliity to fix it, and in some cases I have seen the "LANG=C" been added to the "sed ..." command invocation in the Portfile. Who is responsible (has enough karma) to get this one closed and what would s/he need to do so? -- Ticket URL: <https://trac.macports.org/ticket/35421#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35421: joe @ 3.7 installation failed ----------------------------+----------------------------------------------- Reporter: pl1zahd@… | Owner: noses@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: joe ----------------------------+----------------------------------------------- Comment(by mp@…): I meant "build.env LANG=C" above -- Ticket URL: <https://trac.macports.org/ticket/35421#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35421: joe @ 3.7 installation failed -----------------------------+---------------------------------------------- Reporter: pl1zahd@… | Owner: noses@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: mountainlion Port: joe | -----------------------------+---------------------------------------------- Changes (by dports@…): * status: new => closed * resolution: => fixed Comment: I added `build.env LANG=C` in r97034 (maintainer timeout). I don't have a Mountain Lion system available to test on, so please reopen if that didn't work. -- Ticket URL: <https://trac.macports.org/ticket/35421#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35421: joe @ 3.7 installation failed -----------------------------+---------------------------------------------- Reporter: pl1zahd@… | Owner: noses@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: mountainlion Port: joe | -----------------------------+---------------------------------------------- Comment(by macports@…): I tested and confirm that joe now installs on OS X Mountain Lion (10.8.1). -- Ticket URL: <https://trac.macports.org/ticket/35421#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts