[MacPorts] #65847: shellcheck: broken pre-built binary package, wants to be rebuilt

MacPorts noreply at macports.org
Fri Sep 16 10:17:58 UTC 2022


#65847: shellcheck: broken pre-built binary package, wants to be rebuilt
-------------------------+------------------------
  Reporter:  sierkb      |      Owner:  neverpanic
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.2
Resolution:              |   Keywords:
      Port:  shellcheck  |
-------------------------+------------------------
Changes (by ryandesign):

 * cc: essandess (added)
 * status:  new => assigned
 * owner:  (none) => neverpanic


Old description:

> Since a few days (I guess, since this commit ''Use cabal-based native
> builds'' [https://github.com/macports/macports-
> ports/commit/32d0ff91ea0257e2ad0268e603ff4730865f321a], 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.

New description:

 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.

--

Comment:

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

-- 
Ticket URL: <https://trac.macports.org/ticket/65847#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list