Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125551 - emerge of diradm fails with USE=-samba
Summary: emerge of diradm fails with USE=-samba
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-08 17:29 UTC by Stephen Fromm
Modified: 2006-05-09 17:00 UTC (History)
0 users

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 Stephen Fromm 2006-03-08 17:29:35 UTC
I'm trying to emerge diradm, but configure fails when it tries to find Crypt::SmbHash.  Note that I do not have samba in my USE flag, but it appears that the configure script is still trying to look for it. 

Variety of output below.

forge diradm-2.4 # emerge -pv diradm

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] app-admin/diradm-2.4  +automount -irixpasswd -samba 0 kB

forge diradm-2.4 # emerge  diradm
Calculating dependencies ...done!
>>> emerge (1 of 1) app-admin/diradm-2.4 to /
>>> md5 files   ;-) diradm-1.1-r1.ebuild
>>> md5 files   ;-) diradm-1.1.ebuild
>>> md5 files   ;-) diradm-1.2.ebuild
>>> md5 files   ;-) diradm-2.1.ebuild
>>> md5 files   ;-) diradm-2.2.ebuild
>>> md5 files   ;-) diradm-2.3.ebuild
>>> md5 files   ;-) diradm-2.4.ebuild
>>> md5 files   ;-) diradm-2.5.ebuild
>>> md5 files   ;-) files/digest-diradm-1.1
>>> md5 files   ;-) files/digest-diradm-1.1-r1
>>> md5 files   ;-) files/digest-diradm-1.2
>>> md5 files   ;-) files/digest-diradm-2.1
>>> md5 files   ;-) files/digest-diradm-2.2
>>> md5 files   ;-) files/digest-diradm-2.3
>>> md5 files   ;-) files/digest-diradm-2.4
>>> md5 files   ;-) files/digest-diradm-2.5
>>> md5 src_uri ;-) diradm-2.4.tar.bz2
>>> Unpacking source...
>>> Unpacking diradm-2.4.tar.bz2 to /var/tmp/portage/diradm-2.4/work
>>> Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-samba --enable-automount --disable-irixpasswd --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether #! works in shell scripts... yes
checking for long file names... yes
checking for gawk... /bin/gawk
checking for egrep... /bin/egrep
checking for fgrep... /bin/fgrep
checking for tail... /usr/bin/tail
checking for head... /bin/head
checking for grep... /bin/grep
checking for bash... /bin/bash
checking for false... /bin/false
checking for sed... /bin/sed
checking for cut... /bin/cut
checking for perl... /usr/bin/perl
checking for stat... /bin/stat
checking for date... /bin/date
checking for whoami... /bin/whoami
checking for uniq... /bin/uniq
checking for ldapsearch... /usr/bin/ldapsearch
checking for ldapadd... /usr/bin/ldapadd
checking for ldapmodify... /usr/bin/ldapmodify
checking for ldapdelete... /usr/bin/ldapdelete
checking for sed extended-regexp option... -r
checking for perl module MIME::Base64... ok
checking whether to enable Automount support... yes
configure: WARNING: Ensure you use autofs.schema on your LDAP server!
checking whether to enable IRIX passwd support... yes
configure: WARNING: Ensure you use the bundled irixpassword.schema on your LDAP server!
checking whether to enable Samba support... yes
checking for perl module Crypt::SmbHash... no
configure: error: Crypt::SmbHash required!

Note that even though --disable-irixpasswd and --disable-samba were passed to configure, it is still trying to enable support for them.

Lastly, here is output from emerge --info:

forge diradm-2.4 # emerge --info
Portage 2.0.54 (selinux/2005.1/x86, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 Intel(R) Xeon(TM) CPU 3.40GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox selinux sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirror.datapipe.net/gentoo ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 bash-completion berkdb bzip2 crypt dba expat gd gdbm gnutls gtk2 ipv6 java ldap libwww mailwrapper milter mime mmx ncurses nls nptl pam pcre perl posix python readline sasl selinux snmp sockets sse ssl tcpd threads truetype udev unicode usb vhosts x86 xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 1 Stephen Fromm 2006-05-09 16:56:50 UTC
I tried app-admin/diradm-2.5 and am able to successfully emerge it.  It does not try to enable samba or irixpasswd if the USE flag for either is not set.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-05-09 17:00:05 UTC
Closing since fixed in 2.5