Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Nov 2023 09:49:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274985] security/sshguard - Doesn't build on 12.4-RELEASE
Message-ID:  <bug-274985-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274985

            Bug ID: 274985
           Summary: security/sshguard - Doesn't build on 12.4-RELEASE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: yani@pi-greece.eu
                CC: kevinz5000@gmail.com
                CC: kevinz5000@gmail.com
             Flags: maintainer-feedback?(kevinz5000@gmail.com)

Hi,

I'm getting the following build error when building via portmaster or poudr=
iere
on FreeBSD 12.4



=3D=3D=3D>>> Currently installed version: sshguard-2.4.2_2,1
=3D=3D=3D>>> Port directory: /usr/ports/security/sshguard

=3D=3D=3D>>> Gathering distinfo list for installed ports

=3D=3D=3D>>> Launching 'make checksum' for security/sshguard in background
=3D=3D=3D>>> Gathering dependency list for security/sshguard from ports
=3D=3D=3D>>> Initial dependency check complete for security/sshguard


=3D=3D=3D>>> Starting build for security/sshguard <<<=3D=3D=3D

=3D=3D=3D>>> All dependencies are up to date

=3D=3D=3D>  Cleaning for sshguard-2.4.3,1
=3D=3D=3D>  License BSD2CLAUSE accepted by the user
=3D=3D=3D>   sshguard-2.4.3,1 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by sshguard-2.4.3,1 for building
=3D=3D=3D>  Extracting for sshguard-2.4.3,1
=3D> SHA256 Checksum OK for sshguard-2.4.3.tar.gz.
=3D=3D=3D>  Patching for sshguard-2.4.3,1
=3D=3D=3D>  Applying FreeBSD patches for sshguard-2.4.3,1 from
/usr/ports/security/sshguard/files
=3D=3D=3D>   sshguard-2.4.3,1 depends on file: /usr/local/bin/ccache - found
=3D=3D=3D>  Configuring for sshguard-2.4.3,1
configure: loading site script /usr/ports/Templates/config.site
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for wchar.h... (cached) yes
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
## -------------- ##
## Program Checks ##
## -------------- ##
checking for ranlib... ranlib
checking for bison... no
checking for byacc... byacc
checking for ar... ar
checking the archiver (ar) interface... ar
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking for library containing yywrap... -lfl
checking whether yytext is a pointer... yes
## ----------------------------------- ##
## Headers, Types, and Compiler Checks ##
## ----------------------------------- ##
checking for getopt.h... (cached) yes
checking for capsicum_helpers.h... yes
checking for libcasper.h... yes
checking for library containing cap_init... -lcasper
checking for library containing cap_getaddrinfo... no
checking for rst2man... no
checking for rst2man.py... no
configure: WARNING: rst2man not found; using pre-built man pages
## ----------------- ##
## Library Functions ##
## ----------------- ##
checking for library containing gethostbyname... none required
checking for library containing pthread_create... -lpthread
checking for library containing socket... none required
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/blocker/Makefile
config.status: creating src/fw/Makefile
config.status: creating src/parser/Makefile
config.status: creating src/common/config.h
config.status: executing depfiles commands
=3D=3D=3D>  Building for sshguard-2.4.3,1
--- all-recursive ---
Making all in src
--- all-recursive ---
Making all in blocker
--- sandbox.o ---
--- service_names.o ---
--- simclist.o ---
--- attack.o ---
--- sandbox.o ---
cc -DHAVE_CONFIG_H -I. -I../../src/common    -I../../src/common
-DSIMCLIST_NO_DUMPRESTORE -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing -MT sandbox.o -MD -MP -MF .deps/sandbox.Tpo -c -o
sandbox.o `test -f '../common/sandbox.c' || echo './'`../common/sandbox.c
--- service_names.o ---
cc -DHAVE_CONFIG_H -I. -I../../src/common    -I../../src/common
-DSIMCLIST_NO_DUMPRESTORE -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing -MT service_names.o -MD -MP -MF .deps/service_names.Tp=
o -c
-o service_names.o `test -f '../common/service_names.c' || echo
'./'`../common/service_names.c
--- simclist.o ---
cc -DHAVE_CONFIG_H -I. -I../../src/common    -I../../src/common
-DSIMCLIST_NO_DUMPRESTORE -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing -MT simclist.o -MD -MP -MF .deps/simclist.Tpo -c -o
simclist.o `test -f '../common/simclist.c' || echo './'`../common/simclist.c
--- attack.o ---
cc -DHAVE_CONFIG_H -I. -I../../src/common     -I../../src/common
-DSIMCLIST_NO_DUMPRESTORE -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing -MT attack.o -MD -MP -MF .deps/attack.Tpo -c -o attack=
.o
attack.c
--- service_names.o ---
mv -f .deps/service_names.Tpo .deps/service_names.Po
--- blocker.o ---
cc -DHAVE_CONFIG_H -I. -I../../src/common     -I../../src/common
-DSIMCLIST_NO_DUMPRESTORE -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing -MT blocker.o -MD -MP -MF .deps/blocker.Tpo -c -o
blocker.o blocker.c
--- attack.o ---
mv -f .deps/attack.Tpo .deps/attack.Po
--- blocklist.o ---
cc -DHAVE_CONFIG_H -I. -I../../src/common     -I../../src/common
-DSIMCLIST_NO_DUMPRESTORE -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing -MT blocklist.o -MD -MP -MF .deps/blocklist.Tpo -c -o
blocklist.o blocklist.c
--- sandbox.o ---
In file included from ../common/sandbox.c:2:
../../src/common/sandbox.h:9:10: fatal error: 'casper/cap_net.h' file not f=
ound
#include <casper/cap_net.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
*** [sandbox.o] Error code 1

make[3]: stopped in
/usr/ports/security/sshguard/work/sshguard-2.4.3/src/blocker
--- blocker.o ---
In file included from blocker.c:32:
../../src/common/sandbox.h:9:10: fatal error: 'casper/cap_net.h' file not f=
ound
#include <casper/cap_net.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
*** [blocker.o] Error code 1

make[3]: stopped in
/usr/ports/security/sshguard/work/sshguard-2.4.3/src/blocker
--- blocklist.o ---
mv -f .deps/blocklist.Tpo .deps/blocklist.Po
--- simclist.o ---
mv -f .deps/simclist.Tpo .deps/simclist.Po
2 errors

make[3]: stopped in
/usr/ports/security/sshguard/work/sshguard-2.4.3/src/blocker
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/security/sshguard

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274985-7788>