Discussion:
pkg/48506: Apache mod_security2 build fails
s***@endfertig.de
2014-01-08 22:45:00 UTC
Permalink
Number: 48506
Category: pkg
Synopsis: Apache mod_security2 build fails
Confidential: no
Severity: non-critical
Priority: low
Responsible: pkg-manager
State: open
Class: sw-bug
Submitter-Id: net
Arrival-Date: Wed Jan 08 22:45:00 +0000 2014
Originator: Sebastian POnitka
Release: current
bash-4.2# uname -a
NetBSD while 6.1.2 NetBSD 6.1.2 (XEN3_DOMU) #0: Sat Oct 19 10:19:41 UTC 2013 ***@XXX:/mnt/obj/sys/arch/amd64/compile/XEN3_DOMU amd64
bash-4.2#
mod_security2 package build fails:

libtool --silent --mode=compile gcc -prefer-pic -DNETBSD -pthread -I/usr/pkg/include/httpd -I/usr/pkg/include/apr-1 -I/usr/pkg/include/apr-1 -I/usr/pkg/include -O2 -g -Wall -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1500 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1500 -I/usr/pkg/include/httpd -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA -c -o msc_lua.lo msc_lua.c && touch msc_lua.slo
msc_lua.c: In function 'lua_restore':
msc_lua.c:86:5: error: too few arguments to function 'lua_load'
/x/pkgobj/security/ap-modsecurity2/work.x86_64/.buildlink/include/lua.h:261:16: note: declared here
msc_lua.c: In function 'lua_compile':
msc_lua.c:97:5: warning: implicit declaration of function 'lua_open'
msc_lua.c:97:7: warning: assignment makes pointer from integer without a cast
msc_lua.c: In function 'resolve_tfns':
msc_lua.c:161:9: warning: implicit declaration of function 'lua_objlen'
msc_lua.c: In function 'lua_execute':
msc_lua.c:413:7: warning: assignment makes pointer from integer without a cast
msc_lua.c:431:5: warning: implicit declaration of function 'luaL_register'
msc_lua.c: In function 'lua_restore':
msc_lua.c:87:1: warning: control reaches end of non-void function
apxs:Error: Command failed with rc=65536
.
*** Error code 1

Stop.
make: stopped in /x/pkgobj/security/ap-modsecurity2/work.x86_64/modsecurity-apache_2.5.13/apache2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/ap-modsecurity2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/ap-modsecurity2
bash-4.2#
make
OBATA Akio
2014-02-06 07:20:01 UTC
Permalink
The following reply was made to PR pkg/48506; it has been noted by GNATS.

From: "OBATA Akio" <***@lins.jp>
To: gnats-***@netbsd.org
Cc:
Subject: Re: pkg/48506: Apache mod_security2 build fails
Date: Thu, 06 Feb 2014 16:19:07 +0900
Release: current
Not happened with pkgsrc-current and pkgsrc-2013Q4,
restricted to lua-5.1 now.

Please update your pkgsrc tree.
o***@NetBSD.org
2014-02-06 08:37:40 UTC
Permalink
Synopsis: Apache mod_security2 build fails

State-Changed-From-To: open->feedback
State-Changed-By: ***@NetBSD.org
State-Changed-When: Thu, 06 Feb 2014 08:37:40 +0000
State-Changed-Why:
Please update your pkgsrc tree and try again.
David Holland
2014-10-13 23:30:00 UTC
Permalink
The following reply was made to PR pkg/48506; it has been noted by GNATS.

From: David Holland <dholland-***@netbsd.org>
To: gnats-***@netbsd.org
Cc:
Subject: Re: pkg/48506: Apache mod_security2 build fails
Date: Mon, 13 Oct 2014 23:25:39 +0000

not sent to gnats:
------
From: Sebastian <***@endfertig.de>
To: ***@netbsd.org
Subject: Re: pkg/48506: Apache mod_security2 build fails
Date: Tue, 05 Aug 2014 10:25:16 +0200

Feedback:

After update to pkgsrc-current mod_security2 package builds fine.

Best regards,
Sebastian
This is an infrequent reminder that there is 1 Problem Report
(PR) of yours in the NetBSD GNATS database in "feedback" state.
Problem Reports in this state require additional information
before they can be resolved. Most often, this is information
required from the user who submitted the Problem Report in the
first place; occasionally, information is required from some
other source to resolve the reported problem.
The GNATS problem report database operates primarily through
Internet E-mail. To provide feedback to a problem report, or
with the Subject: field set to "Re: category/number", e.g.
Subject: Re: port-eniac/1234
and the GNATS PR database will append that message to the PR
already in the database. You can also find these instructions at
http://gnats.NetBSD.org/send-pr.html#appending
To see a summary of the whole PR database, please see
http://gnats.NetBSD.org/summary/
If you wish to perform an arbitrary query on the database, please see
http://gnats.NetBSD.org/query-pr.html
For additional helpful documentation, please see
http://gnats.NetBSD.org/send-pr.html#pr-hints
http://gnats.NetBSD.org/send-pr.html#pr-fields
http://gnats.NetBSD.org/send-pr.html#pr-states
Please examine the full text and history of the Problem Report
listed below by following the given URL with a web browser.
The audit trail of action will be at the bottom of each report,
and should list what information is required to solve the problem
and close the report.
______________________________________________________________
pkg/48506 - non-critical low priority sw-bug
Apache mod_security2 build fails
http://gnats.NetBSD.org/cgi-bin/query-pr-single.pl?number=48506
d***@NetBSD.org
2014-10-13 23:38:41 UTC
Permalink
Synopsis: Apache mod_security2 build fails

State-Changed-From-To: feedback->closed
State-Changed-By: ***@NetBSD.org
State-Changed-When: Mon, 13 Oct 2014 23:38:41 +0000
State-Changed-Why:
confirmed fixed.

Loading...