From owner-freebsd-ports@freebsd.org Sat Apr 18 01:25:18 2020 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 773AA2B2640 for ; Sat, 18 Apr 2020 01:25:18 +0000 (UTC) (envelope-from vidar@karlsen.tech) Received: from nivlheim.karlsen.tech (nivlheim.karlsen.tech [178.62.212.206]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 493wHx1fCLz47t4; Sat, 18 Apr 2020 01:25:16 +0000 (UTC) (envelope-from vidar@karlsen.tech) Received: from mua.karlsen.tech (ti0040q160-0613.bb.online.no [109.189.153.108]) by nivlheim.karlsen.tech (Postfix) with ESMTPSA id C86E1892D3; Sat, 18 Apr 2020 03:25:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=karlsen.tech; s=mail; t=1587173110; bh=Es2060z0/O4OQTly6KyDrfFWRniaA2tZFGnKC1IHu2A=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=eaWTlwpxfMOFdJXNQBSyo5GGN+9BlM+V5CVjPNixfsyyqBqS9CTGYzV4S/jPe22Wz znhuNdQo+3E1IPTUeg2yTkttvuPhvFrsuybjbVehH+GnvXxgnxqMG7qwzrhpVqsCJ6 B1VxUiODa0EhwDAJA8NF1EKZCH0aWtIzO2DGR1JI= Subject: Re: editors/atom: build error on 13.0-CURRENT To: Hiroki Tagato Cc: freebsd-ports@freebsd.org References: <81db6f61-fde7-bf88-9e25-bcdd78cd5db9@karlsen.tech> <3461B7A1-41EC-4233-9861-8045E03E8AF3@FreeBSD.org> <4d0b5c27-b38f-1ef3-4629-0a9390777524@karlsen.tech> From: Vidar Karlsen Message-ID: <3d0282d3-c574-c9dc-a7bb-d0473ebae57e@karlsen.tech> Date: Sat, 18 Apr 2020 01:25:02 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (nivlheim.karlsen.tech [0.0.0.0]); Sat, 18 Apr 2020 03:25:10 +0200 (CEST) X-Rspamd-Queue-Id: 493wHx1fCLz47t4 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=karlsen.tech header.s=mail header.b=eaWTlwpx; dmarc=none; spf=pass (mx1.freebsd.org: domain of vidar@karlsen.tech designates 178.62.212.206 as permitted sender) smtp.mailfrom=vidar@karlsen.tech X-Spamd-Result: default: False [-1.27 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[karlsen.tech:s=mail]; NEURAL_HAM_MEDIUM(-0.61)[-0.605,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:178.62.212.206/32]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[karlsen.tech]; NEURAL_HAM_LONG(-0.96)[-0.958,0]; DKIM_TRACE(0.00)[karlsen.tech:+]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.80)[ipnet: 178.62.192.0/18(2.77), asn: 14061(1.26), country: US(-0.05)]; ASN(0.00)[asn:14061, ipnet:178.62.192.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Apr 2020 01:25:18 -0000 On 4/17/20 7:24 AM, Hiroki Tagato wrote: > > Can you apply a patch at https://github.com/nodejs/node/pull/29541 and > try to build again? If it goes well, I will update the port to include > the patch. > > Thanks, > Hiroki It passes the configure phase with that change to the regex, but it fails later. Running 'make' in /usr/ports/editors/atom: [...] c++ '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=0' '-DV8_TARGET_ARCH_X64' '-DV8_EMBEDDER_STRING="-node.8"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT' '-Dv8_promise_internal_field_count' '-DV8_INTL_SUPPORT' '-DV8_CONCURRENT_MARKING' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' -I../deps/v8 -I../deps/v8/include -pthread -Wall -Wextra -Wno-unused-parameter -m64 -D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1 -fno-strict-aliasing -I/usr/local/include -fdata-sections -ffunction-sections -O3 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF /usr/ports/editors/atom/work/node-v10.2.1/out/Release/.deps//usr/ports/editors/atom/work/node-v10.2.1/out/Release/obj.target/v8_init/deps/v8/src/setup-isolate-full.o.d.raw -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -c -o /usr/ports/editors/atom/work/node-v10.2.1/out/Release/obj.target/v8_init/deps/v8/src/setup-isolate-full.o ../deps/v8/src/setup-isolate-full.cc In file included from ../deps/v8/src/setup-isolate-full.cc:7: In file included from ../deps/v8/src/base/logging.h:8: In file included from /usr/include/c++/v1/cstring:59: /usr/include/c++/v1/__config:122:2: error: "_LIBCPP_TRIVIAL_PAIR_COPY_CTOR" is no longer supported. use _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR instead #error "_LIBCPP_TRIVIAL_PAIR_COPY_CTOR" is no longer supported. \ ^ c++ '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=0' '-DV8_TARGET_ARCH_X64' '-DV8_EMBEDDER_STRING="-node.8"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT' '-Dv8_promise_internal_field_count' '-DV8_INTL_SUPPORT' '-DV8_CONCURRENT_MARKING' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' -I../deps/v8 -pthread -Wall -Wextra -Wno-unused-parameter -m64 -D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1 -fno-strict-aliasing -I/usr/local/include -fdata-sections -ffunction-sections -O3 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF /usr/ports/editors/atom/work/node-v10.2.1/out/Release/.deps//usr/ports/editors/atom/work/node-v10.2.1/out/Release/obj.target/v8_libbase/deps/v8/src/base/bits.o.d.raw -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -c -o /usr/ports/editors/atom/work/node-v10.2.1/out/Release/obj.target/v8_libbase/deps/v8/src/base/bits.o ../deps/v8/src/base/bits.cc In file included from ../deps/v8/src/base/bits.cc:5: In file included from ../deps/v8/src/base/bits.h:8: In file included from /usr/include/c++/v1/stdint.h:106: /usr/include/c++/v1/__config:122:2: error: "_LIBCPP_TRIVIAL_PAIR_COPY_CTOR" is no longer supported. use _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR instead #error "_LIBCPP_TRIVIAL_PAIR_COPY_CTOR" is no longer supported. \ ^ 1 error generated. gmake[3]: *** [deps/v8/gypfiles/v8_libbase.target.mk:131: /usr/ports/editors/atom/work/node-v10.2.1/out/Release/obj.target/v8_libbase/deps/v8/src/base/bits.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... [...] I have uploaded the full output to https://bsd.to/oh4e It builds fine when I give it --openssl-no-asm, and I also noticed that www/node10 also does exactly this. -- Vidar