[MacPorts] #22571: py-numpy-1.3.0 build script looks for "f2py", should look for f2py2.4
#22571: py-numpy-1.3.0 build script looks for "f2py", should look for f2py2.4 ------------------------------+--------------------------------------------- Reporter: tolkan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: ------------------------------+--------------------------------------------- Somehow the filename of the f2py binary that comes with py-numpy had been renamed to f2py2.4. The build script does not reflect this. banshee:~ tolkan$ sudo port install py-numpy ---> Computing dependencies for py-numpy ---> Staging py-numpy into destroot Error: Target org.macports.destroot returned: error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-numpy/work/destroot/opt/local/bin/f2py": no such file or directory Error: Status 1 encountered during processing. banshee:~ tolkan$ ls /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-numpy/work/destroot/opt/local/bin/f2py ls: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-numpy/work/destroot/opt/local/bin/f2py: No such file or directory banshee:~ tolkan$ ls /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-numpy/work/destroot/opt/local/bin/ f2py2.4 -- Ticket URL: <http://trac.macports.org/ticket/22571> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22571: py-numpy-1.3.0 build script looks for "f2py", should look for f2py2.4 ------------------------------+--------------------------------------------- Reporter: tolkan@… | Owner: dh@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: py-numpy ------------------------------+--------------------------------------------- Changes (by ram@…): * owner: macports-tickets@… => dh@… * port: => py-numpy Old description:
Somehow the filename of the f2py binary that comes with py-numpy had been renamed to f2py2.4. The build script does not reflect this.
banshee:~ tolkan$ sudo port install py-numpy ---> Computing dependencies for py-numpy ---> Staging py-numpy into destroot Error: Target org.macports.destroot returned: error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-numpy/work/destroot/opt/local/bin/f2py": no such file or directory Error: Status 1 encountered during processing. banshee:~ tolkan$ ls /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-numpy/work/destroot/opt/local/bin/f2py ls: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-numpy/work/destroot/opt/local/bin/f2py: No such file or directory banshee:~ tolkan$ ls /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-numpy/work/destroot/opt/local/bin/ f2py2.4
New description: Somehow the filename of the f2py binary that comes with py-numpy had been renamed to f2py2.4. The build script does not reflect this. {{{ banshee:~ tolkan$ sudo port install py-numpy ---> Computing dependencies for py-numpy ---> Staging py-numpy into destroot Error: Target org.macports.destroot returned: error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-numpy/work/destroot/opt/local/bin/f2py": no such file or directory Error: Status 1 encountered during processing. banshee:~ tolkan$ ls /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-numpy/work/destroot/opt/local/bin/f2py ls: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-numpy/work/destroot/opt/local/bin/f2py: No such file or directory banshee:~ tolkan$ ls /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-numpy/work/destroot/opt/local/bin/ f2py2.4 }}} -- Comment: please remember to use wiki formatting -- Ticket URL: <http://trac.macports.org/ticket/22571#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22571: py-numpy-1.3.0 build script looks for "f2py", should look for f2py2.4 ------------------------------+--------------------------------------------- Reporter: tolkan@… | Owner: dh@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: py-numpy ------------------------------+--------------------------------------------- Comment(by guillaume.salagnac@…): +1 -- Ticket URL: <http://trac.macports.org/ticket/22571#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22571: py-numpy-1.3.0 build script looks for "f2py", should look for f2py2.4 ------------------------------+--------------------------------------------- Reporter: tolkan@… | Owner: dh@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: py-numpy ------------------------------+--------------------------------------------- Comment(by dh@…): I presume you must be running 10.6 (Snow Leopard)? I believe this is probably a 10.6 specific problem. Unfortunately I'm currently travelling on business and won't be able to patch this until at least Dec 10th. Anyone else is welcome to commit a fix ... a suitable fix can be found in the py25-numpy portfile ... the post-destroot probably needs to change to ... {{{ post-destroot { if {${os.platform} == "darwin" && ${os.major} < 10} { move ${destroot}${prefix}/bin/f2py ${destroot}${prefix}/bin/f2py${python.branch} } } }}} -- Ticket URL: <http://trac.macports.org/ticket/22571#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22571: py-numpy-1.3.0 build script looks for "f2py", should look for f2py2.4 ------------------------------+--------------------------------------------- Reporter: tolkan@… | Owner: dh@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: py-numpy ------------------------------+--------------------------------------------- Comment(by christopherglong@…): Replying to [comment:5 dh@…]:
I presume you must be running 10.6 (Snow Leopard)? I believe this is probably a 10.6 specific problem.
Unfortunately I'm currently travelling on business and won't be able to patch this until at least Dec 10th. Anyone else is welcome to commit a fix ... a suitable fix can be found in the py25-numpy portfile ... the post-destroot probably needs to change to ...
{{{ post-destroot { if {${os.platform} == "darwin" && ${os.major} < 10} { move ${destroot}${prefix}/bin/f2py ${destroot}${prefix}/bin/f2py${python.branch} } }
}}}
Unfortunately, nobody has patched this port yet. Can you go ahead and do it? -- Ticket URL: <http://trac.macports.org/ticket/22571#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22571: py-numpy-1.3.0 build script looks for "f2py", should look for f2py2.4 -------------------------------+-------------------------------------------- Reporter: tolkan@… | Owner: dh@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: py-numpy | -------------------------------+-------------------------------------------- Changes (by dh@…): * status: new => closed * resolution: => fixed Comment: Fixed in r61998. Apologies for the delay. Thanks to christopherglong for testing it on 10.6 for me. -- Ticket URL: <http://trac.macports.org/ticket/22571#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts