Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291183 - www-servers/lighttpd-1.4.24 fails to build because of undeclared identifier
Summary: www-servers/lighttpd-1.4.24 fails to build because of undeclared identifier
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Christian Hoffmann (RETIRED)
URL: http://redmine.lighttpd.net/projects/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-30 15:55 UTC by Thomas Sachau
Modified: 2009-11-05 18:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lighttpd-1.4.24 build.log (www-servers:lighttpd-1.4.24:20091030-153448.log,53.85 KB, text/plain)
2009-10-30 15:56 UTC, Thomas Sachau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Sachau gentoo-dev 2009-10-30 15:55:13 UTC
See attached build.log for details

emerge --info:

Portage 2.2_rc46-r3 (unavailable, gcc-4.4.2, glibc-2.9_p20081201-r5, 2.6.31-hardened-r4 x86_64)
=================================================================
System uname: Linux-2.6.31-hardened-r4-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Fri Oct 30 07:41:18 CET 2009
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/home/thomas/daten/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests autoconfig buildpkg collision-protect distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
INSTALL_MASK="/usr/share/gtk-doc"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5 --load-average=8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/multilib-overlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/java-overlay /usr/local/portage/layman/enlightenment /usr/local/portage/layman/hardened-development /usr/local/portage"
SYNC="cvs://tommy@cvs.gentoo.org:/var/cvsroot"
USE="3dnow X alsa amd64 berkdb cracklib crypt cups custom-cflags custom-cxxflags gpm hardened java5 java6 justify lib32 mmx modules multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pic readline scanner sse sse2 ssl sysfs tcpd unicode urandom vorbis xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Sachau gentoo-dev 2009-10-30 15:56:03 UTC
Created attachment 208741 [details]
lighttpd-1.4.24 build.log
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-10-30 20:58:23 UTC
thanks for the report. it appears the build system cant agree with itself whether mod_rewrite should be build. it says, it wont build it at the top and then proceeds with building it further down.

if you enable the pcre USE flag it will build fine.
did 1.4.23 work for you?
Comment 3 Christian Hoffmann (RETIRED) gentoo-dev 2009-10-31 09:13:22 UTC
This is a known problem (has been on the ML).
http://redmine.lighttpd.net/projects/lighttpd/repository/revisions/2683

If I had time....
Comment 4 Thomas Sachau gentoo-dev 2009-10-31 17:34:26 UTC
(In reply to comment #2)
> thanks for the report. it appears the build system cant agree with itself
> whether mod_rewrite should be build. it says, it wont build it at the top and
> then proceeds with building it further down.
> 
> if you enable the pcre USE flag it will build fine.
> did 1.4.23 work for you?
> 

In this place i only need a minimal lighty, no need for mod_rewrite or anything else. And 1.4.23 worked fine with the same config.

(In reply to comment #3)
> This is a known problem (has been on the ML).
> http://redmine.lighttpd.net/projects/lighttpd/repository/revisions/2683
> 
> If I had time....
> 

You need someone adding that diff as patch to 1.4.24?
Comment 5 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-10-31 18:31:28 UTC
> 
> You need someone adding that diff as patch to 1.4.24?
> 

it doesnt apply cleanly for me and i dont have time to fix this up this weekend - so go ahead if you want.
Comment 6 Thomas Sachau gentoo-dev 2009-11-05 18:21:43 UTC
The only part that failed for me was the patch against NEWS file, i dropped that part. The rest applied cleanly, so i just committed it to main tree.