[MacPorts] #20062: igraph 0.5.1 build failing
#20062: igraph 0.5.1 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: igraph | Port: igraph ------------------------------------+--------------------------------------- So I've been trying to get igraph to build through macports but there seems to be something wrong. I get the message below. I don't really know what it means but it seems someone had similar trouble installing ffmpegx. Tickets 16156 and 16157 i think. Any help would be welcome! Alex Susemihl. PS: the whole log from ports is attached {{{ ld: absolute addressing (perhaps -mdynamic-no-pic) used in ___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs }}} -- Ticket URL: <http://trac.macports.org/ticket/20062> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.1 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: igraph | Port: igraph ------------------------------------+--------------------------------------- Comment(by alexsusemihl@…): Replying to [ticket:20062 alexsusemihl@…]:
So I've been trying to get igraph to build through macports but there seems to be something wrong. I get the message below. I don't really know what it means but it seems someone had similar trouble installing ffmpegx. Tickets 16156 and 16157 i think. Any help would be welcome!
Alex Susemihl.
PS: the whole log from ports is attached {{{ ld: absolute addressing (perhaps -mdynamic-no-pic) used in ___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs }}}
I forgot to add: I'm using mac os 10.5.7. -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.1 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Changes (by macsforever2000@…): * keywords: igraph => * owner: macports-tickets@… => snc@… -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.1 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Changes (by snc@…): * status: new => assigned Old description:
So I've been trying to get igraph to build through macports but there seems to be something wrong. I get the message below. I don't really know what it means but it seems someone had similar trouble installing ffmpegx. Tickets 16156 and 16157 i think. Any help would be welcome!
Alex Susemihl.
PS: the whole log from ports is attached {{{ ld: absolute addressing (perhaps -mdynamic-no-pic) used in ___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs }}}
New description: So I've been trying to get igraph to build through macports but there seems to be something wrong. I get the message below. I don't really know what it means but it seems someone had similar trouble installing ffmpegx. Tickets #16156 and #16157 i think. Any help would be welcome! Alex Susemihl. PS: the whole log from ports is attached {{{ ld: absolute addressing (perhaps -mdynamic-no-pic) used in ___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs }}} -- -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.1 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Comment(by snc@…): Are you attempting to use igraph 0.5.1? The current version in MacPorts is 0.5.2 (has been for about 3 weeks). Can you run these commands let me know if the current version fails as well: sudo port clean igraph sudo port selfupdate sudo port install igraph Thanks -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.1 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Comment(by snc@…): You might also consider running `port outdated`to see what other packages you have that are out-of-date. -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.1 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Comment(by alexsusemihl@…): Replying to [comment:5 snc@…]:
You might also consider running `port outdated`to see what other packages you have that are out-of-date. Yes, I was weirdly building the wrong version and there were some things outdated, but i corrected both issues and somehow keep getting the same message! I cleaned igraph, selfupdated and upgraded freetype, readline, gettext and some others, but it still doesnt build, giving me the same error!
-- Ticket URL: <http://trac.macports.org/ticket/20062#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.2 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Comment(by snc@…): Do you have the latest xcode installed? What architecture are you building upon? Also, can you clean igraph again and send me the results of: port patch igraph port -v build igraph Thanks! -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.2 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Comment(by alexsusemihl@…): Replying to [comment:7 snc@…]:
Do you have the latest xcode installed? What architecture are you building upon?
Also, can you clean igraph again and send me the results of: port patch igraph port -v build igraph
Thanks!
Yes, I couldn't find what the latest version of xcode is, but software update doesnt find a more recent one. I've got version 3.1.2. port patch igraph runs with no further problems, and then building gives the same errors. The last few lines are {{{ ld: absolute addressing (perhaps -mdynamic-no-pic) used in ___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs collect2: ld returned 1 exit status make[3]: *** [libigraph.la] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for igraph): org.macports.build Error: Status 1 encountered during processing. }}} Do you want me to attach the whole output? I could build it again then! Thanks for the attention man! alex. -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.2 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Comment(by alexsusemihl@…): My architecture is i386. I'm on an 2.4ghz intel core 2 duo with 2 gb ram! Alex. -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.2 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Comment(by snc@…): Replying to [comment:8 alexsusemihl@…]:
Do you want me to attach the whole output? I could build it again then!
Yes I was hoping to get the whole output from the configure and build phases. You can find out what version of xcode you're running by `xcodebuild -version`: {{{ Xcode 3.1.3 Component versions: DevToolsCore-1192.0; DevToolsSupport-1186.0 BuildVersion: 9M2736 }}} -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.2 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Comment(by alexsusemihl@…): I've got the vrsion 3.1.2: {{{ Xcode 3.1.2 Component versions: DevToolsCore-1148.0; DevToolsSupport-1102.0 BuildVersion: 9M2621 }}} I'll build igraph again. And then you'll get the whole picture! Should I try to find some way of updating xcode to 3.1.3? Thanks. -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.2 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Comment(by snc@…): Replying to [comment:11 alexsusemihl@…]:
Should I try to find some way of updating xcode to 3.1.3?
Yes, it's available [http://developer.apple.com/technology/xcode.html at apple's site]. -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.2 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Comment(by alexsusemihl@…): Ok, so the output is in the attached file out.txt, not ouput.txt! Thanks, I'm downloading the latest xcode, lets see! Alex. -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.2 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Comment(by snc@…): Replying to [comment:13 alexsusemihl@…]:
Ok, so the output is in the attached file out.txt, not ouput.txt!
Thanks, I'll start going through it. Replying to [comment:13 alexsusemihl@…]:
Thanks, I'm downloading the latest xcode, lets see!
Awesome. Remember to do a clean before you build it again. If upgrading xcode is all it takes to fix it I'll need to know so I can tell the port to require a minimum version of xcode. -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.2 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Comment(by alexsusemihl@…): Well, i tried to build igraph on my friends macbook, also running xcode 3.1.2, and it worked without any problems so that doesnt seem to be the problem. I'm still downloading the new version but I'm not counting on this to work anymore! If there are any new ideas, i'd be glad! Thanks, Alex. -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.2 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Comment(by alexsusemihl@…): I got it to build!! Apparently, there is some sort of hidden dependence on the gmp port. A friend of mine noticed that the libgmp.a file was being wrongfully linked. So i looked for my libgmp, noticed i didnt have that port installed. After i installed it, everything went fine! So, problem solved. Thanks for the attention anyways! Alex. -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.2 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Comment(by snc@…): Awesome on locating the gmp dependency. This is important to know, however and I should add it to the portfile. -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.2 build failing ------------------------------------+--------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: igraph ------------------------------------+--------------------------------------- Comment(by snc@…): I added the gmp dependency in r53185. Does that appear to be the only dependency you see missing? -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20062: igraph 0.5.2 build failing -------------------------------------+-------------------------------------- Reporter: alexsusemihl@… | Owner: snc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: igraph | -------------------------------------+-------------------------------------- Changes (by snc@…): * status: assigned => closed * resolution: => fixed -- Ticket URL: <http://trac.macports.org/ticket/20062#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts