Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 2021 16:46:10 +0700
From:      "Alex V. Petrov" <alexvpetrov@gmail.com>
To:        "Alex V. Petrov" <alexvpetrov@gmail.com>, Hiroki Tagato <tagattie@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: vscode-1.52.1 error build
Message-ID:  <25cb0a9f-b068-afc6-f755-7517159e5f2c@gmail.com>
In-Reply-To: <eb4df738-aae9-68c3-8d75-f0528566ca6b@gmail.com>
References:  <35582844-6bd2-c69e-95e0-6ce63ad3242f@gmail.com> <706da648-5a18-5a1a-c4c8-64adfe3ecb28@FreeBSD.org> <eb4df738-aae9-68c3-8d75-f0528566ca6b@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
New versions of vscode are not built again.
The error is similar:
[3/4] Linking dependencies...
warning " > gulp-postcss@9.0.0" has unmet peer dependency "postcss@^8.0.0".
warning " > gulp-tsb@4.0.5" has incorrect peer dependency
"typescript@^3.0.0".
[4/4] Building fresh packages...
$ node build/npm/postinstall.js
Installing dependencies in build...
$ yarn --frozen-lockfile --offline
yarn install v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
error Can't make a request in offline mode
("https://registry.yarnpkg.com/jsbi/-/jsbi-3.1.4.tgz")
info Visit https://yarnpkg.com/en/docs/cli/install for documentation
about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation
about this command.
*** Error code 1

Stop.
make: stopped in /usr/ports/editors/vscode


If you do not clear the directory and run the build again, then the
error is:
===>  Building for vscode-1.53.2_2
cd /usr/ports/editors/vscode/work/vscode-1.53.2 && /usr/bin/env
BUILD_SOURCEVERSION=622cb03f7e070a9670c94bae1a45d78d7181fbd4
XDG_CACHE_HOME=/usr/ports/editors/vscode/work/.cache
ELECTRON_SKIP_BINARY_DOWNLOAD=1
PLAYWRIGHT_BROWSERS_PATH=/usr/ports/editors/vscode/work/pw-browsers
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 PYTHONDONTWRITEBYTECODE=1
XDG_DATA_HOME=/usr/ports/editors/vscode/work
XDG_CONFIG_HOME=/usr/ports/editors/vscode/work
HOME=/usr/ports/editors/vscode/work
TMPDIR="/usr/ports/editors/vscode/work"
PATH=/usr/ports/editors/vscode/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh
NO_LINT=YES LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local
LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe
-fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""
LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2
-pipe -fstack-protector-strong -fno-strict-aliasing  "
MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"
BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m
555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m
444"  yarn --frozen-lockfile --offline
yarn install v1.22.10
$ node build/npm/preinstall.js
[1/4] Resolving packages...
success Already up-to-date.
$ node build/npm/postinstall.js
Installing dependencies in build...
$ yarn --frozen-lockfile --offline
yarn install v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
error Can't make a request in offline mode
("https://registry.yarnpkg.com/@azure/cosmos/-/cosmos-3.9.3.tgz")
info Visit https://yarnpkg.com/en/docs/cli/install for documentation
about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation
about this command.
*** Error code 1


I have fresh 13-stable amd64 om my home desktop.
I use portmaster for build ports.
I got the same error when using make in /usr/ports/editors/vscode/



13.02.2021 19:38, Alex V. Petrov пишет:
> I'm sorry. I should have written earlier. After rebuilding all packages
> with full cleanup /usr/local, the problem was solved.
> 
> 
> 13.02.2021 18:16, Hiroki Tagato пишет:
>> Hi Alex,
>>
>> I can't reproduce the error either by doing "make build" or by using
>> poudriere. Can you share what build procedure you use to build the port?
>>
>> On 2021/01/27 7:51, Alex V. Petrov wrote:
>>> Hi!
>>>
>>> info windows-process-tree@0.2.4: The platform "freebsd" is incompatible
>>> with this module.
>>> info "windows-process-tree@0.2.4" is an optional dependency and failed
>>> compatibility check. Excluding it from installation.
>>> [3/4] Linking dependencies...
>>> warning " > eslint-plugin-mocha@8.0.0" has incorrect peer dependency
>>> "eslint@>=7.0.0".
>>> warning " > gulp-tsb@4.0.5" has incorrect peer dependency
>>> "typescript@^3.0.0".
>>> [4/4] Building fresh packages...
>>> $ node build/npm/postinstall.js
>>> Installing dependencies in extensions...
>>> $ yarn --frozen-lockfile --offline
>>> yarn install v1.22.10
>>> warning package.json: No license field
>>> warning vscode-extensions@0.0.1: No license field
>>> [1/4] Resolving packages...
>>> [2/4] Fetching packages...
>>> error Can't make a request in offline mode
>>> ("https://registry.yarnpkg.com/typescript/-/typescript-4.1.2.tgz")
>>> info Visit https://yarnpkg.com/en/docs/cli/install for documentation
>>> about this command.
>>> error Command failed with exit code 1.
>>> info Visit https://yarnpkg.com/en/docs/cli/install for documentation
>>> about this command.
>>> *** Error code 1
>>>
>>> Stop.
>>> make: stopped in /usr/ports/editors/vscode
>>>
>>> ===>>> make build failed for editors/vscode
>>> ===>>> Aborting update
> 

-- 
-----
Alex.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25cb0a9f-b068-afc6-f755-7517159e5f2c>