Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2024 18:17:04 -0300
From:      Nilton Jose Rizzo <niltonrizzo@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Compiling Chromium stop with error
Message-ID:  <8798a055-6057-4a99-83d4-983a512a78f5@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi everbory

I get this erro when compile the chromium

In file included from ../../third_party/nasm/asm/assemble.c:178:
../../third_party/nasm/include/compiler.h:249:21: error: static 
declaration of 'mempcpy' follows non-static declaration
   249 | static inline void *mempcpy(void *dst, const void *src, size_t n)
       |                     ^
/usr/include/string.h:71:8: note: previous declaration is here
    71 | void    *(mempcpy)(void * __restrict, const void * __restrict, 
size_t);
       |           ^
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[1]: stopped making 
"/usr/ports/www/chromium/work/.install_done.chromium._usr_local" in 
/usr/ports/www/chromium
*** Error code 1

Stop.
make: stopped making "install clean" in /usr/ports/www/chromium

My box is:

# uname -a
FreeBSD valfenda 15.0-CURRENT FreeBSD 15.0-CURRENT #1 main-b3cec803eaa: 
Sat Jul 27 19:40:29 -03 2024 
root@valfenda:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64

# git show -q
commit 89069e23cc7defceb09e37e4784e710b228c9d26 (HEAD -> main, 
origin/main, origin/HEAD)
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
Date:   Sat Jul 27 15:06:14 2024 +0200

# git show -q
commit b3cec803eaa4ae3495f9844f93c1f0cadc1b2d6a (HEAD -> main, 
freebsd/main, freebsd/HEAD)
Author: Doug Moore <dougm@FreeBSD.org>
Date:   Sat Jul 27 16:11:53 2024 -0500

# dmesg | grep -i cpu
CPU: AMD Ryzen 5 2600 Six-Core Processor             (3393.84-MHz 
K8-class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs
# dmesg | grep -i memory
real memory  = 34359738368 (32768 MB)
avail memory = 33296269312 (31753 MB)
# swapinfo -h
Device              Size     Used    Avail Capacity
/dev/ada1p3.eli     4.0G     175M     3.8G     4%
# cd www/chromium/
# df -h .
Filesystem         Size    Used   Avail Capacity  Mounted on
zroot/usr/ports     80G     19G     61G    24%    /usr/ports

Any idea to resolve this?

TIA

-- 
Nilton José Rizzo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8798a055-6057-4a99-83d4-983a512a78f5>