[MacPorts] #52741: cpuid upgrade, should make it build again
#52741: cpuid upgrade, should make it build again ----------------------+-------------------------------- Reporter: RJVB | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch | Port: cpuid ----------------------+-------------------------------- The recent automatic(?)revision of port:cpuid didn't take the changes into account that I described in the "ports should use perl 5.24" ticket but couldn't apply because I don't have commit access. cpuid doesn't in practice depend on perl5 anymore (and probably since before it was committed). The attached patch drops the dependency and bumps the version. -- Ticket URL: <https://trac.macports.org/ticket/52741> MacPorts <https://www.macports.org/> Ports system for OS X
#52741: cpuid upgrade, should make it build again ---------------------+-------------------------------- Reporter: RJVB | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: cpuid | ---------------------+-------------------------------- Changes (by RJVB): * Attachment "cpuid.diff" added. -- Ticket URL: <https://trac.macports.org/ticket/52741> MacPorts <https://www.macports.org/> Ports system for OS X
#52741: cpuid upgrade, should make it build again ---------------------+-------------------------------- Reporter: RJVB | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: cpuid | ---------------------+-------------------------------- Changes (by mojca): * status: new => closed * resolution: => fixed Old description:
The recent automatic(?)revision of port:cpuid didn't take the changes into account that I described in the "ports should use perl 5.24" ticket but couldn't apply because I don't have commit access.
cpuid doesn't in practice depend on perl5 anymore (and probably since before it was committed).
The attached patch drops the dependency and bumps the version.
New description: The recent automatic(?)revision of port `cpuid` in r154381 didn't take the changes into account that I described in the [comment:13:ticket:52081 "ports should use perl 5.24" ticket] but couldn't apply because I don't have commit access. cpuid doesn't in practice depend on perl5 anymore (and probably since before it was committed). The attached patch drops the dependency and bumps the version. -- Comment: I'm sorry. I saw your comment long time ago, but it slipped me when I was going through the final hunt for any leftovers of `perl5.22` and your request to remove dependency made more sense than to rename them anyway. Thanks, the changes committed in r154436. -- Ticket URL: <https://trac.macports.org/ticket/52741#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#52741: cpuid upgrade, should make it build again ---------------------+-------------------------------- Reporter: RJVB | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: cpuid | ---------------------+-------------------------------- Changes (by RJVB): * status: closed => reopened * resolution: fixed => Comment: Well, apparently something still isn't right on 10.6, 32bit : {{{ ld: absolute addressing (perhaps -mdynamic-no-pic) used in _create_description from cache.o not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs }}} I have no idea where the `-fno-PIC` options come from I see in the log, but the GNUMakefile does specify -mdynamic-no-pic on OS X. I'm not on a Mac right now so cannot test if that option is required for normal operation (in 64bit). I'll attach an updated patchfile which implements the linker's suggestion to use `-read_only_relocs suppress`. IIRC that worked for me before in other similar situations, and is safe to use indiscriminately. -- Ticket URL: <https://trac.macports.org/ticket/52741#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#52741: cpuid upgrade, should make it build again ---------------------+-------------------------------- Reporter: RJVB | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: cpuid | ---------------------+-------------------------------- Changes (by RJVB): * Attachment "patch-makefile.diff" added. -- Ticket URL: <https://trac.macports.org/ticket/52741> MacPorts <https://www.macports.org/> Ports system for OS X
#52741: cpuid upgrade, should make it build again ---------------------+-------------------------------- Reporter: RJVB | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: cpuid | ---------------------+-------------------------------- Comment (by mojca): Whenever the patch is ready and tested, please tell me. I'm uncomfortable testing if you patch works as expected without having the slightest clue what the software does. -- Ticket URL: <https://trac.macports.org/ticket/52741#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#52741: cpuid upgrade, should make it build again ---------------------+-------------------------------- Reporter: RJVB | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: cpuid | ---------------------+-------------------------------- Comment (by RJVB): Well, the best I can do is a universal build on 10.9, or try without the dynamic_no_pic option under 64bit to see if it's even necessary. The software just prints out a list of what the cpu it runs on supports, a more human-readable version of `cat /proc/cpuinfo` on Linux. -- Ticket URL: <https://trac.macports.org/ticket/52741#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts