NetBSD Problem Report #50724

From www@NetBSD.org  Fri Jan 29 09:15:22 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C1EDD7ABE4
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 29 Jan 2016 09:15:22 +0000 (UTC)
Message-Id: <20160129091521.A794F7ACB5@mollari.NetBSD.org>
Date: Fri, 29 Jan 2016 09:15:21 +0000 (UTC)
From: richard@NetBSD.org
Reply-To: richard@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: apache24 doesn't like lua option
X-Send-Pr-Version: www-1.0

>Number:         50724
>Category:       pkg
>Synopsis:       apache24 doesn't like lua option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ryoon
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 29 09:20:00 +0000 2016
>Closed-Date:    Sun Feb 21 03:27:37 +0000 2016
>Last-Modified:  Sun Feb 21 03:27:37 +0000 2016
>Originator:     Richard PALO
>Release:        current
>Organization:
>Environment:
SunOS omnis 5.11 omnidev-0-g4ba11dd i86pc i386 i86pc

>Description:
bulkbuilding apache24 doesn't like 'lua' as an option:

checking whether to enable mod_lua... checking dependencies
checking for pow in -lm... yes
checking for sqrt in -lm... yes
checking for lua.h in ./include/lua-5.2... no
checking for lua.h in ./include/lua5.2... no
checking for lua.h in ./include/lua52... no
checking for lua.h in ./include... no
checking for lua.h in ./include/lua-5.1... no
checking for lua.h in ./include/lua5.1... no
checking for lua.h in ./include/lua51... no
checking for lua.h in /usr/local/include/lua-5.2... no
checking for lua.h in /usr/local/include/lua5.2... no
checking for lua.h in /usr/local/include/lua52... no
checking for lua.h in /usr/local/include... no
checking for lua.h in /usr/local/include/lua-5.1... no
checking for lua.h in /usr/local/include/lua5.1... no
checking for lua.h in /usr/local/include/lua51... no
checking for lua.h in /usr/include/lua-5.2... no
checking for lua.h in /usr/include/lua5.2... no
checking for lua.h in /usr/include/lua52... no
checking for lua.h in /usr/include... no
checking for lua.h in /usr/include/lua-5.1... no
checking for lua.h in /usr/include/lua5.1... no
checking for lua.h in /usr/include/lua51... no
configure: WARNING: *** Lua 5.2 or 5.1 library not found.
configure: WARNING: Lua 5.2 or 5.1 library is required
checking whether to enable mod_lua... configure: error: mod_lua has been requested but can not be built due to prerequisite failures
*** Error code 1


>How-To-Repeat:
add 'lua' as an option (here I added to PKG_DEFAULT_OPTIONS):

==========================================================================
The supported build options for apache are:

	apache-mpm-event apache-mpm-prefork apache-mpm-worker
	http2 lua privileges suexec

The currently selected options are:

	apache-mpm-event apache-mpm-prefork apache-mpm-worker
	lua

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.apache (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
apache-2.4.18.  Their current value is shown below:

        * APACHE_MODULES = all
        * CURSES_DEFAULT = ncurses
        * IPV6_READY = YES
        * LUA_VERSION_DEFAULT = 52
        * READLINE_DEFAULT = readline
        * SSLBASE (defined)
        * SSLCERTS = /opt/local/etc/openssl/certs
        * SSLDIR = /opt/local/etc/openssl
        * SSLKEYS = /opt/local/etc/openssl/private
        * VARBASE = /var

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * LUA_PACKAGE = lua52
        * READLINE_TYPE = readline
        * TERMCAP_TYPE = curses

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/opt/local/bin/bmake clean' after
the changes.

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 29 Jan 2016 09:21:05 +0000
Responsible-Changed-Why:
Over to maintainer


From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50724 CVS commit: pkgsrc/www/apache24
Date: Sun, 31 Jan 2016 07:49:23 +0000

 Module Name:	pkgsrc
 Committed By:	ryoon
 Date:		Sun Jan 31 07:49:23 UTC 2016

 Modified Files:
 	pkgsrc/www/apache24: options.mk

 Log Message:
 Detect pkgsrc lua. Fix PR pkg/50724


 To generate a diff of this commit:
 cvs rdiff -u -r1.11 -r1.12 pkgsrc/www/apache24/options.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: ryoon@NetBSD.org
State-Changed-When: Sun, 31 Jan 2016 07:51:31 +0000
State-Changed-Why:
Please try latest www/apache24. Thank you.


From: Richard PALO <richard@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/50724 (apache24 doesn't like lua option)
Date: Sat, 20 Feb 2016 06:54:42 +0100

 Le 31/01/16 08:51, ryoon@NetBSD.org a écrit :
 > Synopsis: apache24 doesn't like lua option
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: ryoon@NetBSD.org
 > State-Changed-When: Sun, 31 Jan 2016 07:51:31 +0000
 > State-Changed-Why:
 > Please try latest www/apache24. Thank you.
 > 
 > 
 > 
 > 
 Sorry, this seems to build correctly now. 
 Thanks!

 -- 
 Richard PALO

State-Changed-From-To: feedback->closed
State-Changed-By: ryoon@NetBSD.org
State-Changed-When: Sun, 21 Feb 2016 03:27:37 +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-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.