X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o-
Date: Fri, 4 Mar 2011 14:45:14 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Problems with Cygwin-1.7.8 (or snapshot) and TeXLive 2010
Message-ID: <20110304194514.GA32249@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4D712EC3.1000708@alice.it>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4D712EC3.1000708@alice.it>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Fri, Mar 04, 2011 at 07:26:11PM +0100, Angelo Graziosi wrote:
>Corinna Vinschen wrote:
>> Since fmtutil-sys is apparently the core of the problem, and given
>> my total lack of knowledge about the Tex/Latex system, is there any
>> simple call to fmtutil-sys with which I can reproduce the problem
>> without having to install texlive?
>
>You are right. I will try...
>
>...now, just for completeness, I have tried to rebuild the TL2010 
>binaries under the current snapshot (20110303), but...
>
>-------------------------------------------------------
>gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdvik -I../../../texk/xdvik/gui 
>-DPS_GS -I/tmp/texlive-source/Work/texk -I/tmp/texlive-source/texk 
>-I/tmp/texlive-source/Work/libs/t1lib     -Wimplicit -Wreturn-type 
>-Wdeclaration-after-statement -Wno-unknown-pragmas -Wno-write-strings 
>-Wno-attributes -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o 
>../../../texk/xdvik/main.c
>sed -f sedscript <../../../texk/xdvik/xdvi.1.in >xdvi.1
>In file included from /usr/include/errno.h:9,
>                  from /tmp/texlive-source/texk/kpathsea/c-errno.h:22,
>                  from /tmp/texlive-source/texk/kpathsea/c-std.h:74,
>                  from /tmp/texlive-source/texk/kpathsea/config.h:88,
>                  from ../../../texk/xdvik/xdvi.h:43,
>                  from ../../../texk/xdvik/main.c:10:
>/usr/include/sys/errno.h:25: error: expected '=', ',', ';', 'asm' or 
>'__attribute__' before '.' token
>/usr/include/sys/errno.h:26: error: expected '=', ',', ';', 'asm' or 
>'__attribute__' before '.' token
>make[5]: *** [main.o] Error 1
>make[5]: *** Waiting for unfinished jobs....
>make[5]: Leaving directory `/tmp/texlive-source/Work/texk/xdvik'
>make[4]: *** [all-recursive] Error 1
>make[4]: Leaving directory `/tmp/texlive-source/Work/texk/xdvik'
>make[3]: *** [all] Error 2
>make[3]: Leaving directory `/tmp/texlive-source/Work/texk/xdvik'
>make[2]: *** [subtexk] Error 1
>make[2]: Leaving directory `/tmp/texlive-source/Work/texk'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/tmp/texlive-source/Work/texk'
>make: *** [all-recursive] Error 1
>
>real	80m39.341s
>user	91m3.353s
>sys	57m7.051s
>+ echo 2
>/tmp/texlive-source/Build: Build failed, no executables under 
>/tmp/texlive-source/inst/bin.
>done Fri Mar 4 19:09:53 2011
>-------------------------------------------------------
>
>The same sources built fine on September with 1.7.7.

If you look at the line in question you'll see that something in the
sources that you're trying to compile is incorrectly defining
program_invocation_name and program_invocation_short_name.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

