From owner-freebsd-ports@freebsd.org Sat Mar 6 12:56:35 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 88D46567221 for ; Sat, 6 Mar 2021 12:56:35 +0000 (UTC) (envelope-from alexvpetrov@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dt4Nz1CWcz3slY for ; Sat, 6 Mar 2021 12:56:35 +0000 (UTC) (envelope-from alexvpetrov@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 297FB566E56; Sat, 6 Mar 2021 12:56:35 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 293EF5672AA for ; Sat, 6 Mar 2021 12:56:35 +0000 (UTC) (envelope-from alexvpetrov@gmail.com) Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dt4Nz0GyPz3sjV; Sat, 6 Mar 2021 12:56:34 +0000 (UTC) (envelope-from alexvpetrov@gmail.com) Received: by mail-lf1-x130.google.com with SMTP id v9so10714696lfa.1; Sat, 06 Mar 2021 04:56:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=2I7U0hJDJGxJdhQD7+J6zllBheUWyNKqzMuKpaHNwqk=; b=FRsybR1p7pFGtOKgS5gwhqnOq4seqcnhCXYQgAA4vzVxje9YqMmh4GWPetQq9oj+Ii PAhvj0rf9hY+jQlHCuMZs6ATmBgE4SPfCfa3jnGlFL4zWRaRN3YsHGRxmIGp/lh3hAYd cuMNQeRlhpPZMdOSPRety/9CHRBQWk34o40mdBbCyWRwMoM+nR3lg5KVqYzUSusQJk7/ mNso7uS9JxLw2yz584UEHMHNfzRsdWxBfd9+V0QTFowGMHqHjN59tDmUmQyRQn/+cE7i EwPgtkAZwqD9S9Ll5X4KU5KV0/XaPzjkZ6WfOS3KpnvZf6LbWrpMsXrESrccThT2wpgP apmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2I7U0hJDJGxJdhQD7+J6zllBheUWyNKqzMuKpaHNwqk=; b=q8aSroMHjsTDmRO8DWXJM3aTRucNWZF+R9hB0s/LRV7H44YwfwxKtBaMuKAWqecQ6w lPeYcOu/8IxsahOrw37oL7c/lrztwHBjFNondtfgL0fMLTtjkproC0EthM7jnocK6jkJ Fj7qmx5zjnQmC45REDBCjOMxD6/xS+IYAqovL/EV7u7uaxHE19R8g830lJuwBvHYW1pF ZkpOypX8BWGFk9Fmc4rvtxtLP8LZ4bpD9FJslM9DBKkMHVXeb97910vrkPd0YywKq/t/ bGVBDE0bv7D8Nqho7YvZ7u4uYzthP36RIK0yHkHiUPwNq+PgiVWzYc6FfajGNGXpUhSV gnig== X-Gm-Message-State: AOAM530SPBwZc9tq+9sIZ607r2Vod1mlCdl5N2ytE8be8kMPw2vLoYPU n5s1u7cwyL0dmjqmTuoHfk+MTyDA8nuJRQ== X-Google-Smtp-Source: ABdhPJy3SHbmofyb46fjRciMAIcZLAerzdMQWaf7xcnkdkcNumboU2UYyl+pQaE4ydGL+vsj1zCStA== X-Received: by 2002:a19:791:: with SMTP id 139mr8788177lfh.436.1615035392573; Sat, 06 Mar 2021 04:56:32 -0800 (PST) Received: from alex.super (stone.g-service.ru. [84.22.141.217]) by smtp.googlemail.com with ESMTPSA id i184sm664790lfd.205.2021.03.06.04.56.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 06 Mar 2021 04:56:32 -0800 (PST) Subject: Re: FreeBSD Port: vscode-1.52.1 error build To: "Alex V. Petrov" , Hiroki Tagato Cc: ports@FreeBSD.org References: <35582844-6bd2-c69e-95e0-6ce63ad3242f@gmail.com> <706da648-5a18-5a1a-c4c8-64adfe3ecb28@FreeBSD.org> <25cb0a9f-b068-afc6-f755-7517159e5f2c@gmail.com> <0ac35b75-cce5-993b-c190-11760260474e@gmail.com> From: "Alex V. Petrov" Message-ID: <1cf454db-067a-d2ff-0198-417a2ca3b2ee@gmail.com> Date: Sat, 6 Mar 2021 19:56:30 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <0ac35b75-cce5-993b-c190-11760260474e@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: ru Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Dt4Nz0GyPz3sjV X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 12:56:35 -0000 Hmm. Default installation of 13-stable don't creating directories: /compat/proc /compat/sys /compat/dev Thereby during startup linux subsystem dont't mounted special file systems. I created them handly. After all, vscode building and installing is OK. 06.03.2021 18:58, Alex V. Petrov пишет: > 06.03.2021 18:11, Hiroki Tagato пишет: >> There is a report that the following command solved the problem, see: >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242936#c20 >> > >> $ make clean configure make-yarn-cache clean build > Yes. It fixed the problem. > Big Thanks! > > New problem: > > # make install > ===> Installing for vscode-1.53.2_2 > ===> Checking if vscode is already installed > ===> Registering installation for vscode-1.53.2_2 > pkg-static: Unable to access file > /usr/ports/editors/vscode/work/stage/usr/local/share/code-oss/resources/app/node_modules.asar.unpacked/keytar/build/Release/keytar.node:No > such file or directory > pkg-static: Unable to access file > /usr/ports/editors/vscode/work/stage/usr/local/share/code-oss/resources/app/node_modules.asar.unpacked/keytar/build/Release/obj.target/keytar.node:No > such file or directory > pkg-static: Unable to access file > /usr/ports/editors/vscode/work/stage/usr/local/share/code-oss/resources/app/node_modules.asar.unpacked/native-is-elevated/build/Release/iselevated.node:No > such file or directory > pkg-static: Unable to access file > /usr/ports/editors/vscode/work/stage/usr/local/share/code-oss/resources/app/node_modules.asar.unpacked/native-keymap/build/Release/keymapping.node:No > such file or directory > pkg-static: Unable to access file > /usr/ports/editors/vscode/work/stage/usr/local/share/code-oss/resources/app/node_modules.asar.unpacked/native-watchdog/build/Release/watchdog.node:No > such file or directory > pkg-static: Unable to access file > /usr/ports/editors/vscode/work/stage/usr/local/share/code-oss/resources/app/node_modules.asar.unpacked/node-pty/build/Release/pty.node:No > such file or directory > pkg-static: Unable to access file > /usr/ports/editors/vscode/work/stage/usr/local/share/code-oss/resources/app/node_modules.asar.unpacked/spdlog/build/Release/spdlog.node:No > such file or directory > pkg-static: Unable to access file > /usr/ports/editors/vscode/work/stage/usr/local/share/code-oss/resources/app/node_modules.asar.unpacked/vscode-nsfw/build/Release/nsfw.node:No > such file or directory > pkg-static: Unable to access file > /usr/ports/editors/vscode/work/stage/usr/local/share/code-oss/resources/app/node_modules.asar.unpacked/vscode-sqlite3/build/Release/sqlite.node:No > such file or directory > *** Error code 1 > > Stop. > make: stopped in /usr/ports/editors/vscode > > > > >> The workaround might work for you as well. >> >> I still can't reproduce the error... >> >> On 2021/03/05 18:46, Alex V. Petrov wrote: >>> 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.