Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#47849 closed defect (fixed)

select-1.0: overwrites "name" portfile option

Reported by: zanderpower@… Owned by: lpsinger (Leo Singer)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: seanfarley (Sean Farley), mndavidoff (Monte Davidoff), cooljeanius (Eric Gallager)
Port: select-1.0

Description

Attempted to build with the variants +notebook+parallel+pyqt4+terminal.

py27-ipython with the same variants (and +scientific) builds fine. I tried building py34-ipython with py27-ipython deactivated and obtained the same result.

Attachments (1)

py34-ipython_log (1.1 MB) - added by zanderpower@… 4 years ago.

Download all attachments as: .zip

Change History (8)

Changed 4 years ago by zanderpower@…

Attachment: py34-ipython_log added

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Cc: aronnax@… removed
Keywords: powerpc leopard added; PPC ipython removed
Owner: changed from macports-tickets@… to aronnax@…
Port: py-ipython added; py34-ipython removed

comment:2 Changed 4 years ago by mndavidoff (Monte Davidoff)

I get the same error trying to install py34-ipython on Yosemite, so the problem is not specific to either PPC or Leopard. Note these lines in the py34-ipython_log attachment:

:info:destroot gzip: /mp2/local/var/macports/build/_mp2_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-ipython/py34-ipython/work/destroot/mp2/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/ipcluster.1: No such file or directory
:info:destroot Command failed: /usr/bin/gzip -9vf /mp2/local/var/macports/build/_mp2_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-ipython/py34-ipython/work/destroot/mp2/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/ipcluster.1

The py34-ipython port is trying to install files in the python27 framework instead of the python34 framework.

This problem does not seem to be specific to the py-ipython port either. I get similar errors with other py34-* ports.

$ port installed python27 python34
The following ports are currently installed:
  python27 @2.7.10_2 (active)
  python34 @3.4.3_4 (active)
$ port installed py{27,34}-nose
None of the specified ports are installed.
$ sudo port -vs install py34-nose
$ port contents py34-nose | fgrep 2.7
  /opt/local/bin/nosetests-2.7
  /opt/local/share/man/man1/nosetests2.7.1
$ port installed py{27,34}-sympy
None of the specified ports are installed.
$ sudo port -vs install py34-sympy
...
gzip: can't stat: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-sympy/py34-sympy/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/isympy.1 (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-sympy/py34-sympy/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/isympy.1): No such file or directory
Command failed: /usr/bin/gzip -9vf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-sympy/py34-sympy/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/isympy.1
...
$ port installed py{27,34}-cython
None of the specified ports are installed.
$ sudo port -vs install py34-cython 
$ port contents py34-cython | fgrep 2.7
  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/doc/cython/About.html
  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/doc/cython/FAQ.html
  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/doc/cython/INSTALL.txt
  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/doc/cython/README.txt
  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/doc/cython/ToDo.txt
  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/doc/cython/USAGE.txt
  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/doc/cython/extension_types.html
  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/doc/cython/index.html
  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/doc/cython/overview.html
  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/doc/cython/primes.c
  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/doc/cython/sharing.html
  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/doc/cython/special_methods.html

I suspect this problem is related to the changes for #34326.

comment:3 Changed 4 years ago by mndavidoff (Monte Davidoff)

Cc: md14-macports@… added

Cc Me!

comment:4 in reply to:  2 Changed 4 years ago by larryv (Lawrence Velázquez)

Keywords: powerpc leopard removed
Port: select-1.0 added; py-ipython removed
Resolution: fixed
Status: newclosed
Summary: py34-ipython fails in destroot stage on PPC Leopardselect-1.0: overwrites "name" portfile option

Replying to md14-macports@…:

I suspect this problem is related to the changes for #34326.

It is, but probably not in the way you expect.

r136794

comment:5 Changed 4 years ago by zanderpower@…

Apparently that solves it.

For a minute it looked like sheer magic, until I realized I did a "port selfupdate" automatically (and unconsciously) a few minutes before.

Thanks for your help.

comment:6 Changed 4 years ago by zanderpower@…

py34-sympy also builds and installs, as does py34-pip.

comment:17 Changed 4 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.