bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cannot recreate gllib


From: Sam Steingold
Subject: cannot recreate gllib
Date: Sat, 25 Oct 2008 23:13:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

the gnulib code is in the gllib subdirectory of the build directory.

it all started with a very ordinary make (in the same build directory):

make[1]: Entering directory `/home/sds/src/clisp/current/build-64-g/gllib'
make[2]: Entering directory `/home/sds/src/clisp/current/build-64-g'
rm -f config.h.in
ln -s ../src/config.h.in config.h.in
sh config.status --header=config.h
config.status: creating config.h
touch config.h
make[2]: Leaving directory `/home/sds/src/clisp/current/build-64-g'
make[2]: Entering directory `/home/sds/src/clisp/current/build-64-g'
make[2]: Nothing to be done for `am--refresh'.
make[2]: Leaving directory `/home/sds/src/clisp/current/build-64-g'
rm -f stdlib.h-t stdlib.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \
              -e 's|@''NEXT_STDLIB_H''@|<stdlib.h>|g' \
              -e 's|@''GNULIB_MALLOC_POSIX''@|1|g' \
              -e 's|@''GNULIB_REALLOC_POSIX''@|0|g' \
              -e 's|@''GNULIB_CALLOC_POSIX''@|0|g' \
              -e 's|@''GNULIB_GETSUBOPT''@|0|g' \
              -e 's|@''GNULIB_MKDTEMP''@|0|g' \
              -e 's|@''GNULIB_MKSTEMP''@|0|g' \
              -e 's|@''GNULIB_PUTENV''@|0|g' \
              -e 's|@''GNULIB_RPMATCH''@|0|g' \
              -e 's|@''GNULIB_SETENV''@|0|g' \
              -e 's|@''GNULIB_STRTOD''@|0|g' \
              -e 's|@''GNULIB_UNSETENV''@|0|g' \
              -e 's|@''HAVE_CALLOC_POSIX''@|1|g' \
              -e 's|@''HAVE_GETSUBOPT''@|1|g' \
              -e 's|@''HAVE_MALLOC_POSIX''@|1|g' \
              -e 's|@''HAVE_MKDTEMP''@|1|g' \
              -e 's|@''HAVE_REALLOC_POSIX''@|1|g' \
              -e 's|@''HAVE_RPMATCH''@|1|g' \
              -e 's|@''HAVE_SETENV''@|1|g' \
              -e 's|@''HAVE_STRTOD''@|1|g' \
              -e 's|@''HAVE_UNSETENV''@|1|g' \
              -e 's|@''REPLACE_MKSTEMP''@|0|g' \
              -e 's|@''REPLACE_PUTENV''@|0|g' \
              -e 's|@''REPLACE_STRTOD''@|0|g' \
              -e 's|@''VOID_UNSETENV''@|0|g' \
              -e '/definition of GL_LINK_WARNING/r 
../../src/src/build-aux/link-warning.h' \
              < ../../src/gllib/stdlib.in.h; \
        } > stdlib.h-t
mv stdlib.h-t stdlib.h
rm -f unistd.h-t unistd.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''HAVE_UNISTD_H''@|1|g' \
              -e 's/@''INCLUDE_NEXT''@/include_next/g' \
              -e 's|@''NEXT_UNISTD_H''@|<unistd.h>|g' \
              -e 's|@''GNULIB_CHOWN''@|0|g' \
              -e 's|@''GNULIB_DUP2''@|0|g' \
              -e 's|@''GNULIB_ENVIRON''@|0|g' \
              -e 's|@''GNULIB_FCHDIR''@|0|g' \
              -e 's|@''GNULIB_FTRUNCATE''@|0|g' \
              -e 's|@''GNULIB_GETCWD''@|0|g' \
              -e 's|@''GNULIB_GETLOGIN_R''@|0|g' \
              -e 's|@''GNULIB_GETPAGESIZE''@|0|g' \
              -e 's|@''GNULIB_LCHOWN''@|0|g' \
              -e 's|@''GNULIB_LSEEK''@|0|g' \
              -e 's|@''GNULIB_READLINK''@|0|g' \
              -e 's|@''GNULIB_SLEEP''@|0|g' \
              -e 's|@''HAVE_DUP2''@|1|g' \
              -e 's|@''HAVE_FTRUNCATE''@|1|g' \
              -e 's|@''HAVE_GETPAGESIZE''@|1|g' \
              -e 's|@''HAVE_READLINK''@|1|g' \
              -e 's|@''HAVE_SLEEP''@|1|g' \
              -e 's|@''HAVE_DECL_ENVIRON''@|1|g' \
              -e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \
              -e 's|@''HAVE_OS_H''@|0|g' \
              -e 's|@''HAVE_SYS_PARAM_H''@|0|g' \
              -e 's|@''REPLACE_CHOWN''@|0|g' \
              -e 's|@''REPLACE_FCHDIR''@|0|g' \
              -e 's|@''REPLACE_GETCWD''@|0|g' \
              -e 's|@''REPLACE_GETPAGESIZE''@|0|g' \
              -e 's|@''REPLACE_LCHOWN''@|0|g' \
              -e 's|@''REPLACE_LSEEK''@|0|g' \
              < ../../src/gllib/unistd.in.h; \
        } > unistd.h-t
mv unistd.h-t unistd.h
make  all-am
make[2]: Entering directory `/home/sds/src/clisp/current/build-64-g/gllib'
make[3]: Entering directory `/home/sds/src/clisp/current/build-64-g'
make[3]: Nothing to be done for `am--refresh'.
make[3]: Leaving directory `/home/sds/src/clisp/current/build-64-g'
make[3]: Entering directory `/home/sds/src/clisp/current/build-64-g'
make[3]: Nothing to be done for `am--refresh'.
make[3]: Leaving directory `/home/sds/src/clisp/current/build-64-g'
depbase=`echo localcharset.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
        /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../src/gllib -I..  -I../intl -I/home/sds/src/top/include   -W -Wswitch 
-Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations 
-Wno-sign-compare -falign-functions=4 -g -DDEBUG_OS_ERROR -DDEBUG_SPVW 
-DDEBUG_BYTECODE -DSAFETY=3 -DUNICODE -DDYNAMIC_FFI -I.  -MT localcharset.lo 
-MD -MP -MF $depbase.Tpo -c -o localcharset.lo ../../src/gllib/localcharset.c 
&&\
        mv -f $depbase.Tpo $depbase.Plo
 gcc -DHAVE_CONFIG_H -I. -I../../src/gllib -I.. -I../intl 
-I/home/sds/src/top/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit 
-Wreturn-type -Wmissing-declarations -Wno-sign-compare -falign-functions=4 -g 
-DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DUNICODE 
-DDYNAMIC_FFI -I. -MT localcharset.lo -MD -MP -MF .deps/localcharset.Tpo -c 
../../src/gllib/localcharset.c  -fPIC -DPIC -o .libs/localcharset.o
In file included from ../../src/gllib/localcharset.c:29:
./stdlib.h:20: error: stray '@' in program
./stdlib.h:20: error: stray '@' in program
In file included from /usr/include/stdlib.h:43,
                 from ./stdlib.h:34,
                 from ../../src/gllib/localcharset.c:29:
/usr/include/bits/waitstatus.h:67: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'union'
In file included from ../../src/gllib/localcharset.c:29:
./stdlib.h:41:5: error: token "@" is not valid in preprocessor expressions
./stdlib.h:112:5: error: token "@" is not valid in preprocessor expressions
./stdlib.h:127:5: error: token "@" is not valid in preprocessor expressions
./stdlib.h:221:5: error: token "@" is not valid in preprocessor expressions
./stdlib.h:313:5: error: token "@" is not valid in preprocessor expressions
./stdlib.h:334:5: error: token "@" is not valid in preprocessor expressions
make[2]: *** [localcharset.lo] Error 1
make[2]: Leaving directory `/home/sds/src/clisp/current/build-64-g/gllib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sds/src/clisp/current/build-64-g/gllib'
make: *** [gllib] Error 2


oops.
the usual trick which worked before:
"rm -rf gllib; make gllib" now fails:

$ ./config.status --file=gllib/Makefile depfiles
config.status: creating gllib/Makefile
config.status: executing depfiles commands
sed: can't read 'gllib/Makefile': No such file or directory

this is most confusing: gllib/Makefile IS present.

I did remake all configure scripts.


-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 8.04 (hardy)
http://palestinefacts.org http://dhimmi.com http://mideasttruth.com
http://openvotingconsortium.org http://camera.org http://pmw.org.il
A man paints with his brains and not with his hands.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]