Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463986 - sys-apps/unscd-0.49 fails to emerge
Summary: sys-apps/unscd-0.49 fails to emerge
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-31 12:10 UTC by Krzysztof Magusiak
Modified: 2013-04-01 14:39 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 Krzysztof Magusiak 2013-03-31 12:10:20 UTC
The application fails to compile.

Reproducible: Always

Actual Results:  
>>> Emerging (1 of 1) sys-apps/unscd-0.49
 * nscd-0.49.c SHA256 SHA512 WHIRLPOOL size ;-) ...                      [ ok ]
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/sys-apps/unscd-0.49/work
>>> Compiling source in /var/tmp/portage/sys-apps/unscd-0.49/work ...
make -j8 unscd 
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed  unscd.c   -o unscd
unscd.c: In function ‘main’:
unscd.c:2564:9: warning: ignoring return value of ‘daemon’, declared with attribute warn_unused_result [-Wunused-result]
unscd.c:2572:8: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
/var/tmp/portage/sys-apps/unscd-0.49/temp/ccM309kc.o: In function `main':
unscd.c:(.text.startup+0x1d): undefined reference to `__nss_disable_nscd'
collect2: error: ld returned 1 exit status
make: *** [unscd] Error 1
emake failed
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-04-01 00:34:19 UTC
1) Please comment with the output of `emerge --info sys-apps/unscd-0.49`.
2) Please attach the complete build log.
Comment 2 Krzysztof Magusiak 2013-04-01 14:39:41 UTC
I first emerge glibc with the flag "nscd" set up, then it compiled.

The current output of `emerge --info unscd` is:

Portage 2.1.11.59 (default/linux/amd64/13.0, gcc-4.7.2, glibc-2.17, 3.8.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.8.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-3610QM_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:    12203060 total,  10755892 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 31 Mar 2013 11:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="64bit 7zip X X509 aac acl acpi ada alsa amd64 ao apache2 apng applet archive aria2 aspell audio automount bash-completion bcmath berkdb bittorrent bzip2 cairo caps cdda cdr chroot cleartype cli client colord connection-sharing consolekit context corefonts cracklib crypt css ctype ctypes-python cups curl curlwrappers custom-optimization cxx d dbase dbus dconf device-mapper dga dhcpcd dia dot dri drm dvd dvdr dvi dvipdfm emerald encode examples exif extra extras faac faad fallback fam fastcgi fat ffmpeg filter firefox firefox3 flac fontconfig fortran ftp fts3 fuse g3dvl gallium gconf gd gdbm gdu gif gimp git gmp gnome gnuplot gnutls gpm graphics graphviz gs gsm gstreamer gtk gtk3 gudev gzip hash hddtemp hscolour httpd hwdb iconv icu id3 id3tag image imagemagick imlib iostats ipv6 irc jabber jadetex java java6 javascript jfs jpeg jpeg2k json kpathsea lame laptop latex latex3 libkms libnotify libsamplerate libssh2 lightning llvm log4j logrotate lua lua-cairo lua-imlib luatex lzma lzo mad math matroska mercurial mhash minizip mmap mmx mmxext modules mozilla mp2 mp3 mp4 mpd mpeg mplayer msn mudflap multilib mysql nautilus ncurses network networkmanager nls nptl nscd nsplugin ntfs ntp numpy ocaml ocamlopt odbc ogg opengl openid openmp openssl pam pango pcre pdf php pidgin pipe plotutils pmu png policykit posix postgres pstricks publishers pulseaudio python quicktime rar raw rdp readline regex regexp reiser4 reiserfs romio rss rtmp rtsp run-as-root samba scanner science screen script scripts sctp sdl secure-delete session sftp sip smp sna sndfile soap sockets socks5 source speex spell sql sqlite sqlite3 sse sse2 ssh ssl ssse3 startup-notification subversion suhosin suid svg syslog taglib tcl tcpd theora threads threadsafe thunderbird tiff tk tools truetype udev udisks unicode unzip usb userlocales v4l v4l2 vaapi vcd vdpau vhosts video vim-syntax vnc vorbis weather-metar webinterface webkit webm webp webserver wifi wireshark wps x264 xa xattr xcb xcomposite xetex xfs xine xinerama xml xmlrpc xnest xorg xrandr xrender xscreensaver xv xvfb xvid xvmc zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard synaptics mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON