[MacPorts] #38643: texlive-bin: clang hangs and leaks memory trying to build makejvf
#38643: texlive-bin: clang hangs and leaks memory trying to build makejvf ----------------------+------------------------- Reporter: dports@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: texlive-bin ----------------------+------------------------- As reported [https://lists.macosforge.org/pipermail/macports- users/2013-April/032219.html on the mailing list]: When building texlive-bin, attempts to compile texk/makejvf/main.c cause clang to hang and exhaust system memory. It looks like there are some illegal character encodings in that file. I've observed this with the following clang version on 10.8.2: {{{ Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn) Target: x86_64-apple-darwin12.2.0 Thread model: posix }}} It's apparently version-specific, as I hadn't previously noticed this, and the buildbot didn't run into it, but I haven't narrowed it down any more yet. -- Ticket URL: <https://trac.macports.org/ticket/38643> MacPorts <http://www.macports.org/> Ports system for OS X
#38643: texlive-bin: clang hangs and leaks memory trying to build makejvf --------------------------+---------------------- Reporter: dports@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: texlive-bin | --------------------------+---------------------- Changes (by dports@…): * status: new => assigned Comment: Disabled building makejvf for now as a workaround: r104809. -- Ticket URL: <https://trac.macports.org/ticket/38643#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38643: texlive-bin: clang hangs and leaks memory trying to build makejvf --------------------------+---------------------- Reporter: dports@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: texlive-bin | --------------------------+---------------------- Comment (by egall@…): I ran into this problem myself awhile ago and forked the texlive-bin portfile to add a `+nomakejvf` variant: https://github.com/cooljeanius/LocalPorts/blob/master/tex/texlive- bin/Portfile#L351 For the MacPorts portfile though I'd recommend just disabling makejvf unconditionally because there's actually a separate port for `makejvf`: see #38585 for more. See also #38018 for when I ran into a similar issue with `doxygen`. -- Ticket URL: <https://trac.macports.org/ticket/38643#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38643: texlive-bin: clang hangs and leaks memory trying to build makejvf --------------------------+---------------------- Reporter: dports@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: texlive-bin | --------------------------+---------------------- Comment (by mojca@…): A question for those of you for whom it fails: does compilation of the latest TeX Live sources from SVN (svn://tug.org/texlive/trunk/Build/source) also fail to work on your setup? I'm asking because there are about 2 weeks left to fix any problems before TeX Live sources will be frozen (there might be a month or two before the final freeze, but the binary sources should be frozen very soon now). -- Ticket URL: <https://trac.macports.org/ticket/38643#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38643: texlive-bin: clang hangs and leaks memory trying to build makejvf --------------------------+---------------------- Reporter: dports@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: texlive-bin | --------------------------+---------------------- Comment (by dports@…): Replying to [comment:4 mojca@…]:
A question for those of you for whom it fails: does compilation of the latest TeX Live sources from SVN (svn://tug.org/texlive/trunk/Build/source) also fail to work on your setup? I'm asking because there are about 2 weeks left to fix any problems before TeX Live sources will be frozen for the TL 2013 release (there might be a bit more time, but not that much).
I was going to try that yesterday but I had to wait for svn to finish checking out texlive trunk. :-) It looks like it's still an issue. The questionable character encodings are in the usage() text for makejvf. It also looks like adding `-Wno-invalid-source-encoding` to clang's cflags is a sufficient workaround, so there's that... -- Ticket URL: <https://trac.macports.org/ticket/38643#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38643: texlive-bin: clang hangs and leaks memory trying to build makejvf --------------------------+---------------------- Reporter: dports@… | Owner: dports@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: texlive-bin | --------------------------+---------------------- Changes (by dports@…): * status: assigned => closed * resolution: => fixed Comment: Re-enabled makejvf, using -Wno-invalid-source-encoding when building with clang, in r105371 -- Ticket URL: <https://trac.macports.org/ticket/38643#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38643: texlive-bin: clang hangs and leaks memory trying to build makejvf --------------------------+---------------------- Reporter: dports@… | Owner: dports@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: texlive-bin | --------------------------+---------------------- Comment (by dports@…): As for whether we should just rely on the separate makejvf port, the question is whether that port provides the same version as the one in texlive. (Also, whether it's maintained, which it seems to be.) -- Ticket URL: <https://trac.macports.org/ticket/38643#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts