Opened 10 months ago
Last modified 9 months ago
#69199 assigned defect
py27-numpy selects ppc instead of i386
Reported by: | rmottola (Riccardo) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | leopard | Cc: | |
Port: | py27-numpy |
Description
I am on 10.5 i386
---> Computing dependencies for py27-numpy. Error: Cannot install py27-numpy for the arch 'ppc' because Error: its dependency py27-cython-compat does not build for the required arch by default Error: and the configured universal_archs 'i386 x86_64' are not sufficient. Error: rev-upgrade failed: Error rebuilding py27-numpy Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
This system is 32bit only and not set to universal and it past it installed fine:
The following ports are currently installed: py27-numpy @1.15.4_0+gfortran py27-numpy @1.16.2_1+gfortran+openblas py27-numpy @1.16.3_0+gfortran+openblas py27-numpy @1.16.4_0+gfortran+openblas py27-numpy @1.16.6_0+gfortran+openblas py27-numpy @1.16.6_2+gfortran+openblas py27-numpy @1.16.6_3+gfortran+openblas (active)
I checket the portfile and see there is some magic for architecture setting, but specific to atlas variant, which i am not enabling.
I see really a lot of open bugs on numpy and issues with architecture, but no exact duplicate.
Change History (5)
comment:1 Changed 10 months ago by jmroot (Joshua Root)
comment:2 Changed 10 months ago by jmroot (Joshua Root)
It might be better to just not offer the openblas variant when build_arch is i386?
comment:3 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)
I thought making variants that are sometimes there and sometimes not was problematic for the buildbot mirroring system.
comment:4 Changed 10 months ago by jmroot (Joshua Root)
Can you remind me what problem we saw with that? Seems like it would be OK for variants that don't add any distfiles.
comment:5 Changed 9 months ago by rmottola (Riccardo)
@jmroot
This bug is on 10.5 i386, just encountered it again with 1.16.6_4
Re-reading the issue, is it actually an issue on py27-cython-compat? Of cython I have a lot of installed versions:
$ port installed | grep cython | grep active cython_select @0.1_2 (active) py27-cython @3.0.8_0 (active) py27-cython-compat @0.29.37_0 (active) py38-cython @3.0.8_0 (active) py39-cython @3.0.8_0 (active) py310-cython @3.0.8_0 (active) py311-cython @3.0.8_0 (active)
only one is specifically py27-cython-compat.
openblas variant:
Your build_arch is not supported so it falls back to ppc.