Here is the outup for the port install -v texinfo ---> Building texinfo with target all make all-recursive Making all in gnulib/lib { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat ./alloca_.h; \ }> alloca.h-t mv -f alloca.h-t alloca.h rm -f configmake.h-t configmake.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ echo '#define PREFIX "/opt/local"'; \ echo '#define EXEC_PREFIX "/opt/local"'; \ echo '#define BINDIR "/opt/local/bin"'; \ echo '#define SBINDIR "/opt/local/sbin"'; \ echo '#define LIBEXECDIR "/opt/local/libexec"'; \ echo '#define DATAROOTDIR "/opt/local/share"'; \ echo '#define DATADIR "/opt/local/share"'; \ echo '#define SYSCONFDIR "/opt/local/etc"'; \ echo '#define SHAREDSTATEDIR "/opt/local/com"'; \ echo '#define LOCALSTATEDIR "/opt/local/var"'; \ echo '#define INCLUDEDIR "/opt/local/include"'; \ echo '#define OLDINCLUDEDIR "/usr/include"'; \ echo '#define DOCDIR "/opt/local/share/doc/texinfo"'; \ echo '#define INFODIR "/opt/local/share/info"'; \ echo '#define HTMLDIR "/opt/local/share/doc/texinfo"'; \ echo '#define DVIDIR "/opt/local/share/doc/texinfo"'; \ echo '#define PDFDIR "/opt/local/share/doc/texinfo"'; \ echo '#define PSDIR "/opt/local/share/doc/texinfo"'; \ echo '#define LIBDIR "/opt/local/lib"'; \ echo '#define LISPDIR ""'; \ echo '#define LOCALEDIR "/opt/local/share/locale"'; \ echo '#define MANDIR "/opt/local/share/man"'; \ echo '#define MANEXT ""'; \ echo '#define PKGDATADIR "/opt/local/share/texinfo"'; \ echo '#define PKGINCLUDEDIR "/opt/local/include/texinfo"'; \ echo '#define PKGLIBDIR "/opt/local/lib/texinfo"'; \ echo '#define PKGLIBEXECDIR ""'; \ } | sed '/""/d'> configmake.h-t mv configmake.h-t configmake.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat ./getopt_.h; \ }> getopt.h-t mv -f getopt.h-t getopt.h rm -f stdint.h-t stdint.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's/@''HAVE_STDINT_H''@/1/g' \ -e 's/@''INCLUDE_NEXT''@/include_next/g' \ -e 's|@''NEXT_STDINT_H''@||g' \ -e 's/@''HAVE_SYS_TYPES_H''@/1/g' \ -e 's/@''HAVE_INTTYPES_H''@/1/g' \ -e 's/@''HAVE_SYS_INTTYPES_H''@/0/g' \ -e 's/@''HAVE_SYS_BITYPES_H''@/0/g' \ -e 's/@''HAVE_LONG_LONG_INT''@/1/g' \ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/1/g' \ -e 's/@''BITSIZEOF_PTRDIFF_T''@/32/g' \ -e 's/@''PTRDIFF_T_SUFFIX''@//g' \ -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/32/g' \ -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/1/g' \ -e 's/@''SIG_ATOMIC_T_SUFFIX''@//g' \ -e 's/@''BITSIZEOF_SIZE_T''@/32/g' \ -e 's/@''SIZE_T_SUFFIX''@/ul/g' \ -e 's/@''BITSIZEOF_WCHAR_T''@/32/g' \ -e 's/@''HAVE_SIGNED_WCHAR_T''@/1/g' \ -e 's/@''WCHAR_T_SUFFIX''@//g' \ -e 's/@''BITSIZEOF_WINT_T''@/32/g' \ -e 's/@''HAVE_SIGNED_WINT_T''@/1/g' \ -e 's/@''WINT_T_SUFFIX''@//g' \ < ./stdint_.h; \ }> stdint.h-t mv stdint.h-t stdint.h 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''@||g' \ -e 's|@''GNULIB_GETSUBOPT''@|0|g' \ -e 's|@''GNULIB_MKDTEMP''@|0|g' \ -e 's|@''GNULIB_MKSTEMP''@|1|g' \ -e 's|@''HAVE_GETSUBOPT''@|1|g' \ -e 's|@''HAVE_MKDTEMP''@|1|g' \ -e 's|@''REPLACE_MKSTEMP''@|0|g' \ -e '/definition of GL_LINK_WARNING/r ../../build-aux/link-warning.h' \ < ./stdlib_.h; \ }> stdlib.h-t mv stdlib.h-t stdlib.h rm -f string.h-t string.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \ -e 's|@''NEXT_STRING_H''@||g' \ -e 's|@''GNULIB_MBSLEN''@|0|g' \ -e 's|@''GNULIB_MBSNLEN''@|0|g' \ -e 's|@''GNULIB_MBSCHR''@|0|g' \ -e 's|@''GNULIB_MBSRCHR''@|0|g' \ -e 's|@''GNULIB_MBSSTR''@|0|g' \ -e 's|@''GNULIB_MBSCASECMP''@|0|g' \ -e 's|@''GNULIB_MBSNCASECMP''@|0|g' \ -e 's|@''GNULIB_MBSPCASECMP''@|0|g' \ -e 's|@''GNULIB_MBSCASESTR''@|0|g' \ -e 's|@''GNULIB_MBSCSPN''@|0|g' \ -e 's|@''GNULIB_MBSPBRK''@|0|g' \ -e 's|@''GNULIB_MBSSPN''@|0|g' \ -e 's|@''GNULIB_MBSSEP''@|0|g' \ -e 's|@''GNULIB_MBSTOK_R''@|0|g' \ -e 's|@''GNULIB_MEMMEM''@|0|g' \ -e 's|@''GNULIB_MEMPCPY''@|0|g' \ -e 's|@''GNULIB_MEMRCHR''@|0|g' \ -e 's|@''GNULIB_STPCPY''@|0|g' \ -e 's|@''GNULIB_STPNCPY''@|0|g' \ -e 's|@''GNULIB_STRCHRNUL''@|0|g' \ -e 's|@''GNULIB_STRDUP''@|1|g' \ -e 's|@''GNULIB_STRNDUP''@|0|g' \ -e 's|@''GNULIB_STRNLEN''@|0|g' \ -e 's|@''GNULIB_STRPBRK''@|0|g' \ -e 's|@''GNULIB_STRSEP''@|0|g' \ -e 's|@''GNULIB_STRCASESTR''@|0|g' \ -e 's|@''GNULIB_STRTOK_R''@|0|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|1|g' \ -e 's|@''HAVE_MEMPCPY''@|1|g' \ -e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \ -e 's|@''HAVE_STPCPY''@|1|g' \ -e 's|@''HAVE_STPNCPY''@|1|g' \ -e 's|@''HAVE_STRCASECMP''@|1|g' \ -e 's|@''HAVE_DECL_STRNCASECMP''@|1|g' \ -e 's|@''HAVE_STRCHRNUL''@|1|g' \ -e 's|@''HAVE_DECL_STRDUP''@|1|g' \ -e 's|@''HAVE_STRNDUP''@|1|g' \ -e 's|@''HAVE_DECL_STRNDUP''@|1|g' \ -e 's|@''HAVE_DECL_STRNLEN''@|1|g' \ -e 's|@''HAVE_STRPBRK''@|1|g' \ -e 's|@''HAVE_STRSEP''@|1|g' \ -e 's|@''HAVE_STRCASESTR''@|1|g' \ -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \ -e '/definition of GL_LINK_WARNING/r ../../build-aux/link-warning.h' \ < ./string_.h; \ }> string.h-t mv string.h-t string.h ../../build-aux/install-sh -c -d sys make[2]: execvp: ../../build-aux/install-sh: Permission denied make[2]: *** [sys/stat.h] Error 127 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texinfo/work/texinfo-4.11" && make all " returned error 2 Command output: -e 's|@''GNULIB_STRNLEN''@|0|g' \ -e 's|@''GNULIB_STRPBRK''@|0|g' \ -e 's|@''GNULIB_STRSEP''@|0|g' \ -e 's|@''GNULIB_STRCASESTR''@|0|g' \ -e 's|@''GNULIB_STRTOK_R''@|0|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|1|g' \ -e 's|@''HAVE_MEMPCPY''@|1|g' \ -e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \ -e 's|@''HAVE_STPCPY''@|1|g' \ -e 's|@''HAVE_STPNCPY''@|1|g' \ -e 's|@''HAVE_STRCASECMP''@|1|g' \ -e 's|@''HAVE_DECL_STRNCASECMP''@|1|g' \ -e 's|@''HAVE_STRCHRNUL''@|1|g' \ -e 's|@''HAVE_DECL_STRDUP''@|1|g' \ -e 's|@''HAVE_STRNDUP''@|1|g' \ -e 's|@''HAVE_DECL_STRNDUP''@|1|g' \ -e 's|@''HAVE_DECL_STRNLEN''@|1|g' \ -e 's|@''HAVE_STRPBRK''@|1|g' \ -e 's|@''HAVE_STRSEP''@|1|g' \ -e 's|@''HAVE_STRCASESTR''@|1|g' \ -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \ -e '/definition of GL_LINK_WARNING/r ../../build-aux/link-warning.h' \ < ./string_.h; \ }> string.h-t mv string.h-t string.h ../../build-aux/install-sh -c -d sys make[2]: execvp: ../../build-aux/install-sh: Permission denied make[2]: *** [sys/stat.h] Error 127 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for texinfo): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. and grep 'install_sh' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texinfo/work/texinfo-4.11/Makefile install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c mkinstalldirs = $(install_sh) -d INSTALL_STRIP_PROGRAM = $(install_sh) -c -s install_sh = $(SHELL) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texinfo/work/texinfo-4.11/build-aux/install-sh ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ _________________________________________________________________ The next generation of MSN Hotmail has arrived - Windows Live Hotmail http://www.newhotmail.co.uk
On 2007-09-14 16:09:20 +0000, Glenn Jones wrote:
Here is the outup for the port install -v texinfo
I also needed the configure output. I have: checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p I think you get something else, in which case a solution to solve the problem is to install the coreutils port. The fact that it doesn't work without the coreutils seems to be an upstream bug. I can see in the configure script: else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. test -d ./--version && rmdir ./--version MKDIR_P="$ac_install_sh -d" fi The "else" is taken when you don't have the coreutils mkdir. And the problem is that the install-sh doesn't have the exec bit set (this is not a problem in general, but here it is, and upstream isn't aware of this). I'll report the bug and also patch the texinfo port later tonight. -- Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
On 2007-09-14 19:25:13 +0200, Vincent Lefevre wrote:
The "else" is taken when you don't have the coreutils mkdir. And the problem is that the install-sh doesn't have the exec bit set (this is not a problem in general, but here it is, and upstream isn't aware of this). I'll report the bug and also patch the texinfo port later tonight.
I've fixed the port: Index: Portfile =================================================================== --- Portfile (revision 29083) +++ Portfile (working copy) @@ -23,6 +23,11 @@ port:libiconv \ port:ncurses +# Needed if the coreutils port isn't installed (this is an upstream bug). +pre-patch { + file attributes ${worksrcpath}/build-aux/install-sh -permissions ugo+x +} + pre-destroot { xinstall -d "${destroot}${prefix}/share/doc/${name}" xinstall -m 644 -v -W "${worksrcpath}" AUTHORS INTRODUCTION NEWS TODO \ -- Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
participants (2)
-
Glenn Jones
-
Vincent Lefevre