Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140602 - Samba 3.0.23 compilation fails due to undefined LDAP_NO_MEMORY
Summary: Samba 3.0.23 compilation fails due to undefined LDAP_NO_MEMORY
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 141039 141913 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-16 01:21 UTC by Leonid Podolny
Modified: 2006-07-28 03:19 UTC (History)
3 users (show)

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


Attachments
Build log (samba.log,59.66 KB, text/plain)
2006-07-16 03:12 UTC, Leonid Podolny
Details
samba-3.0.23a.ebuild: shared modules modify (samba-3.0.23a.ebuild,7.98 KB, text/plain)
2006-07-24 05:22 UTC, Christian Andreetta (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Podolny 2006-07-16 01:21:15 UTC
Portage 2.1.1_pre2-r8 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r1 i686)
=================================================================
                       System Settings
=================================================================
System uname: 2.6.17-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -msse -msse2 -mmmx"
CHOST="i686-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -msse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.blueyonder.co.uk http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.mirror.solnet.ch http://pandemonium.tiscali.de/pub/gentoo/"
LINGUAS="en en_GB ru he"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi aim alsa amd apache2 apm arts asf automount bash-completion berkdb bidi bitmap-fonts bittorrent bonobo bzip2 c++ cairo cap cdb cddb cdparanoia cdr cdrom cgi chm chroot clamav clamd clearpasswd cmucl cobalt cpudetection crypt cscope css ctype cups curl cvs cvsgraph dba dbase dbx delays devmap dhcp dict dio directfb djvu dnd dpms dri dts dv dvb dvd dvdread dvi eb emacs emacs-w3 encode escreen ethereal expat extensions extrafilters fat fbcon fbdev fbsplash fep ffmpeg fftw firefox flac font-server fontconfig foomaticdb fortran fpx freetext ftp fuse gcj gd gg gif gimp gimpprint glade glibc-omitfp glut glx gmail gmailtimestamps gpm gprof gsnd gtk gtk2 gtkhtml guile haskell hfs high-ints hpn i8x0 icc iconv icq id3 idea idn ieee1394 imagemagick imap imlib imlib2 immqt irc irda jabber java javamail javascript jfs jpeg jpeg2k junit justify kde kdeenablefinal kdexdeltas lame largeterminal latex lcd lcms leim libcaca libclamav libwww lj lm_sensors logitech-mouse logrotate lzo mad maps mbox mcal mikmod mjpeg mmx mod_irc mod_muc mod_pubsub mod_python modelock modperl modplug mono motif mozcalendar moznoxft mozsvg mozxmlterm mp3 mpeg mplayer mpm-prefork msn mule multi-tty multiuser music mysql mysqli mythtv mzscheme nagios-dns nautilus ncurses need netboot network new-login nls nntp no-old-linux nptl nptlonly nsplugin ntfs ocaml offensive ogg oggvorbis opengl openssh openssl oscar pam parse-clocks pcap pcre pdf perl php plotutils pmu png posix postfix ppds print procmail python qt quicktime quotas rar readline real reiserfs rss rtc ruby samba savedconfig sblive screen sdl serial server session sharedmem slang smime snmp soap sockets socks5 sounds spamassassin spell sse sse2 ssl stroke subversion swat sysfs syslog sysvipc tcltk tcpd tetex theora tidy tiff tools transcode truetype truetype-fonts type1 type1-fonts unicode unzip ups urandom usb user-homedirs v4l v4l2 vcd vcdimager vfat vim vim-pager vim-with-x vnc vorbis web webdav win32codecs winbind wmf wxwindows xanim xemacs xface xfs xgetdefault xine xinerama xinetd xml xmlrpc xmms xorg xpm xprint xscreensaver xsl xslt xv xvid xvmc yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_vmmouse kernel_linux linguas_en linguas_en_GB linguas_ru linguas_he userland_GNU video_cards_i810 video_cards_vesa video_cards_fbdev video_cards_vga video_cards_v4l video_cards_vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-16 03:03:38 UTC
You didn't include any error messages, we really can't guess.
Comment 2 Leonid Podolny 2006-07-16 03:12:01 UTC
Created attachment 91873 [details]
Build log

Jakub,
I've got an "Internal Server Error" from bugs.gentoo.org, so I wasn't sure the bug was actually posted. Attached a build log
Comment 3 Leonid Podolny 2006-07-16 03:15:09 UTC
Supplied a build log.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-07-16 03:32:42 UTC
(In reply to comment #2)
> Jakub,
> I've got an "Internal Server Error" from bugs.gentoo.org, so I wasn't sure the
> bug was actually posted.

Yeah, happens a lot during bugzilla backup. :( Thanks.

Comment 5 Johannes Krause 2006-07-18 11:00:50 UTC
same error for me

Portage 2.1.1_pre3-r1 (default-linux/amd64/2006.0, gcc-3.4.6/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.1
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/modules.d /etc/pam.d /etc/revdep-rebuild /etc/ssl /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.intergenia.de http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.ynet.sk/pub"
LANG="en_US.UTF-8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 S3TC X a52 aac acl acpi alsa apache2 asterisk avahi avantgo avi bash-completion berkdb bitmap-fonts blender-game bluetooth boo bzip2 cairo ccache cddb cdr cli crypt css cups dbus dga djvu dlloader dri dts dvd dvdr dvi eds effects emboss encode exif fat fbcon fbsplash ffmpeg firefox flac foomaticdb fortran geoip gif gimp glitz glx gnokii gnome gpgme gpm gstreamer gtk gtk2 hal haskell hddtemp hfs howl-compat hpn ical iconv icq id3 idn ieee1394 imap imlib ipv6 irc irmc isdnlog jabber java javascript joystick jpeg jpeg2k junit kcal kde kdepim key-screen kipi lirc lm_sensors logitech-mouse lzw lzw-tiff mad madwifi mdnsresponder-compat mikmod mime mng mono mouse mozdevelop mozsvg mozxmlterm mp3 mp4 mpeg musicbrainz ncurses net new-login nforce2 nls nntp no-seamonkey nodrm nptl nptlonly nsplugin ntfs ntlm nvidia offensive ogg openal opengl oscar pam pcre pda pdf pdflib perl pic png pop ppds pppd python qt qt3 qt4 quicktime quotas rar readline recode reflection reiserfs rtc samba scanner sdl session shorten smime smp sms smtp spell spf spl ssl startup-notification stencil-buffer subversion svg sysfs t1lib tagwriting tcpd theora threads tiff truetype truetype-fonts type1-fonts udev uim unicode usb userlocales v4l2 vcd vim-with-x visualization vorbis wifi winbind wmf x264 xcomposite xine xml xml2 xorg xpm xprint xrandr xscreensaver xv xvid zlib elibc_glibc input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-07-19 07:30:00 UTC
*** Bug 141039 has been marked as a duplicate of this bug. ***
Comment 7 Alex Bogak 2006-07-24 00:49:19 UTC
same error with 3.0.23a build.

Portage 2.1.1_pre3-r4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 Intel(R) Xeon(TM) CPU 3.60GHz
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2, 2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -mtune=nocona -pipe"
CHOST="i686-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -mtune=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 apm arts asf avi bash-completion berkdb bitmap-fonts bzip2 cairo cli cpudetection crypt cups curl dbus dlloader dri dts dvd dvdread dvi eds emboss encode esd expat ffmpeg firefox flac foomaticdb fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal howl imlib isdnlog ithreads jack java jpeg kde libg++ libwww mad matroska mikmod mmx mmxext mono motif mp3 mpeg multislot ncurses nls nptl objc objc++ ogg openal opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline real reflection rrdcgi rtc samba sdl sensord session skins spell spl sqlite sse sse2 ssl stream svg symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vorbis win32codecs winbind wxwindows x264 xanim xine xinerama xml xml2 xmms xorg xosd xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Alex Bogak 2006-07-24 01:56:11 UTC
notice: building samba with "ldap" USE flag works without this error.
Comment 9 Leonid Podolny 2006-07-24 02:31:04 UTC
(In reply to comment #8)
> notice: building samba with "ldap" USE flag works without this error.
> 

Of course, but I don't use LDAP on my box.
Comment 10 Christian Andreetta (RETIRED) gentoo-dev 2006-07-24 03:30:25 UTC
the reason is the idmap_ad that is compiled in any case. Working on a modified ebuild.
Comment 11 Christian Andreetta (RETIRED) gentoo-dev 2006-07-24 05:22:36 UTC
Created attachment 92607 [details]
samba-3.0.23a.ebuild: shared modules modify

This is the samba-3.0.23a ebuild now in portage: the idmap_ad shared module is now compiled only if ldap is requested.
Comment 12 Christian Andreetta (RETIRED) gentoo-dev 2006-07-24 05:24:28 UTC
closing: reopen if needed
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-07-27 13:00:54 UTC
*** Bug 141913 has been marked as a duplicate of this bug. ***
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2006-07-27 13:01:07 UTC
Still broken.
Comment 15 Christian Andreetta (RETIRED) gentoo-dev 2006-07-28 02:19:07 UTC
@Vincent: I think you just have an old ebuild in your tree. I didn't marked a new release (i.e. ...-23a-r1), since the fix was very trivial, and I didn't want a lot of users to recompile the package.
Just sync your tree ('# emerge --sync'), or put the samba-3.0.23a.ebuild attached to this bug in your overlay.
Comment 16 Vincent ETIENNE 2006-07-28 03:01:51 UTC
Thanks christian,

I have an old sync ( the server is doing a weekly cron job to resync is portage tree ) and naturally the sync as just happened on the start of the week.

For the moment i have activated ldap on the samba use flag (as i was hit by 3.0.23 bug from samba where bad share definition occured as concern write list and so rapidly emerge the new 3.0.23a with this problem )

Thanks for your help and sorry for the noise. Very appreciated

Vincent
Comment 17 Christian Andreetta (RETIRED) gentoo-dev 2006-07-28 03:19:13 UTC
ok. closing then. Reopen if needed