Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119554 - apache fails to build
Summary: apache fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-19 08:22 UTC by Maxxer
Modified: 2006-01-20 02:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxxer 2006-01-19 08:22:45 UTC
Trying to upgrade from net-www/apache-2.0.55 to 2.0.55-r1 with the following USE
"apache2 doc ssl -debug -ldap -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker -no-suexec -static-modules -threads"
fails to build on ldap include files.

In file included from exports.c:33:
/usr/include/apr-0/apr_ldap.h:126:18: lber.h: No such file or directory
/usr/include/apr-0/apr_ldap.h:127:18: ldap.h: No such file or directory
In file included from exports.c:101:
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:72: error: `LDAP_DEREF_NEVER' undeclared here (not in a function)
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:72: error: enumerator value for `never' not integer constant
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:73: error: `LDAP_DEREF_SEARCHING' undeclared here (not in a function)
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:73: error: enumerator value for `searching' not integer constant
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:74: error: `LDAP_DEREF_FINDING' undeclared here (not in a function)
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:74: error: enumerator value for `finding' not integer constant
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:76: error: `LDAP_DEREF_ALWAYS' undeclared here (not in a function)
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:76: error: enumerator value for `always' not integer constant
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:80: error: syntax error before "LDAP"
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:80: warning: no semicolon at end of struct or union
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:99: error: syntax error before '}' token
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:99: warning: data definition has no type or storage class
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:147: error: syntax error before "util_ldap_connection_t"
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:158: error: syntax error before '*' token
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:198: error: syntax error before '*' token
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:200: warning: data definition has no type or storage class
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:221: error: syntax error before "util_ldap_connection_t"
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:238: error: syntax error before "util_ldap_connection_t"
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:260: error: syntax error before "util_ldap_connection_t"
/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include/util_ldap.h:281: error: syntax error before "util_ldap_connection_t"
make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/server'
make: *** [all-recursive] Error 1



emerge info:
Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1-ginger x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1-ginger x86_64 AMD Turion(tm) 64 Mobile Technology MT-32
Gentoo Base System version 1.12.0_pre14
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE=""
ARCH="amd64"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CBUILD="x86_64-pc-linux-gnu"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-O2 -march=k8 -pipe"
CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /etc/mail/dspam /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control /var/run/dspam"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=k8 -pipe"
DEFAULT_ABI="amd64"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://gentoo.inode.at"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="ginger"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.5/info"
KDEDIRS="/usr"
KERNEL="linux"
LADSPA_PATH="/usr/lib64/ladspa"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LC_MESSAGES="it_IT@euro"
LDFLAGS_x86="-m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_x86="lib32"
LINGUAS="it en"
LOGNAME="root"
MAKEOPTS="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.5/man:/usr/qt/3/doc/man"
MM_CHARSET="it_IT.UTF-8"
MULTILIB_ABIS="x86 amd64"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|eclipse-3|debug|portage)"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="28908"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PWD="/home/maxxer"
PYTHONDOCS="/usr/share/doc/python-docs-2.3.5/html"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SHELL="/bin/bash"
SHLVL="2"
SSH_CLIENT="192.168.10.2 1552 22"
SSH_CONNECTION="192.168.10.2 1552 192.168.10.222 22"
SSH_TTY="/dev/pts/0"
SYMLINK_LIB="yes"
SYNC="rsync://rsync1.it.gentoo.org/gentoo-portage"
TERM="xterm"
USE="X aalib acpi alsa amd64 audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzip2 bzlib cdr crypt curl doc dvd dvdr dvdread eds emboss emul-linux-x86 encode exif expat fam fbcon ffmpeg flac foomaticdb fortran gd gif gimprint glut glx gmp gphoto2 gpm gstreamer gtk gtk2 gutenprint idn imagemagick imlib ipv6 jpeg lcms libcaca lzw lzw-tiff mad mjpeg mng motif mp3 mpeg mysql ncurses nls nvidia ogg opengl pam pcmcia pcre pdflib perl php png ppds python qt quicktime readline samba sdl spell ssl sysfs tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis wifi xine xml2 xmms xpm xv xvid zlib elibc_glibc kernel_linux linguas_it linguas_en userland_GNU"
USER="root"
USERLAND="GNU"
USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN=""
XARGS="xargs -r"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"
Comment 1 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-01-19 17:41:16 UTC
please check your USE-flags for dev-libs/apr-util and make sure ldap is off, and then rebuild apr, apr-util, and apache. I'm thinking ldap may have been upgraded or removed from your machine, while apr-util still depends on it.
Comment 2 Maxxer 2006-01-19 23:38:29 UTC
(In reply to comment #1)
> I'm thinking ldap may have been
> upgraded or removed from your machine, while apr-util still depends on it.

You're right, I removed ldap. After that I did a revdep-rebuild, it compiled some stuff but not everything, so something was left around broken.

Thank you very much, sorry for opening a bug for this...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-20 02:01:24 UTC
Thanks for reporting back, closing.