From nobody Wed Sep 1 20:04:00 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 8101A17A40DB for ; Wed, 1 Sep 2021 20:04:18 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) (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 4H0FPt2xT2z3N4w for ; Wed, 1 Sep 2021 20:04:17 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mail-ot1-x330.google.com with SMTP id v33-20020a0568300921b0290517cd06302dso1174924ott.13 for ; Wed, 01 Sep 2021 13:04:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-org-nz.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=YkGT4rloti765nn7Fnk3hO9vqAdYh+W5MbJwpG5MaF8=; b=YXJ6QmXL6qc7rVSFaHt87+j/yoTpCzF/v+RJX1lKMkcJHq8SavuuQddNpg1w4+Kawd yfHmuBVKylbPaQF2ASGJMGpMK5ysJZSxerRVjdyb2kPYNPe+ZfpMIhQnPO2MqfLKd9Vw aGV6d3BUJ0KN2rd1TDDKffRA2GcNCRENmXTekTRl4FO4vFK6l/uUaKWfVetfvFDDPrnp GwMncfgsiek2iru94UGgEZJrEH3c/rBDFWqahS0tjqUPzfVKMqKLPPHzp66v7DOJTeLI uR2OcN58mNUBE2viPelujQc20+7waohuGP1+DnsqiKd+RIBQshbx0yZgVZxnMvqY0yWI k1Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=YkGT4rloti765nn7Fnk3hO9vqAdYh+W5MbJwpG5MaF8=; b=ZDYps335/yZ2uVRnA5K/Uwl7vwgCbJDjVgTxk4J8hR/mya4S9R7WDPv9/ZjfNicSMw vKgzdekmz919b84HPpcdU+/TLs1nPGDHJdc0acomJRX68TqeMf9/dSa5w41GFwHjq2W6 kSepFOkx0KAmrAzojhWbF4dyGPqTgbUSJKlIkMqu3HgXIsK1rnw2dwTwUfIVukbLIxMn 7M2/HOckS9xzBmgimqOZ/V8UzwfrD7wv1RPDE+6UqE/CASTm6567sivbOH6/BZxQhTeC vVUFeEChX+QTSofhphJQykeLORpXOyhh1IYB32WUaS85knaC16/Uq+N1RPzxzl7IKQMr qpow== X-Gm-Message-State: AOAM533V+90eyhcqY1gALd53mHj7vu8QQBconIQxMgye14Y7S4dNcKxG QL2Q2ilsR0Ky8EcL2RzW0soJxLX0nJW3OaLC0lNlnxtBtTzXjQ== X-Google-Smtp-Source: ABdhPJzaaaHfP/VYdO7YM3KrViD/l7JNftPs3ju8Akb9N1Mkg5imjUCCfH+WLPVH7vxLQ2kD8s/Htba3ISptMRPTdkY= X-Received: by 2002:a05:6830:314b:: with SMTP id c11mr1016453ots.169.1630526656788; Wed, 01 Sep 2021 13:04:16 -0700 (PDT) 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 References: <202109011217.181CHmXN050269@kx.truefc.org> In-Reply-To: <202109011217.181CHmXN050269@kx.truefc.org> From: Jonathan Chen Date: Thu, 2 Sep 2021 08:04:00 +1200 Message-ID: Subject: Re: www/chromium faild to build. To: KIRIYAMA Kazuhiko Cc: ports@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4H0FPt2xT2z3N4w 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, 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=3D1 -DUSE_G= LIB=3D1 -DUSE_NSS_CERTS=3D1 -DUSE_OZONE=3D1 -DUSE_X11=3D1 -DOFFICIAL_BUILD = -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNW= IND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=3D\"llvmorg-13-init-10392-gd36= 76d4b-2\" -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -DHAVE_CON= FIG_H -I../.. -Igen -I../../third_party/nasm -I../../third_party/nasm/asm -= I../../third_party/nasm/disasm -I../../third_party/nasm/include -I../../thi= rd_party/nasm/output -I../../third_party/nasm/x86 -fno-delete-null-pointer-= checks -fno-ident -fno-strict-aliasing --param=3Dssp-buffer-size=3D4 -fstac= k-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthre= ad -fcolor-diagnostics -fmerge-all-constants -flto=3Dthin -fsplit-lto-unit = -fwhole-program-vtables -m64 -march=3Dx86-64 -msse3 -Xclang -fdebug-compila= tion-dir -Xclang . -no-canonical-prefixes -O2 -fdata-sections -ffunction-se= ctions -fno-omit-frame-pointer -g0 -fpro! > file-instr-use=3D../../chrome/build/pgo_profiles/chrome-linux-4515-16275= 72323-7b80f2d12f40afe6f7872c5528a069e31662276b.profdata -Wno-profile-instr-= unprofiled -Wno-profile-instr-out-of-date -Wno-backend-plugin -fvisibility= =3Dhidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compa= re -Wall -Wno-unused-variable -Wno-missing-field-initializers -Wno-unused-p= arameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undef= ined-var-template -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conv= ersion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignmen= t -Wno-deprecated-copy -Wno-thread-safety-analysis -Wno-thread-safety-attri= butes -Wno-unused-function -Wno-string-conversion -Wno-macro-redefined -Wno= -sign-compare -Wno-nonnull -Wno-uninitialized -std=3Dc11 -c ../../third_par= ty/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 declarati= on 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. Cheers. --=20 Jonathan Chen