Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22052 - net-p2p/gift-cvs-0.11.0 fails to compile: fst_download.c , etc
Summary: net-p2p/gift-cvs-0.11.0 fails to compile: fst_download.c , etc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-01 11:56 UTC by FieldySnuts
Modified: 2003-06-01 19:38 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 FieldySnuts 2003-06-01 11:56:00 UTC
net-p2p/gift-cvs-0.11.0 fails to compile. 
 
I'd post the whole of stdout and stderr, but I'm a git and have forgotten how. So someone 
please clue me in. 
 
For now, this is all I see: 
 
fst_download.c:359: parse error before '*' token 
fst_download.c: In function `download_error_gift': 
fst_download.c:362: `remove_source' undeclared (first use in this function) 
fst_download.c:365: request for member `source_status' in something not a structure or 
union 
fst_download.c:365: `download' undeclared (first use in this function) 
fst_download.c:365: `klass' undeclared (first use in this function) 
fst_download.c:365: `error' undeclared (first use in this function) 
fst_download.c:375: request for member `source_status' in something not a structure or 
union 
fst_download.c: In function `download_parse_url': 
fst_download.c:394: warning: implicit declaration of function `string_sep' 
fst_download.c:397: warning: assignment makes pointer from integer without a cast 
fst_download.c:400: warning: assignment makes pointer from integer without a cast 
fst_download.c:405: warning: implicit declaration of function `net_ip' 
fst_download.c:407: warning: implicit declaration of function `ATOI' 
make: *** [fst_download.o] Error 1 
 
!!! ERROR: net-p2p/gift-cvs-0.11.0 failed. 
!!! Function src_compile, Line 60, Exitcode 2 
!!! FastTrack plugin failed to build 
 
 
Portage 2.0.47-r10 (default-1.0, gcc-3.2.3, glibc-2.2.5-r2,2.2.5-r8) 
================================================================= 
System uname: 2.4.20-crazyCFLAGS-fglrx i686 AuthenticAMD 
GENTOO_MIRRORS="http://gentoo.linux.no/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo 
/ http://ftp.gentoo.or.kr/ http://gentoo.gnukorea.org/ ftp://ftp.dale.ro/pub/mirro 
rs/ftp.ibiblio.org/pub/Linux/distributions/gentoo/ ftp://ftp.snt.utwente.nl/pub/os 
/linux/gentoo/ ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/ " 
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/shar 
e/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/home/portage" 
DISTDIR="/home/portage/distfiles" 
PKGDIR="/home/portage/packages" 
PORTAGE_TMPDIR="/home/portage/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss apm avi crypt cups jpeg libg++ mikmod mpeg ncurses quicktime spell xm 
l2 xv aalib berkdb bonobo directfb esd gdbm ggi gif gnome-libs gtkhtml guile imlib 
 java ldap libwww motif mozilla nls opengl pam png python qt readline scanner sdl 
slang ssl svga tcltk tcpd tetex tiff X gtk gtk2 gpm gnome -alsa -arts 3dnow cdr en 
code kde mmx oggvorbis pdflib perl sse truetype xmms ipv6" 
COMPILER="" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-mp -O3 -pipe -fexpensive-optimizations -fomit-frame-pointer 
-D__SMP__ -mmmx -msse -m3dnow -mfpmath=sse,387" 
CXXFLAGS="-march=athlon-mp -O3 -pipe -fexpensive-optimizations -fomit-frame-pointe 
r -D__SMP__ -mmmx -msse -m3dnow -mfpmath=sse,387" 
ACCEPT_KEYWORDS="x86 ~x86" 
MAKEOPTS="-j3" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache"
Comment 1 FieldySnuts 2003-06-01 11:57:47 UTC
Grr. Is there some way to clean up how konqueror posts these messages? 
That looks terrible. 
Comment 2 FieldySnuts 2003-06-01 11:58:40 UTC
In fact, the entire CFLAGS line is trashed... My appologies. 
Comment 3 Steve Fox 2003-06-01 12:07:53 UTC
I'm getting the same errors as well for 0.11.0, and I haven't been able to build gift-cvs 
for about a week :( 
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-06-01 14:23:38 UTC
turn down your CFLAGS
try with
CFLAGS="-march=i686 -O2 -pipe"
Comment 5 Rutger Hendriks 2003-06-01 14:56:29 UTC
I had the same problem. The FastTrack plugin won't compile when you upgrade from gift-cvs-0.10.0 to gift-cvs-0.11.0
This is because in the Makefile for the FastTrack plugin, there is a line that calls pkg-config to try to find the 'libgift.pc' file (if my memory serves me right, *I accidentally closed that konsole-session* :( )
However, that libgift.pc file isn't there yet, because gift-cvs-0.11.0 isn't installed yet (obviously!)

A quick hack is to edit the /usr/portage/net-p2p/gift-cvs/gift-cvs-0.11.0.ebuild file and comment out lines 57, 58, 59 and 60 and lines 74 and 75

This will skip the FastTrack plugin and just install gift-cvs and also installs the 'libgift.pc' file.
Now the lines 57 till 60 and 74 and 75 can be uncommented again and one can install gift-cvs-0.11.0 again. This time the error doesn't show and you can enjoy the FastTrack plugin!
Comment 6 FieldySnuts 2003-06-01 15:00:31 UTC
Turned down my CFLAGS, which I always do when I have such problems, to 
no avail. Same errors. Looks like others are having this problem as well. 
Comment 7 Frank Straetz 2003-06-01 16:01:50 UTC
Sorry, the gift-cvs-0.11.0 ebuild stopped working around the time it got included into CVS. Bug #22061 contains an ebuild which should fix this problems.
Comment 8 Brandon Low (RETIRED) gentoo-dev 2003-06-01 19:38:40 UTC
fixed, thanks.