Summary: | net-fs/samba fails to install with -client -server | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bartek 'Paczesiowa' Cwiklowski <paczesiowa> |
Component: | [OLD] Unspecified | Assignee: | Gentoo's SAMBA Team <samba> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | djc, shrdlu, truedfx |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Bartek 'Paczesiowa' Cwiklowski
2010-05-01 14:10:50 UTC
*** Bug 319135 has been marked as a duplicate of this bug. *** Adjusting summary since 3.4.6 fails just as well as 3.5.2 (see #319135) I was getting the same error with 3.4.6, I changed the USE flags and added "client", but now I'm getting this: ... Compiling rpcclient/cmd_dssetup.c Compiling rpcclient/cmd_echo.c Compiling rpcclient/cmd_shutdown.c Compiling rpcclient/cmd_test.c Compiling rpcclient/cmd_wkssvc.c Compiling rpcclient/cmd_ntsvcs.c Compiling rpcclient/cmd_drsuapi.c Compiling rpcclient/cmd_eventlog.c Compiling utils/smbcacls.c Compiling utils/smbcquotas.c Compiling utils/ntlm_auth.c Compiling utils/ntlm_auth_diagnostics.c Linking bin/smbclient Linking bin/net /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnetapi collect2: ld returned 1 exit status make: *** [bin/net] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: net-fs/samba-3.4.6 failed: * emake binprogs failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3130: Called die * The specific snippet of code: * emake ${BINPROGS} || die "emake binprogs failed"; * * If you need support, post the output of 'emerge --info =net-fs/samba-3.4.6', * the complete build log and the output of 'emerge -pqv =net-fs/samba-3.4.6'. * The complete build log is located at '/var/tmp/portage/net-fs/samba-3.4.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-3.4.6/temp/environment'. * S: '/var/tmp/portage/net-fs/samba-3.4.6/work/samba-3.4.6/source3' My USE flags for samba are as follows: [ebuild U ] net-fs/samba-3.4.6 [3.0.37] USE="caps client%* ldap pam readline smbclient%* syslog -acl -addns% -ads -aio% -avahi% -cluster% -cups -debug -doc -examples -fam -ldb% -netapi% -quota% -server% -smbsharemodes% -swat -winbind (-async%) (-automount%) (-ipv6%*) (-oav%) (-python%*) (-quotas%) (-selinux%)" 0 kB Ok, adding netapi to the USE flags did the trick. It still fails with -client and -server though. + 11 May 2010; Patrick Lauer <patrick@gentoo.org> samba-3.4.6.ebuild, + samba-3.4.8.ebuild, samba-3.5.2-r1.ebuild: + Removing stray dobin call that triggered #318001 Thanks, it works fine now. However, with USE="smbclient -client -server" the smbclient program is not installed. I take now one MUST enable either "client", "server" or both? |