From nobody Thu Sep 2 00:43:18 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5395617B2961 for ; Thu, 2 Sep 2021 00:43:26 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (1.212.52.36.ap.yournet.ne.jp [36.52.212.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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", Issuer "smtp" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H0Mbx73SWz3QTJ for ; Thu, 2 Sep 2021 00:43:25 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (kx.truefc.org [36.52.212.1]) by kx.truefc.org (8.16.1/8.16.1) with ESMTP id 1820hIfJ014642; Thu, 2 Sep 2021 09:43:18 +0900 (JST) (envelope-from kiri@kx.truefc.org) Message-Id: <202109020043.1820hIfJ014642@kx.truefc.org> Date: Thu, 02 Sep 2021 09:43:18 +0900 From: KIRIYAMA Kazuhiko To: Jonathan Chen Cc: KIRIYAMA Kazuhiko , ports@freebsd.org Subject: Re: www/chromium faild to build. In-Reply-To: References: <202109011217.181CHmXN050269@kx.truefc.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 MULE XEmacs/21.4 (patch 24) (Standard C) (amd64--freebsd) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4H0Mbx73SWz3QTJ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, 02 Sep 2021 05:04:00 +0900, Jonathan Chen wrote: > > On Thu, 2 Sept 2021 at 00:18, KIRIYAMA Kazuhiko wrote: > > > > Hi, list > > > > I've tried to built www/chromium but faild to build with > > error: > > FAILED: obj/third_party/nasm/nasm/directbl.o > > cc -MMD -MF obj/third_party/nasm/nasm/directbl.o.d -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-13-init-10392-gd3676d4b-2\" -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_CONFIG_H -I../.. -Igen -I../../third_party/nasm -I../../third_party/nasm/asm -I../../third_party/nasm/disasm -I../../third_party/nasm/include -I../../third_party/nasm/output -I../../third_party/nasm/x86 -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -O2 -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -! fpro! > > file-instr-use=../../chrome/build/pgo_profiles/chrome-linux-4515-1627572323-7b80f2d12f40afe6f7872c5528a069e31662276b.profdata -Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date -Wno-backend-plugin -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wall -Wno-unused-variable -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-thread-safety-analysis -Wno-thread-safety-attributes -Wno-unused-function -Wno-string-conversion -Wno-macro-redefined -Wno-sign-compare -Wno-nonnull -Wno-uninitialized -std=c11 -c ../../third_party/nasm/asm/directbl.c -o obj/third_party/nasm/nasm/directbl.o > > In file included from ../../third_party/nasm/asm/directbl.c:6: > > In file included from ../../third_party/nasm/asm/directiv.h:9: > > In file included from ../../third_party/nasm/include/perfhash.h:37: > > ../../third_party/nasm/include/compiler.h:249:21: error: static declaration of 'mempcpy' follows non-static declaration > > static inline void *mempcpy(void *dst, const void *src, size_t n) > > ^ > > /usr/include/string.h:70:7: note: previous declaration is here > > void *mempcpy(void * __restrict, const void * __restrict, size_t); > > ^ > > 1 error generated. > > You need to update your ports tree past commit 9e6695a which has: > > www/chromium: fix build on CURRENT > ... after mempcpy(3) has been added to base libc. > Ooops I get one day first ;-) admin@smtp:~kiri/work/ports/head/www/chromium[146]% git log . | head -35 commit 934d443a760d872bfcd7851c9bdae70a097d9ff0 Author: Rene Ladan Date: Wed Sep 1 12:08:59 2021 +0200 www/chromium: bump PORTREVISION for previous commits MFH: 2021Q3 commit 447def6dd2c2dd4eb908b4e41ec607e34280bf6c Author: Bob Prohaska Date: Wed Sep 1 12:08:16 2021 +0200 www/chromium: fix build on aarch64 (RPI4) ... by respecting LTO_VARS=off and exlcuding LTO from aarch64 PR: 257468 MFH: 2021Q3 commit 9e6695a71d64d995e6619497626c0a780397b7c9 Author: Tomoaki AOKI Date: Mon Aug 30 18:10:28 2021 +0200 www/chromium: fix build on CURRENT ... after mempcpy(3) has been added to base libc. PR: 257352 MFH: 2021Q3 commit 76daa653245e62b0f8e07ef4899c0a5bb176b3da Author: Matthias Wolf Date: Sun Aug 22 10:38:57 2021 +0200 www/chromium: update to 92.0.4515.159 > > Cheers. > -- > Jonathan Chen > --- Kazuhiko Kiriyama