[MacPorts] #48048: py27-horton @2.0.0 Newport portfile problem
#48048: py27-horton @2.0.0 Newport portfile problem -----------------------+-------------------------------- Reporter: yangx59@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: -----------------------+-------------------------------- I am trying to make a portfile for our group's python package. In depends_lib-append section, I port:gcc49 and port:atlas both. But the situation is macport always port atlas first and then gcc49 no matter which one write first. Is there anyway I can change the default sequence. The portfile is attached in the attachment. -- Ticket URL: <https://trac.macports.org/ticket/48048> MacPorts <https://www.macports.org/> Ports system for OS X
#48048: py27-horton @2.0.0 Newport portfile problem ------------------------+-------------------------------- Reporter: yangx59@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | ------------------------+-------------------------------- Comment (by yangx59@…): ---> Dependencies to be installed: atlas gcc49 ---> Configuring atlas Selected C compiler: /usr/bin/clang Error: org.macports.configure for port atlas returned: Atlas could not detect any fortran compiler. If you really don’t need the fortran interface to be built, please use the +nofortran option, else install a fortran compiler (e.g. gcc4X) before building Atlas. Error: Failed to install atlas -- Ticket URL: <https://trac.macports.org/ticket/48048#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48048: py27-horton @2.0.0 Newport portfile problem -------------------------+-------------------------------- Reporter: yangx59@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-horton | -------------------------+-------------------------------- Changes (by mf2k@…): * version: 2.3.3 => * type: defect => submission * port: => py-horton Comment: Quick comment: - Use the compilers portgroup (which you correctly include) instead of forcing the use of gcc49 for FORTRAN compiling. See the sparskit port for an example of how to use it. -- Ticket URL: <https://trac.macports.org/ticket/48048#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48048: py27-horton @2.0.0 Newport portfile problem -------------------------+-------------------------------- Reporter: yangx59@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-horton | -------------------------+-------------------------------- Comment (by yangx59@…): Replying to [comment:2 mf2k@…]:
Quick comment: - Use the compilers portgroup (which you correctly include) instead of forcing the use of gcc49 for FORTRAN compiling. See the sparskit port for an example of how to use it.
Thank you for your guidance and I tried but the problem still exits. Fortran is needed to compile Atlas (one of the dependency) rather than this horton package. Then I tried to just sudo port install atlas on my brand-new virtual machine Mac10.10. Still the same problem without Fortran compiler. So could please help me figure this out? I am a sort of novice for macport. -- Ticket URL: <https://trac.macports.org/ticket/48048#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48048: py27-horton @2.0.0 Newport portfile problem -------------------------+-------------------------------- Reporter: yangx59@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-horton | -------------------------+-------------------------------- Comment (by mf2k@…): Then it is an atlas issue, so just remove the dependency on gcc49 entirely. The atlas dependency should cover it. -- Ticket URL: <https://trac.macports.org/ticket/48048#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48048: py27-horton @2.0.0 Newport portfile problem -------------------------+-------------------------------- Reporter: yangx59@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-horton | -------------------------+-------------------------------- Comment (by yangx59@…): Replying to [comment:4 mf2k@…]:
Then it is an atlas issue, so just remove the dependency on gcc49 entirely. The atlas dependency should cover it.
Thank you for your reply. I removed it but i am not sure whether atlas covers gcc or other compilers. On my own laptop test, it still goes wrong. So, I thought the viable way right now is to ask user to install gcc compiler first and then use macport to install this portfile. Is this OK or should I do some other tweak to this portfile. Just remove the compilers group and gcc part. -- Ticket URL: <https://trac.macports.org/ticket/48048#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#48048: py27-horton @2.0.0 Newport portfile problem -------------------------+-------------------------------- Reporter: yangx59@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-horton | -------------------------+-------------------------------- Comment (by yangx59@…): Replying to [comment:5 yangx59@…]:
Replying to [comment:4 mf2k@…]:
Then it is an atlas issue, so just remove the dependency on gcc49 entirely. The atlas dependency should cover it.
Thank you for your reply. I removed it but i am not sure whether atlas covers gcc or other compilers. On my own laptop test, it still goes wrong. So, I thought the viable way right now is to ask user to install gcc compiler first and then use macport to install this portfile. Is this OK or should I do some other tweak to this portfile.
Just remove the compilers group and gcc part.
Just update the latest portfile. But I still have no clue how to tackle atlas problem. -- Ticket URL: <https://trac.macports.org/ticket/48048#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#48048: py27-horton @2.0.0 Newport portfile problem -------------------------+-------------------------------- Reporter: yangx59@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-horton | -------------------------+-------------------------------- Comment (by khindenburg@…): I have a working Portfile that appears to build/install this correctly. {{{ pre-build { # system -W ${worksrcpath}/data/refatoms "make all" file copy ${worksrcpath}/data/setup_cfgs/setup.Darwin-macport- x86_64.cfg ${worksrcpath}/setup.cfg reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/data/setup_cfgs/setup.Darwin-10.10.3-x86_64.cfg } }}} 1. I had to comment out the "make all" 2. The 10.10.3 is going to be needed to be computed so it works on other systems. -- Ticket URL: <https://trac.macports.org/ticket/48048#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#48048: py27-horton @2.0.0 Newport portfile problem -------------------------+-------------------------------- Reporter: yangx59@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-horton | -------------------------+-------------------------------- Comment (by yangx59@…): Replying to [comment:8 khindenburg@…]:
I have a working Portfile that appears to build/install this correctly.
{{{ pre-build { # system -W ${worksrcpath}/data/refatoms "make all" file copy ${worksrcpath}/data/setup_cfgs/setup.Darwin-macport- x86_64.cfg ${worksrcpath}/setup.cfg reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/data/setup_cfgs/setup.Darwin-10.10.3-x86_64.cfg } }}}
1. I had to comment out the "make all" 2. The 10.10.3 is going to be needed to be computed so it works on other
systems. I tried, it doesn't matter as the cfg file is the same for darwin system. Those name differences is only for manual installation. -- Ticket URL: <https://trac.macports.org/ticket/48048#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#48048: py27-horton @2.0.0 Newport portfile problem -------------------------+-------------------------------- Reporter: yangx59@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: duplicate | Keywords: Port: py-horton | -------------------------+-------------------------------- Changes (by petr@…): * status: new => closed * resolution: => duplicate Comment: Duplicated several times. Keeping the latest #48413 and closing all others! -- Ticket URL: <https://trac.macports.org/ticket/48048#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts