Opened 5 years ago

Closed 5 years ago

#58634 closed defect (wontfix)

cargo is built before cargo-stage1 with rev-upgrade

Reported by: marka63 Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: yan12125 (Chih-Hsuan Yen)
Port: cargo

Description

With openssl11 installed

% sudo port rev-upgrade
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  Found 4 broken files, matching files to ports      
--->  Found 2 broken ports, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
 cargo @0.36.0
 cargo-stage1 @0.36.0
Continue? [Y/n]: y
--->  Computing dependencies for cargo
--->  Cleaning cargo
--->  Computing dependencies for cargo-stage1
--->  Cleaning cargo-stage1
--->  Scanning binaries for linking errors
--->  Found 4 broken files, matching files to ports      
--->  Found 2 broken ports, determining rebuild order
--->  Rebuilding in order
     cargo @0.36.0 
     cargo-stage1 @0.36.0 
--->  Computing dependencies for cargo
--->  Fetching distfiles for cargo
--->  Verifying checksums for cargo
--->  Extracting cargo
--->  Configuring cargo
Error: Failed to configure cargo: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cargo/cargo/main.log for details.
Error: rev-upgrade failed: Error rebuilding cargo
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
% 

inactivating cargo, running rev-upgrade, reactivating cargo gets past this but it should be necessary to do this by hand.

Attachments (1)

main.log (88.4 KB) - added by marka63 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by marka63

Attachment: main.log added

comment:1 Changed 5 years ago by marka63

Also when re-activating cargo rev-upgrade needed to be manually run.

% sudo port deactivate cargo
Password:
--->  Deactivating cargo @0.36.0_0
--->  Cleaning cargo
% sudo port rev-upgrade                                                                      --->  Scanning binaries for linking errors
--->  Found 2 broken files, matching files to ports      
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: cargo-stage1 @0.36.0
Continue? [Y/n]: y
--->  Computing dependencies for cargo-stage1
--->  Cleaning cargo-stage1
--->  Scanning binaries for linking errors
--->  Found 2 broken files, matching files to ports      
--->  Found 1 broken port, determining rebuild order
--->  Rebuilding in order
     cargo-stage1 @0.36.0 
--->  Computing dependencies for cargo-stage1
--->  Fetching distfiles for cargo-stage1
--->  Verifying checksums for cargo-stage1
--->  Extracting cargo-stage1
--->  Configuring cargo-stage1
--->  Building cargo-stage1
--->  Staging cargo-stage1 into destroot
--->  Deactivating cargo-stage1 @0.36.0_0
--->  Cleaning cargo-stage1
--->  Uninstalling cargo-stage1 @0.36.0_0
--->  Cleaning cargo-stage1
--->  Computing dependencies for cargo-stage1
--->  Installing cargo-stage1 @0.36.0_0
--->  Activating cargo-stage1 @0.36.0_0
--->  Cleaning cargo-stage1
--->  Scanning binaries for linking errors
--->  No broken files found.                             
--->  No broken ports found.
% sudo port activate cargo
The following versions of cargo are currently installed:
 1) cargo @0.27.0_0
 2) cargo @0.27.0_1
 3) cargo @0.31.1_2
 4) cargo @0.36.0_0
Enter a number to select an option: 4
--->  Activating cargo @0.36.0_0
% sudo port rev-upgrade
--->  Scanning binaries for linking errors
--->  Found 2 broken files, matching files to ports      
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: cargo @0.36.0
Continue? [Y/n]: y
--->  Computing dependencies for cargo
--->  Cleaning cargo
--->  Scanning binaries for linking errors
--->  Found 2 broken files, matching files to ports      
--->  Found 1 broken port, determining rebuild order
--->  Rebuilding in order
     cargo @0.36.0 
--->  Computing dependencies for cargo
--->  Fetching distfiles for cargo
--->  Verifying checksums for cargo
--->  Extracting cargo
--->  Configuring cargo
--->  Building cargo
--->  Staging cargo into destroot
--->  Deactivating cargo @0.36.0_0
--->  Cleaning cargo
--->  Uninstalling cargo @0.36.0_0
--->  Cleaning cargo
--->  Computing dependencies for cargo
--->  Installing cargo @0.36.0_0
--->  Activating cargo @0.36.0_0
--->  Cleaning cargo
--->  Scanning binaries for linking errors
--->  No broken files found.                             
--->  No broken ports found.
% 

comment:2 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Cc: yan12125 added

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Port: cargo added

comment:4 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Resolution: wontfix
Status: newclosed

As openssl has been upgraded and cargo{,-stage1} have been rebuilt for openssl 1.1, the original issue should have disappeared.

Note: See TracTickets for help on using tickets.