Build fails every time same place. Heres the emerge --info, build log is attached Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11-r1, 2.6.31-gentoo-r2 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.31-gentoo-r2-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 18 Apr 2010 07:15:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p5 dev-lang/python: 2.6.5-r1, 3.1.2-r2 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.1.2, 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer news parallel-fetch sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ " LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="accessibility acl ads amd64 apache2 async bootstrap caps chroot cjk cli client crypt ctype curl dba dev-lang/php filter fortran gd gdbm geoip git gnutls gpm imagemagick imap ithreads javascript jpeg kerberos latin1 ldap libwww logrotate maildir math mpm-threadpool mpm-worker multilib mysql mysqli ncurses netboot nls nptl nptlonly pam pcre perl png raw samba server session simplexml slang snmp sockets spl ssl subversion tcltk tcpd threadsafe tiff unicode unzip webdav-neon webdav-serf winbind xml xml2 xpdf-headers xtended zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Reproducible: Always Steps to Reproduce:
Created attachment 228283 [details] samba_build_log
As your keywords already are ~amd64, it seems you aren't updating you system properly: while tdb_check isn't in sys-libs/tdb-1.1.5, it's present in sys-libs/tdb-1.2.1.
To clarify: while the ebuild should probably have the dep bumped, you still should already have it installed.
just checked, tdb is at 1.2.1 :(
okay, a rebuild of tdb has resolved my issue, strange thing. Guess an emerge -e world wouldn't hurt sometime soon...
hmm seems I was too fast in responding, it still fails, but very late in the build process: Compiling winbindd/idmap.c Compiling winbindd/idmap_util.c Compiling winbindd/idmap_ldap.c Compiling winbindd/idmap_tdb.c Compiling winbindd/idmap_passdb.c Compiling winbindd/idmap_nss.c Compiling winbindd/nss_info.c Compiling winbindd/nss_info_template.c make: *** No rule to make target `bin/winbind_krb5_locator'. Stop. make: *** Waiting for unfinished jobs.... Compiling lib/tdb_validate.c * ERROR: net-fs/samba-3.5.2 failed: * emake sbinprogs failed tried rebulding krb as well
This has nothing to do with tdb and/or other (probably) broken dependencies. The target simply is called "bin/winbind_krb5_locator.so" as of samba 3.5. The following patch to the ebuild fixes the issue: --- samba-3.5.2.ebuild.orig 2010-04-22 17:54:35.559859059 +0200 +++ samba-3.5.2.ebuild 2010-04-22 17:53:44.556474127 +0200 @@ -57,7 +57,7 @@ use swat && SBINPROGS="${SBINPROGS} bin/swat" use winbind && SBINPROGS="${SBINPROGS} bin/winbindd" - use ads && use winbind && SBINPROGS="${SBINPROGS} bin/winbind_krb5_locator" + use ads && use winbind && SBINPROGS="${SBINPROGS} bin/winbind_krb5_locator.so" fi if use client ; then @@ -269,6 +269,7 @@ insinto /usr for prog in ${SBINPROGS} ; do dosbin ${prog} || die "installing ${prog} failed" + prog=${prog/\.so} doman ../docs/manpages/${prog/bin\/}* || die "doman failed" done dobin ${BINPROGS} || die "installing binaries failed" Best regards, Torsten
this fixed the build process, thanks!
Don't mark as FIXED, till it's fixed in the tree.
When will this be finally fixed in tree? Without this patch, samba can't be installed in Microsoft environments where kerberos is needed.
will this fix be in the tree any soon? my system wants r1 merged, but i don't want to patch the ebuild again :)
Continues to be an issue with 3.5.3
I'm suffering from the same problem with a Pentium 4 (it is running ~x84, unstable), so someone should change the hardware tab on top (it might affect all architectures, not just AMD). As a note, the patch presented here does work, but it required a bit of shifting for it to work with Samba 3.5.3 (I manually wrote it in the ebuild). It just finished compiling on my computer, so I'm guessing that it successfully corrected the problem (if nothing else, it's not crashing now).
.(In reply to comment #13) > I'm suffering from the same problem with a Pentium 4 (it is running ~x84, > unstable), so someone should change the hardware tab on top (it might affect > all architectures, not just AMD). As a note, the patch presented here does > work, but it required a bit of shifting for it to work with Samba 3.5.3 (I > manually wrote it in the ebuild). It just finished compiling on my computer, so > I'm guessing that it successfully corrected the problem (if nothing else, it's > not crashing now). > To correct myself: My P4 is running on ~x86, not 84. That's what happens when one doesn't sleep..
+ 21 May 2010; Víctor Ostorga <vostorga@gentoo.org> samba-3.5.3.ebuild: + Fixing build with USE=ads winbind, patch thanks to Rainer Ruecker + <rainer@emdete.de> bugs #314709 #315975
*** Bug 321387 has been marked as a duplicate of this bug. ***
*** Bug 321429 has been marked as a duplicate of this bug. ***