net-libs/libgrss is a dependency of app-misc/tracker[rss]. The build fails because of missing includes (feeds-subscriber.c and util.c). Reproducible: Always Steps to Reproduce: 1. emerge net-libs/libgrss Actual Results: Build failure. Expected Results: Build success. My system is running gnome 3.10 with the gnome-next overlay added via layman. However this does not seem to be the cause of the failure. The build fails because of missing includes. The attached patch adds those includes and makes the build succeed. emerge --info: Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.1, glibc-2.17, 3.12.0 x86_64) ================================================================= System uname: Linux-3.12.0-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2 KiB Mem: 8167328 total, 1168044 free KiB Swap: 0 total, 0 free Timestamp of tree: Thu, 07 Nov 2013 22:15:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.5-r4, 3.2.5-r3, 3.3.2-r2 dev-util/cmake: 2.8.12 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.10.3, 1.11.6, 1.12.6, 1.14 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.7.3-r1, 4.8.1-r1 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r5::gnome sys-kernel/linux-headers: 3.11 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo x11 gnome local ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O3 -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /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/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs --keep-going" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://gentoo.mneisen.org/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5 -l5" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="xz" PORTAGE_COMPRESS_FLAGS="-9" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/run/media/dice/Daten" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/gnome-next /usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X a52 aac acl acoustid acpi alsa amd64 audit avahi berkdb branding bzip2 cairo cdda cdr cleartype cli colord corefonts cracklib crypt cryptsetup cue cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle iconv icu infinality introspection ipv6 jpeg lame lcms ldap libnotify libsamplerate libsecret mad mmx mng modules mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf playlist png policykit ppds pulseaudio qt3support qt4 readline sdl session sndfile socialweb spell sse sse2 ssl startup-notification svg systemd tcpd threads tiff truetype type3 udev udisks unicode upower usb vorbis wavpack wxwidgets x264 xcb xml xv xvid zeroconf zlib" ABI_X86="64" 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" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="biosdevname crypt systemd" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" NETBEANS_MODULES="cnd enterprise ergonomics groovy mobility php webcommon" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="radeon" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 362760 [details, diff] Adds three missing includes and makes the build succeed.
Two, not three. Typo :)
Created attachment 362766 [details] build.log
Created attachment 362768 [details] config.log
I just hit the same problem. Konstantin's patch worked for me. I added it to my local overlay and added this to the ebuild: epatch "${FILESDIR}"/${P}-fix-missing-includes.patch
(In reply to Konstantin (elxa) from comment #1) > Created attachment 362760 [details, diff] [details, diff] Confirmed working for me.
Hello, on my new fresh gentoo system i can't compile gnome because i can't compile libgrss * ERROR: net-libs/libgrss-0.5.0::gentoo failed (compile phase): * emake failed ... make[3]: Leaving directory `/var/tmp/portage/net-libs/libgrss-0.5.0/work/libgrss-0.5.0/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-libs/libgrss-0.5.0/work/libgrss-0.5.0/src' make[1]: *** [all-recursive] Error 1 ...
This bug impides to install Gnome correctly if you have the 'rss' USE activated. Please include the patch in the official ebuild, otherwise people installing Gnome with 'rss' USE will have this problem.
Thanks all for your work. Runs like a charm! I don't understand, why a complete solution isn't fixed in the portage-tree for months. Therefor the following: As I remind me for my first days working with bug-fixes, I'll write together the whole solution for other newbies, now just standing in the rain with gnome not building completely. Have fun with it! First: If you haven't got created your own overlay, do this now! (see http://forums.gentoo.org/viewtopic-t-827407.html) You'll need it for other bug-fixes too! Copy /usr/portage/net-libs/libgrss/* to your own local overlay. (use same directory structure <path to local overlay>/net-libs/libgrss/.) and delete the files belonging to the old version 0.3.0 in your copy. Save Konstantin's patch in the files subdirectory as "libgrss-0.5.0-fix-missing-includes.patch". Edit "libgrss-0.5.0.ebuild" and insert the line "epatch "${FILESDIR}"/${P}-fix-missing-includes.patch" (see comment #5 from Coy Barnes) just under the other epatch-line. Run "ebuild libgrss-0.5.0.ebuild manifest" in the new ebuild-directory (<path to local overlay>/net-libs/libgrss) to create the Manifest-file. Continue building gnome. It should work now!
https://git.gnome.org/browse/libgrss/commit/?id=ce63f06951861a4a3563089b2e92fd3cd8916260 That's the upstream fix for this issue (and the other reported build error on here)
(In reply to Berthold Humkamp from comment #9) > Thanks all for your work. Runs like a charm! > > I don't understand, why a complete solution isn't fixed in the portage-tree > for months. Therefor the following: > > As I remind me for my first days working with bug-fixes, I'll write together > the whole solution for other newbies, now just standing in the rain with > gnome not building completely. Have fun with it! > > First: If you haven't got created your own overlay, do this now! (see > http://forums.gentoo.org/viewtopic-t-827407.html) You'll need it for other > bug-fixes too! > > Copy /usr/portage/net-libs/libgrss/* to your own local overlay. (use same > directory structure <path to local overlay>/net-libs/libgrss/.) and delete > the files belonging to the old version 0.3.0 in your copy. > > Save Konstantin's patch in the files subdirectory as > "libgrss-0.5.0-fix-missing-includes.patch". > > Edit "libgrss-0.5.0.ebuild" and insert the line "epatch > "${FILESDIR}"/${P}-fix-missing-includes.patch" (see comment #5 from Coy > Barnes) just under the other epatch-line. > > Run "ebuild libgrss-0.5.0.ebuild manifest" in the new ebuild-directory > (<path to local overlay>/net-libs/libgrss) to create the Manifest-file. > > Continue building gnome. It should work now! Many thanks for you !!!, for this overlay advice for newbies !!! more one month i try to compile gnome 3.10 ...
just hit this will running an emerge -e @world.
Just hit this myself during yesterday during my daily update. Looking at the ebuild, this package isn't masked or keyworded.
I ran into this problem. It is unacceptable after 10 months the ebuild has not yet been patched. Great waste of time trying to figure out what went wrong.
9 months... really?... Confirming, works from overlay.
The maintainer recently announced that he didn't have time to maintain this package. If anyone has the interest, they might offer to proxy-maintain it. Basically, you do most of the work of a maintainer...testing, patching, updating...except you hand the resulting ebuilds and files off to a Gentoo dev rather than have direct access to the Gentoo repos yourself. (I used to be the proxy maintainer for a package, but life hit me like an oncoming train. It was fun and straightforward while I had time, though.)
(In reply to Michael Mol from comment #16) > The maintainer recently announced that he didn't have time to maintain this > package. If anyone has the interest, they might offer to proxy-maintain it. Then reasign this to pacho@gentoo.org as he was the one that bumped instead of the maintainer. And how was this able to be stablized with this bug open, seriously..
*** Bug 510620 has been marked as a duplicate of this bug. ***
With all the QA talk going on and this keeps sitting going nowhere..
I was going to commit it and looks like Gilles beated me: *libgrss-0.5.0-r1 (26 Sep 2014) 26 Sep 2014; Gilles Dartiguelongue <eva@gentoo.org> +libgrss-0.5.0-r1.ebuild, +files/libgrss-0.5.0-headers.patch: Fix build with newer glibc, bug #490722. As he did a revbump we will need to fast stabilize it (as current stable is broken)
stabilization at bug 523886