Re: www/chromium faild to build.

From: KIRIYAMA Kazuhiko <kiri_at_truefc.org>
Date: Thu, 02 Sep 2021 09:43:18 +0900
On Thu, 02 Sep 2021 05:04:00 +0900,
Jonathan Chen wrote:
> 
> On Thu, 2 Sept 2021 at 00:18, KIRIYAMA Kazuhiko <kiri_at_truefc.org> 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_at_smtp:~kiri/work/ports/head/www/chromium[146]% git log . | head -35
commit 934d443a760d872bfcd7851c9bdae70a097d9ff0
Author: Rene Ladan <rene_at_FreeBSD.org>
Date:   Wed Sep 1 12:08:59 2021 +0200

    www/chromium: bump PORTREVISION for previous commits
    
    MFH:            2021Q3

commit 447def6dd2c2dd4eb908b4e41ec607e34280bf6c
Author: Bob Prohaska <fbsd_at_www.zefox.net>
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 <junchoon_at_dec.sakura.ne.jp>
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 <freebsd_at_rheinwolf.de>
Date:   Sun Aug 22 10:38:57 2021 +0200

    www/chromium: update to 92.0.4515.159


> 
> Cheers.
> -- 
> Jonathan Chen <jonc_at_chen.org.nz>
> 

---
Kazuhiko Kiriyama <kiri_at_truefc.org>
Received on Thu Sep 02 2021 - 00:43:18 UTC

Original text of this message