[Bug 276581] Setup OpenCA’s OCSP resp onder

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 24 Jan 2024 09:02:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276581

            Bug ID: 276581
           Summary: Setup OpenCA’s OCSP responder
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: stockton.chow@gmail.com

Did anyone know how to fix my below issue?

libpki.x86_64 0.9.0-1.el7 installed. Up next, i try to setup openca-ocspd
ver3.1.3 by run "make rpm". then return following errors:

make[1]: Entering directory /root/rpmbuild/BUILD/openca-ocspd-3.1.3' Making all
in src make[2]: Entering directory /root/rpmbuild/BUILD/openca-ocspd-3.1.3/src'
Making all in ocspd
make[3]: Entering directory /root/rpmbuild/BUILD/openca-ocspd-3.1.3/src/ocspd'
gcc -DHAVE_CONFIG_H -I. -I../../src/ocspd/includes  -I.  -I/usr/include
-DENABLE_ECDSA=1 -I/usr/include/libxml2 -I/us      r/include   -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=      4 -grecord-gcc-switches   -m64 -mtune=generic
-fstack-check -maccumulate-outgoing-args -Werror -Wfatal-errors -MT ocs     
pd-ocspd.o -MD -MP -MF .deps/ocspd-ocspd.Tpo -c -o ocspd-ocspd.o test -f
'ocspd.c' || echo './'ocspd.c mv -f .deps/ocspd-ocspd.Tpo
.deps/ocspd-ocspd.Pogcc -DHAVE_CONFIG_H -I. -I../../src/ocspd/includes  -I. 
-I/usr/include -DENABLE_ECDSA=1 -I/usr/include/libxml2 -I/us      r/include  
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=      4 -grecord-gcc-switches 
 -m64 -mtune=generic -fstack-check -maccumulate-outgoing-args -Werror
-Wfatal-errors -MT ocs      pd-core.o -MD -MP -MF .deps/ocspd-core.Tpo -c -o
ocspd-core.o test -f 'core.c' || echo './'core.c core.c: In function
'start_threaded_server': core.c:58:13: error:
'PKI_TOKEN_STATUS_KEYPAIR_CHECK_ERR' undeclared (first use in this function) if
(rv & (PKI_TOKEN_STATUS_KEYPAIR_CHECK_ERR   | ^ compilation terminated due to
-Wfatal-errors. make[3]: *** [ocspd-core.o] Error 1 make[3]: Leaving directory
/root/rpmbuild/BUILD/openca-ocspd-3.1.3/src/ocspd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /root/rpmbuild/BUILD/openca-ocspd-3.1.3/src'
make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/root/rpmbuild/BUILD/openca-ocspd-3.1.3'
error: Bad exit status from /var/tmp/rpm-tmp.ERnbrB (%build)

RPM build errors:
bogus date in %changelog: Thu Feb 20 2001 Massimiliano Pala madwolf@openca.org
Bad exit status from /var/tmp/rpm-tmp.ERnbrB (%build)


Thanks.

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