Solved www/chromium issue

Another issue regarding updating from ports but this time it's www/chromium
The problem is that a line in distfile is not named correctly (so it seems to me). Here is the error output:
Code:
make reinstall
===>  Deinstalling for chromium
===>   chromium not installed, skipping

To build chromium, you should have at least:
- 8 GB of memory
- 35 GB of free disk space
- 1.5 million free inodes

/!\ WARNING /!\

WITH_LTO is unsupported, use WITH=LTO on the command line, or one of these
in /etc/make.conf, OPTIONS_SET+=LTO to set it globally, or
www_chromium_SET+=LTO for only this port.

===>  License BSD3CLAUSE LGPL21 MPL11 accepted by the user
===>   chromium-147.0.7727.101_1 depends on file: /usr/local/sbin/pkg - found
=> evanw-esbuild-v0.28.0_GH0.tar.gz is not in /usr/ports/www/chromium/distinfo.
=> Either /usr/ports/www/chromium/distinfo is out of date, or
=> evanw-esbuild-v0.28.0_GH0.tar.gz is spelled incorrectly.
*** Error code 1

Stop.
make[2]: stopped making "/usr/ports/www/chromium/work/.install_done.chromium._usr_local" in /usr/ports/www/chromium
*** Error code 1

Stop.
make[1]: stopped making "deinstall install" in /usr/ports/www/chromium
*** Error code 1

Stop.
make: stopped making "reinstall" in /usr/ports/www/chromium

And here is the line in the disfile that I think is the problem:
Code:
SHA256 (evanw-esbuild-v0.27.1_GH0.tar.gz) = bcc3abdc911961ef04340714dc69ddc34af6d2e2c60a1c4036d1c7f1a3fc4a23
SIZE (evanw-esbuild-v0.27.1_GH0.tar.gz) = 1978868

Should I edit this line, if yes then how ?

I reinstalled devel/esbuild but that did'nt resolved the problem.

I saw that the version devel/esbuild in the disfile is not the same as the one installed :
Code:
pkg info esbuild
esbuild-0.28.0
Name           : esbuild
Version        : 0.28.0
Installed on   : Sat May  9 10:31:09 2026 EDT
Origin         : devel/esbuild
Architecture   : FreeBSD:15:amd64
Prefix         : /usr/local
Categories     : devel www
Licenses       : MIT
Maintainer     : dch@FreeBSD.org
WWW            : https://esbuild.github.io/
Comment        : Extremely fast JavaScript bundler and minifier
Shared Libs required:
        libc.so.7
        libthr.so.3
Annotations    :
        FreeBSD_version: 1500068
Flat size      : 10.6MiB
Description    :
esbuild is an extremely fast JavaScript bundler.

Major features:

- Extreme speed without needing a cache
- ES6 and CommonJS modules
- Tree shaking of ES6 modules
- An API for JavaScript and Go
- TypeScript and JSX syntax
- Source maps
- Minification
- Plugins

Also /usr/ports is up to date
 
Solved by editing the distinfo in www/chromium. It's the last line :
Code:
SHA256 (evanw-esbuild-v0.28.0_GH0.tar.gz) = 7aae83b197db3fd695e6f378d30fd6cbddeb93e4b1057b2c41d36ecb1dfebbc2
SIZE (evanw-esbuild-v0.28.0_GH0.tar.gz) = 1993306
 
Back
Top