Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#60492 closed defect (fixed)

rev-upgrade: SuiteSparse_CHOLMOD fails to rebuild. (libstdc++/libc++ related?)

Reported by: iefdev (Eric F) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Lion Cc:
Port: SuiteSparse_CHOLMOD

Description

I've had e few (broken) ports that wants to be rebuilt. Haven't had the time to sit down with it. So, after uninstalling a few ports, and deactivating gimp2 (+related) which fails to upgrade - the number of broken ports was reduced to this one.

SuiteSparse_CHOLMOD: it runs into a rebuild loop and fails after 3 times. The output of the dry debug run says:

$  sudo port -d -y rev-upgrade
...
SuiteSparse_CHOLMOD is using libstdc++ (this installation is configured to use libc++)
...

I had a the fix for that in earlier versions of MacPorts, but that was removed later, right?

“As of version 2.6.0, MacPorts will use libc++ by default when building ports. You no longer need to make any changes on these OS versions.” — LibcxxOnOlderSystems#LionandMountainLion

Attachments (3)

d_y_rev-upgrade.txt (55.0 KB) - added by iEFdev 4 years ago.
dry_main.log_plus_output.txt (57.4 KB) - added by iEFdev 4 years ago.
20200516: dry run
non-dry_rev-upgrade.d.tar.xz (13.3 KB) - added by iEFdev 4 years ago.
20200516: non-dry run

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by iEFdev

Attachment: d_y_rev-upgrade.txt added

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

Is it failing to rebuild, or still showing the same incorrect linkage after rebuilding? If the former, please attach a non-dry-run log.

comment:2 in reply to:  1 Changed 4 years ago by iEFdev

Replying to jmroot:

Is it failing to rebuild, or still showing the same incorrect linkage after rebuilding? If the former, please attach a non-dry-run log.

Thanks Jim… Yes, still failing, after 3 attempts. I'll attach a number of logs. I re-did the dry run and combined both (log and output) in a textfil. Then I ran sudo port -d rev-upgrade which produced 2 logs + txtfile with the output.


The terminal output ends with:

...
...
--->  No broken files found.
SuiteSparse_CHOLMOD is using libstdc++ (this installation is configured to use libc++)
Error: Port SuiteSparse_CHOLMOD is still broken after rebuilding it more than 3 times.
DEBUG: rev-upgrade failed: Port SuiteSparse_CHOLMOD still broken after rebuilding 3 times
    while executing
"error "Port $portname still broken after rebuilding $rebuild_tries time${s}""
    (procedure "revupgrade_scanandrebuild" line 306)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    ("uplevel" body line 3)
    invoked from within
"uplevel 1 $body"
Error: rev-upgrade failed: Port SuiteSparse_CHOLMOD still broken after rebuilding 3 times
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Changed 4 years ago by iEFdev

20200516: dry run

Changed 4 years ago by iEFdev

20200516: non-dry run

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

Resolution: fixed
Status: assignedclosed

In aa92d675cf638bcd8460ae4d73caffa05fe39d37/macports-ports (master):

SuiteSparse_{CHOLMOD,SPQR}: use correct C++ library

Fixes #60492

comment:4 Changed 4 years ago by iEFdev

Thank you! 👍

Note: See TracTickets for help on using tickets.