[MacPorts] #52369: pypy tries to link to librt
#52369: pypy tries to link to librt -------------------------------+-------------------------------- Reporter: stefan+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: -------------------------------+-------------------------------- Trying to build pypy (on macOS sierra, maybe part of the problem) results in a build error while linking: {{{ :info:build ld: library not found for -lrt :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make: *** [libpypy-c.dylib] Error 1 :info:build [4b3c2] translation-task} }}} Apparently, on macOS this library should not be linked to because the timing functions are mostly available in libSystem. -- Ticket URL: <https://trac.macports.org/ticket/52369> MacPorts <https://www.macports.org/> Ports system for macOS
#52369: pypy tries to link to librt --------------------------------+------------------- Reporter: stefan+macports@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: pypy | --------------------------------+------------------- Changes (by larryv@…): * owner: macports-tickets@… => jmr@… * version: 2.3.4 => * port: => pypy Comment: In future tickets, please Cc any port maintainers (`port info --maintainers pypy`). -- Ticket URL: <https://trac.macports.org/ticket/52369#comment:1> MacPorts <https://www.macports.org/> Ports system for macOS
#52369: pypy tries to link to librt --------------------------------+------------------- Reporter: stefan+macports@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: pypy | --------------------------------+------------------- Comment (by mmoll@…): I have attached a proposed fix for this problem. -- Ticket URL: <https://trac.macports.org/ticket/52369#comment:3> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52369: pypy tries to link to librt --------------------------------+---------------------- Reporter: stefan+macports@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: pypy | --------------------------------+---------------------- Changes (by mmoll@…): * keywords: => haspatch -- Ticket URL: <https://trac.macports.org/ticket/52369#comment:4> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52369: pypy tries to link to librt --------------------------------+---------------------- Reporter: stefan+macports@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: pypy | --------------------------------+---------------------- Comment (by sean@…): Wow, I wrote the same patch and was in the middle of compiling pypy to test it. I'll defer to yours, mmoll. (have many other fish to fry) -- Ticket URL: <https://trac.macports.org/ticket/52369#comment:5> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52369: pypy tries to link to librt --------------------------------+---------------------- Reporter: stefan+macports@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: pypy | --------------------------------+---------------------- Changes (by mmoll@…): * status: new => closed * resolution: => fixed Comment: Fixed in r153316. -- Ticket URL: <https://trac.macports.org/ticket/52369#comment:6> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52369: pypy tries to link to librt --------------------------------+---------------------- Reporter: stefan+macports@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: pypy | --------------------------------+---------------------- Comment (by jmr@…): Thanks. Has this been reported upstream? -- Ticket URL: <https://trac.macports.org/ticket/52369#comment:7> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52369: pypy tries to link to librt --------------------------------+---------------------- Reporter: stefan+macports@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: pypy | --------------------------------+---------------------- Comment (by mmoll@…): I added a reference to the patch in an existing bug report: https://bitbucket.org/pypy/pypy/issues/2407/pypy-541-fails-to-build-on- macos-sierra -- Ticket URL: <https://trac.macports.org/ticket/52369#comment:8> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts