First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 78227
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Apache Team - Bugzilla Reports <apache-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: MIchal Kuhn <michal.kuhn@hp.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ebuild-plus-epatch.diff Add epatch to ebuild for forthcoming patch.. patch Elfyn McBratney 2005-01-22 20:51 0000 452 bytes Details | Diff
gawk-3.1.4-dfacache.patch Patch to fix DFA cache buggery.. patch Elfyn McBratney 2005-01-22 20:53 0000 1.79 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 78227 depends on: Show dependency tree
Bug 78227 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: 2005-01-16 08:32 0000
When I've tried to install apache-2.0.52-r2 with gawk 3.1.4 installed I am
receiving following error:

 `cat export_files` > exports.c
/var/tmp/portage/apache-2.0.52-r2/work/httpd-2.0.52/srclib/apr/libtool --silent
--mode=compile i686-pc-linux-gnu-gcc  -pthread  -mcpu=athlon-xp -O3 -pipe 
-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
-D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER  
-I/var/tmp/portage/apache-2.0.52-r2/work/httpd-2.0.52/srclib/apr/include
-I/var/tmp/portage/apache-2.0.52-r2/work/httpd-2.0.52/srclib/apr-util/include
-I. -I/var/tmp/portage/apache-2.0.52-r2/work/httpd-2.0.52/os/unix
-I/var/tmp/portage/apache-2.0.52-r2/work/httpd-2.0.52/server/mpm/prefork
-I/var/tmp/portage/apache-2.0.52-r2/work/httpd-2.0.52/modules/http
-I/var/tmp/portage/apache-2.0.52-r2/work/httpd-2.0.52/modules/filters
-I/var/tmp/portage/apache-2.0.52-r2/work/httpd-2.0.52/modules/proxy
-I/var/tmp/portage/apache-2.0.52-r2/work/httpd-2.0.52/include
-I/var/tmp/portage/apache-2.0.52-r2/work/httpd-2.0.52/modules/generators
-I/usr/include/openssl
-I/var/tmp/portage/apache-2.0.52-r2/work/httpd-2.0.52/modules/dav/main
-prefer-non-pic -static -c exports.c && touch exports.lo
exports.c:115:2: #endif without #if
make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/apache-2.0.52-r2/work/httpd-2.0.52/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/apache-2.0.52-r2/work/httpd-2.0.52/server'
make: *** [all-recursive] Error 1

!!! ERROR: net-www/apache-2.0.52-r2 failed.
!!! Function src_compile, Line 196, Exitcode 2
!!! problem compiling Apache2 :(
!!! If you need support, post the topmost build error, NOT this status message.

My USE Flags are following

USE="alsa aac aalib acpi altivec apache2 apm avi calendar cdr crypt cups dba
dga divx4linux dvb dvd dvdr encode evo exif fbcon foomaticdb ftp gd gif
gimpprint gnome gpm gps gtk2 gtkhtml imagemagick imap ipv6 java joystick jpeg
-kde ldap mime mmx mozilla mysql nas netboot nis nls oggvorbis openal opengl
pcmcia perl php png profile quicktime samba snpm spell sse ssl tcltk tiff
truetype unicode usb X xine xinerama xml2 xmms xpm xprint xv xvid zlib"


Reproducible: Always
Steps to Reproduce:
1. emerge apache
2.
3.

Actual Results:  
I've checked
/var/tmp/portage/apache-2.0.52-r2/work/httpd-2.0.52/server/exports.c

and saw following

/*
 * THIS FILE WAS AUTOGENERATED BY make_exports.awk
 *
 * This is an ugly hack that needs to be here, so
 * that libtool will link all of the APR functions
 * into server regardless of whether the base server
 * uses them.
 */

#define CORE_PRIVATE

#include "ap_compat.h"
#include "ap_config_auto.h"
#include "ap_config.h"
#include "ap_config_layout.h"
#include "ap_listen.h"

 . . . . . . . 
ending with 
const void *ap_ugly_hack = NULL;

/*
 * /var/tmp/portage/apache-2.0.52-r2/work/httpd-2.0.52/include/ap_mpm.h
 */
#endif

After installation of gawk 3.1.3-r2 is all ok. Seems to be buggy gawk 3.1.4


Expected Results:  
Correct build of Apache server

------- Comment #1 From SpanKY 2005-01-16 11:57:56 0000 -------
can someone rip this apart and produce a small test case ?

------- Comment #2 From Daniel Kenzelmann 2005-01-22 07:11:07 0000 -------
True, seems to be a gawk problem, same error for me and with other packages
like dev-libs/libgpg-error there are errors too.

------- Comment #3 From Elfyn McBratney 2005-01-22 08:15:46 0000 -------
I'm looking into the Apache side of things now..

------- Comment #4 From Elfyn McBratney 2005-01-22 08:54:38 0000 -------
gawk 1.3.4 seems quite fecked, which is making the stripping down harder.. I'll
carry on unless someone beats me to it ;)

------- Comment #5 From Elfyn McBratney 2005-01-22 10:11:52 0000 -------
Ahem, 3.1.4..

This bug(s) are fixed in Fedora (gawk-3.1.4-4), but I'm really out-dated with regard to RPM's..  could someone familiar with the tools extract these patches?  Otherwise lurning-curve coming up.. (wheeeee)

------- Comment #6 From Elfyn McBratney 2005-01-22 20:51:18 0000 -------
Created an attachment (id=49252) [details]
Add epatch to ebuild for forthcoming patch..

------- Comment #7 From Elfyn McBratney 2005-01-22 20:53:24 0000 -------
Created an attachment (id=49253) [details]
Patch to fix DFA cache buggery..

This patch resolves the issue.	It's taken from Fedora (I added a comment at
the top of the patch crediting them, I didn't however mention anything about
Red Hat sitting on patches for months, and months.. sigh..)

------- Comment #8 From Tuan Van (RETIRED) 2005-01-23 14:18:48 0000 -------
or we could try the LC_ALL=C hack in bug #78749. WFM.

------- Comment #9 From Mike Gardiner (RETIRED) 2005-01-24 02:45:52 0000 -------
Elfyn's patch fixes for me (against gawk-3.1.4), and I can subsequently build
apache without problems.

------- Comment #10 From Christian Parpart 2005-01-24 04:07:54 0000 -------
The question *why* redhat did *not* submit the fix to 
upstream may be because it does not really fix the 
problem, it just disabled the feature (as of looking 
into the patch source) - but shall be applied anyway...

------- Comment #11 From SpanKY 2005-01-28 23:00:13 0000 -------
please try gawk-3.1.4-r1

------- Comment #12 From Tuan Van (RETIRED) 2005-01-29 12:47:29 0000 -------
with gawk-3.1.4-r1, WFM.

------- Comment #13 From SpanKY 2005-01-29 20:40:14 0000 -------
thanks Elfyn, you saved my ass on that one :)

3.1.4-r1 seems to be fixing locale problems with other packages too

First Last Prev Next    No search results available      Search page      Enter new bug