Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490722 - =net-libs/libgrss-0.5.0 fails to build due to missing includes with error "feeds-subscriber.c:425:21: error: storage size of ‘low_addr’ isn’t known"
Summary: =net-libs/libgrss-0.5.0 fails to build due to missing includes with error "fe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Fabio Erculiani (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
: 510620 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-11-07 23:19 UTC by Konstantin (elxa)
Modified: 2014-09-27 16:22 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Adds three missing includes and makes the build succeed. (missing-includes.patch,268 bytes, patch)
2013-11-07 23:20 UTC, Konstantin (elxa)
Details | Diff
build.log (build.log,28.71 KB, text/plain)
2013-11-08 00:23 UTC, Konstantin (elxa)
Details
config.log (config.log,36.15 KB, text/plain)
2013-11-08 00:26 UTC, Konstantin (elxa)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin (elxa) 2013-11-07 23:19:25 UTC
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
Comment 1 Konstantin (elxa) 2013-11-07 23:20:28 UTC
Created attachment 362760 [details, diff]
Adds three missing includes and makes the build succeed.
Comment 2 Konstantin (elxa) 2013-11-07 23:21:20 UTC
Two, not three. Typo :)
Comment 3 Konstantin (elxa) 2013-11-08 00:23:40 UTC
Created attachment 362766 [details]
build.log
Comment 4 Konstantin (elxa) 2013-11-08 00:26:19 UTC
Created attachment 362768 [details]
config.log
Comment 5 Coy Barnes 2014-03-31 21:14:31 UTC
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
Comment 6 Sander Sweers 2014-04-20 13:00:15 UTC
(In reply to Konstantin (elxa) from comment #1)
> Created attachment 362760 [details, diff] [details, diff]

Confirmed working for me.
Comment 7 Christophe DAPREMONT 2014-04-20 13:13:22 UTC
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
...
Comment 8 Javier 2014-05-15 11:37:49 UTC
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.
Comment 9 Berthold Humkamp 2014-05-25 17:40:41 UTC
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!
Comment 10 Michael Cook 2014-06-18 01:11:05 UTC
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)
Comment 11 Christophe DAPREMONT 2014-06-23 01:21:56 UTC
(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 ...
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-07-01 07:13:10 UTC
just hit this will running an emerge -e @world.
Comment 13 Michael Mol 2014-07-25 12:43:11 UTC
Just hit this myself during yesterday during my daily update. Looking at the ebuild, this package isn't masked or keyworded.
Comment 14 Daniel.Savard 2014-08-07 21:12:06 UTC
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.
Comment 15 Charlie Gehlin 2014-08-08 11:31:05 UTC
9 months... really?...

Confirming, works from overlay.
Comment 16 Michael Mol 2014-08-08 13:45:33 UTC
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.)
Comment 17 Sander Sweers 2014-08-08 14:15:11 UTC
(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..
Comment 18 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-09-26 18:08:13 UTC
*** Bug 510620 has been marked as a duplicate of this bug. ***
Comment 19 Sander Sweers 2014-09-26 18:11:52 UTC
With all the QA talk going on and this keeps sitting going nowhere..
Comment 20 Pacho Ramos gentoo-dev 2014-09-26 19:20:26 UTC
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)
Comment 21 Pacho Ramos gentoo-dev 2014-09-27 16:22:10 UTC
stabilization at bug 523886