Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291435 - building net-fs/samba-client-3.4.3 fails without kerberos USE flag and/or with heimdal
Summary: building net-fs/samba-client-3.4.3 fails without kerberos USE flag and/or wit...
Status: RESOLVED DUPLICATE of bug 291360
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-01 13:46 UTC by Sylvain GRIALOU
Modified: 2009-11-01 21:12 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain GRIALOU 2009-11-01 13:46:03 UTC
It looks like net-fs/samba-client-3.4.3 don't handle properly kerberos use flag and/or the heimdal availability. I planned to use app-crypt/heimdal instead of kerberos. Install was working with previous version, contrary to kerberos, it's not handled by a use flag but by the package heimdal you have to emerge.

here is what happen :

>>> Compiling source in /var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3 ...
make bin/cifs.upcall                                                                           
/usr/bin/perl /var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/../source4/librpc/idl-deps.pl /var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/../source4/librpc/idl/dcerpc.idl /var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/../source4/librpc/idl/irpc.idl /var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/../source4/librpc/idl/nfs4acl.idl /var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/../source4/librpc/idl/notify.idl /var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/../source4/librpc/idl/ntp_signd.idl /var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/../source4/librpc/idl/opendb.idl /var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/../source4/librpc/idl/sasl_helpers.idl /var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/../source4/librpc/idl/schannel.idl /var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/../source4/librpc/idl/server_id.idl /var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/../source4/librpc/idl/winbind.idl /var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/../source4/librpc/idl/wins.idl /var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/../source4/librpc/idl/winsrepl.idl /var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/../source4/librpc/idl/winstation.idl ../librpc/idl/atsvc.idl ../librpc/idl/audiosrv.idl ../librpc/idl/browser.idl ../librpc/idl/dbgidl.idl ../librpc/idl/dcom.idl ../librpc/idl/dfs.idl ../librpc/idl/dnsserver.idl ../librpc/idl/drsblobs.idl ../librpc/idl/drsuapi.idl ../librpc/idl/dsbackup.idl ../librpc/idl/dssetup.idl ../librpc/idl/echo.idl ../librpc/idl/efs.idl ../librpc/idl/epmapper.idl ../librpc/idl/eventlog.idl ../librpc/idl/frsapi.idl ../librpc/idl/frsrpc.idl ../librpc/idl/initshutdown.idl ../librpc/idl/keysvc.idl ../librpc/idl/krb5pac.idl ../librpc/idl/lsa.idl ../librpc/idl/mgmt.idl ../librpc/idl/misc.idl ../librpc/idl/msgsvc.idl ../librpc/idl/named_pipe_auth.idl ../librpc/idl/nbt.idl ../librpc/idl/netlogon.idl ../librpc/idl/ntsvcs.idl ../librpc/idl/orpc.idl ../librpc/idl/oxidresolver.idl ../librpc/idl/policyagent.idl ../librpc/idl/protected_storage.idl ../librpc/idl/remact.idl ../librpc/idl/rot.idl ../librpc/idl/samr.idl ../librpc/idl/scerpc.idl ../librpc/idl/security.idl ../librpc/idl/spoolss.idl ../librpc/idl/srvsvc.idl ../librpc/idl/svcctl.idl ../librpc/idl/trkwks.idl ../librpc/idl/unixinfo.idl ../librpc/idl/w32time.idl ../librpc/idl/winreg.idl ../librpc/idl/wkssvc.idl ../librpc/idl/wmi.idl ../librpc/idl/wzcsvc.idl ../librpc/idl/xattr.idl >/var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/../source4/librpc/idl-deps                                                             
Compiling client/cifs.upcall.c                                                                                             
client/cifs.upcall.c: In function ‘get_tgt_time’:                                                                          
client/cifs.upcall.c:97: erreur: incompatible type for argument 1 of ‘k5_data_equal’                                       
client/cifs.upcall.c:48: note: expected ‘krb5_data’ but argument is of type ‘Realm’                                        
client/cifs.upcall.c:97: erreur: incompatible type for argument 2 of ‘k5_data_equal’                                       
client/cifs.upcall.c:48: note: expected ‘krb5_data’ but argument is of type ‘Realm’                                        
client/cifs.upcall.c:98: erreur: ‘struct Principal’ has no member named ‘data’                                             
client/cifs.upcall.c:99: erreur: ‘struct Principal’ has no member named ‘data’                                             
client/cifs.upcall.c:99: erreur: incompatible type for argument 2 of ‘k5_data_equal’                                       
client/cifs.upcall.c:48: note: expected ‘krb5_data’ but argument is of type ‘Realm’                                        
client/cifs.upcall.c:109: erreur: ‘KRB5_TC_OPENCLOSE’ undeclared (first use in this function)                              
client/cifs.upcall.c:109: erreur: (Each undeclared identifier is reported only once                                        
client/cifs.upcall.c:109: erreur: for each function it appears in.)                                                        
The following command failed:                                                                                              
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -I. -I/var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3 -Iinclude -I./include  -I. -I. -I./../lib/replace   -I./../lib/tevent -I./../lib/tdb/include -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./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./../lib/popt -DLDAP_DEPRECATED  -I/var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -I. -I/var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3 -Iinclude -I./include  -I. -I. -I./../lib/replace   -I./../lib/tevent -I./../lib/tdb/include -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./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./../lib/popt -DLDAP_DEPRECATED  -I/var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -fPIC -c client/cifs.upcall.c -o client/cifs.upcall.o                                                     
make: *** [client/cifs.upcall.o] Erreur 1                                                                                  
 * ERROR: net-fs/samba-client-3.4.3 failed:                                                                                
 *   emake cifs.upcall failed                                                                                              
 *                                                                                                                         
 * Call stack:                                                                                                             
 *     ebuild.sh, line  55:  Called src_compile                                                                            
 *   environment, line 3537:  Called die                                                                                   
 * The specific snippet of code:                                                                                           
 *           emake bin/cifs.upcall || die "emake cifs.upcall failed";                                                      
 *                                                                                                                         
 * If you need support, post the output of 'emerge --info =net-fs/samba-client-3.4.3',                                     
 * the complete build log and the output of 'emerge -pqv =net-fs/samba-client-3.4.3'.                                      
 * The complete build log is located at '/var/tmp/portage/net-fs/samba-client-3.4.3/temp/build.log'.                       
 * The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-client-3.4.3/temp/environment'.                
 * S: '/var/tmp/portage/net-fs/samba-client-3.4.3/work/samba-3.4.3/source3'
Comment 1 Sylvain GRIALOU 2009-11-01 13:48:03 UTC
i use samba4 bits


sylvain-gentoo ~ # emerge --info
Portage 2.1.7.3 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6.32-rc5-syl i686)
=================================================================                                
System uname: Linux-2.6.32-rc5-syl-i686-AMD_Athlon-tm-_XP_2000+-with-gentoo-2.0.1                
Timestamp of tree: Sun, 01 Nov 2009 12:30:01 +0000                                               
ccache version 2.4 [disabled]                                                                    
app-shells/bash:     4.0_p35                                                                     
dev-java/java-config: 2.1.9-r1                                                                   
dev-lang/python:     2.6.4, 3.1.1-r1                                                             
dev-util/cmake:      2.6.4-r3                                                                    
sys-apps/baselayout: 2.0.1                                                                       
sys-apps/openrc:     0.5.2-r1                                                                    
sys-apps/sandbox:    2.2                                                                         
sys-devel/autoconf:  2.13, 2.63-r1                                                               
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                            
sys-devel/binutils:  2.20                                                                        
sys-devel/gcc-config: 1.4.1                                                                      
sys-devel/libtool:   2.2.6a                                                                      
virtual/os-headers:  2.6.30-r1                                                                   
ACCEPT_KEYWORDS="x86 ~x86"                                                                       
CBUILD="i686-pc-linux-gnu"                                                                       
CFLAGS="-O2 -march=i686 -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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/splash /etc/terminfo /etc/udev/rules.d"                                                                    
CXXFLAGS="-O2 -march=i686 -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://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.df.lth.se/pub/gentoo/ "                                                                                                             
LANG="fr_FR.UTF-8"                                                                                                         
LDFLAGS="-Wl,-O1"                                                                                                          
LINGUAS="fr"
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.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi ads aim alsa autoipd avahi berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus directfb dri dts dvd dvdr eds emboss emerald emovix encode evo exchange extras fam fbcon fbcondecor fbsplash ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv id3tag iproute2 ipv6 java jpeg jpeg2k kde lame laptop lcms ldap libnotify mad matroska mdnsresponder-compat mikmod mmx mmxext mng modules mozdevelop mp3 mp4 mpeg msn mudflap musicbrainz mysql ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp oscar pam pcre pdf perl phonon png policykit ppds pppd python python3 qt3support qt4 quicktime radius rdesktop readline reflection samba4 sdl session snmp sockets socks5 spell spl sql sqlite sse ssl startup-notification svg sysfs tcpd theora thunar tiff truetype unicode usb vorbis webkit win32codecs winbind x264 x86 xcb xcomposite xml xorg xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="radeon ati radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2009-11-01 21:12:05 UTC

*** This bug has been marked as a duplicate of bug 291360 ***