gnome-extra/file-browser-applet-0.6.6 fails to compile Reproducible: Always Steps to Reproduce: Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo-20100402-1750 x86_64) ================================================================= System uname: Linux-2.6.33-gentoo-20100402-1750-x86_64-AMD_Phenom-tm-_II_X2_545_Processor-with-gentoo-2.0.1 Timestamp of tree: Mon, 05 Apr 2010 12:30:01 +0000 app-shells/bash: 4.1_p2-r1 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5-r1, 3.1.2-r1 dev-python/pycrypto: 2.1.0 dev-util/cmake: 2.8.1 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.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.4.3 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="-pipe -march=amdfam10 -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-pipe -march=amdfam10 -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages installsources news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.wetzlmayr.com/ http://gentoo.mirrors.hoobly.com/ http://gentoo.osuosl.org/ http://gentoo.arcticnetwork.ca/ http://gentoo.netnitco.net" LDFLAGS="-Wl,-O1" LINGUAS="en_US" MAKEOPTS="-j1" PKGDIR="/usr/portage/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="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X acl acpi aio alsa amd64 archive aspell bash-completion berkdb bzip2 cairo cdda cddb cdr cleartype cli consolekit cracklib crypt cscope custom-cflags custom-optimization cxx dbus device-mapper dga disk-partition dri dvdr emerald exif fam fbcondecor ffmpeg fortran fuse gdbm gdu gecko gif glitz gmp gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk hal iconv java java6 jpeg libffi libnotify lightning lm_sensors lzo mbrola mmx modules mpeg mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin opengl openmp optimized-qmake pam pcre perl playlist png policykit pppd python readline reflection replytolist samba secure-delete session sftp smp spell spl sse sse2 ssl startup-notification svg sysfs threads thumbnail tiff tk truetype udev unicode wmf xaw xcb xcomposite xinerama xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Scanning dependencies of target file-browser-applet [ 14%] Building C object src/CMakeFiles/file-browser-applet.dir/main.o /var/tmp/portage/gnome-extra/file-browser-applet-0.6.6/work/file-browser-applet-0.6.6/src/main.c: In function 'file_browser_applet_create': /var/tmp/portage/gnome-extra/file-browser-applet-0.6.6/work/file-browser-applet-0.6.6/src/main.c:136: warning: implicit declaration of function 'setlocale' /var/tmp/portage/gnome-extra/file-browser-applet-0.6.6/work/file-browser-applet-0.6.6/src/main.c:136: error: 'LC_ALL' undeclared (first use in this function) /var/tmp/portage/gnome-extra/file-browser-applet-0.6.6/work/file-browser-applet-0.6.6/src/main.c:136: error: (Each undeclared identifier is reported only once /var/tmp/portage/gnome-extra/file-browser-applet-0.6.6/work/file-browser-applet-0.6.6/src/main.c:136: error: for each function it appears in.) make[2]: *** [src/CMakeFiles/file-browser-applet.dir/main.o] Error 1 make[1]: *** [src/CMakeFiles/file-browser-applet.dir/all] Error 2 make: *** [all] Error 2 * ERROR: gnome-extra/file-browser-applet-0.6.6 failed: * Make failed! * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3616: Called cmake-utils_src_compile * environment, line 862: Called _execute_optionaly 'src_compile' * environment, line 339: Called enable_cmake-utils_src_compile * environment, line 1495: Called cmake-utils_src_make * environment, line 881: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * * If you need support, post the output of 'emerge --info =gnome-extra/file-browser-applet-0.6.6', * the complete build log and the output of 'emerge -pqv =gnome-extra/file-browser-applet-0.6.6'. * The complete build log is located at '/var/tmp/portage/gnome-extra/file-browser-applet-0.6.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/file-browser-applet-0.6.6/temp/environment'. * S: '/var/tmp/portage/gnome-extra/file-browser-applet-0.6.6/work/file-browser-applet-0.6.6'
do you have locale.h provided by glibc. I think you do.
(In reply to comment #2) > do you have locale.h provided by glibc. I think you do. > I do... # equery f glibc | grep -i locale.h /usr/include/bits/locale.h /usr/include/locale.h /usr/include/xlocale.h
(In reply to comment #2) > do you have locale.h provided by glibc. I think you do. > But it looks like the package isn't including it... # grep locale.h -rn /var/tmp/portage/gnome-extra/file-browser-applet-0.6.6/work/file-browser-applet-0.6.6/
I've having an issue emerging rpm due to the same type of error with locales LC_* not being defined. Take a look at my comment there: http://bugs.gentoo.org/show_bug.cgi?id=227939#c2
Created attachment 226749 [details] Possibly fixed ebuild Please try if this ebuild works for you.
(In reply to comment #6) > Created an attachment (id=226749) [details] > Possibly fixed ebuild > > Please try if this ebuild works for you. > The ebuild works well. Thanks
Committed to fix to CVS, thanks for reporting.
Reported upstream.