[Bug 280081] security/libgcrypt:fails to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 02 Jul 2024 04:38:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280081

            Bug ID: 280081
           Summary: security/libgcrypt:fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
             Flags: maintainer-feedback?(cy@FreeBSD.org)
          Assignee: cy@FreeBSD.org

make showconfig
===> The following configuration options are available for libgcrypt-1.11.0:
     DOCS=off: Build and/or install documentation
     INFO=off: Build and/or install GNU info pages
     STATIC=on: Build static executables and/or libraries
===> Use 'make config' to modify these settings


...
--- random.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src
-I/usr/local/include -O2 -pipe -O3 -pipe -funroll-loops -mretpoline
-fno-delete-null-pointer-checks -fstack-protector-strong -fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/security/libgcrypt/work/libgcrypt-1.11.0=.
-fvisibility=hidden -fno-delete-null-pointer-checks -Wall -MT random.lo -MD -MP
-MF .deps/random.Tpo -c random.c -o random.o >/dev/null 2>&1
--- rndjent.lo ---
In file included from ./rndjent.c:99:
./jitterentropy-base.c:58:3: error: "The CPU Jitter random number generator
must not be compiled with optimizations. See documentation. Use the compiler
switch -O0 for compiling jitterentropy.c."
   58 |  #error "The CPU Jitter random number generator must not be compiled
with optimizations. See documentation. Use the compiler switch -O0 for
compiling jitterentropy.c."
      |   ^
--- rndgetentropy.lo ---
mv -f .deps/rndgetentropy.Tpo .deps/rndgetentropy.Plo
--- random-csprng.lo ---
mv -f .deps/random-csprng.Tpo .deps/random-csprng.Plo
--- random-system.lo ---
mv -f .deps/random-system.Tpo .deps/random-system.Plo
--- rndhw.lo ---
mv -f .deps/rndhw.Tpo .deps/rndhw.Plo
--- random-drbg.lo ---
mv -f .deps/random-drbg.Tpo .deps/random-drbg.Plo
--- rndjent.lo ---
1 error generated.
*** [rndjent.lo] Error code 1

make[2]: stopped in
/tmp/ports/usr/ports/security/libgcrypt/work/libgcrypt-1.11.0/random
--- random.lo ---
mv -f .deps/random.Tpo .deps/random.Plo
1 error

make[2]: stopped in
/tmp/ports/usr/ports/security/libgcrypt/work/libgcrypt-1.11.0/random

-- 
You are receiving this mail because:
You are the assignee for the bug.