Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 195929
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: TeX herd <tex@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Florian Wagner <florian@wagner-flo.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge.info emerge --info text/plain Daniel Santos 2009-11-08 05:13 0000 6.07 KB Details
app-text:texlive-core-2008-r7:20091108-022209.log.lzma log file application/octet-stream Daniel Santos 2009-11-08 05:13 0000 38.55 KB Details
tempdir.tar.lzma temp directory (environment, etc) application/octet-stream Daniel Santos 2009-11-08 05:14 0000 28.29 KB Details
rebuild-list My rebuild list text/plain Daniel Santos 2009-11-08 05:24 0000 85.21 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 195929 depends on: Show dependency tree
Bug 195929 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-15 09:33 0000
I'm trying to emerge texlive-core-2007 (as part of an emerge
texlive-latexrecommended-2007). Compiling fails with the following error.

make[3]: Entering directory
`/var/tmp/portage/app-text/texlive-core-2007/work/texk/web2c/otps'
bison -y -d -v ./otp.y
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-march=athlon64 -O2 -pipe  -c routines.c -o routin
es.o
bison -y -d -v ./otp.y
test -f y.tab.c && mv -f y.tab.c y_tab.c
test -f y.tab.h && mv -f y.tab.h y_tab.h
flex -l ./otp.l
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-march=athlon64 -O2 -pipe  -c y_tab.c -o y_tab.o
test -f y.tab.c && mv -f y.tab.c y_tab.c
make[3]: [y_tab.h] Error 1 (ignored)
test -f y.tab.h && mv -f y.tab.h y_tab.h
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-march=athlon64 -O2 -pipe  -c otp2ocp.c -o otp2ocp.o
y.tab.c:1406:15: warning: null character(s) ignored
y.tab.c: In function 'yyparse':
y.tab.c:1406: error: expected ';' before '(' token
y.tab.c:1406: error: expected statement before ']' token
y.tab.c:1406: error: expected statement before ')' token
y.tab.c:1406: error: expected expression before '.' token
y.tab.c:1406: error: expected statement before ')' token
y.tab.c:1406: error: label 'yydef' used but not defined
y.tab.c:1388: error: label 'yyabortlab' used but not defined
y.tab.c:1359: error: label 'yyexhaustedlab' used but not defined
y.tab.c: At top level:
y.tab.c:1407: error: expected identifier or '(' before 'break'
y.tab.c:1409: error: expected identifier or '(' before 'case'
./otp.y:314: error: expected identifier or '(' before 'break'
./otp.y:316: error: expected identifier or '(' before 'case'
./otp.y:316: error: expected identifier or '(' before 'break'
./otp.y:318: error: expected identifier or '(' before 'case'
./otp.y:323: error: expected identifier or '(' before 'break'
./otp.y:325: error: expected identifier or '(' before 'case'
./otp.y:325: error: expected identifier or '(' before 'break'
./otp.y:327: error: expected identifier or '(' before 'case'
./otp.y:327: error: expected identifier or '(' before 'break'
./otp.y:329: error: expected identifier or '(' before 'case'
./otp.y:329: error: expected identifier or '(' before 'break'
y.tab.c:1839: error: expected identifier or '(' before 'default'
y.tab.c:1840: error: expected identifier or '(' before '}' token
y.tab.c:1843: error: expected ')' before '-=' token
y.tab.c:1844: warning: data definition has no type or storage class
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-march=athlon64 -O2 -pipe  -c lex.yy.c -o lex.yy.o
y.tab.c:1847: error: expected identifier or '(' before '++' token
y.tab.c:1854: warning: data definition has no type or storage class
y.tab.c:1854: error: initializer element is not constant
y.tab.c:1856: warning: data definition has no type or storage class
y.tab.c:1856: error: 'yyssp' undeclared here (not in a function)
y.tab.c:1857: error: expected identifier or '(' before 'if'
y.tab.c:1859: error: expected identifier or '(' before 'else'
y.tab.c:1862: error: expected identifier or '(' before 'goto'
y.tab.c:1868: error: expected '=', ',', ';', 'asm' or '__attribute__' before
':' token
y.tab.c:1912: error: expected identifier or '(' before 'if'
y.tab.c:1933: error: expected identifier or '(' before 'goto'
y.tab.c:1939: error: expected '=', ',', ';', 'asm' or '__attribute__' before
':' token
y.tab.c:1949: error: expected ')' before '-=' token
y.tab.c:1950: warning: data definition has no type or storage class
y.tab.c:1950: error: redefinition of 'yylen'
y.tab.c:1844: error: previous definition of 'yylen' was here
y.tab.c:1952: warning: data definition has no type or storage class
y.tab.c:1952: error: redefinition of 'yystate'
y.tab.c:1856: error: previous definition of 'yystate' was here
y.tab.c:1953: error: expected identifier or '(' before 'goto'
y.tab.c:1959: error: expected '=', ',', ';', 'asm' or '__attribute__' before
':' token
y.tab.c:1962: error: expected identifier or '(' before 'for'
y.tab.c:1962: error: expected identifier or '(' before ')' token
y.tab.c:1988: error: expected identifier or '(' before 'if'
y.tab.c:1991: error: expected identifier or '(' before '++' token
y.tab.c:1997: warning: data definition has no type or storage class
y.tab.c:1997: error: redefinition of 'yystate'
y.tab.c:1856: error: previous definition of 'yystate' was here
y.tab.c:1997: error: initializer element is not constant
y.tab.c:1998: error: expected identifier or '(' before 'goto'
y.tab.c:2004: error: expected '=', ',', ';', 'asm' or '__attribute__' before
':' token
y.tab.c:2006: error: expected identifier or '(' before 'goto'
y.tab.c:2011: error: expected '=', ',', ';', 'asm' or '__attribute__' before
':' token
y.tab.c:2013: error: expected identifier or '(' before 'goto'
y.tab.c:2019: error: expected '=', ',', ';', 'asm' or '__attribute__' before
':' token
y.tab.c:2021: warning: data definition has no type or storage class
y.tab.c:2025: error: expected '=', ',', ';', 'asm' or '__attribute__' before
':' token
y.tab.c:2031: error: expected ')' before '-=' token
y.tab.c:2033: error: expected identifier or '(' before 'while'
y.tab.c:2040: error: expected identifier or '(' before 'if'
y.tab.c:2048: error: expected identifier or '(' before 'return'
y.tab.c:2049: error: expected identifier or '(' before '}' token
make[3]: *** [y_tab.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/app-text/texlive-core-2007/work/texk/web2c/otps'
make[2]: *** [otps/otp2ocp] Error 2
make[2]: Leaving directory
`/var/tmp/portage/app-text/texlive-core-2007/work/texk/web2c'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-text/texlive-core-2007/work/texk'
make: *** [all] Error 1

The same packages emerges without problems on an x86 system.

Reproducible: Always

Steps to Reproduce:
emerge texlive-core-2007
Actual Results:  
emerge fails

Expected Results:  
successful emerge of texlive-core-2007

------- Comment #1 From Florian Wagner 2007-10-15 10:07:23 0000 -------
After doing an emerge --sync the error changed to:

make[3]: Entering directory
`/var/tmp/portage/app-text/texlive-core-2007/work/te
xk/web2c/otps'
bison -y -d -v ./otp.y
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-m
arch=athlon64 -O2 -pipe  -c routines.c -o routines.o
bison -y -d -v ./otp.y
test -f y.tab.c && mv -f y.tab.c y_tab.c
test -f y.tab.h && mv -f y.tab.h y_tab.h
flex -l ./otp.l
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-m
arch=athlon64 -O2 -pipe  -c y_tab.c -o y_tab.o
test -f y.tab.c && mv -f y.tab.c y_tab.c
make[3]: [y_tab.h] Error 1 (ignored)
test -f y.tab.h && mv -f y.tab.h y_tab.h
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-m
arch=athlon64 -O2 -pipe  -c otp2ocp.c -o otp2ocp.o
./otp.y:311:37: warning: no newline at end of file
./otp.y: In function 'yyparse':
./otp.y:311: error: expected expression at end of input
./otp.y:311: error: expected declaration or statement at end of input
./otp.y:311: error: expected declaration or statement at end of input
./otp.y:311: error: expected declaration or statement at end of input
y.tab.c:1443: error: label 'yyacceptlab' used but not defined
y.tab.c:1437: error: label 'yyerrlab' used but not defined
y.tab.c:1388: error: label 'yyabortlab' used but not defined
y.tab.c:1359: error: label 'yyexhaustedlab' used but not defined
make[3]: *** [y_tab.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/app-text/texlive-core-2007/work/tex
k/web2c/otps'
make[2]: *** [otps/otp2ocp] Error 2
make[2]: Leaving directory
`/var/tmp/portage/app-text/texlive-core-2007/work/tex
k/web2c'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-text/texlive-core-2007/work/tex
k'
make: *** [all] Error 1

------- Comment #2 From Florian Wagner 2007-10-15 10:54:55 0000 -------
I don't know why, but I can't reproduce the error anymore...

------- Comment #3 From Daniel Santos 2009-11-08 05:12:47 0000 -------
Well here we are, version 2008-r7 and I'm getting this now.  Concurrent job
issue?  Please reopen.

I'm building out a new system, I added my use flags from my previous install
and did an emerge -uvDN world prior.  I got this when doing emerge -euvDN world
(I'll attach that entire list as well).


x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-march=amdfam10 -O2 -ggdb -pipe  -c font_routines.c -o font_routines.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-march=amdfam10 -O2 -ggdb -pipe  -c extra_routines.c -o extra_routines.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-march=amdfam10 -O2 -ggdb -pipe  -c out_ofm.c -o out_ofm.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-march=amdfam10 -O2 -ggdb -pipe  -c parse_ofm.c -o parse_ofm.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-march=amdfam10 -O2 -ggdb -pipe  -c omfonts.c -o omfonts.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-march=amdfam10 -O2 -ggdb -pipe  -c y_tab.c -o y_tab.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-march=amdfam10 -O2 -ggdb -pipe  -c lex.yy.c -o lex.yy.o
lex.yy.c: In function 'yylex':
./pl.l:321: warning: ignoring return value of 'fwrite', declared with attribute
warn_unused_result
/bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-gcc -o omfonts -Wl,-O1  
omfonts.o y_tab.o lex.yy.o char_routines.o dimen_routines.o error_routines.o
header_routines.o ligk
ern_routines.o list_routines.o out_routines.o param_routines.o print_routines.o
font_routines.o extra_routines.o out_ofm.o parse_ofm.o  ../lib/lib.a
../../kpathsea/libkpathsea.la
 -lm
mkdir .libs
x86_64-pc-linux-gnu-gcc -o .libs/omfonts -Wl,-O1 omfonts.o y_tab.o lex.yy.o
char_routines.o dimen_routines.o error_routines.o header_routines.o
ligkern_routines.o list_routines.o
 out_routines.o param_routines.o print_routines.o font_routines.o
extra_routines.o out_ofm.o parse_ofm.o  ../lib/lib.a
../../kpathsea/.libs/libkpathsea.so -lm -Wl,--rpath -Wl,/us
r/lib64
creating omfonts
make[3]: Leaving directory
`/tmp/portage/app-text/texlive-core-2008-r7/work/texlive-20080816-source/texk/web2c/omegafonts'
cd otps && make -w --jobserver-fds=3,4 - --jobserver-fds=3,4 -j
CC='x86_64-pc-linux-gnu-gcc' CFLAGS='-march=amdfam10 -O2 -ggdb -pipe '
LDFLAGS='-Wl,-O1 '  otp2ocp
make[3]: Entering directory
`/tmp/portage/app-text/texlive-core-2008-r7/work/texlive-20080816-source/texk/web2c/otps'
bison -y -d -v ./otp.y
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-march=amdfam10 -O2 -ggdb -pipe  -c routines.c -o routines.o
bison -y -d -v ./otp.y
flex -l ./otp.l
test -f y.tab.c && mv -f y.tab.c y_tab.c
test -f y.tab.h && mv -f y.tab.h y_tab.h
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./.. 
-march=amdfam10 -O2 -ggdb -pipe  -c y_tab.c -o y_tab.o
test -f y.tab.c && mv -f y.tab.c y_tab.c
./otp.y: In function 'yyparse':
./otp.y:311: error: expected expression at end of input
./otp.y:311: error: expected declaration or statement at end of input
./otp.y:311: error: expected declaration or statement at end of input
./otp.y:311: error: expected declaration or statement at end of input
y.tab.c:1443: error: label 'yyacceptlab' used but not defined
y.tab.c:1437: error: label 'yyerrlab' used but not defined
y.tab.c:1388: error: label 'yyabortlab' used but not defined
y.tab.c:1359: error: label 'yyexhaustedlab' used but not defined
make[3]: [y_tab.h] Error 1 (ignored)
test -f y.tab.h && mv -f y.tab.h y_tab.h
make[3]: *** [y_tab.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/tmp/portage/app-text/texlive-core-2008-r7/work/texlive-20080816-source/texk/web2c/otps'
make[2]: *** [otps/otp2ocp] Error 2
make[2]: Leaving directory
`/tmp/portage/app-text/texlive-core-2008-r7/work/texlive-20080816-source/texk/web2c'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/tmp/portage/app-text/texlive-core-2008-r7/work/texlive-20080816-source/texk'
make: *** [all] Error 1
 *
 * ERROR: app-text/texlive-core-2008-r7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3190:  Called die
 * The specific snippet of code:
 *       emake texmf=${TEXMF_PATH:-/usr/share/texmf} || die "emake failed";
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/log/portage/app-text:texlive-core-2008-r7:20091108-022209.log'.
 * The ebuild environment file is located at
'/tmp/portage/app-text/texlive-core-2008-r7/temp/environment'.
 *

------- Comment #4 From Daniel Santos 2009-11-08 05:13:35 0000 -------
Created an attachment (id=209599) [details]
emerge --info

------- Comment #5 From Daniel Santos 2009-11-08 05:13:52 0000 -------
Created an attachment (id=209601) [details]
log file

------- Comment #6 From Daniel Santos 2009-11-08 05:14:21 0000 -------
Created an attachment (id=209602) [details]
temp directory (environment, etc)

------- Comment #7 From Daniel Santos 2009-11-08 05:24:02 0000 -------
Created an attachment (id=209604) [details]
My rebuild list

These are the packages that were being rebuilt if it helps at all.  I started
this system from a stage 3 snapshot from October 30th or some such.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug