Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314571 - net-fs/samba-3.5.2 requires sys-libs/talloc-1*
Summary: net-fs/samba-3.5.2 requires sys-libs/talloc-1*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-10 20:51 UTC by Maciej Piechotka
Modified: 2011-09-28 04:36 UTC (History)
3 users (show)

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


Attachments
My build log for samba-3.5.7 (build.log,67.96 KB, text/plain)
2011-03-04 01:37 UTC, Gary E. Miller
Details
build log showing cannot find -ltalloc, w/o using distcc (build.log,68.15 KB, text/plain)
2011-04-18 19:13 UTC, Gary E. Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Piechotka 2010-04-10 20:51:19 UTC
* make smbclient library
make -j2 libsmbclient
Makefile:1936: warning: overriding commands for target `.'
Makefile:1858: warning: ignoring old commands for target `.'
mkdir bin
Compiling libsmb/libsmb_cache.c
Compiling libsmb/libsmb_compat.c
Compiling libsmb/libsmb_context.c
Compiling libsmb/libsmb_dir.c
Compiling libsmb/libsmb_file.c
Compiling libsmb/libsmb_misc.c
Compiling libsmb/libsmb_path.c
Compiling libsmb/libsmb_printjob.c
Compiling libsmb/libsmb_server.c
Compiling libsmb/libsmb_stat.c
Compiling libsmb/libsmb_xattr.c
Compiling libsmb/libsmb_setget.c
Compiling dynconfig.c
Compiling param/loadparm.c
Compiling param/util.c
Compiling lib/sharesec.c
Compiling lib/ldap_debug_handler.c
Compiling registry/reg_api.c
Compiling registry/reg_dispatcher.c
Compiling registry/reg_cachehook.c
Compiling registry/regfio.c
Compiling registry/reg_objects.c
Compiling registry/reg_util.c
Compiling lib/util_reg_api.c
Compiling lib/util_nttoken.c
Compiling registry/reg_backend_db.c
Compiling registry/reg_init_basic.c
Compiling registry/reg_backend_smbconf.c
Compiling registry/reg_init_smbconf.c
Compiling ../lib/smbconf/smbconf.c
Compiling ../lib/smbconf/smbconf_util.c
Compiling ../lib/smbconf/smbconf_txt.c
Compiling lib/smbconf/smbconf_reg.c
Compiling lib/smbconf/smbconf_init.c
Compiling lib/privileges_basic.c
Compiling ../lib/replace/replace.c
Compiling ../lib/replace/snprintf.c
Compiling ../lib/replace/getpass.c
Compiling ../lib/socket_wrapper/socket_wrapper.c
Compiling ../lib/nss_wrapper/nss_wrapper.c
Compiling ../lib/util/rbtree.c
Compiling ../lib/util/signal.c
Compiling ../lib/util/time.c
Compiling ../lib/util/xfile.c
Compiling ../lib/util/util_strlist.c
Compiling ../lib/util/util_file.c
Compiling ../lib/util/data_blob.c
Compiling ../lib/util/util.c
Compiling ../lib/util/fsusage.c
Compiling ../lib/util/params.c
Compiling ../lib/util/talloc_stack.c
Compiling ../lib/util/genrand.c
Compiling ../lib/util/util_net.c
Compiling ../lib/util/become_daemon.c
Compiling ../lib/util/system.c
Compiling ../lib/util/tevent_unix.c
Compiling ../lib/util/tevent_ntstatus.c
Compiling ../lib/util/smb_threads.c
Compiling ../lib/util/util_id.c
Compiling ../lib/util/blocking.c
Compiling ../lib/util/rfc1738.c
Compiling ../lib/crypto/crc32.c
Compiling ../lib/crypto/md5.c
Compiling ../lib/crypto/hmacmd5.c
Compiling ../lib/crypto/arcfour.c
Compiling ../lib/crypto/md4.c
Compiling ../lib/crypto/sha256.c
Compiling ../lib/crypto/hmacsha256.c
Compiling ../lib/crypto/aes.c
Compiling ../lib/crypto/rijndael-alg-fst.c
Compiling lib/messages.c
Compiling librpc/gen_ndr/ndr_messaging.c
Compiling lib/messages_local.c
Compiling lib/messages_ctdbd.c
Compiling lib/packet.c
Compiling lib/ctdbd_conn.c
Compiling lib/interfaces.c
Compiling lib/memcache.c
Compiling lib/talloc_dict.c
Compiling lib/util_transfer_file.c
Compiling ../lib/async_req/async_sock.c
Compiling lib/util_tdb.c
../lib/async_req/async_sock.c: In function 'async_send_handler':
../lib/async_req/async_sock.c:83: error: expected expression before 'struct'
../lib/async_req/async_sock.c:85: error: expected expression before 'struct'
../lib/async_req/async_sock.c: In function 'async_send_recv':
../lib/async_req/async_sock.c:102: error: expected expression before 'struct'
../lib/async_req/async_sock.c: In function 'async_recv_handler':
../lib/async_req/async_sock.c:153: error: expected expression before 'struct'
../lib/async_req/async_sock.c:155: error: expected expression before 'struct'
../lib/async_req/async_sock.c: In function 'async_recv_recv':
../lib/async_req/async_sock.c:177: error: expected expression before 'struct'
../lib/async_req/async_sock.c: In function 'async_connect_connected':
../lib/async_req/async_sock.c:298: error: expected expression before 'struct'
../lib/async_req/async_sock.c:300: error: expected expression before 'struct'
../lib/async_req/async_sock.c: In function 'async_connect_recv':
../lib/async_req/async_sock.c:336: error: expected expression before 'struct'
../lib/async_req/async_sock.c: In function 'writev_trigger':
../lib/async_req/async_sock.c:414: error: expected expression before 'struct'
../lib/async_req/async_sock.c: In function 'writev_handler':
../lib/async_req/async_sock.c:428: error: expected expression before 'struct'
../lib/async_req/async_sock.c:430: error: expected expression before 'struct'
../lib/async_req/async_sock.c: In function 'writev_recv':
../lib/async_req/async_sock.c:486: error: expected expression before 'struct'
../lib/async_req/async_sock.c: In function 'read_packet_handler':
../lib/async_req/async_sock.c:548: error: expected expression before 'struct'
../lib/async_req/async_sock.c:550: error: expected expression before 'struct'
../lib/async_req/async_sock.c: In function 'read_packet_recv':
../lib/async_req/async_sock.c:608: error: expected expression before 'struct'
The following command failed:
x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=core2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -msse4.1 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -msahf -mcx16 -floop-interchange -floop-strip-mine -floop-block -I. -I/var/tmp/paludis/net-fs-samba-3.5.2/work/samba-3.5.2/source3 -Iinclude -I./include  -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -DLDAP_DEPRECATED  -I/var/tmp/paludis/net-fs-samba-3.5.2/work/samba-3.5.2/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3  -fPIC -c ../lib/async_req/async_sock.c -o ../lib/async_req/async_sock.o
make: *** [../lib/async_req/async_sock.o] Error 1
make: *** Waiting for unfinished jobs....
/usr/libexec/paludis/utils/emake: emake returned error 2


# paludis --info samba
paludis 0.46.0
Paludis build information:
    Compiler:
        CXX:                   x86_64-pc-linux-gnu-g++ 4.4.3
        CXXFLAGS:               -O2 -pipe -march=core2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -msse4.1 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -msahf -mcx16 -floop-interchange -floop-strip-mine -floop-block
        LDFLAGS:               -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common
        DATE:                  2010-03-31T09:00:37+0200

    Libraries:
        C++ Library:           GNU libstdc++ 20100121

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib64
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      /usr/lib64/python2.6/site-packages
        RUBYINSTALLDIR:        /usr/lib64/ruby/site_ruby/1.8/x86_64-linux

System:
    Linux picard 2.6.33-gentoo-ck1-tuxonice #5 SMP PREEMPT Tue Mar 16 17:25:53 GMT 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz GenuineIntel GNU/Linux

(...)

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       4.1_p5
        dev-java/java-config:  2.1.10
        dev-lang/python:       2.6.5-r1 3.1.2-r1
        dev-python/pycrypto:   (none)
        dev-util/ccache:       2.4-r8
        dev-util/cmake:        2.8.1
        dev-util/confcache:    (none)
        sys-apps/baselayout:   2.0.1
        sys-apps/openrc:       0.6.1-r1
        sys-apps/sandbox:      2.2
        sys-devel/autoconf:    2.13 2.65
        sys-devel/automake:    1.10.3 1.11.1 1.9.6-r3
        sys-devel/binutils:    2.20.1
        sys-devel/gcc:         4.4.3
        sys-devel/gcc-config:  1.4.1
        sys-devel/libtool:     2.2.6b
        virtual/os-headers:    2.6.33 (for sys-kernel/linux-headers::installed)

(...)

Package net-fs/samba-3.5.2:0::gentoo:

        >>> Running ebuild phase killold as paludisbuild:paludisbuild...
        >>> Starting builtin_killold
        >>> Done builtin_killold
        >>> Completed ebuild phase killold
        >>> Running ebuild phases initmisc infovars as paludisbuild:paludisbuild...
        >>> Starting builtin_initmisc
        >>> Done builtin_initmisc
        >>> Starting builtin_infovars
        ACCEPT_KEYWORDS=amd64
        CBUILD=x86_64-pc-linux-gnu
        CFLAGS=-O2 -pipe -ggdb -march=core2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -msse4.1 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -msahf -mcx16 -floop-interchange -floop-strip-mine -floop-block
        CHOST=x86_64-pc-linux-gnu
        CONFIG_PROTECT= 
        CONFIG_PROTECT_MASK= 
        CPPFLAGS=
        CTARGET=
        CXXFLAGS=-O2 -pipe -ggdb -march=core2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -msse4.1 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -msahf -mcx16 -floop-interchange -floop-strip-mine -floop-block
        DISTDIR=/var/tmp/distfiles
        FEATURES=
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common
        LINGUAS=en en_GB pl
        MAKEOPTS=-j2
        PORTAGE_COMPRESS=
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/var/tmp/paludis
        PORTDIR=/usr/portage
        PORTDIR_OVERLAY=
        SYNC=
        USE=acl avahi caps client cups doc fam ldap pam readline server smbclient syslog amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_en linguas_en_GB linguas_pl ruby_targets_jruby ruby_targets_ruby18 userland_GNU video_cards_intel amd64 
        >>> Done builtin_infovars
        >>> Completed ebuild phases initmisc infovars
        >>> Running ebuild phase tidyup as paludisbuild:paludisbuild...
        >>> Starting builtin_tidyup
        rm -fr /var/tmp/paludis/net-fs-samba-3.5.2-info
        >>> Done builtin_tidyup
        >>> Completed ebuild phase tidyup


Reproducible: Always
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2010-04-11 07:15:26 UTC
sanitize your C/CXXFLAGS and reopen if the problem still persists.
Comment 2 Maciej Piechotka 2010-04-11 13:51:27 UTC
Package net-fs/samba-3.5.2:0::gentoo:

        >>> Running ebuild phase killold as paludisbuild:paludisbuild...
        >>> Starting builtin_killold
        >>> Done builtin_killold
        >>> Completed ebuild phase killold
        >>> Running ebuild phases initmisc infovars as paludisbuild:paludisbuild...
        >>> Starting builtin_initmisc
        >>> Done builtin_initmisc
        >>> Starting builtin_infovars
        ACCEPT_KEYWORDS=amd64
        CBUILD=x86_64-pc-linux-gnu
        CFLAGS=-O2 -pipe -ggdb -march=core2
        CHOST=x86_64-pc-linux-gnu
        CONFIG_PROTECT= 
        CONFIG_PROTECT_MASK= 
        CPPFLAGS=
        CTARGET=
        CXXFLAGS=-O2 -pipe -ggdb -march=core2
        DISTDIR=/var/tmp/distfiles
        FEATURES=
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common
        LINGUAS=en en_GB pl
        MAKEOPTS=-j2
        PORTAGE_COMPRESS=
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/var/tmp/paludis
        PORTDIR=/usr/portage
        PORTDIR_OVERLAY=
        SYNC=
        USE=acl avahi caps client cups doc fam ldap pam readline server smbclient syslog amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_en linguas_en_GB linguas_pl ruby_targets_jruby ruby_targets_ruby18 userland_GNU video_cards_intel amd64 
        >>> Done builtin_infovars
        >>> Completed ebuild phases initmisc infovars
        >>> Running ebuild phase tidyup as paludisbuild:paludisbuild...
        >>> Starting builtin_tidyup
        >>> Done builtin_tidyup
        rm -fr /var/tmp/paludis/net-fs-samba-3.5.2-info
        >>> Completed ebuild phase tidyup
Comment 3 Ben Kohler gentoo-dev 2010-04-12 04:03:49 UTC
This looks similar to bug 301855.  I get the error from 301855 myself, but if I set USE="-netapi" then it gets a bit further then fails w/ the error from this bug.
Comment 4 Maciej Piechotka 2010-04-12 07:41:45 UTC
(In reply to comment #3)
> This looks similar to bug 301855.  I get the error from 301855 myself, but if I
> set USE="-netapi" then it gets a bit further then fails w/ the error from this
> bug.
> 

Well - If I enable netapi I had errors also and i had them in previous version of samba. Duplicate?
Comment 5 Maciej Piechotka 2010-04-14 11:02:50 UTC
it seems that the problem was lack  of talloc_get_type_abort macro. After downgrading problem is gone.
Comment 6 Harrison Metzger 2010-04-14 13:30:40 UTC
I am also using paludis, and my build blows up here:
Compiling librpc/gen_ndr/ndr_libnetapi.c
In file included from include/includes.h:607,
                 from lib/netapi/netapi.c:20:
./../lib/util/util.h:30:20: error: talloc.h: No such file or directory
In file included from ./../lib/util/util.h:42,


The problem does talloc.h doesn't exist for me. I don't have it in my /usr/include directory.
Comment 7 Harrison Metzger 2010-04-14 13:51:40 UTC
I was able to get past this by:
paludis -u samba --permit-unsafe-uninstalls
paludis -i1 talloc
paludis -i samba
Comment 8 Cyrill Helg 2010-05-10 21:13:42 UTC
I'm having the same issue, however remerging talloc did not fix this:


* make netapi library
make -j5 libnetapi
Makefile:1936: warning: overriding commands for target `.'
Makefile:1858: warning: ignoring old commands for target `.'
mkdir bin
Compiling lib/netapi/netapi.c
Compiling lib/netapi/cm.c
Compiling lib/netapi/libnetapi.c
Compiling librpc/gen_ndr/ndr_libnetapi.c
Compiling lib/netapi/joindomain.c
In file included from lib/netapi/libnetapi.c:20:
include/includes.h:614:17: error: tdb.h: No such file or directory
In file included from lib/netapi/cm.c:20:
include/includes.h:614:17: error: tdb.h: No such file or directory
In file included from librpc/gen_ndr/ndr_libnetapi.c:3:
include/includes.h:614:17: error: tdb.h: No such file or directory
In file included from lib/netapi/joindomain.c:20:
include/includes.h:614:17: error: tdb.h: No such file or directory
In file included from lib/netapi/netapi.c:20:
include/includes.h:614:17: error: tdb.h: No such file or directory
In file included from include/util_tdb.h:27,
                 from include/includes.h:615,
                 from lib/netapi/netapi.c:20:
Comment 9 Frank Hsieh 2011-02-07 03:24:16 UTC
(In reply to comment #7)
> I was able to get past this by:
> paludis -u samba --permit-unsafe-uninstalls
> paludis -i1 talloc
> paludis -i samba

Hi, I can also use this solution.
I upgrade Gentoo 2008.0 and encounter talloc / samba conflict.
I did:
emerge --unmerge samba (It will show warning message..)
emerge talloc
emerge samba

emerge succeeded. 
However, I NEVER use samba and I did not test samba functionalty.
Comment 10 Víctor Ostorga (RETIRED) gentoo-dev 2011-02-07 20:07:50 UTC
My gosh, how is it possible that anybody has attached a build log ? Also please provide USE flags use in samba's build process.
Comment 11 Gary E. Miller 2011-03-04 01:37:39 UTC
Created attachment 264635 [details]
My build log for samba-3.5.7

As requested
Comment 12 Gary E. Miller 2011-03-04 01:39:19 UTC
Still fails for me with samba 3.5.7


dagwood ~ # emerge --info =net-fs/samba-3.5.7
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r1, 2.6.37-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.37-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 03 Mar 2011 16:15:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:     4.1_p10
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.5-r1, 1.7.9-r2, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /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/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distcc distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-z,now,--as-needed,-O1,--hash-style=gnu,--sort-common"
LINGUAS="en"
MAKEOPTS="-j1"
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/portage/local/layman/java-overlay"
SYNC="rsync://spidey.rellim.com/gentoo-portage"
USE="X a52 aac acl acpi aesicm aio alsa amazon amd64 amr ares asyncns audiofile avahi berkdb binary-drivers bonjour branding bzip2 cairo calendar capi caps cdaudio cdb cdda cdio cdr celt cgroup chroot cli consolekit cracklib crypt cups curl custom-optimization cxx daap dbus dc1394 declarative dirac diskio divx dri dtmf dts dv dvb dvbplayer dvd dvdr dvi ecwj2k emboss encode exif expat extrafilters extras faac faad fam fame festival ffmpeg ffmpeg-mt fftw firefox flac fontconfig foomaticdb fortran gallium gcdmaster gcrypt gd gdal gdbm gdu geoip geos geotiff gif gimp gkrellm glib gmath gmp gnuplot gnutls gpac gpg gpgme gphoto2 gpm gps grass gs gsl gsm gstreamer gtk gucharmap gutenprint h323 hpijs hpn http iax iconv icu id3tag imagemagick inkjar inotify iproute2 ipv6 irc ivr jabber jack java javascript jbig jpeg jpeg2k krb4 ladspa lame largefile latex lcms ldap libass libburn libedit libextractor libgcrypt libnotify libsamplerate libsysfs libv4l2 libvisual live lm_sensors logrotate lv2 lzo mad mailwrapper matroska mbrola mdnsresponder-compat mikmod mjpeg mmx mng modules mp2 mp3 mp3rtp mp4 mp4live mpeg mpeg2 mplayer mtp mudflap multilib music musicbrainz mysql ncurses network nls nodrm nptl nptlonly nsplugin offensive ogg openexr opengl openmp oss pam pango passwdqc pcap pch pcre pdf perl pixmaps plotutil plotutils png pnm policykit ppds pppd proj pth pvr python qos qt-static qt3support qt4 rar raw rdesktop readline realmedia rle rrdtool rtc rtsp run-as-root scanner schroedinger screen sdl secure-delete semantic-desktop server session shout sip sipim skins smp sndfile sound speex spell sqlite srt srtp sse sse2 sse3 ssh ssl ssse3 startup-notification stream svg swat sysfs syslog taglib tcpd tcpwrapper theora threads thumbnail tidy tiff transcode truetype tunepimp twolame udev unicode usb v4l v4l2 vaapi vamp vcd vcdinfo vcdx vdr video visualization vlm vnc vorbis vorbis-psy vpx vxml wav wavpack webkit wifi wikipedia wireshark wma wmf wmp wps wxwidgets x264 xanim xattr xcap xcb xcf xcomposite xfce xforms xft xine xinerama xml xmlrpc xmp xorg xosd xpm xrandr xrender xscreensaver xsl xslt xulrunner xv xvid xvmc yahoo youtube zephyr zeroconf zip zlib zrtp zvbi" 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid 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" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

dagwood ~ # emerge -pqv =net-fs/samba-3.5.7
[ebuild     U ] net-fs/samba-3.5.7 [3.5.6] USE="acl aio avahi caps client cups fam ldap netapi pam readline server smbclient swat syslog -addns -ads -cluster -debug -doc -examples -ldb -quota -smbsharemodes -winbind" 
Comment 13 Gary E. Miller 2011-03-04 01:50:30 UTC
If I 'emerge talloc' I can still not 'emerge samba'
Comment 14 Víctor Ostorga (RETIRED) gentoo-dev 2011-03-07 15:16:31 UTC
Which sys-libs/talloc do you have installed?  
Please, paste the output of equery files sys-libs/talloc
Comment 15 Gary E. Miller 2011-03-07 19:22:32 UTC
As requested:


dagwood ~ # equery files sys-libs/talloc
 * Searching for talloc in sys-libs ...
 * Contents of sys-libs/talloc-2.0.5:
/usr
/usr/include
/usr/include/pytalloc.h
/usr/include/talloc.h
/usr/lib64
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/pytalloc-util.pc
/usr/lib64/pkgconfig/talloc.pc
dagwood ~ #
Comment 16 Víctor Ostorga (RETIRED) gentoo-dev 2011-03-10 16:35:35 UTC
(In reply to comment #15)
> As requested:
> 
> 
> dagwood ~ # equery files sys-libs/talloc
>  * Searching for talloc in sys-libs ...
>  * Contents of sys-libs/talloc-2.0.5:
> /usr
> /usr/include
> /usr/include/pytalloc.h
> /usr/include/talloc.h
> /usr/lib64
> /usr/lib64/pkgconfig
> /usr/lib64/pkgconfig/pytalloc-util.pc
> /usr/lib64/pkgconfig/talloc.pc
> dagwood ~ #

You're missing the file /usr/lib/libtalloc.so and this seems related to the heavily broken sys-libs/talloc-2.0.5
In the meanwhile as a workaround use sys-libs/talloc-2.0.1-r1
Comment 17 Víctor Ostorga (RETIRED) gentoo-dev 2011-04-06 21:06:04 UTC
Reviewing the log I've found

distcc[16238] ERROR: compile (null) on localhost failed

Please TRY to reproduce this bug without using distcc. Samba stuff randomly fails with distcc.

If any of you can reproduce the error "ld: cannot find -ltalloc" without using distcc please attach your build log
Comment 18 Gary E. Miller 2011-04-06 21:26:49 UTC
Confirmed.  Removing distcc allow me to emerge net-fs/samba-3.5.8-r1

My list of distcc incompatible packages is ever growing.  There should be a
way to mark a package so emerge turns off distcc for that package.
Comment 19 Gary E. Miller 2011-04-18 19:11:34 UTC
I have a host with this error with distcc off.

Will attach build log.
Comment 20 Gary E. Miller 2011-04-18 19:13:33 UTC
Created attachment 270427 [details]
build log showing cannot find -ltalloc, w/o using distcc

dagwood ~ # emerge --info =net-fs/samba-3.5.8-r1
Portage 2.1.9.46 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 18 Apr 2011 16:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.2_p8
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.5-r1, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-z,now,--as-needed,-O1,--hash-style=gnu,--sort-common"
LINGUAS="en"
MAKEOPTS="-j1"
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/portage/local/layman/java-overlay"
SYNC="rsync://spidey.rellim.com/gentoo-portage"
USE="X a52 aac acl acpi aesicm aio alsa amazon amd64 amr ares asyncns audiofile avahi berkdb binary-drivers bonjour branding bzip2 cairo calendar capi caps cdaudio cdb cdda cdio cdr celt cgroup chroot cli consolekit cracklib crypt cups curl custom-optimization cxx daap dbus dc1394 declarative dirac diskio divx dri dtmf dts dv dvb dvbplayer dvd dvdr dvi ecwj2k emboss encode exif expat extrafilters extras faac faad fam fame festival ffmpeg ffmpeg-mt fftw firefox flac fontconfig foomaticdb fortran gallium gcdmaster gcrypt gd gdal gdbm gdu geoip geos geotiff gif gimp gkrellm glib gmath gmp gnuplot gnutls gpac gpg gpgme gphoto2 gpm gps grass gs gsl gsm gstreamer gtk gucharmap gutenprint h323 hpijs hpn http iax iconv icu id3tag imagemagick inkjar inotify ipp iproute2 ipv6 irc ivr jabber jack java javascript jbig jpeg jpeg2k krb4 ladspa lame largefile latex lcms ldap libass libburn libedit libextractor libgcrypt libnotify libsamplerate libsysfs libv4l2 libvisual live lm_sensors logrotate lv2 lzo mad matroska mbrola mdnsresponder-compat mikmod mjpeg mkl mmx mng modules mp2 mp3 mp3rtp mp4 mp4live mpeg mpeg2 mplayer mtp mudflap multilib music musicbrainz mysql ncurses network nls nodrm nptl nptlonly nsplugin offensive ogg openexr opengl openmp oss pam pango passwdqc pcap pch pcre pdf perl pixmaps plotutil plotutils png pnm policykit ppds pppd proj pth pvr python qos qt-static qt3support qt4 rar raw rdesktop readline realmedia rle rrdtool rtc rtsp run-as-root scanner schroedinger screen sdl secure-delete semantic-desktop server session shout sip sipim skins smp sndfile sound speex spell sqlite srt srtp sse sse2 sse3 ssh ssl ssse3 startup-notification stream svg swat sysfs syslog taglib tcpd tcpwrapper theora threads thumbnail tidy tiff transcode truetype tunepimp twolame udev unicode usb v4l2 vaapi vamp vcd vcdinfo vcdx vdr video visualization vlm vnc vorbis vorbis-psy vpx vxml wav wavpack webkit wifi wikipedia wireshark wma wmf wmp wps wxwidgets x264 xanim xattr xcap xcb xcf xcomposite xfce xforms xft xine xinerama xml xmlrpc xmp xorg xosd xpm xrandr xrender xscreensaver xsl xslt xulrunner xv xvid xvmc yahoo youtube zephyr zeroconf zip zlib zrtp zvbi" 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid 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" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 21 Rafał Mużyło 2011-04-23 02:04:24 UTC
@comment 20:
given 
checking for LIBTALLOC... yes
that error is a bit odd and suggest a problem on *your* system.

Check for leftovers from old talloc installations - at a point, the upgrade wasn't that clean.
Comment 22 Víctor Ostorga (RETIRED) gentoo-dev 2011-09-27 19:50:38 UTC
(In reply to comment #19)
> I have a host with this error with distcc off.
> 
> Will attach build log.

Can you reproduce this with talloc-2.0.7 ? If so, please paste the output of qlist talloc
Comment 23 Gary E. Miller 2011-09-27 20:22:42 UTC
In reply to commment 22

> Can you reproduce this with talloc-2.0.7 ? If so, please paste the output of
> qlist talloc

Samba 3.5.11 is the oldest in Portage now.  That works for me with talloc 2.0.5.

No idea when this got fixed.

Since 3.5.2 is obsolete this bug is too.