Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334445 - net-fs/samba-3.5.4 fails on talloc ( emake libnetapi failed )
Summary: net-fs/samba-3.5.4 fails on talloc ( emake libnetapi failed )
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-25 13:59 UTC by Adi Spivak
Modified: 2010-10-19 15:50 UTC (History)
0 users

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


Attachments
build log (build.log,324 bytes, text/plain)
2010-08-25 14:01 UTC, Adi Spivak
Details
emerge info (info.log,3.86 KB, text/plain)
2010-08-25 14:01 UTC, Adi Spivak
Details
correct full build log (build.log,108.72 KB, text/plain)
2010-08-25 16:16 UTC, Adi Spivak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adi Spivak 2010-08-25 13:59:15 UTC
lib/ldb/modules/asq.o:asq.c:(.text+0x6e): more undefined references to `talloc_free' follow
collect2: ld returned 1 exit status
make: *** [bin/libnetapi.so.0] Error 1
 * ERROR: net-fs/samba-3.5.4 failed:
 *   emake libnetapi failed
 * 
 * Call stack:
 *     ebuild.sh, line  48:  Called src_compile
 *   environment, line 3074:  Called die
 * The specific snippet of code:
 *           emake libnetapi || die "emake libnetapi failed";
Comment 1 Adi Spivak 2010-08-25 14:01:16 UTC
Created attachment 244545 [details]
build log
Comment 2 Adi Spivak 2010-08-25 14:01:44 UTC
Created attachment 244547 [details]
emerge info
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-25 15:57:58 UTC
Please provide a full build log.
Comment 4 Adi Spivak 2010-08-25 16:16:30 UTC
Created attachment 244579 [details]
correct full build log
Comment 5 Adi Spivak 2010-08-25 16:17:09 UTC
sorry for the mistake, please reopen the bug. http://bugs.gentoo.org/attachment.cgi?id=244579
Comment 6 Martin Fernau 2010-08-27 13:54:09 UTC
Same for me with samba-3.4.8 on a fresh installed gentoo
Comment 7 Martin Fernau 2010-08-27 13:57:26 UTC
Edit: useflags are "ads -cups ldap winbind"

# emerge --info =net-fs/samba-3.4.8   
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.29-xen-r4 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.29-xen-r4-x86_64-Intel-R-_Xeon-R-_CPU_E3110_@_3.00GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 27 Aug 2010 08:45:01 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3, 3.1.2-r4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
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="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg 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 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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" 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, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 8 Martin Fernau 2010-08-29 11:01:30 UTC
After an emerge -e world I was able to merge samba-3.4.8
Comment 9 Víctor Ostorga (RETIRED) gentoo-dev 2010-10-19 15:25:50 UTC
In this particular case, it seems to be missing the linking of bin/libnetapi.a 

Can't say exactly why. Please provide /var/tmp/portage/net-fs/samba-3.x.x/work/samba-3.x.x/source3/Makefile and var/tmp/portage/net-fs/samba-3.x.x/work/samba-3.x.x/source3/Makefile.in
Comment 10 Víctor Ostorga (RETIRED) gentoo-dev 2010-10-19 15:33:48 UTC
(In reply to comment #9)
> In this particular case, it seems to be missing the linking of bin/libnetapi.a 
> 
> Can't say exactly why. Please provide
> /var/tmp/portage/net-fs/samba-3.x.x/work/samba-3.x.x/source3/Makefile and
> /var/tmp/portage/net-fs/samba-3.x.x/work/samba-3.x.x/source3/Makefile.in
> 

Also try to emerge sys-libs/talloc before emerging net-fs/samba and tell if it's still an issue
Comment 11 Adi Spivak 2010-10-19 15:50:01 UTC
this pc no longer exists. replaced due to hardware issue (overhited cpu).