[tex-live] Build of `chktex' for TeXLive SVN trunk fails if one have a `stpcpy' implementation

Dirk Ullrich dirk.ullrich at gmail.com
Wed Oct 10 06:47:37 CEST 2012


Hello,

on my Linux system(s) I have an implementation of `stpcpy', and so I
get the follwing error when building TeXLive from SVN trunk:

gcc -DHAVE_CONFIG_H -I. -I../../../texk/chktex
-I/common/packages/build/texlive/build/devel.play/source/Work/texk
-I/common/packages/build/texlive/build/devel.play/source/texk
-DKPATHSEA  -Wimplicit -Wreturn-type -Wdeclaration-after-statement
-Wno-unknown-pragmas -g -O2 -MT FindErrs.o -MD -MP -MF
.deps/FindErrs.Tpo -c -o FindErrs.o `test -f 'chktex-1.7.1/FindErrs.c'
|| echo '../../../texk/chktex/'`chktex-1.7.1/FindErrs.c
../../../texk/chktex/chktex-1.7.1/FindErrs.c:38:1: error: static
declaration of 'stpcpy' follows non-static declaration
make[4]: *** [FindErrs.o] Error 1

Thus I suggest to revert the patch `patch-08-stpcpy' for
`chktex-1.7.1' and use `configure.in' from `chktex's upstream SVN
trunk, revision 230, instead: it provides a `stpcpy' implementation
only if needed via autoconf.

Dirk


More information about the tex-live mailing list