Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231582 - net-fs/samba-3.0.30 -
Summary: net-fs/samba-3.0.30 -
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-12 12:35 UTC by Michał Deszcz
Modified: 2008-07-12 21:38 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 Michał Deszcz 2008-07-12 12:35:29 UTC
Below is from the build log file:

collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1
 * 
 * ERROR: net-fs/samba-3.0.30 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3508:  Called die
 * The specific snippet of code:
 *       emake everything || die "emake everything failed";
 *  The die message:
 *   emake everything failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-fs/samba-3.0.30/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-3.0.30/temp/environment'.
 * 

 * Messages for package net-fs/samba-3.0.30:

 * 
 * ERROR: net-fs/samba-3.0.30 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3508:  Called die
 * The specific snippet of code:
 *       emake everything || die "emake everything failed";
 *  The die message:
 *   emake everything failed



ans here you are my configuration:
bialobrewy ~ # emerge --info
Portage 2.2_rc1 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r0, 2.6.25.10 i686)
=================================================================
System uname: Linux-2.6.25.10-i686-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-glibc2.0
Timestamp of tree: Fri, 11 Jul 2008 19:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r5
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -Wall -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl ftp://mirror.icis.pcz.pl/gentoo/ http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl"
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="X aac acl acpi aiglx alsa bash-completion beagle bluetooth branding bzip2 cairo cdr cdrom cdsound cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv imagemagick java jpeg kerberos ldap libnotify mad midi mikmod mmx mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl png ppds python qt3support quicktime readline reflection samba sdl session slang spell spl ssl startup-notification svg tcpd tiff treiserfs truetype unicode unzip usb userlocales vim-with-x vorbis wavepack win32codecs x86 xine xinerama xml xorg xv xvid zlib" ALSA_CARDS="ca0106" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


To reproduce:
1. install Gentoo from LiveCD
2. reconfigure "make.conf" to look as my own
3. build/rebuild net-fs/samba-3.0.30
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-12 17:08:27 UTC
Please attach the entire build log. (The bit you posted does not contain the original error.)
Comment 2 Michał Deszcz 2008-07-12 18:24:59 UTC
>>> Unpacking source...
>>> Unpacking samba-3.0.30.tar.gz to /var/tmp/portage/net-fs/samba-3.0.30/work
 [32;01m*[0m Applying 3.0.26a-lazyldflags.patch ...
[A[70C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 3.0.26a-invalid-free-fix.patch ...
[A[70C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 3.0.28-libcap_detection.patch ...
[A[70C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 3.0.28-fix_broken_readdir_detection.patch ...
[A[70C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 3.0.28-autoconf-2.62-fix.patch ...
[A[70C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 3.0.28a-wrong_python_ldflags.patch ...
[A[70C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Running autoconf -I. -Ilib/replace ...
[A[70C  [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30 ...
 * econf: updating samba-3.0.30/examples/VFS/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating samba-3.0.30/examples/VFS/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating samba-3.0.30/source/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating samba-3.0.30/source/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating samba-3.0.30/source/lib/talloc/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating samba-3.0.30/source/lib/talloc/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating samba-3.0.30/source/lib/replace/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating samba-3.0.30/source/lib/replace/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-fhs --sysconfdir=/etc/samba --localstatedir=/var --with-configdir=/etc/samba --with-libdir=/usr/lib/samba --with-pammodulesdir=/lib/security --with-swatdir=/usr/share/doc/samba-3.0.30/swat --with-piddir=/var/run/samba --with-lockdir=/var/cache/samba --with-logfilebase=/var/log/samba --with-privatedir=/var/lib/samba/private --with-libsmbclient --without-spinlocks --enable-socket-wrapper --with-cifsmount=no --with-acl-support --without-aio-support --without-automount --enable-cups --enable-fam --without-krb5 --with-ldap --with-pam --with-pam_smbpass --without-quotas --without-sys-quotas --with-readline --with-smbmount --without-syslog --without-winbind --with-python=/usr/bin/python --without-ads --with-manpages-langs=en,pl --build=i686-pc-linux-gnu
configure: WARNING: Unrecognized options: --without-spinlocks, --with-manpages-langs
SAMBA VERSION: 3.0.30
LIBREPLACE_LOCATION_CHECKS: START
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
LIBREPLACE_LOCATION_CHECKS: END
LIBREPLACE_CC_CHECKS: START
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
...[ciach]


...
checking how to build vfs_gpfs... not
checking how to build vfs_readahead... shared
checking how to build vfs_notify_fam... shared
checking whether to enable build farm hacks... no
checking if sigaction works with realtime signals... yes
checking if libpthread is linked... no
Using libraries:
    LIBS = -lcrypt -lresolv -lresolv -lnsl -ldl
    LDAP_LIBS = -lldap -llber 
    AUTH_LIBS = -lcrypt  -lpam 
checking configure summary... yes
configure: creating ./config.status
config.status: creating include/stamp-h
config.status: creating Makefile
config.status: creating script/findsmb
config.status: creating smbadduser
config.status: creating script/gen-8bit-gap.sh
config.status: creating script/installbin.sh
config.status: creating script/uninstallbin.sh
config.status: creating include/config.h
config.status: executing rm-stdint.h commands
config.status: executing rm-stdbool.h commands
configure: WARNING: Unrecognized options: --without-spinlocks, --with-manpages-langs
make delheaders; \
	make smbd/build_options.c; \
	make include/proto.h; \
	make include/build_env.h; \
	make nsswitch/winbindd_proto.h; \
	make web/swat_proto.h; \
	make client/client_proto.h; \
	make utils/ntlm_auth_proto.h; \
	make utils/net_proto.h; \
	make utils/passwd_proto.h;
make[1]: Entering directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
Removing prototype headers
make[1]: Leaving directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
make[1]: Entering directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
Generating smbd/build_options.c
make[1]: Leaving directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
make[1]: Entering directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
Building include/proto.h
creating /var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source/include/proto.h
make[1]: Leaving directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
make[1]: Entering directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
Building include/build_env.h
make[1]: Leaving directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
make[1]: Entering directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
creating /var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source/nsswitch/winbindd_proto.h
make[1]: Leaving directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
make[1]: Entering directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
creating /var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source/web/swat_proto.h
make[1]: Leaving directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
make[1]: Entering directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
creating /var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source/client/client_proto.h
make[1]: Leaving directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
make[1]: Entering directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
creating /var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source/utils/ntlm_auth_proto.h
make[1]: Leaving directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
make[1]: Entering directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
creating /var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source/utils/net_proto.h
make[1]: Leaving directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
make[1]: Entering directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
creating /var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source/utils/passwd_proto.h
make[1]: Leaving directory `/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source'
Using FLAGS      =  -march=nocona -O2 -pipe -fstack-protector -D_SAMBA_BUILD_=3  -I/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED    -I/var/tmp/portage/net-fs/samba-3.0.30/work/samba-3.0.30/source/lib -D_SAMBA_BUILD_=3
Compiling dynconfig.c
      PICFLAG    = -fPIC
      LIBS       = -lcrypt -lresolv -lresolv -lnsl -ldl
      LDFLAGS    = -pie -Wl,-O1
      DYNEXP     = -Wl,--export-dynamic
      LDSHFLAGS  = -shared -Wl,-Bsymbolic -Wl,-O1
Compiling param/loadparm.c
      SHLIBEXT   = so
      SONAMEFLAG = -Wl,-soname=
Compiling param/params.c
Compiling lib/sharesec.c
Compiling lib/ldap_debug_handler.c
...[ciach]


...
Compiling utils/log2pcaphex.c
Compiling utils/sharesec.c
Linking bin/smbd
Linking bin/nmbd
Linking bin/swat
Linking bin/smbmount
Linking bin/smbmnt
Linking bin/smbumount
Linking bin/smbclient
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libgnutls.so.13, needed by /usr/lib/libcups.so, not found (try using -rpath or -rpath-link)
/usr/lib/libcups.so: undefined reference to `gnutls_bye@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_credentials_set@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_record_check_pending@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_certificate_free_credentials@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_set_default_priority@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_init@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_transport_set_pull_function@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_global_init@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_handshake@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_transport_set_ptr@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_transport_set_push_function@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_certificate_allocate_credentials@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_deinit@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_record_recv@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_record_send@GNUTLS_1_3'
collect2: ld returned 1 exit status
make: *** [bin/swat] Error 1
make: *** Waiting for unfinished jobs....
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libgnutls.so.13, needed by /usr/lib/libcups.so, not found (try using -rpath or -rpath-link)
/usr/lib/libcups.so: undefined reference to `gnutls_record_check_pending@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_record_send@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_init@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_set_default_priority@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_transport_set_push_function@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_transport_set_pull_function@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_certificate_allocate_credentials@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_record_recv@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_handshake@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_deinit@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_global_init@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_credentials_set@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_transport_set_ptr@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_bye@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_certificate_free_credentials@GNUTLS_1_3'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1
 [31;01m*[0m 
 [31;01m*[0m ERROR: net-fs/samba-3.0.30 failed.
 [31;01m*[0m Call stack:
 [31;01m*[0m               ebuild.sh, line   49:  Called src_compile
 [31;01m*[0m             environment, line 3514:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       emake everything || die "emake everything failed";
 [31;01m*[0m  The die message:
 [31;01m*[0m   emake everything failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
 [31;01m*[0m A complete build log is located at '/var/tmp/portage/net-fs/samba-3.0.30/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-3.0.30/temp/environment'.
 [31;01m*[0m 
Comment 3 Rafał Mużyło 2008-07-12 19:22:22 UTC
So this is probably invalid:
you failed to check with revdep-rebuild if anything got broken after gnutls update.
You have to rebuild cups (probably many other packages).
Comment 4 Michał Deszcz 2008-07-12 21:38:21 UTC
Thenkyou, "revdep-rebuild" hedlped :)