lib/system.o: In function `set_process_capability': /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:756: undefine d reference to `cap_get_proc' /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:808: undefine d reference to `cap_free' /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:793: undefine d reference to `cap_set_flag' /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:799: undefine d reference to `cap_set_flag' /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:801: undefine d reference to `cap_set_proc' /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:804: undefine d reference to `cap_free' lib/access.o: In function `string_match': /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/access.c:83: undefined reference to `yp_get_default_domain' lib/util.o: In function `automount_lookup': /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/util.c:1452: undefined reference to `yp_get_default_domain' /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/util.c:1453: undefined reference to `yperr_string' /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/util.c:1464: undefined reference to `yp_match' /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/util.c:1479: undefined reference to `yperr_string' collect2: ld returned 1 exit status Mon Aug 9 23:16:22 CEST 2010 Portage 2.1.8.3 (default/linux/hppa/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-JeR parisc64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.34-JeR-parisc64-PA8700_-PCX-W2-with-gentoo-2.0.1 Timestamp of tree: Mon, 09 Aug 2010 15:15:01 +0000 distcc 3.1 hppa2.0-unknown-linux-gnu [enabled] app-shells/bash: 4.0_p37 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3, 2.19.1-r1, 2.20.1-r1 sys-devel/gcc: 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="hppa" ACCEPT_LICENSE="* -@EULA" CBUILD="hppa2.0-unknown-linux-gnu" CFLAGS="-mschedule=8000 -march=2.0 -ggdb -pipe -Wall -O2" CHOST="hppa2.0-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/X11/xkb /var/bind /var/spool/fax/etc /var/spool/torque /var/www/localhost/htdocs/wordpress/wp-config.php" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -pipe -Wall -O2" DISTDIR="/newaches/gentoo/distfiles" FEATURES="assume-digests autoaddcvs buildpkg cvs distcc distlocks fixpackages news notitles parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test test-fail-continue unmerge-logs unmerge-orphans userfetch userpriv" FFLAGS="-mschedule=8000 -march=2.0 -ggdb -pipe -Wall -O2" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ " LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed" LINGUAS="en nl he" MAKEOPTS="-j4" PKGDIR="/keeps/gentoo/packages/elmer" 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="/mnt/alt" PORTDIR="/keeps/gentoo/portage" PORTDIR_OVERLAY="/keeps/gentoo/local" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="7zip X Xaw3d a52 aac aalib abyss accessibility acl ads agg alsa amr amrnb amrwb ao aoss apache2 apis ares artist-screen asf ass assistant async asyncns audiofile audit automount avfs bash-completion berkdb bidi bittorrent bittorrent-external bl bluetooth bzip2 c++ cairo caps captury catalogs cblas cdb cddb cdparanoia cdr chardet cjk clarens cleartype cli colors contrast cpath cracklib crypt cups curl custom-cflags custom-cxxflags cxx dbi dbtool dbus designer designer-plugin device-mapper dga dia dirac directfb djbfft djvu domainkeys dri drm dts dv dvd dvdr dvdread ebook edl elf emacs enca encode esd examples exceptions exif expat facebook fame fastbuild fastcgi fbcon ffmpeg filter fits flac fluidsynth fontconfig foomaticdb fortran ftp fts3 gadu galago games gcrypt gd gdbm geant4 geoip ggi gif gimp gimpprint glep glib glut gmp gnokii gnutls gphoto2 gpm gps gs gsl gsm gtk gtk2 gtkhtml guidexml guile hal hepmc hesiod hotpixels hppa i18n ical icecast iconv icu idea idn imagemagick imlib indi inquisitio ipv6 isc ithreads jabber jack javascript jbig jingle jpeg jpeg2k judy kpathsea lapack lasi latex lcms ldap leim lensfun libass libcaca libffi libmms libotf libsamplerate libwww live logrotate logwatch lua lyrics-screen lzma lzo mad manhole matroska mbrola mem-scramble memcache metis mhash midi mikmod mmap mng modplug modules motif mozbranding mp3 mplayer mssql mudflap musepack musicbrainz mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas ncurses netpbm network-cron nfconntrack nfs nls nntp nova nptl nptlonly nsplugin ntlm offensive ogg openal openexr opengl openmp openssl optimization oss ots overlays pam pango pbs pch pcre pdf pdo-external perl php plasma plotutils plugins png policykit portage portaudio postgres povray ppds pppd pulseaudio python pyzord qalculate qdbm qt3support qt4 quotas raw readline recode reflection rle rpc rrdtool rtc rtmp ruby ruby18 ruby19 samba sasl scanner scim sdl seamonkey server session sid slang slp sms sndfile snmp soap song-screen soundex speex spell spl spoof-source sqlite srt srtp ssh ssl startup-notification strong-optimization subtitles subversion suhosin supernodal svg swat sysfs syslog talkfilters tcl tcpd test tftp tga theora threads thumbnail thunar thunar-vfs tidy tiff timezone timidity tk tokyocabinet tools truetype tslib tunepimp twolame udev unicode unzip urandom usb userlocales utempter utf v4l v4l2 vanim vcd vidix vim-syntax vorbis watchdog wavpack webdav webinstall winbind wlan wma wmf xanim xattr xcb xchattext xcomposite xface xlisten xml xml2 xmp xmpi xorg xpm xrandr xscreensaver xsettings xulrunner xv xvid xvmc zip zip-external zlib" ALSA_CARDS="ad1889 usb-audio" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_ftp proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias asis authn_alias cern_meta charset_lite dumpio log_forensic substitute version" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse acecad aiptek calcomp citron digitaledge dmc dynapro elo2300 elographics fpit hyperpen jamstudio magellan microtouch mutouch palmax penmount spaceorb summa synaptics tek4957 tslib ur98 virtualbox wacom void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl he" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="stifb fbdev none dummy" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 242145 [details] net-fs:samba-3.0.37-r1:20100809-202842.log [hppa,fail] Another worrying issue is that this isn't happening in src_compile(), but in src_install().
(In reply to comment #0) > lib/system.o: In function `set_process_capability': > /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:756: > undefine > d reference to `cap_get_proc' > /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:808: > undefine > d reference to `cap_free' > /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:793: > undefine > d reference to `cap_set_flag' > /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:799: > undefine > d reference to `cap_set_flag' > /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:801: > undefine > d reference to `cap_set_proc' > /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:804: > undefine > d reference to `cap_free' > lib/access.o: In function `string_match': IIRC these must be defined in /lib/libcap.so The curious thing is build log has the line checking for cap_get_proc in -lcap... yes Am I missing something?
(In reply to comment #2) > (In reply to comment #0) > > lib/system.o: In function `set_process_capability': > > /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:756: > > undefine > > d reference to `cap_get_proc' > > /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:808: > > undefine > > d reference to `cap_free' > > /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:793: > > undefine > > d reference to `cap_set_flag' > > /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:799: > > undefine > > d reference to `cap_set_flag' > > /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:801: > > undefine > > d reference to `cap_set_proc' > > /mnt/alt/portage/net-fs/samba-3.0.37-r1/work/samba-3.0.37/source/lib/system.c:804: > > undefine > > d reference to `cap_free' > > lib/access.o: In function `string_match': > > IIRC these must be defined in /lib/libcap.so > > The curious thing is build log has the line > checking for cap_get_proc in -lcap... yes > > Am I missing something? > Also, haven't noticed this distcc[16602] ERROR: compile (null) on localhost failed Please try withouth distcc :)
Samba 3.0.x is no longer in portage tree. Please test this behaviour with samba 3.4.9 (current stable)