Linking bin/smbclient Linking bin/net Linking bin/smbspool lib/system.o: In function `sys_aio_suspend': system.c:(.text+0x85): undefined reference to `aio_suspend64' lib/system.o: In function `sys_aio_fsync': system.c:(.text+0x8a): undefined reference to `aio_fsync64' lib/system.o: In function `sys_aio_error': system.c:(.text+0x8f): undefined reference to `aio_error64' lib/system.o: In function `sys_aio_cancel': system.c:(.text+0x94): undefined reference to `aio_cancel64' lib/system.o: In function `sys_aio_return': system.c:(.text+0x99): undefined reference to `aio_return64' lib/system.o: In function `sys_aio_write': system.c:(.text+0x9e): undefined reference to `aio_write64' lib/system.o: In function `sys_aio_read': system.c:(.text+0xa3): undefined reference to `aio_read64' collect2: ld returned 1 exit status make: *** [bin/swat] Error 1 make: *** Waiting for unfinished jobs.... lib/system.o: In function `sys_aio_suspend': system.c:(.text+0x85): undefined reference to `aio_suspend64' lib/system.o: In function `sys_aio_fsync': system.c:(.text+0x8a): undefined reference to `aio_fsync64' lib/system.o: In function `sys_aio_error': system.c:(.text+0x8f): undefined reference to `aio_error64' lib/system.o: In function `sys_aio_cancel': system.c:(.text+0x94): undefined reference to `aio_cancel64' lib/system.o: In function `sys_aio_return': system.c:(.text+0x99): undefined reference to `aio_return64' lib/system.o: In function `sys_aio_write': system.c:(.text+0x9e): undefined reference to `aio_write64' lib/system.o: In function `sys_aio_read': system.c:(.text+0xa3): undefined reference to `aio_read64' collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1 * * ERROR: net-fs/samba-3.0.28 failed. * Call stack: * ebuild.sh, line 46: Called src_compile * environment, line 3090: Called die * The specific snippet of code: * emake everything || diefunc "$FUNCNAME" "$LINENO" "$?" "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 '/mnt/Dati/Gentoo/tmp/portage/net-fs/samba-3.0.28/temp/build.log'. * The ebuild environment file is located at '/mnt/Dati/Gentoo/tmp/portage/net-fs/samba-3.0.28/temp/environment'. * *** Deprecated use of action 'info', use '--info' instead Portage 2.1.4_rc9 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.23.8 x86_64) ================================================================= System uname: 2.6.23.8 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz Timestamp of tree: Tue, 11 Dec 2007 18:00:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.3 dev-lang/python: 2.5.1-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/config /var/run/dspam" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" INSTALL_MASK="/media" LANG="39" LC_ALL="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--hash-style=both" LINGUAS="it" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/mnt/Dati/Gentoo/tmp/" PORTDIR="/mnt/Dati/Gentoo/portage/" PORTDIR_OVERLAY="/usr/local/portage/myportage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="64bit 7zip X X509 Xaw3d a52 aac aalib accessibility ace acl acpi activefilter adns aiglx aio alsa amd amd64 amr amrr amuled ao aoss apache2 arj asf aspnet2 async atk audacious audiofile authfile automount bash-completion berkdb bidi binary-drivers bitmap-fonts bittorrent blas bootsplash browserplugin bzip2 cairo calendar caps cdda cddb cdio cdparanoia cdr cgi charconv chardet chroot ciao clamav clearcase cli client codecs corba cracklib crypt cscope css ctype cups curl cvs daemon dar64 dba dbus depth32 dga dhcp dio directfb diskio divx djbfft dmi dri dvd dvdr dvdread edl encode ethereal exif expat extraengine faac faad fam fastbuild fbcon ffmpeg fftw firefox flac flash foreign-package fortran ftp gcj gd gdbm geometry ggi gif gimp gimpprint glibc-omitfp glitz glut glx gnokii gnome gnutls gphoto2 gpm graphviz gs gtk gtk2 gtkhtml guile h264 hal hddtemp iconv idea idn imagemagick imap innodb ipod ipv6 irda irmc isdnlog jack java java5 javamail javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal kdehiddenvisibility kerberos kqemu lame lapack lcd lcms ldap libcaca libclamav libgda libusb lirc live lm_sensors lua lzo mad mailwrapper matroska md5sum mdb mhash midi mikmod mime mmx mmx2 mmxext mng mono mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer mpm-prefork msn msnextras mudflap musepack mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network ngui nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin nv nvidia oav odbc ogg openal opengl openmp openssl operanom2 pam pcre pda pdf pdo pear perl php pmu png pnp postgres pppd pthreads pulseaudio python qemu-fast qhull qt3 qt3support qt4 quicktime quotas readline reflection rrdtool rtc ruby samba scanner sdl server session sftplogging sguil slang slp smp snortsam soap sockets socks5 softmmu softquota spamassassin speex spell spl sqlite3 sse sse2 sse3 ssl ssse3 subject-rewrite svg tao tcltk tcpd tetex tga theora tiff tk tokenizer truetype truetype-fonts trusted type1-fonts unicode usb userlocales vorbis wma wmf wmv wsconvert wxwindows x264 xanim xchatdccserver xchattext xcomposite xine xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid xvm xvmc zlib" ALSA_CARDS="hda-intel" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Can't be only that. My hole whole system is built with as-needed and samba builds perfectly here. Please try with sane LDFLAGS and CFLAGS before reopening again if the problem still persists.
i confirm it was a cups issue. sorry for invalid bug
This is still an issue. I'm having this problem and also take a look at http://bugs.gentoo.org/show_bug.cgi?id=231273#c15 I'll attach fix in bug 231273 since I'm not constrained to use old but most stable samba and I'm interested in samba-3.3.0 to get into tree.
Created attachment 189146 [details, diff] Patch for version 3.0.34 This is a patch fixing this for samba 3.0.34.
Also this one should block bug 129413.
last release in portage correctly merges so i'm going to close this.