Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320953 - net-fs/samba-3.5.3 fails to install. Missing .so file
Summary: net-fs/samba-3.5.3 fails to install. Missing .so file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 321281 321429 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-21 21:38 UTC by Volker Hemmann
Modified: 2010-05-25 10:06 UTC (History)
6 users (show)

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


Attachments
patch for the net-fs/samba-3.5.3.ebuild (samba-3.5.3.ebuild.patch,2.71 KB, patch)
2010-05-22 08:43 UTC, Honza Macháček
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Hemmann 2010-05-21 21:38:42 UTC
ebuild  N    ] net-fs/samba-3.5.3  USE="ads aio client cups ldap netapi readline server smbclient -acl -addns -avahi -caps -cluster -debug -doc -examples -fam -ldb -pam -quota -smbsharemodes -swat -syslog -winbind"  

compilation is ok, but:
Installing bin/CP850.so as /var/tmp/portage/net-fs/samba-3.5.3/image///usr/lib64/samba/charset/CP850.so
Preserving old module as /var/tmp/portage/net-fs/samba-3.5.3/image///usr/lib64/samba/charset/CP437.so.old
Installing bin/CP437.so as /var/tmp/portage/net-fs/samba-3.5.3/image///usr/lib64/samba/charset/CP437.so
Preserving old module as /var/tmp/portage/net-fs/samba-3.5.3/image///usr/lib64/samba/auth/script.so.old
Installing bin/script.so as /var/tmp/portage/net-fs/samba-3.5.3/image///usr/lib64/samba/auth/script.so
install: cannot stat `.so': No such file or directory
!!! doins: .so does not exist
 * ERROR: net-fs/samba-3.5.3 failed:
 *   installing
 *              .so failed
 * 
 * Call stack:
 *     ebuild.sh, line  48:  Called src_install
 *   environment, line 3225:  Called die
 * The specific snippet of code:
 *              ${KRBPLUGIN}${PLUGINEXT} failed";
 * 
 * If you need support, post the output of 'emerge --info =net-fs/samba-3.5.3',
 * the complete build log and the output of 'emerge -pqv =net-fs/samba-3.5.3'.
 * The complete build log is located at '/var/tmp/portage/net-fs/samba-3.5.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-3.5.3/temp/environment'.
 * S: '/var/tmp/portage/net-fs/samba-3.5.3/work/samba-3.5.3/source3'
 * QA Notice: file does not exist:
 * 
 *      doins: .so does not exist


Reproducible: Always




emerge --info
WARNING: One or more repositories have missing repo_name entries:

        /usr/local/portage/profiles/repo_name
        /usr/local/portage/ati-testing/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33.3r4 x86_64)
=================================================================
System uname: Linux-2.6.33.3r4-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.0.1
Timestamp of tree: Fri, 21 May 2010 19:00:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.5.4-r2, 2.6.5-r2, 3.1.2-r3
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
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.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -msse3 -msse4a -mabm -fpredictive-commoning -mfpmath=sse -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/games/angband/edit/ /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/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -msse3 -msse4a -mabm -fpredictive-commoning -mfpmath=sse -pipe"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests autoconfig buildpkg candy ccache collision-protect distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE@euro"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/var/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="/var/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde /var/lib/layman/x11 /var/lib/layman/sping /usr/local/portage /usr/local/portage/ati-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="32bit 3dnow 3dnowext 64bit 7zip S3TC X Xaw3d a52 aac acpi addbookmarks aften aiglx aim aio akode akonadi alias alsa altenburgcards amarok amarok2 amd64 amr amrnb amrwb analogtv aotuv aqua_theme archive athena atm audio audiofile autoreplace ayatana bash-completion berkdb binary-drivers binfilter bittorrent boost branding bzip2 cairo captury cdaudio cdda cddb cdinstall cdparanoia cdr cdrom cdsound cegui chm clamav cli clucene connection-sharing connectionstatus consolekit contactnotes cracklib crypt css cups curl cxx dbus dhcp dhcpcd dirac divx dnd double-precision downloadorder dpms dragonplayer dri dts dv dvb dvbplayer dvbsetup dvd dvdr eap-sim eap-tls editor embedded emboss emerald emovix encode exceptions exif exiv2 expat extra-cardsets fame fasttrack fat festival ffmpeg fftw file firefox fits flac fontconfig foomaticdb fortran freetts ftp fts3 gadu gd gdbm geoip gif gimp glibc-omitfp glitz glut glx gnutella google-gadgets gpgme gpm graphite grub hal hddtemp highlight history icons iconv icotools icq icu id3 id3tag ieee1394 imagemagick inotify ipv6 irc irmc irrlicht jabber java java6 javascript jce jingle joystick jpeg jpeg2k kate kcal kde kde4 kdecards kdehiddenvisibility kdepim kdm kexi kipi konqueror kontact ktts lame lapack lastfm lcms lesstif libsamplerate libssh2 libv4l2 libwww lirc lm_sensors logitech-mouse logviewer lzma lzo mad magic mailbox maildir maps matroska mbox mbrola mdnsresponder-compat metric mikmod mime mixer mjpeg mmap mmx mmxext mng modules monolithic mp2 mp3 mp4 mpeg mpeg2 mpi mpi-threads mplayer msn mtp mudflap mule multilib musepack music nano-syntax ncurses neXt nepomuk net network newspr ngui nls no-old-linux nocd nowin nowlistening npp nptl nptlonly nsplugin ntfs obex offensive ogg ogg123 ogm old-daemons openexr opengl openmp oscar otr oxygen pango pch pcre pda pdf perl phonon physfs pixmaps plasma player plugins png pnm posix postgres ppds pppd ps python qt3support qt4 rar readline recode reflection reiser4 reiserfs remix resolvconf rogue rss rtc samba samba4 sametime sasl scanner scenarios schedule schroedinger scsi sdl sdl-image sdl-sound sdlaudio search secure-delete semantic-desktop sensord server session shaders shm skins skype slp smp sms sndfile sockets sound sounds spell spl sqlite sqlite3 sse sse2 sse3 sse4a ssh ssl startup-notification statistics stats stroke strong-optimization subp svg sysfs sysvipc szip tcpd templates test-programs texteffect textures tga theora threads threadsafe thumbnail tiff timidity tk tomsfastmath toolbar tools transcode translator truetype tv tv_check tv_combiner tv_pick_cgi tvtime udev unicode unzip upnp usb userlocales utempter v4l v4l2 vcd videos visualization vorbis webdav webkit webpresence wifi wireshark wma wma-fixed wmf x264 xanim xcb xcomposite xemacs xext xface xft xine xml xorg xosd xpm xrandr xrender xscreensaver xskatcards xulrunner xv xvid xvmc yahoo yiff yv12 zip zlib zsh-completion zvbi" ALSA_CARDS="emu10k1" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="devinput" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa v4l fglrx radeon radeonhd" 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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Honza Macháček 2010-05-22 06:07:19 UTC
Problem is with the install krbplugin part. The KRBPLUGIN variable is empty, but using it to install the plugin is attempted.

The only place in the ebuild where KRBPLUGIN can be set to a non-empty string is

use ads && use winbind && KRBPLUGIN="${KRBPLUGIN} bin/winbind_krb5_locator"

inside an

if use server ; then

block, and the plugin is build only

if [ -n "${KRBPLUGIN}" ] ; then

but the install krbplugin part is

if has_version app-crypt/mit-krb5 ; then
elif has_version app-crypt/heimdal ; then

Thus there is a plugin defined and build only if all of the server, ads, and winbind flags are set, but its installation is attepted whenever there exists a kerberos library in the system.

Without further study I guess that the installation attempt is OK, and the KRBPLUGIN variable should be set properly, so I'm going to look if I can find its right value and fix the ebuild this way. Otherwise the simplest solution would be to enclose the krbplugin installation in an

if [ -n "${KRBPLUGIN}" ] ; then

block, just like its build.
Comment 2 Honza Macháček 2010-05-22 06:19:53 UTC
(In reply to comment #1)
> Without further study I guess that the installation attempt is OK, and the
> KRBPLUGIN variable should be set properly, so I'm going to look if I can find
> its right value and fix the ebuild this way. Otherwise the simplest solution
> would be to enclose the krbplugin installation in an
> 
> if [ -n "${KRBPLUGIN}" ] ; then
> 
> block, just like its build.

Correction after a few searching in the makefile and on the Internet: The simplest solution is right.
Comment 3 Honza Macháček 2010-05-22 08:43:23 UTC
Created attachment 232437 [details, diff]
patch for the net-fs/samba-3.5.3.ebuild

This patch corrects the kerberos plugin installation problem, plus the installation of the examples where the ebuild forgot to change its working directory correctly. I've moreover left in place some of my einfo lines added to locate the problems.
Comment 4 Volker Hemmann 2010-05-22 09:45:18 UTC
that patch worked well, thank you!
Comment 5 Rafał Mużyło 2010-05-24 11:49:10 UTC
*** Bug 321281 has been marked as a duplicate of this bug. ***
Comment 6 Víctor Ostorga (RETIRED) gentoo-dev 2010-05-24 21:57:44 UTC
+  24 May 2010; Víctor Ostorga <vostorga@gentoo.org> samba-3.5.3.ebuild:
+  Fixing krbplugin install, and server examples location, bug #320953 ,
+  patch thanks to Honza Macháček <Hloupy.Honza@centrum.cz> 
+

Thanks for the patch and for the server's examples fix.
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-05-25 10:06:10 UTC
*** Bug 321429 has been marked as a duplicate of this bug. ***