Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3982 - xfree -r12 fails compiling
Summary: xfree -r12 fails compiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-21 09:39 UTC by José Alberto Suárez López
Modified: 2003-02-04 19:42 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 José Alberto Suárez López 2002-06-21 09:39:11 UTC
i use gcc2 with -02 flag and debug


make[3]: Cambiando a directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/Xft'
flex -l  xftlex.l
sed 's/yy/XftConfig/g' lex.yy.c | sed 's/__REALLY_YY__/yy/' > xftlex.c && rm -f
lex.yy.c
bison -y -d xftgram.y
xftgram.y:168: warning: previous rule lacks an ending `;'
make[3]: *** [xftgram.c] Violacin de segmento
make[3]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/Xft'
make[2]: *** [depend] Error 2
make[2]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib'
make[1]: *** [depend] Error 2
make[1]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc'
make: *** [World] Error 2
+ diefunc src_compile 13 2
+ local funcname=src_compile lineno=13 exitcode=2
+ shift 3
+ echo

+ echo '!!! ERROR: The ebuild did not complete successfully.'
!!! ERROR: The ebuild did not complete successfully.
+ echo '!!! Function src_compile, Line 13, Exitcode 2'
!!! Function src_compile, Line 13, Exitcode 2
+ echo '!!! (no error message)'
!!! (no error message)
+ echo

+ exit 1
!!! emerge aborting on  /usr/portage/x11-base/xfree/xfree-4.2.0-r12.ebuild .
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-21 15:04:23 UTC
I thought we already had a bug like this, and that it was with more than
xfree ?
Comment 2 José Alberto Suárez López 2002-06-21 17:20:31 UTC
yes, i have the same error, almost with winex, and mozilla 1x, but i dont have
the error with <xfree-r12 or <mozilla-1
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-21 17:37:08 UTC
Ok, but like I already told you, I have merged -r12 more than 10 times already.
Also, there is not patch between -r11 or -r12 that touch the bison files.

Sigh .. maybe try to disable the sandbox (remove from FEATURES in make.conf),
and try again ?
Comment 4 José Alberto Suárez López 2002-06-22 18:56:51 UTC
now i have this:

including in config/util...
make[3]: Cambiando a directorio
`/var/tmp/portage/xfree-4.2.0-r12/work/xc/config/util'
gcc -mcpu=k6 -march=k6 -O2 -pipe -fomit-frame-pointer -ansi -pedantic
-pipe
-I../.. -I../../exports/include   -Dlinux -D__i386__
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE
-D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15
-DNARROWPROTO       -c -o makestrs.o makestrs.c
In file included from makestrs.c:34:
/usr/include/stdlib.h:306: parse error before `__THRO'
make[3]: *** [makestrs.o] Error 1
make[3]: Saliendo directorio
`/var/tmp/portage/xfree-4.2.0-r12/work/xc/config/util'
make[2]: *** [includes] Error 2
make[2]: Saliendo directorio
`/var/tmp/portage/xfree-4.2.0-r12/work/xc/config'
make[1]: *** [includes] Error 2
make[1]: Saliendo directorio
`/var/tmp/portage/xfree-4.2.0-r12/work/xc'
make: *** [World] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 13, Exitcode 2
!!! (no error message)
    
!!! emerge
Comment 5 José Alberto Suárez López 2002-06-23 08:39:39 UTC
the same error with bison in xaw3d:

+ ln -s ../../../.././ToggleP.h .
+ rm -f Tree.h
+ ln -s ../../../.././Tree.h .
+ rm -f TreeP.h
+ ln -s ../../../.././TreeP.h .
+ rm -f VendorEP.h
+ ln -s ../../../.././VendorEP.h .
+ rm -f Viewport.h
+ ln -s ../../../.././Viewport.h .
+ rm -f ViewportP.h
+ ln -s ../../../.././ViewportP.h .
+ rm -f XawImP.h
+ ln -s ../../../.././XawImP.h .
+ rm -f XawInit.h
+ ln -s ../../../.././XawInit.h .
bison -y -d laygram.y
make: *** [laygram.c] Violacin de segmento (segfault)

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 8, Exitcode 2
!!! (no error message)
Comment 6 José Alberto Suárez López 2002-06-28 19:25:42 UTC
it works with bison-1.28-r3
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-29 10:36:50 UTC
Ok, this is all well and neat, but I still would like to know why 1.32 works
for the rest except two.