Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271487 - Stabilise x11-wm/ratpoison-1.4.4-r1
Summary: Stabilise x11-wm/ratpoison-1.4.4-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop WM Team (OBSOLETE)
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks: 265257
  Show dependency tree
 
Reported: 2009-05-28 04:26 UTC by Jeroen Roovers (RETIRED)
Modified: 2009-06-11 19:37 UTC (History)
1 user (show)

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 Jeroen Roovers (RETIRED) gentoo-dev 2009-05-28 04:26:54 UTC
Please stabilise x11-wm/ratpoison-1.4.4-r1 .
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-02 06:54:38 UTC
Stable for HPPA.
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2009-06-02 16:49:24 UTC
sparc/x86 stable
Comment 3 Robert Bradbury 2009-06-04 10:53:40 UTC
Fails to emerge/build on x86 due to conflicting redeclaration of getline() in history.c.

Error is:
gcc -DHAVE_CONFIG_H -I.   -I/usr/include/freetype2     -O2 -march=prescott -pipe -I/usr/X11R6/include -MT history.o -MD -MP -MF .deps/history.Tpo -c -o history.o history.c
history.c:78: error: static declaration of 'getline' follows non-static declaration
/usr/include/stdio.h:651: error: previous declaration of 'getline' was here
make[2]: *** [history.o] Error 1
make[2]: Leaving directory `/root2/var/tmp/portage/x11-wm/ratpoison-1.4.4-r1/work/ratpoison-1.4.4/src'


Compiler version is:
gcc version 4.3.3 (Gentoo 4.3.3-r2 p1.1, pie-10.1.5)

/usr/include/stdio.h has "getline()" declaration on lines 651-653, when "__USE_XOPEN2K8" is defined.  Don't know where that is being set.
Comment 4 Robert Bradbury 2009-06-04 10:57:20 UTC
Actually, it looks like definition of _POSIX_C_SOURCE in /usr/include/features.h to be >=200809L may result in getline() being defined in stdio.h.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-04 11:47:00 UTC
(In reply to comment #4)
> Actually, it looks like definition of _POSIX_C_SOURCE in
> /usr/include/features.h to be >=200809L may result in getline() being defined
> in stdio.h.

Please open a separate bug report for this issue. Also note that sys-devel/gcc-4.3.2-r3 is currently stable and not 4.3.3-r2 so there is no conflict between currently stable versions of ratpoison and gcc.
Comment 6 nixnut (RETIRED) gentoo-dev 2009-06-06 16:49:32 UTC
ppc stable
Comment 7 Markus Meier gentoo-dev 2009-06-11 19:37:52 UTC
amd64 stable, all arches done.