Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2021 13:57:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259137] security/modsecurity3-apache fails to build in poudriere
Message-ID:  <bug-259137-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 259137
           Summary: security/modsecurity3-apache fails to build in
                    poudriere
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: joneum@FreeBSD.org
          Reporter: vikashb@where-ever.za.net
             Flags: maintainer-feedback?(joneum@FreeBSD.org)
          Assignee: joneum@FreeBSD.org

Poudriere version: 3.3.7_1
Host OSVERSION: 1300139
Jail OSVERSION: 1300139

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: build          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Building for modsecurity3-apache-0.0.9.b1.19_1
--- all ---
chmod +x build/apxs-wrapper
build/apxs-wrapper
/usr/local/share/apr/build-1/libtool --silent --mode=3Dcompile cc -prefer-p=
ic -O2
-pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing=20=20=20
-I/usr/local/include/apache24  -I/usr/local/include/apr-1=20=20
-I/usr/local/include/apr-1 -I/usr/include -I/usr/local/include
-I/usr/local/include/db5 -fPIC -O0 -I/usr/local/include  -c -o
src/mod_security3.lo src/mod_security3.c && touch src/mod_security3.slo
In file included from src/mod_security3.c:4:
In file included from src/mod_security3.h:27:
In file included from src/msc_filters.h:17:
src/mod_security3.h:49:5: error: unknown type name 'Rules'
    Rules *rules_set;
    ^
src/mod_security3.c:151:21: error: expected expression
            (Rules *)z->rules_set, unique_id, (void *)r);
                    ^
src/mod_security3.c:151:14: error: use of undeclared identifier 'Rules'
            (Rules *)z->rules_set, unique_id, (void *)r);
             ^
src/mod_security3.c:154:21: error: expected expression
            (Rules *)z->rules_set, (void *)r);
                    ^
src/mod_security3.c:154:14: error: use of undeclared identifier 'Rules'
            (Rules *)z->rules_set, (void *)r);
             ^
src/mod_security3.c:503:44: warning: passing 'const char *' to parameter of
type 'const unsigned char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
            msc_add_request_header(msr->t, key, val);
                                           ^~~
/usr/local/include/modsecurity/transaction.h:651:75: note: passing argument=
 to
parameter 'key' here
int msc_add_request_header(Transaction *transaction, const unsigned char *k=
ey,
                                                                          ^
src/mod_security3.c:503:49: warning: passing 'const char *' to parameter of
type 'const unsigned char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
            msc_add_request_header(msr->t, key, val);
                                                ^~~
/usr/local/include/modsecurity/transaction.h:652:26: note: passing argument=
 to
parameter 'value' here
    const unsigned char *value);
                         ^
2 warnings and 5 errors generated.
apxs:Error: Command failed with rc=3D65536
.
*** [all] Error code 1

make[1]: stopped in
/wrkdirs/usr/ports/security/modsecurity3-apache/work/ModSecurity-apache-0.0=
.9-beta1-19-gf76aaae
1 error

make[1]: stopped in
/wrkdirs/usr/ports/security/modsecurity3-apache/work/ModSecurity-apache-0.0=
.9-beta1-19-gf76aaae
=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/modsecurity3-apache
=3D>> Cleaning up wrkdir

--=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-259137-7788>