Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114544 - openldap-2.2.28-r2 fails when running aclocal.
Summary: openldap-2.2.28-r2 fails when running aclocal.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-05 09:19 UTC by Erik Zeek
Modified: 2006-02-18 06:43 UTC (History)
0 users

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


Attachments
Fixes underquoted AC_DEFUNs (openldap_m4_underquoted.diff,3.82 KB, patch)
2005-12-06 14:26 UTC, Erik Zeek
Details | Diff
Patch on ebuild to apply AC_DEFUN patch. (openldap-2.2.28-r3.ebuild.diff,732 bytes, patch)
2005-12-06 14:27 UTC, Erik Zeek
Details | Diff
patch for 2.1.30-r6 ebuild (openldap-2.1.30-r6.ebuild.diff,528 bytes, patch)
2005-12-06 14:42 UTC, Erik Zeek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Zeek 2005-12-05 09:19:49 UTC
Emerging openldap-2.2.28-r2 fails when it tries to run aclocal.  It's apparently
looking for AM_TYPE_PTRDIFF_T (see below).  I grepped for it and found:

grep -r AM_TYPE_PTRDIFF_T /usr/share/aclocal*
/usr/share/aclocal-1.4/ptrdiff.m4:AC_DEFUN([AM_TYPE_PTRDIFF_T],
/usr/share/aclocal-1.5/ptrdiff.m4:AC_DEFUN([AM_TYPE_PTRDIFF_T],


 * Running aclocal
/usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of
AM_OPTIONS_WXCONFIG
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG
/usr/share/aclocal/pstoedit.m4:7: warning: underquoted definition of
AM_PATH_PSTOEDIT
/usr/share/aclocal/oaf.m4:4: warning: underquoted definition of AM_PATH_OAF
/usr/share/aclocal/libglade.m4:7: warning: underquoted definition of
AM_PATH_LIBGLADE
/usr/share/aclocal/gtkDPS.m4:3: warning: underquoted definition of AM_PATH_GTK_DPS
/usr/share/aclocal/gconf-1.m4:4: warning: underquoted definition of AM_PATH_GCONF
/usr/share/aclocal/gconf-1.m4:71: warning: underquoted definition of AM_GCONF_SOURCE
/usr/share/aclocal/bnv_have_qt.m4:325: warning: underquoted definition of
BNV_PATH_QT_DIRECT
/usr/share/aclocal/autotrace.m4:7: warning: underquoted definition of
AM_PATH_AUTOTRACE
/usr/share/aclocal/ac_latex_packages.m4:28: warning: underquoted definition of
AC_LATEX_PACKAGES
/usr/share/aclocal/ac_check_typedef.m4:19: warning: underquoted definition of
AC_CHECK_TYPEDEF_
/usr/share/aclocal/ac_check_typedef.m4:38: warning: underquoted definition of
AC_CHECK_TYPEDEF
/usr/share/aclocal/ac_check_symbol.m4:12: warning: underquoted definition of
AC_CHECK_SYMBOL
/usr/share/aclocal/ac_check_symbol.m4:39: warning: underquoted definition of
AC_CHECK_SYMBOLS
/usr/share/aclocal/ac_check_func_in.m4:11: warning: underquoted definition of
AC_CHECK_FUNC_IN
/usr/share/aclocal/ac_check_func_in.m4:51: warning: underquoted definition of
AC_CHECK_FUNCS_IN
/usr/share/aclocal/ac_arg_with_path_style.m4:33: warning: underquoted definition
of AC_ARG_WITH_PATH_STYLE
aclocal:configure.in:2177: warning: macro `AM_TYPE_PTRDIFF_T' not found in library
build/openldap.m4:68: error: m4_defn: undefined macro: _m4_divert_diversion
/usr/share/aclocal/ac_compile_check_sizeof.m4:78: AC_COMPILE_CHECK_SIZEOF is
expanded from...
build/openldap.m4:68: the top level
autom4te-2.59: /usr/bin/m4 failed with exit status: 1
aclocal-1.9: autom4te failed with exit status: 1

!!! ERROR: net-nds/openldap-2.2.28-r2 failed.
!!! Function src_unpack, Line 177, Exitcode 1
!!! aclocal failed
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r4 i686)
=================================================================
System uname: 2.6.14-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre11
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.16
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.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=prescott -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass60/etc /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/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -mtune=prescott -march=prescott -pipe"
DISTDIR="/home/gentoo/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/"
LC_ALL="en_US.utf8"
LINGUAS="en-US"
MAKEOPTS="-j2"
PKGDIR="/home/gentoo/portage/packages"
PORTAGE_TMPDIR="/home/gentoo/tmp"
PORTDIR="/home/gentoo/portage"
PORTDIR_OVERLAY="/home/gentoo/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 7zip X X509 Xaw3d a52 aac aalib acl acpi activefilter ada aim aio alsa
amarok amd amr aotuv apache2 arts artswrappersuid artworkextra asf asm async
atlas auctex audiofile authdaemond automount bash-completion bcmath bcp bdf
berkdb bitmap-fonts bjam bl blas blender-game bonobo boo bzip2 c++ cairo
calendar cap caps ccache cdda cddb cdf cdio cdparanoia cdr cdrom cgi chm
clanJavaScript clanVoice cli clisp cmucl commercial corba cpdflib cpudetection
cracklib crosscompile crypt cscope css ctype cups curl curlwrappers cvsgraph
daap dba dbm dbus dbx dcc debugger dga dhcp dio directfb discard-path dnd dpms
dri dts dv dvd dvdr dvdread dynagraph ecc editor edl eds effects emboss emoticon
encode enscript epson erandom esd examples exif expat extraicons extramodules
fam fame fat fbcon fbdev fbsplash ffmpeg fftw finger firefox fits flac flash
flatfile fltk font-server fontconfig foomaticdb force-cgi-redirect fortran fpx
freetts freetype ftp fuse gb gcc-libffi gcj gcl gd gdal gdbm geoip geos ggi gif
gimp gimpprint ginac gkrellm glade glep glgd glitz glut glx gml gmp gmtfull
gmthigh gmtsuppl gmttria gnome gnome-print gnomedb gnuplot gpgme gphoto2 gpm gps
graphviz grass gs gsl gssapi gstreamer gtk gtk2 gtkhtml guile gzip hal haskell
hddtemp hdf hdf5 hfs high-ints hlapi hou hpn html httpd i8x0 icc iconv icq id3
ide idea idn image imagemagick imap imlib imlib2 inifile inkjar insecure-drivers
insecure-savers ipv6 itcl jack jai jasper java javacomm javascript jbig jce jimi
jit jp2 jpeg jpeg2k junit jython kcal kde kdeenablefinal kdepim kdexdeltas kqemu
ladcca lame lapack largeterminal latex lcms ldap libcaca libclamav libdsk libg++
libgda libsamplerate libwww live lm_sensors logitech-mouse logrotate logwatch
lua lzo lzw mad mail maildir mailwrapper mapeditor maps math matroska md5sum
mhash mikmod mime ming mixer mjpeg mmap mmx mmxext mng mod mopac7 motif mozilla
moznocompose moznoirc moznomail mozsha1 mozsvg mp3 mp4live mpeg mpeg2 mpeg4
mplayer mpqc multiprocess multitarget musepack music musicbrainz mysql nas
ncurses net netcdf network new-login nfs nls no-old-linux nocd nowin nptl
nsplugin ntfs ntlm numarray numeric oav objc ocaml octave offensive ofx ogdi ogg
oggvorbis openal openbabel openexr opengl osc oss pam parse-clocks pascal
patented pcntl pcre pdf pdfkit pdflib pear perl php physfs pic player plotutils
plugin png pnp portaudio posix postfix povray ppds print pyste python qemu-fast
qhull qt quicktime quotas quotes rar rdesktop readline real recode remix rle
rogue rpc rrdtool rss rtc ruby samba sasl sbcl scanner scp screen sdk sdl seti
sftp shared sharedext sharedmem shorten slp smime smp sndfile sockets softmmu
sou sounds speedo speex spell spl sql sqlite sse sse-filters sse2 ssl
stencil-buffer stream subject-rewrite subp subtitles subversion suid svg svgz
symlink sysfs syslog sysvipc szip t1lib tcltk tcpd test tetex tga theora
thesaurus threads tidy tiff timidity tokenizer toolbar tools transcode truetype
truetype-fonts type1 type1-fonts ucs2 ucs4 udev unicode urandom usb userlocales
utf8 uudeview v4l v4l2 vcd vcdimager vfat videos vidix vim-with-x virus-scan
visualization vlm voice vorbis webdav win32codecs wmf wordperfect wv wxwindows
xanim xatrix xface xforms xine xinetd xml xml2 xmms xosd xpm xprint xscreensaver
xsl xslt xv xvid xvmc yv12 zip zlib linguas_en-US userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2005-12-05 09:37:59 UTC
Please take a look at bug #105380, it should hopefully fix this as the new
autoconf is used then.
Feedback on success or failure would be appreciated.
Comment 2 Erik Zeek 2005-12-05 10:35:47 UTC
(In reply to comment #1)
> Please take a look at bug #105380, it should hopefully fix this as the new
> autoconf is used then.
> Feedback on success or failure would be appreciated.

I still get the same error after applying the patch.

I tried changing WANT_AUTOMAKE back to 1.5 and it was able to get past
autoconfig, but it failed in configure while trying to determine the size of
wchar_t.

Hope this helps,
Erik
Comment 3 Erik Zeek 2005-12-06 13:48:52 UTC
The problem is some sort of conflict with sys-devel/autoconf-archive.  After
unmerging it openldap installed just fine.

Erik
Comment 4 Erik Zeek 2005-12-06 14:25:49 UTC
AC_DEFUNs are unserquoted in openldap.m4.  I'll attach my patches.
Comment 5 Erik Zeek 2005-12-06 14:26:38 UTC
Created attachment 74175 [details, diff]
Fixes underquoted AC_DEFUNs
Comment 6 Erik Zeek 2005-12-06 14:27:20 UTC
Created attachment 74176 [details, diff]
Patch on ebuild to apply AC_DEFUN patch.
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-12-06 14:29:42 UTC
could you please do patches for 2.1.30 as well?
Comment 8 Erik Zeek 2005-12-06 14:42:34 UTC
Created attachment 74177 [details, diff]
patch for 2.1.30-r6 ebuild
Comment 9 Erik Zeek 2005-12-06 14:45:29 UTC
(In reply to comment #7)
> could you please do patches for 2.1.30 as well?

Do you need them for all the 2.1.30 versions, or is one for r6 enough?
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-12-06 15:06:21 UTC
r6 is fine thanks.
Comment 11 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-12-06 15:06:59 UTC
ah, I didn't realize the same autoconf snipped applied
;)
Comment 12 Erik Zeek 2005-12-06 15:08:40 UTC
(In reply to comment #11)
> ah, I didn't realize the same autoconf snipped applied
> ;)

Ya.  I was a little confused for 2.2.28 too.  It builds both 2.2.28 and 2.1.30.
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2005-12-17 12:33:45 UTC
*** Bug 115872 has been marked as a duplicate of this bug. ***
Comment 14 Arvid Norlander 2005-12-17 12:41:25 UTC
What is the solution for now? 
I need to have a working computer...
I need to finish my "emerge -DuN world" as fast as possible. I don't have time to do strange things with overlays, should I mask the new version (in /etc/portage/package.mask) until this is fixed?
Comment 15 Erik Zeek 2006-01-05 14:38:41 UTC
Bump.

Can this be merged so we can close this bug?
Comment 16 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2006-01-13 10:01:09 UTC
fixed in cvs