[MacPorts] #40182: Atlas wrong param dynamicliblib
#40182: Atlas wrong param dynamicliblib ---------------------------+-------------------------------- Reporter: alex.caldas@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: ---------------------------+-------------------------------- Hi. Trying to install the atlas using the macports i receive the error {{{ info:build cd RCW_tMp ; /opt/local/bin/clang-mp-3.3 -O3 -fomit-frame- pointer -fPIC -march=native -mavx -dynamicliblib -o ../libsatlas.dylib \ :info:build -install_name /opt/local/lib/libsatlas.dylib -current_version 3.10.1 \ :info:build -compatibility_version 3.10.1 *.o -lpthread -lm /opt/local/lib/gcc48/libgfortran.dylib :info:build clang: error: invalid argument '-compatibility_version 3.10.1' only allowed with '-dynamiclib' :info:build make[1]: *** [dylib] Error 1 :info:build make: *** [shared_all] Error 2 :info:build Command failed: /usr/bin/make shared_all }}} As you can see the parameter is dynamicliblib and not dynamiclib -- Ticket URL: <https://trac.macports.org/ticket/40182> MacPorts <http://www.macports.org/> Ports system for OS X
#40182: Atlas wrong param dynamicliblib ----------------------------+--------------------- Reporter: alex.caldas@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: atlas | ----------------------------+--------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => vince@… * port: => atlas -- Ticket URL: <https://trac.macports.org/ticket/40182#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40182: atlas: wrong param -dynamicliblib ----------------------------+---------------------- Reporter: alex.caldas@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: haspatch Port: atlas | ----------------------------+---------------------- Changes (by ryandesign@…): * cc: ryandesign@…, sean@… (added) * keywords: => haspatch Comment: I think this happened because you interrupted the build (or the build ended with an error), then [http://guide.macports.org/chunked/project.html#project.tickets.prerequisites tried again without cleaning]? It's impossible to know because you didn't attach the main.log file. Sean committed a change in r113780 that I think was meant to address this, but I don't think it was correct. I think a better fix would be to remove the reinplaces and use a normal patchfile to fix these bugs in makes/Make.lib directly. The attached patch is untested because atlas takes so long to build. -- Ticket URL: <https://trac.macports.org/ticket/40182#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40182: atlas: wrong param -dynamicliblib ----------------------------+---------------------- Reporter: alex.caldas@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: haspatch Port: atlas | ----------------------------+---------------------- Comment (by sean@…): Replying to [comment:2 ryandesign@…]:
I think this happened because you interrupted the build (or the build ended with an error), then [http://guide.macports.org/chunked/project.html#project.tickets.prerequisites tried again without cleaning]? It's impossible to know because you didn't attach the main.log file.
Sean committed a change in r113780 that I think was meant to address this, but I don't think it was correct. I think a better fix would be to remove the reinplaces and use a normal patchfile to fix these bugs in makes/Make.lib directly. The attached patch is untested because atlas takes so long to build.
I fixed my broken attempt in r113831. The patch file is probably better since it could be used to clean up the portfile but I'll defer to Vince on that one. -- Ticket URL: <https://trac.macports.org/ticket/40182#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40182: atlas: wrong param -dynamicliblib ----------------------------+---------------------- Reporter: alex.caldas@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: haspatch Port: atlas | ----------------------------+---------------------- Comment (by vince@…): Sorry, I was really swamped up to now. I'm going to have a look at that, and catch up with other tickets too. -- Ticket URL: <https://trac.macports.org/ticket/40182#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40182: atlas: wrong param -dynamicliblib ----------------------------+---------------------- Reporter: alex.caldas@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: haspatch Port: atlas | ----------------------------+---------------------- Comment (by vince@…): I have committed the new patch file and the according modifications to the Portfile in r114017. I hope it works -- Ticket URL: <https://trac.macports.org/ticket/40182#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40182: atlas: wrong param -dynamicliblib ----------------------------+---------------------- Reporter: alex.caldas@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: haspatch Port: atlas | ----------------------------+---------------------- Comment (by ryandesign@…): Thanks. Don't forget to send the patch to the developer too, so they can include it in the next version. -- Ticket URL: <https://trac.macports.org/ticket/40182#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts