NetBSD Problem Report #48506

From www@NetBSD.org  Wed Jan  8 22:43:13 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 36F9EA6469
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  8 Jan 2014 22:43:13 +0000 (UTC)
Message-Id: <20140108224249.EF23EA6475@mollari.NetBSD.org>
Date: Wed,  8 Jan 2014 22:42:49 +0000 (UTC)
From: sebastian@endfertig.de
Reply-To: sebastian@endfertig.de
To: gnats-bugs@NetBSD.org
Subject: Apache mod_security2 build fails
X-Send-Pr-Version: www-1.0

>Number:         48506
>Category:       pkg
>Synopsis:       Apache mod_security2 build fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 08 22:45:00 +0000 2014
>Closed-Date:    Mon Oct 13 23:38:41 +0000 2014
>Last-Modified:  Mon Oct 13 23:38:41 +0000 2014
>Originator:     Sebastian POnitka
>Release:        current
>Organization:
>Environment:
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  root@XXX:/mnt/obj/sys/arch/amd64/compile/XEN3_DOMU amd64
bash-4.2# 

>Description:
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# 

>How-To-Repeat:
make
>Fix:

>Release-Note:

>Audit-Trail:
From: "OBATA Akio" <obata@lins.jp>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/48506: Apache mod_security2 build fails
Date: Thu, 06 Feb 2014 16:19:07 +0900

 On Thu, 09 Jan 2014 07:45:00 +0900, <sebastian@endfertig.de> wrote:

 >> Release:        current

 Not happened with pkgsrc-current and pkgsrc-2013Q4,
 restricted to lua-5.1 now.

 Please update your pkgsrc tree.

State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Thu, 06 Feb 2014 08:37:40 +0000
State-Changed-Why:
Please update your pkgsrc tree and try again.


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@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 <sebastian@endfertig.de>
 To: gnats@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

 Am 2014-08-05 07:09, schrieb gnats@NetBSD.org:
 > 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
 > additional information, send E-mail to gnats-bugs@gnats.netbsd.org,
 > 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

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


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.