[MacPorts] #44340: texlive-bin @2014 Configure error "-arch ppc" needs "--disable-luajittex"
#44340: texlive-bin @2014 Configure error "-arch ppc" needs "--disable-luajittex" ---------------------------------+-------------------------------- Reporter: stressfields@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: --disable-luajittex | Port: texlive-bin ---------------------------------+-------------------------------- On Mac Mini PowerPC OSX 10.5.8 and xcode314_2809, sudo port install texlive-bin fails with the message :info:build configure: error: Sorry, can not preprocess <lj_arch.h> :info:build === configuring in luajit failed :info:build make[2]: *** [recurse] Error 1 (full main.log attached) My diagnosis: luajit is not available for PowerPC+OSX10.5.8 (xcode3.1.4) and luajittex should be disabled according to: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751150 http://comments.gmane.org/gmane.comp.tex.texlive.build/2371 1. Here is a fix: Edit the texlive-bin Portfile 122023 2014-07-13 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/tex /texlive-bin/Portfile Change line 172 from: --enable-build-in-source-tree to these two lines as 172 and 173: --enable-build-in-source-tree \ --disable-luajittex Save and rerun sudo port install texlive-bin This now runs to completion. 2. Request: is there a way to pass the flag --disable-luajittex in from the "port build" command line? I tried a few variants but no luck. An exact example with the correct ' " and \ would be appreciated. 3. Can the Portfile be changed so that if -arch ppc is present then --disable-luajittex is also present? That would probably help others. -- Ticket URL: <https://trac.macports.org/ticket/44340> MacPorts <http://www.macports.org/> Ports system for OS X
#44340: texlive-bin @2014 Configure error "-arch ppc" needs "--disable-luajittex" -----------------------------+---------------------- Reporter: stressfields@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: texlive-bin | -----------------------------+---------------------- Changes (by mf2k@…): * owner: macports-tickets@… => dports@… * keywords: --disable-luajittex => Old description:
On Mac Mini PowerPC OSX 10.5.8 and xcode314_2809,
sudo port install texlive-bin
fails with the message
:info:build configure: error: Sorry, can not preprocess <lj_arch.h>
:info:build === configuring in luajit failed
:info:build make[2]: *** [recurse] Error 1
(full main.log attached)
My diagnosis: luajit is not available for PowerPC+OSX10.5.8 (xcode3.1.4) and luajittex should be disabled according to: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751150 http://comments.gmane.org/gmane.comp.tex.texlive.build/2371
1. Here is a fix: Edit the texlive-bin Portfile 122023 2014-07-13 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/tex /texlive-bin/Portfile
Change line 172 from:
--enable-build-in-source-tree
to these two lines as 172 and 173:
--enable-build-in-source-tree \
--disable-luajittex
Save and rerun sudo port install texlive-bin This now runs to completion.
2. Request: is there a way to pass the flag --disable-luajittex in from the "port build" command line? I tried a few variants but no luck. An exact example with the correct ' " and \ would be appreciated.
3. Can the Portfile be changed so that if -arch ppc is present then --disable-luajittex is also present? That would probably help others.
New description: On Mac Mini PowerPC OSX 10.5.8 and xcode314_2809, {{{ sudo port install texlive-bin }}} fails with the message {{{ :info:build configure: error: Sorry, can not preprocess <lj_arch.h> :info:build === configuring in luajit failed :info:build make[2]: *** [recurse] Error 1 }}} (full main.log attached) My diagnosis: luajit is not available for PowerPC+OSX10.5.8 (xcode3.1.4) and luajittex should be disabled according to: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751150 http://comments.gmane.org/gmane.comp.tex.texlive.build/2371 1. Here is a fix: Edit the texlive-bin Portfile 122023 2014-07-13 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/tex /texlive-bin/Portfile Change line 172 from: {{{ --enable-build-in-source-tree }}} to these two lines as 172 and 173: {{{ --enable-build-in-source-tree \ --disable-luajittex }}} Save and rerun sudo port install texlive-bin This now runs to completion. 2. Request: is there a way to pass the flag --disable-luajittex in from the "port build" command line? I tried a few variants but no luck. An exact example with the correct ' " and \ would be appreciated. 3. Can the Portfile be changed so that if -arch ppc is present then --disable-luajittex is also present? That would probably help others. -- Comment: In the future, please use WikiFormatting and Cc the port maintainers ({{{port info --maintainers texlive-bin}}}). -- Ticket URL: <https://trac.macports.org/ticket/44340#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44340: texlive-bin @2014 Configure error "-arch ppc" needs "--disable-luajittex" -----------------------------+---------------------- Reporter: stressfields@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: texlive-bin | -----------------------------+---------------------- Changes (by dports@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/44340#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44340: texlive-bin @2014 Configure error "-arch ppc" needs "--disable-luajittex" -----------------------------+---------------------- Reporter: stressfields@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: texlive-bin | -----------------------------+---------------------- Comment (by dports@…): Can you (or someone else with a ppc machine) try the attached patch? I don't have a ppc machine available anymore... -- Ticket URL: <https://trac.macports.org/ticket/44340#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44340: texlive-bin @2014 Configure error "-arch ppc" needs "--disable-luajittex" -----------------------------+---------------------- Reporter: stressfields@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: texlive-bin | -----------------------------+---------------------- Comment (by stressfields@…): Replying to [comment:3 dports@…]:
Can you (or someone else with a ppc machine) try the attached patch? I don't have a ppc machine available anymore... Yes I will be happy to try it. Sorry for the simple question, but now that I have it previously compiled and installed with my old fix, how do I force port to recompile the new version after I apply the patch to Portfile?
-- Ticket URL: <https://trac.macports.org/ticket/44340#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44340: texlive-bin @2014 Configure error "-arch ppc" needs "--disable-luajittex" -----------------------------+---------------------- Reporter: stressfields@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: texlive-bin | -----------------------------+---------------------- Comment (by mojca@…): See also http://www.freelists.org/post/luajit/LuaJIT-on-PowerPC-Macs,1 -- Ticket URL: <https://trac.macports.org/ticket/44340#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#44340: texlive-bin @2014 Configure error "-arch ppc" needs "--disable-luajittex" -----------------------------+---------------------- Reporter: stressfields@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: texlive-bin | -----------------------------+---------------------- Comment (by dgonyier@…): Replying to [comment:4 stressfields@…]:
Replying to [comment:3 dports@…]:
Can you (or someone else with a ppc machine) try the attached patch? I don't have a ppc machine available anymore... Yes I will be happy to try it. Sorry for the simple question, but now that I have it previously compiled and installed with my old fix, how do I force port to recompile the new version after I apply the patch to Portfile?
I tried the patch to Portfile on a PowerBook G4 running 10.5.8 and the build still fails. I attached after_patch_main.log to this ticket. -- Ticket URL: <https://trac.macports.org/ticket/44340#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts