Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 193492
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Apache Team - Bugzilla Reports <apache-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michael Sun <mike@emobilenetworks.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
configure.in.patch patch to allow disabling exception-hook and maintainer-mode options patch Michael Sun 2007-09-23 10:25 0000 1.09 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 193492 depends on: Show dependency tree
Bug 193492 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-23 09:56 0000
www-servers/apache-2.2.6-r1 is always compiled with
maintainer-mode/exception-hook  options even though I do not have 'debug' in
USE flag.


Reproducible: Always




It seems that --disable-exception-hook and --disbale-maintainer-mode does not
work as expect.  After I patched the configure.in, this problem is fixed.

--- configure.in.orig   2007-07-17 07:48:25.000000000 -0700
+++ configure.in        2007-09-16 15:31:09.000000000 -0700
@@ -456,16 +456,16 @@
               [Allow IPv4 connections on IPv6 listening sockets])
 fi

-AC_ARG_ENABLE(exception-hook,APACHE_HELP_STRING(--enable-exception-hook,Enable
fatal exception hook),
-[
+AC_ARG_ENABLE(exception-hook,APACHE_HELP_STRING(--enable-exception-hook,Enable
fatal exception hook))
+if test "$enable_exception_hook" = "yes"; then
     AC_DEFINE(AP_ENABLE_EXCEPTION_HOOK, 1,
               [Allow modules to run hook after a fatal exception])
-])dnl
+fi

-AC_ARG_ENABLE(maintainer-mode,APACHE_HELP_STRING(--enable-maintainer-mode,Turn
on debugging and compile time warnings),
-[
+AC_ARG_ENABLE(maintainer-mode,APACHE_HELP_STRING(--enable-maintainer-mode,Turn
on debugging and compile time warnings))
+if test "$enable_maintainer_mode" = "yes"; then
   APR_ADDTO(CPPFLAGS, -DAP_DEBUG)
-])dnl
+fi

 dnl Conditionally enable PIE support for GNU toolchains.
 AC_ARG_ENABLE(pie,APACHE_HELP_STRING(--enable-pie,Build httpd as a Position
Independent Executable))

------- Comment #1 From Jakub Moc (RETIRED) 2007-09-23 10:05:43 0000 -------
Please, don't paste patches inline, it kills formatting. We have attachments
feature for this.

------- Comment #2 From Michael Sun 2007-09-23 10:25:11 0000 -------
Created an attachment (id=131678) [details]
patch to allow disabling exception-hook and maintainer-mode options

------- Comment #3 From Benedikt Böhm 2007-10-20 17:16:53 0000 -------
fixed in 2.2.6-r2

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug