Due to a missing header file in Thumbview.cc compiling/installing of this ebuild does not work. Reproducible: Always Steps to Reproduce: 1.emerge -av x11-misc/nitrogen-1.4-r1 2.results a error: Thumbview.cc: In member function ‘Glib::ustring Thumbview::cache_file(Glib::ustring)’: Thumbview.cc:322: error: ‘strlen’ no se declaró en este ámbito Thumbview.cc:331: error: ‘strcat’ no se declaró en este ámbito make[2]: *** [Thumbview.o] Error 1 make[2]: *** Se espera a que terminen otras tareas.... mv -f .deps/Config.Tpo .deps/Config.Po make[2]: se sale del directorio `/var/tmp/portage/x11-misc/nitrogen-1.4-r1/work/nitrogen-1.4/src' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/var/tmp/portage/x11-misc/nitrogen-1.4-r1/work/nitrogen-1.4' make: *** [all] Error 2 * * ERROR: x11-misc/nitrogen-1.4-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2720: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake 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/x11-misc/nitrogen-1.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-misc/nitrogen-1.4-r1/temp/environment'. * >>> Failed to emerge x11-misc/nitrogen-1.4-r1, Log file: >>> '/var/tmp/portage/x11-misc/nitrogen-1.4-r1/temp/build.log' Actual Results: It did not compile properly Expected Results: can not finish compiling the application keeper / # emerge --info x11-misc/nitrogen Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.27-gentoo-r8 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.27-gentoo-r8-i686-AMD_Athlon-tm-with-gentoo-1.12.13 Timestamp of tree: Sun, 13 Dec 2009 16:30:01 +0000 app-shells/bash: 4.0_p35 dev-lang/python: 2.6.4 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="es_ES.UTF8" LC_ALL="es_ES.UTF8" LDFLAGS="-Wl,-O1" LINGUAS="es" MAKEOPTS="-j2" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X alsa apache2 automount avahi berkdb bzip2 cli cracklib crypt ctype cups cxx dbus devil dri encode expat fortran fuse gd gdbm gif glitz gpm gstreamer gtk gtk2 guitarhero hal iconv ipv6 jingle jpeg ldap libburn libsexy libwww mdnsresponder-compat midi mikmod mmx modules mp3 mudflap mysql mysqli ncurses nls nm-applet nptl nptlonly nsplugin opengl openmp pam pcre perl pic png ppds pppd python readline reflection session spl ssl sysfs tcpd tiff unicode v4l v4l2 vhost vorbis win32codecs x86 xcb xml xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" CAMERAS="ptp2 adc65 canon konica fuji samsung toshiba kodak_dc240 sierra barbie aox hp215 sonix panasonic" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ================================================================= Package Settings ================================================================= x11-misc/nitrogen-1.4-r1 was built with the following: USE="-xinerama"
Created attachment 212919 [details] nitrogen-1.4-r1.ebuild x11-misc/nitrogen-1.4-r1 modified ebuild, which has been commented lines where patches invoke the respective
the problem is one of the patches that ebuild that is causing the problem by modifying the ebuild and reinstall the application, it is finished compiling without problems
Created attachment 212920 [details] build.log log of when the package emerged x11-misc/nitrogen-1.4-r1
Created attachment 213458 [details] fixed patch removing dependency on png header it seems that the original patch removes unnecessary dependency on libpng (include of png.h header) but this also pulls in string.h So the proper fix is to replace <png.h> with <string.h> I have attached the fixed patch
Thanks, applied in tree