Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22922 - xscreensaver 4.10 build error
Summary: xscreensaver 4.10 build error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-16 06:17 UTC by gwbv
Modified: 2003-06-17 02:02 UTC (History)
0 users

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 gwbv 2003-06-16 06:17:51 UTC
at building, the following compile error is issued:

gcc -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -U__STRICT_ANSI__ -c -I.
-I. -I./../../utils -I./.. -I../..  -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 
 -I/usr/include/libxml2   -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -DSTANDALONE -DUSE_GL -DHAVE_CONFIG_H -march=i686
-O3 -pipe -I/usr/X11R6/include klein.c
klein.c:36: parse error before string constant
klein.c:36: stray '\' in program
klein.c:37: stray '\' in program
klein.c:38: stray '\' in program
klein.c:39: stray '\' in program
klein.c:40: stray '\' in program
klein.c:41: stray '\' in program
In file included from ../xlockmore.h:31,
                 from klein.c:43:
/usr/include/stdio.h:133: parse error before `*'
/usr/include/stdio.h:133: warning: data definition has no type or storage class
/usr/include/stdio.h:134: parse error before `*'
/usr/include/stdio.h:134: warning: data definition has no type or storage class
/usr/include/stdio.h:135: parse error before `*'
/usr/include/stdio.h:135: warning: data definition has no type or storage class
/usr/include/stdio.h:149: parse error before `*'
/usr/include/stdio.h:149: warning: data definition has no type or storage class
/usr/include/stdio.h:184: parse error before `*'
/usr/include/stdio.h:186: parse error before `*'
/usr/include/stdio.h:190: parse error before `*'
/usr/include/stdio.h:201: parse error before `*'
/usr/include/stdio.h:202: warning: data definition has no type or storage class
/usr/include/stdio.h:204: parse error before `*'
/usr/include/stdio.h:206: parse error before `FILE'
/usr/include/stdio.h:206: warning: data definition has no type or storage class
/usr/include/stdio.h:231: parse error before `*'
/usr/include/stdio.h:231: warning: data definition has no type or storage class
/usr/include/stdio.h:254: parse error before `*'
/usr/include/stdio.h:258: parse error before `*'
/usr/include/stdio.h:264: parse error before `*'
/usr/include/stdio.h:268: parse error before `*'
/usr/include/stdio.h:273: parse error before `*'
/usr/include/stdio.h:282: parse error before `*'
/usr/include/stdio.h:325: parse error before `*'
/usr/include/stdio.h:351: parse error before `*'
/usr/include/stdio.h:352: parse error before `*'
/usr/include/stdio.h:363: parse error before `*'
/usr/include/stdio.h:369: parse error before `*'
/usr/include/stdio.h:374: parse error before `FILE'
/usr/include/stdio.h:375: parse error before `FILE'
/usr/include/stdio.h:386: parse error before `FILE'
/usr/include/stdio.h:391: parse error before `FILE'
/usr/include/stdio.h:398: parse error before `*'
/usr/include/stdio.h:401: parse error before `FILE'
/usr/include/stdio.h:406: parse error before `FILE'
/usr/include/stdio.h:441: parse error before `FILE'
/usr/include/stdio.h:455: parse error before `FILE'
/usr/include/stdio.h:460: parse error before `FILE'
/usr/include/stdio.h:463: parse error before `FILE'
/usr/include/stdio.h:468: parse error before `FILE'
/usr/include/stdio.h:470: parse error before `FILE'
/usr/include/stdio.h:475: parse error before `*'
/usr/include/stdio.h:477: parse error before `*'
/usr/include/stdio.h:479: parse error before `*'
/usr/include/stdio.h:495: parse error before `*'
/usr/include/stdio.h:498: parse error before `*'
/usr/include/stdio.h:531: parse error before `*'
/usr/include/stdio.h:533: parse error before `*'
/usr/include/stdio.h:535: parse error before `*'
/usr/include/stdio.h:539: parse error before `*'
/usr/include/stdio.h:540: parse error before `*'
/usr/include/stdio.h:541: parse error before `*'
/usr/include/stdio.h:562: parse error before `*'
/usr/include/stdio.h:567: parse error before `*'
/usr/include/stdio.h:574: parse error before `*'
/usr/include/stdio.h:574: warning: data definition has no type or storage class
/usr/include/stdio.h:577: parse error before `*'
/usr/include/stdio.h:609: parse error before `*'
/usr/include/stdio.h:613: parse error before `*'
/usr/include/stdio.h:616: parse error before `*'
In file included from /usr/include/stdio.h:630,
                 from ../xlockmore.h:31,
                 from klein.c:43:
/usr/include/bits/stdio.h: In function `getchar':
/usr/include/bits/stdio.h:43: warning: passing arg 1 of `_IO_getc' from
incompatible pointer type
/usr/include/bits/stdio.h: At top level:
/usr/include/bits/stdio.h:50: parse error before `*'
/usr/include/bits/stdio.h:51: warning: function declaration isn't a prototype
/usr/include/bits/stdio.h: In function `getc_unlocked':
/usr/include/bits/stdio.h:52: `__fp' undeclared (first use in this function)
/usr/include/bits/stdio.h:52: (Each undeclared identifier is reported only once
/usr/include/bits/stdio.h:52: for each function it appears in.)
/usr/include/bits/stdio.h:53: warning: control reaches end of non-void function
/usr/include/bits/stdio.h: In function `getchar_unlocked':
/usr/include/bits/stdio.h:59: request for member `_IO_read_ptr' in something not
a structure or union
/usr/include/bits/stdio.h:59: request for member `_IO_read_end' in something not
a structure or union
/usr/include/bits/stdio.h:59: warning: passing arg 1 of `__uflow' from
incompatible pointer type
/usr/include/bits/stdio.h:59: request for member `_IO_read_ptr' in something not
a structure or union
/usr/include/bits/stdio.h:60: warning: control reaches end of non-void function
/usr/include/bits/stdio.h: In function `putchar':
/usr/include/bits/stdio.h:68: warning: passing arg 2 of `_IO_putc' from
incompatible pointer type
/usr/include/bits/stdio.h: At top level:
/usr/include/bits/stdio.h:75: parse error before `FILE'
/usr/include/bits/stdio.h:76: warning: function declaration isn't a prototype
/usr/include/bits/stdio.h: In function `fputc_unlocked':
/usr/include/bits/stdio.h:77: `__stream' undeclared (first use in this function)
/usr/include/bits/stdio.h:77: `__c' undeclared (first use in this function)
/usr/include/bits/stdio.h:78: warning: control reaches end of non-void function
/usr/include/bits/stdio.h: At top level:
/usr/include/bits/stdio.h:85: parse error before `FILE'
/usr/include/bits/stdio.h:86: warning: function declaration isn't a prototype
/usr/include/bits/stdio.h: In function `putc_unlocked':
/usr/include/bits/stdio.h:87: `__stream' undeclared (first use in this function)
/usr/include/bits/stdio.h:87: `__c' undeclared (first use in this function)
/usr/include/bits/stdio.h:88: warning: control reaches end of non-void function
/usr/include/bits/stdio.h: In function `putchar_unlocked':
/usr/include/bits/stdio.h:94: request for member `_IO_write_ptr' in something
not a structure or union
/usr/include/bits/stdio.h:94: request for member `_IO_write_end' in something
not a structure or union
/usr/include/bits/stdio.h:94: warning: passing arg 1 of `__overflow' from
incompatible pointer type
/usr/include/bits/stdio.h:94: request for member `_IO_write_ptr' in something
not a structure or union
/usr/include/bits/stdio.h:95: warning: control reaches end of non-void function
/usr/include/bits/stdio.h: At top level:
/usr/include/bits/stdio.h:112: parse error before `*'
/usr/include/bits/stdio.h:113: warning: function declaration isn't a prototype
/usr/include/bits/stdio.h: In function `feof_unlocked':
/usr/include/bits/stdio.h:114: `__stream' undeclared (first use in this function)
/usr/include/bits/stdio.h:115: warning: control reaches end of non-void function
/usr/include/bits/stdio.h: At top level:
/usr/include/bits/stdio.h:119: parse error before `*'
/usr/include/bits/stdio.h:120: warning: function declaration isn't a prototype
/usr/include/bits/stdio.h: In function `ferror_unlocked':
/usr/include/bits/stdio.h:121: `__stream' undeclared (first use in this function)
/usr/include/bits/stdio.h:122: warning: control reaches end of non-void function
In file included from ../screenhack.h:87,
                 from ../xlockmoreI.h:18,
                 from ../xlockmore.h:33,
                 from klein.c:43:
../../utils/visual.h: At top level:
../../utils/visual.h:23: parse error before `*'
../../utils/visual.h:23: warning: function declaration isn't a prototype
../../utils/visual.h:29: parse error before `*'
../../utils/visual.h:29: warning: function declaration isn't a prototype
../../utils/visual.h:30: parse error before `*'
../../utils/visual.h:30: warning: function declaration isn't a prototype
In file included from klein.c:43:
../xlockmore.h:194: stray '\' in program
make[1]: *** [klein.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xscreensaver-4.10/work/xscreensaver-4.10/hacks/glx'
make: *** [default] Error 5
 
!!! ERROR: x11-misc/xscreensaver-4.10 failed.
!!! Function src_compile, Line 118, Exitcode 2
!!! (no error message)
 


Reproducible: Always
Steps to Reproduce:
1. emerge xscreensaver
2.
3.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-06-16 08:35:04 UTC
can you post the output of emerge info as the bug report form asks you to do
Comment 2 gwbv 2003-06-16 08:57:05 UTC
emerge info

Portage 2.0.48-r1 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r8)
=================================================================
System uname: 2.4.20 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow avi crypt cups encode jpeg kde libg++ mikmod mmx mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv berkdb esd gdbm gif gnome-libs gpm gtk gtkhtml guile imlib java libwww motif nls oggvorbis opengl pam perl png python qt readline sdl slang ssl svga tcpd tetex X acpi alsa -apm -arts bonobo cdr dga directfb dvd fbcon gd gnome gtk2 mbox mozilla pcmcia samba tcltk tiff trusted usb zlib"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
 
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-06-16 15:38:39 UTC
i've just committed a fix for the problem. can you please emerge sync and try again?

it was a dos formatted source file that gcc 2.95 didn't like.
Comment 4 gwbv 2003-06-17 00:33:48 UTC
I just did:
emerge rsync
emerge xscreensaver

and it worked fine !!

 Thanks,

  Carles.
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-06-17 02:02:37 UTC
thank you for confirming. i'll close this bug now. the fix was thanks to Mr_Bones on #gentoo-dev (dunno his real name)