Opened 6 years ago

Closed 5 years ago

#57446 closed defect (fixed)

compilers portgroup changes port version

Reported by: michaellass (Michael Lass) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: michaelld (Michael Dickens), seanfarley (Sean Farley), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: SuiteSparse

Description

I'm not sure if this is a bug (either in the Portfile or in macports-base) or if I just overlook something, so take it as a quesions for now.

I currently have the following ports installed:

  SuiteSparse_AMD @7.0_0 (active) platform='darwin 18' archs='x86_64' date='2018-10-22T13:25:38+0200'
  SuiteSparse_CAMD @7.0_0 (active) platform='darwin 18' archs='x86_64' date='2018-10-22T13:25:38+0200'
  SuiteSparse_CCOLAMD @7.0_0 (active) platform='darwin 18' archs='x86_64' date='2018-10-22T13:25:39+0200'
  SuiteSparse_CHOLMOD @7.0_0+openblas (active) platform='darwin 18' archs='x86_64' date='2018-10-22T13:26:18+0200'
  SuiteSparse_COLAMD @7.0_0 (active) platform='darwin 18' archs='x86_64' date='2018-10-22T13:25:39+0200'
  SuiteSparse_config @7.0_0 (active) platform='darwin 18' archs='x86_64' date='2018-10-22T13:25:37+0200'
  SuiteSparse_SPQR @7.0_0+openblas (active) platform='darwin 18' archs='x86_64' date='2018-10-22T13:27:36+0200'
  SuiteSparse_UMFPACK @7.0_0+openblas (active) platform='darwin 18' archs='x86_64' date='2018-10-22T13:27:07+0200'

Right now, macports wants to downgrade all of these to version 6.0_0. Looking for a reason, I couldn't find one. The SuiteSparse Portfile wasn't modified since August and the version number for all of these subports are totally different in the Portfile (e.g. 2.4.6 for SuiteSparse_AMD).

So where are these versions (7.0 --> 6.0) actually coming from? Does macports have issues with handling different versions for different subports?

Change History (5)

comment:1 Changed 6 years ago by jmroot (Joshua Root)

Cc: seanfarley added
Summary: SuiteSparse @5.3.0: subport versions not comprehensiblecompilers portgroup changes port version

This problem was introduced in the compilers portgroup in [e808df46c400b4cdb41a2eff6d2fb811ba4d3547/macports-ports].

comment:2 Changed 6 years ago by jmroot (Joshua Root)

Fortunately this only affects ports that don't set their version after including the compilers portgroup, and SuiteSparse's subports seem to be the only ones. They will all need an epoch bump next time they are updated.

comment:3 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:4 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

There is a pull request that attempts to solve this problem.

comment:5 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Owner: set to MarcusCalhoun-Lopez
Resolution: fixed
Status: newclosed

In d30c8632904e54e1a8d4c3f2f073a14fa968ccd7/macports-ports (master):

compilers PG: do not modify MacPorts variables

Increase epoch of SuiteSparse subports since versions are incorrect.
Fixes #57446

Note: See TracTickets for help on using tickets.