Summary: | Stabilise x11-wm/ratpoison-1.4.4-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | Current packages | Assignee: | Desktop WM Team (OBSOLETE) <desktop-wm+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | robert.bradbury |
Priority: | High | Keywords: | STABLEREQ |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 265257 |
Description
Jeroen Roovers (RETIRED)
![]() Stable for HPPA. sparc/x86 stable 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. 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. (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. ppc stable amd64 stable, all arches done. |