Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 313799

Summary: dev-vcs/cvs-1.11.22.1-r1 fails to compile
Product: Gentoo/Alt Reporter: Fabian Groffen <grobian>
Component: Prefix SupportAssignee: Maintainers for cvs, and cvs related tools (the version control system) [OBSOLETE] <cvs-utils+obsolete>
Status: RESOLVED FIXED    
Severity: normal CC: prefix
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fabian Groffen gentoo-dev 2010-04-08 08:36:34 UTC
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src     -O3 -pipe -march=nocona -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \
        then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi
In file included from getline.c:25:
getline.h:15: error: conflicting types for ‘getline’
/usr/include/stdio.h:653: note: previous declaration of ‘getline’ was here
getline.c:158: error: conflicting types for ‘getline’
/usr/include/stdio.h:653: note: previous declaration of ‘getline’ was here
make[2]: *** [getline.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/export/scratch0/fabian/prefix64/var/tmp/portage/dev-util/cvs-1.11.22.1-r1/work/cvs-1.11.22.1/lib'

% cat /etc/redhat-release 
Fedora release 12 (Constantine)

Dunno why this doesn't b0rk on Gentoo Linux
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-12-06 20:47:18 UTC
It doesn't compile even on non-prefix systems.
I'm removing the old 1.11 series now.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-12-06 21:09:34 UTC
Removed from tree now.
Comment 3 Fabian Groffen gentoo-dev 2011-02-09 21:29:48 UTC
# Fabian Groffen <grobian@gentoo.org> (21 Jan 2007)
# dies with "exhausted memory" errors on Darwin, doesn't understand
# arguments on Solaris.  Probably more problems...
=dev-vcs/cvs-1.12.12*

Mind if we add back "Stable CVS Version 1.11.23 Released!"?
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-02-09 21:34:45 UTC
1.11.x was removed for failing to compile on modern systems as well as security vulnerabilities. I do not want it to come back to the tree.
Comment 5 Fabian Groffen gentoo-dev 2011-02-09 21:39:51 UTC
Bah, so we can't have any cvs any more for Prefix arches?  How can it be the last version stable is 1.11.23 and other distros (including Fedora 14) just ship this version if it has security issues?
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-02-09 22:05:52 UTC
The last version we shipped in the old upstream stable branch was 1.11.22-r1 (which is where the sec issue was).

If you can get 1.11.23 compiling on non-Prefix Gentoo, then we can bring it back, but I suspect you'll need to look for a lot of patches from other distros.
Comment 7 Fabian Groffen gentoo-dev 2011-02-10 18:04:41 UTC
It compiled out of the box actually, but I grabbed a CVE patch and getline64 fix from Fedora.  I dropped all gx86 keyword, such that only Prefix arches benefit from this ebuild.