[MacPorts] #49148: libjpeg-turbo fails to build on OS X 10.11 (El Capitan)
#49148: libjpeg-turbo fails to build on OS X 10.11 (El Capitan) --------------------------+-------------------------------- Reporter: mytix.mail@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: elcapitan | Port: libjpeg-turbo --------------------------+-------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/49148> MacPorts <https://www.macports.org/> Ports system for OS X
#49148: libjpeg-turbo: fatal: No section for index 2 offset 0 found ----------------------------+-------------------------------- Reporter: mytix.mail@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: libjpeg-turbo | ----------------------------+-------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/49148#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49148: libjpeg-turbo: fatal: No section for index 2 offset 0 found ----------------------------+-------------------------------- Reporter: mytix.mail@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: libjpeg-turbo | ----------------------------+-------------------------------- Comment (by mytix.mail@…): Apparently it's a problem with NASM: https://gist.github.com/FiloSottile/7125822 -- Ticket URL: <https://trac.macports.org/ticket/49148#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49148: libjpeg-turbo: fatal: No section for index 2 offset 0 found ----------------------------+-------------------------------- Reporter: mytix.mail@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: libjpeg-turbo | ----------------------------+-------------------------------- Comment (by mytix.mail@…): Does anyone know how to upgrade to the latest version? Portfile: https://svn.macports.org/repository/macports/trunk/dports/graphics /libjpeg-turbo/Portfile Latest libjpeg-turbo version: http://sourceforge.net/projects/libjpeg-turbo/files/1.4.2/ -- Ticket URL: <https://trac.macports.org/ticket/49148#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49148: libjpeg-turbo: fatal: No section for index 2 offset 0 found ----------------------------+-------------------------------- Reporter: mytix.mail@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: libjpeg-turbo | ----------------------------+-------------------------------- Comment (by mytix.mail@…): The problem is that libjpeg-turbo is not compatible with NASM 2.11.08. It will work with older or newer versions (https://github.com/libjpeg-turbo /libjpeg-turbo/blob/master/BUILDING.md). The solution is to downgrade NASM port to 2.11.06 (instructions: https://trac.macports.org/wiki/howto/InstallingOlderPort): svn checkout -r 137573 https://svn.macports.org/repository/macports/trunk/dports/lang/nasm cd nasm/ sudo port install And now: sudo port install libjpeg-turbo -- Ticket URL: <https://trac.macports.org/ticket/49148#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49148: libjpeg-turbo @1.4.0: cannot build x86_64 SIMD extensions with nasm @2.11.08 ----------------------------+-------------------------------- Reporter: mytix.mail@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: x86_64 Port: libjpeg-turbo | ----------------------------+-------------------------------- Changes (by larryv@…): * cc: larryv@…, mfeiri@… (added) * keywords: elcapitan => x86_64 Comment: Stickier link to problem description: https://github.com/libjpeg-turbo/libjpeg-turbo/blob/1.4.2/BUILDING.txt#L21 I think the best solution would be to upgrade nasm to [http://www.nasm.us/pub/nasm/releasebuilds/2.11.09rc1 2.11.09rc1]. If Michael is not comfortable with that, we could just disable the x86_64 SIMD extensions until NASM 2.11.09 stable is released. -- Ticket URL: <https://trac.macports.org/ticket/49148#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#49148: libjpeg-turbo @1.4.0: cannot build x86_64 SIMD extensions with nasm @2.11.08 ----------------------------+-------------------------------- Reporter: mytix.mail@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: x86_64 Port: libjpeg-turbo | ----------------------------+-------------------------------- Comment (by mfeiri@…): nasm 2.11.09 was never tagged/released, but version 2.12 is now available and was added to macports in r146354 -- Ticket URL: <https://trac.macports.org/ticket/49148#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#49148: libjpeg-turbo @1.4.0: cannot build x86_64 SIMD extensions with nasm @2.11.08 ----------------------------+-------------------------------- Reporter: mytix.mail@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: x86_64 Port: libjpeg-turbo | ----------------------------+-------------------------------- Changes (by larryv@…): * status: new => closed * resolution: => fixed Comment: With `nasm` at 2.12 and `libjpeg-turbo` at 1.5.0 (r149432), this shouldn’t be a problem anymore. -- Ticket URL: <https://trac.macports.org/ticket/49148#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts