Opened 2 years ago

Last modified 2 years ago

#65847 closed defect

shellcheck: broken pre-built binary package, wants to be rebuilt — at Version 1

Reported by: sierkb (Sierk Bornemann) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: essandess (Steve Smith)
Port: shellcheck

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Since a few days (I guess, since this commit Use cabal-based native builds [32d0ff91ea0257e2ad0268e603ff4730865f321a/macports-ports], because until that change, the problem didn't ocur to me before):

% sudo port selfupdate; sudo port -u upgrade outdated
Password:
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.7.2 installed,
MacPorts base version 2.7.2 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
Nothing to upgrade.
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
% sudo port install shellcheck
--->  Fetching archive for shellcheck
--->  Attempting to fetch shellcheck-0.8.0_1.darwin_21.arm64.tbz2 from https://packages.macports.org/shellcheck
--->  Attempting to fetch shellcheck-0.8.0_1.darwin_21.arm64.tbz2.rmd160 from https://packages.macports.org/shellcheck
--->  Installing shellcheck @0.8.0_1
--->  Activating shellcheck @0.8.0_1
--->  Cleaning shellcheck
--->  Scanning binaries for linking errors
--->  Found 1 broken file, 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: shellcheck @0.8.0
Continue? [Y/n]: n

% sudo port selfupdate; sudo port -u upgrade outdated
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.7.2 installed,
MacPorts base version 2.7.2 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
Nothing to upgrade.
--->  Scanning binaries for linking errors
--->  Found 1 broken file, 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: shellcheck @0.8.0
Continue? [Y/n]: n

I point to THIS:

--->  Found 1 broken file, 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: shellcheck @0.8.0

System: macOS 12.6 (21G115, Darwin 21.6.0), Apple Silicon (arm64))

I prefer pre-built port packages (I guess, in this case it comes from https://packages.macports.org/shellcheck/ and is https://packages.macports.org/shellcheck/shellcheck-0.8.0_1.darwin_21.arm64.tbz2), because I don't want to rebuild this port and therefore let install a bunch of other packages to satisfy build dependencies.

Something seems to be broken with this recent pre-built package of the shellcheck port, I guess.

Change History (1)

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: essandess added
Description: modified (diff)
Owner: set to neverpanic
Status: newassigned

If you run sudo port -d rev-upgrade it'll show us how it's broken.

Note: See TracTickets for help on using tickets.