bug-gnulib
[Top][All Lists]
Advanced

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

sed hangs on solaris


From: Sam Steingold
Subject: sed hangs on solaris
Date: Tue, 03 May 2011 13:14:05 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

SunOS 5.11 snv_134 i86pc i386 i86pc Solaris
make hangs:
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|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_UNISTD_H''@|<unistd.h>|g' \
              -e 's|@''GNULIB_CHOWN''@|0|g' \
              -e 's|@''GNULIB_CLOSE''@|0|g' \
              -e 's|@''GNULIB_DUP2''@|0|g' \
              -e 's|@''GNULIB_DUP3''@|0|g' \
              -e 's|@''GNULIB_ENVIRON''@|1|g' \
              -e 's|@''GNULIB_EUIDACCESS''@|0|g' \
              -e 's|@''GNULIB_FACCESSAT''@|0|g' \
              -e 's|@''GNULIB_FCHDIR''@|0|g' \
              -e 's|@''GNULIB_FCHOWNAT''@|0|g' \
              -e 's|@''GNULIB_FSYNC''@|0|g' \
              -e 's|@''GNULIB_FTRUNCATE''@|0|g' \
              -e 's|@''GNULIB_GETCWD''@|0|g' \
              -e 's|@''GNULIB_GETDOMAINNAME''@|0|g' \
              -e 's|@''GNULIB_GETDTABLESIZE''@|0|g' \
              -e 's|@''GNULIB_GETGROUPS''@|0|g' \
              -e 's|@''GNULIB_GETHOSTNAME''@|0|g' \
              -e 's|@''GNULIB_GETLOGIN''@|0|g' \
              -e 's|@''GNULIB_GETLOGIN_R''@|0|g' \
              -e 's|@''GNULIB_GETPAGESIZE''@|1|g' \
              -e 's|@''GNULIB_GETUSERSHELL''@|0|g' \
              -e 's|@''GNULIB_LCHOWN''@|0|g' \
              -e 's|@''GNULIB_LINK''@|0|g' \
              -e 's|@''GNULIB_LINKAT''@|0|g' \
              -e 's|@''GNULIB_LSEEK''@|0|g' \
              -e 's|@''GNULIB_PIPE''@|0|g' \
              -e 's|@''GNULIB_PIPE2''@|0|g' \
              -e 's|@''GNULIB_PREAD''@|0|g' \
              -e 's|@''GNULIB_PWRITE''@|0|g' \
              -e 's|@''GNULIB_READ''@|0|g' \
              -e 's|@''GNULIB_READLINK''@|0|g' \
              -e 's|@''GNULIB_READLINKAT''@|0|g' \
              -e 's|@''GNULIB_RMDIR''@|0|g' \
              -e 's|@''GNULIB_SLEEP''@|0|g' \
              -e 's|@''GNULIB_SYMLINK''@|0|g' \
              -e 's|@''GNULIB_SYMLINKAT''@|0|g' \
              -e 's|@''GNULIB_TTYNAME_R''@|0|g' \
              -e 's|@''GNULIB_UNISTD_H_GETOPT''@|0|g' \
              -e 's|@''GNULIB_UNISTD_H_NONBLOCKING''@|0|g' \
              -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|0|g' \
              -e 's|@''GNULIB_UNLINK''@|0|g' \
              -e 's|@''GNULIB_UNLINKAT''@|0|g' \
              -e 's|@''GNULIB_USLEEP''@|0|g' \
              -e 's|@''GNULIB_WRITE''@|0|g' \
              < ../../src/gllib/unistd.in.h | \
          sed -e 's|@''HAVE_CHOWN''@|1|g' \
              -e 's|@''HAVE_DUP2''@|1|g' \
              -e 's|@''HAVE_DUP3''@|1|g' \
              -e 's|@''HAVE_EUIDACCESS''@|1|g' \
              -e 's|@''HAVE_FACCESSAT''@|1|g' \
              -e 's|@''HAVE_FCHDIR''@|1|g' \
              -e 's|@''HAVE_FCHOWNAT''@|1|g' \
              -e 's|@''HAVE_FSYNC''@|1|g' \
              -e 's|@''HAVE_FTRUNCATE''@|1|g' \
              -e 's|@''HAVE_GETDTABLESIZE''@|1|g' \
              -e 's|@''HAVE_GETGROUPS''@|1|g' \
              -e 's|@''HAVE_GETHOSTNAME''@|1|g' \
              -e 's|@''HAVE_GETLOGIN''@|1|g' \
              -e 's|@''HAVE_GETPAGESIZE''@|1|g' \
              -e 's|@''HAVE_LCHOWN''@|1|g' \
              -e 's|@''HAVE_LINK''@|1|g' \
              -e 's|@''HAVE_LINKAT''@|1|g' \
              -e 's|@''HAVE_PIPE''@|1|g' \
              -e 's|@''HAVE_PIPE2''@|1|g' \
              -e 's|@''HAVE_PREAD''@|1|g' \
              -e 's|@''HAVE_PWRITE''@|1|g' \
              -e 's|@''HAVE_READLINK''@|1|g' \
              -e 's|@''HAVE_READLINKAT''@|1|g' \
              -e 's|@''HAVE_SLEEP''@|1|g' \
              -e 's|@''HAVE_SYMLINK''@|1|g' \
              -e 's|@''HAVE_SYMLINKAT''@|1|g' \
              -e 's|@''HAVE_UNLINKAT''@|1|g' \
              -e 's|@''HAVE_USLEEP''@|1|g' \
              -e 's|@''HAVE_DECL_ENVIRON''@|0|g' \
              -e 's|@''HAVE_DECL_FCHDIR''@|1|g' \
              -e 's|@''HAVE_DECL_GETDOMAINNAME''@|1|g' \
              -e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \
              -e 's|@''HAVE_DECL_GETPAGESIZE''@|1|g' \
              -e 's|@''HAVE_DECL_GETUSERSHELL''@|1|g' \
              -e 's|@''HAVE_DECL_TTYNAME_R''@|1|g' \
              -e 's|@''HAVE_OS_H''@|0|g' \
              -e 's|@''HAVE_SYS_PARAM_H''@|0|g' \
          | \
          sed -e 's|@''REPLACE_CHOWN''@|0|g' \
              -e 's|@''REPLACE_CLOSE''@|0|g' \
              -e 's|@''REPLACE_DUP''@|0|g' \
              -e 's|@''REPLACE_DUP2''@|0|g' \
              -e 's|@''REPLACE_FCHOWNAT''@|0|g' \
              -e 's|@''REPLACE_GETCWD''@|0|g' \
              -e 's|@''REPLACE_GETDOMAINNAME''@|0|g' \
              -e 's|@''REPLACE_GETLOGIN_R''@|0|g' \
              -e 's|@''REPLACE_GETGROUPS''@|0|g' \
              -e 's|@''REPLACE_GETPAGESIZE''@|0|g' \
              -e 's|@''REPLACE_LCHOWN''@|0|g' \
              -e 's|@''REPLACE_LINK''@|0|g' \
              -e 's|@''REPLACE_LINKAT''@|0|g' \
              -e 's|@''REPLACE_LSEEK''@|0|g' \
              -e 's|@''REPLACE_PREAD''@|0|g' \
              -e 's|@''REPLACE_PWRITE''@|0|g' \
              -e 's|@''REPLACE_READ''@|0|g' \
              -e 's|@''REPLACE_READLINK''@|0|g' \
              -e 's|@''REPLACE_RMDIR''@|0|g' \
              -e 's|@''REPLACE_SLEEP''@|0|g' \
              -e 's|@''REPLACE_SYMLINK''@|0|g' \
              -e 's|@''REPLACE_TTYNAME_R''@|0|g' \
              -e 's|@''REPLACE_UNLINK''@|0|g' \
              -e 's|@''REPLACE_UNLINKAT''@|0|g' \
              -e 's|@''REPLACE_USLEEP''@|0|g' \
              -e 's|@''REPLACE_WRITE''@|0|g' \
              -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|0|g' \
              -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|0|g' \
              -e '/definitions of _gl_GL_FUNCDECL_RPL/r c++defs.h' \
              -e '/definition of _gl_GL_ARG_NONNULL/r arg-nonnull.h' \
              -e '/definition of _gl_GL_WARN_ON_USE/r warn-on-use.h'; \
        } > unistd.h-t && \
        mv unistd.h-t unistd.h
make[1]: *** [unistd.h] Interrupt

when I split the pipe of 3 seds into 3 separate invocations with
intermediate files, it works just fine (but hangs in the next sed chain)
adding "SHELL = /bin/bash" to the Makefile did nto change anything.

whan do I do now?

-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 
11.0.60900031
http://jihadwatch.org http://memri.org http://mideasttruth.com
http://truepeace.org http://dhimmi.com http://iris.org.il http://camera.org
OK, so you're a Ph.D.  Just don't touch anything.



reply via email to

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