<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>209362</bug_id>
          
          <creation_ts>2008-02-08 16:21 0000</creation_ts>
          <short_desc>app-text/texlive-core-2007-r11 fails to compile on omegafonts</short_desc>
          <delta_ts>2008-02-09 20:14:53 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>Maarten.Wisse@theo.kuleuven.be</reporter>
          <assigned_to>tex@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>Maarten.Wisse@theo.kuleuven.be</who>
            <bug_when>2008-02-08 16:21:08 0000</bug_when>
            <thetext>I tried to compile texlive-2007 following the migration guide, but compile of the first package, texlive-core, fails in the directory omegafonts, complaining that y_tab.h does not exist. I did -omega in use variables, but that doesn&apos;t seem to influence the texlive-core setting.

Reproducible: Always

Actual Results:  
cd omegafonts &amp;&amp; make -w --jobserver-fds=3,4 - --jobserver-fds=3,4 -j CC=&apos;i686-pc-linux-gnu-gcc&apos; CFLAGS=&apos;-march=pentium-m -Os -pipe &apos; LDFLAGS=&apos;&apos;  omfonts
make[3]: Entering directory `/var/tmp/portage/app-text/texlive-core-2007-r11/work/texk/web2c/omegafonts&apos;
bison -y -d -v ./pl.y
bison -y -d -v ./pl.y
flex -l ./pl.l
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium-m -Os -pipe  -c char_routines.c -o char_routines.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium-m -Os -pipe  -c dimen_routines.c -o dimen_routines.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium-m -Os -pipe  -c error_routines.c -o error_routines.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium-m -Os -pipe  -c header_routines.c -o header_routines.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium-m -Os -pipe  -c ligkern_routines.c -o ligkern_routines.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium-m -Os -pipe  -c list_routines.c -o list_routines.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium-m -Os -pipe  -c out_routines.c -o out_routines.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium-m -Os -pipe  -c param_routines.c -o param_routines.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium-m -Os -pipe  -c print_routines.c -o print_routines.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium-m -Os -pipe  -c font_routines.c -o font_routines.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium-m -Os -pipe  -c extra_routines.c -o extra_routines.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium-m -Os -pipe  -c out_ofm.c -o out_ofm.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium-m -Os -pipe  -c parse_ofm.c -o parse_ofm.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium-m -Os -pipe  -c lex.yy.c -o lex.yy.o
test -f y.tab.c &amp;&amp; mv -f y.tab.c y_tab.c
./pl.l:32:19: error: y_tab.h: No such file or directory
./pl.l: In function &apos;yylex&apos;:
./pl.l:85: error: &apos;LEFT&apos; undeclared (first use in this function)
./pl.l:85: error: (Each undeclared identifier is reported only once
./pl.l:85: error: for each function it appears in.)
./pl.l:86: error: &apos;RIGHT&apos; undeclared (first use in this function)
./pl.l:88: error: &apos;NUMBER&apos; undeclared (first use in this function)
./pl.l:92: error: &apos;FIX&apos; undeclared (first use in this function)
./pl.l:95: error: &apos;CODINGSCHEME&apos; undeclared (first use in this function)
./pl.l:97: error: &apos;FAMILY&apos; undeclared (first use in this function)
./pl.l:99: error: &apos;VTITLE&apos; undeclared (first use in this function)
./pl.l:101: error: &apos;FONTNAME&apos; undeclared (first use in this function)
./pl.l:103: error: &apos;FONTAREA&apos; undeclared (first use in this function)
./pl.l:105: error: &apos;SPECIAL&apos; undeclared (first use in this function)
./pl.l:107: error: &apos;COMMENT&apos; undeclared (first use in this function)
./pl.l:109: error: &apos;SPECIALHEX&apos; undeclared (first use in this function)
./pl.l:112: error: &apos;SEVENBITSAFEFLAG&apos; undeclared (first use in this function)
./pl.l:115: error: &apos;CHECKSUM&apos; undeclared (first use in this function)
./pl.l:116: error: &apos;DESIGNSIZE&apos; undeclared (first use in this function)
./pl.l:117: error: &apos;DESIGNUNITS&apos; undeclared (first use in this function)
./pl.l:118: error: &apos;FACE&apos; undeclared (first use in this function)
./pl.l:119: error: &apos;HEADER&apos; undeclared (first use in this function)
./pl.l:120: error: &apos;BOUNDARYCHAR&apos; undeclared (first use in this function)
./pl.l:121: error: &apos;FONTDIMEN&apos; undeclared (first use in this function)
./pl.l:122: error: &apos;LIGTABLE&apos; undeclared (first use in this function)
./pl.l:123: error: &apos;CHARACTER&apos; undeclared (first use in this function)
./pl.l:125: error: &apos;PARAMETER&apos; undeclared (first use in this function)
./pl.l:126: error: &apos;LABEL&apos; undeclared (first use in this function)
./pl.l:127: error: &apos;KRN&apos; undeclared (first use in this function)
./pl.l:128: error: &apos;STOP&apos; undeclared (first use in this function)
./pl.l:129: error: &apos;SKIP&apos; undeclared (first use in this function)
./pl.l:130: error: &apos;NEXTLARGER&apos; undeclared (first use in this function)
./pl.l:131: error: &apos;VARCHAR&apos; undeclared (first use in this function)
./pl.l:133: error: &apos;CHARMEASURE&apos; undeclared (first use in this function)
./pl.l:138: error: &apos;EXTEN&apos; undeclared (first use in this function)
./pl.l:143: error: &apos;LIG&apos; undeclared (first use in this function)
./pl.l:171: error: &apos;NAMEDPARAMETER&apos; undeclared (first use in this function)
./pl.l:202: error: &apos;MAPFONT&apos; undeclared (first use in this function)
./pl.l:203: error: &apos;FONTCHECKSUM&apos; undeclared (first use in this function)
./pl.l:204: error: &apos;FONTAT&apos; undeclared (first use in this function)
./pl.l:205: error: &apos;FONTDSIZE&apos; undeclared (first use in this function)
./pl.l:206: error: &apos;MAP&apos; undeclared (first use in this function)
./pl.l:207: error: &apos;SELECTFONT&apos; undeclared (first use in this function)
./pl.l:208: error: &apos;SETCHAR&apos; undeclared (first use in this function)
./pl.l:209: error: &apos;SETRULE&apos; undeclared (first use in this function)
./pl.l:210: error: &apos;PUSH&apos; undeclared (first use in this function)
./pl.l:211: error: &apos;POP&apos; undeclared (first use in this function)
./pl.l:213: error: &apos;MOVE&apos; undeclared (first use in this function)
./pl.l:218: error: &apos;OFMLEVEL&apos; undeclared (first use in this function)
./pl.l:219: error: &apos;ACCENT&apos; undeclared (first use in this function)
./pl.l:223: error: &apos;FONTDIR&apos; undeclared (first use in this function)
./pl.l:240: error: &apos;FONTIVALUE&apos; undeclared (first use in this function)
./pl.l:241: error: &apos;FONTFVALUE&apos; undeclared (first use in this function)
./pl.l:242: error: &apos;FONTMVALUE&apos; undeclared (first use in this function)
./pl.l:243: error: &apos;FONTPENALTY&apos; undeclared (first use in this function)
./pl.l:244: error: &apos;FONTRULE&apos; undeclared (first use in this function)
./pl.l:245: error: &apos;FONTGLUE&apos; undeclared (first use in this function)
./pl.l:247: error: &apos;IVALUE&apos; undeclared (first use in this function)
./pl.l:248: error: &apos;FVALUE&apos; undeclared (first use in this function)
./pl.l:249: error: &apos;MVALUE&apos; undeclared (first use in this function)
./pl.l:250: error: &apos;PENALTY&apos; undeclared (first use in this function)
./pl.l:251: error: &apos;RULE&apos; undeclared (first use in this function)
./pl.l:252: error: &apos;GLUE&apos; undeclared (first use in this function)
./pl.l:254: error: &apos;IVALUEVAL&apos; undeclared (first use in this function)
./pl.l:255: error: &apos;FVALUEVAL&apos; undeclared (first use in this function)
./pl.l:256: error: &apos;MVALUEVAL&apos; undeclared (first use in this function)
./pl.l:257: error: &apos;PENALTYVAL&apos; undeclared (first use in this function)
./pl.l:259: error: &apos;RULEMEASURE&apos; undeclared (first use in this function)
./pl.l:263: error: &apos;GLUEWD&apos; undeclared (first use in this function)
./pl.l:264: error: &apos;GLUESHRINKSTRETCH&apos; undeclared (first use in this function)
./pl.l:267: error: &apos;GLUETYPE&apos; undeclared (first use in this function)
./pl.l:268: error: &apos;GLUERULE&apos; undeclared (first use in this function)
./pl.l:269: error: &apos;GLUECHAR&apos; undeclared (first use in this function)
./pl.l:271: error: &apos;CHARIVALUE&apos; undeclared (first use in this function)
./pl.l:272: error: &apos;CHARFVALUE&apos; undeclared (first use in this function)
./pl.l:273: error: &apos;CHARMVALUE&apos; undeclared (first use in this function)
./pl.l:274: error: &apos;CHARPENALTY&apos; undeclared (first use in this function)
./pl.l:275: error: &apos;CHARRULE&apos; undeclared (first use in this function)
./pl.l:276: error: &apos;CHARGLUE&apos; undeclared (first use in this function)
./pl.l:278: error: &apos;CKRN&apos; undeclared (first use in this function)
./pl.l:279: error: &apos;CGLUE&apos; undeclared (first use in this function)
./pl.l:280: error: &apos;CPENALTY&apos; undeclared (first use in this function)
./pl.l:281: error: &apos;CPENGLUE&apos; undeclared (first use in this function)
./pl.l:282: error: &apos;CLABEL&apos; undeclared (first use in this function)
./pl.l:284: error: &apos;CHARREPEAT&apos; undeclared (first use in this function)
./pl.l:287: error: &apos;GLUEORDER&apos; undeclared (first use in this function)
./pl.l:293: error: &apos;GLUEKIND&apos; undeclared (first use in this function)
make[3]: *** [lex.yy.o] Error 1
make[3]: *** Waiting for unfinished jobs....
test -f y.tab.h &amp;&amp; mv -f y.tab.h y_tab.h
test -f y.tab.c &amp;&amp; mv -f y.tab.c y_tab.c
make[3]: [y_tab.c] Error 1 (ignored)
test -f y.tab.h &amp;&amp; mv -f y.tab.h y_tab.h
make[3]: [y_tab.c] Error 1 (ignored)
make[3]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2007-r11/work/texk/web2c/omegafonts&apos;
make[2]: *** [omegafonts/omfonts] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2007-r11/work/texk/web2c&apos;
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2007-r11/work/texk&apos;
make: *** [all] Error 1
 *
 * ERROR: app-text/texlive-core-2007-r11 failed.
 * Call stack:
 *                      ebuild.sh, line 1701:  Called dyn_compile
 *                      ebuild.sh, line 1039:  Called qa_call &apos;src_compile&apos;
 *                      ebuild.sh, line   44:  Called src_compile
 *   texlive-core-2007-r11.ebuild, line  137:  Called die
 * The specific snippet of code:
 *      emake texmf=${TEXMF_PATH:-/usr/share/texmf} || die &quot;emake failed&quot;
 *  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 &apos;/var/tmp/portage/app-text/texlive-core-2007-r11/temp/build.log&apos;.
 *</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-02-08 17:00:54 0000</bug_when>
            <thetext>hmm this seems very similar to bug #195929

can you tell me what bison/yacc version you have installed ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Maarten.Wisse@theo.kuleuven.be</who>
            <bug_when>2008-02-08 18:06:05 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; hmm this seems very similar to bug #195929
&gt; 
&gt; can you tell me what bison/yacc version you have installed ?
&gt; 
bison 2.3
yacc 1.9.1-r3
both from stable x86</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-02-09 16:04:15 0000</bug_when>
            <thetext>hmm ok I think I understand it now; seems to be a parallel make issue, could you please try to build with -j1 ? What MAKEOPTS have you set in make.conf ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Maarten.Wisse@theo.kuleuven.be</who>
            <bug_when>2008-02-09 16:48:28 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; hmm ok I think I understand it now; seems to be a parallel make issue, could
&gt; you please try to build with -j1 ? What MAKEOPTS have you set in make.conf ?
&gt; 
j12
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Maarten.Wisse@theo.kuleuven.be</who>
            <bug_when>2008-02-09 16:51:36 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; hmm ok I think I understand it now; seems to be a parallel make issue, could
&gt; you please try to build with -j1 ? What MAKEOPTS have you set in make.conf ?
&gt; 
j1 made texlive-core compile successfully.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-02-09 20:14:53 0000</bug_when>
            <thetext>ok thanks for the confirmation, I&apos;ve added a patch that should fix it.

Please sync in a few hours and check that it doesn&apos;t fail anymore for you (and that 120_all_omegafonts_parallel_make.patch is applied) and reopen if it does fail</thetext>
          </long_desc>
      
    </bug>

</bugzilla>