GUB: open/stat failure for darwin-x86::libpng

View: New views
3 Messages — Rating Filter:   Alert me  

GUB: open/stat failure for darwin-x86::libpng

by Patrick McCarty-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

After cross/gcc succeeded, I get the attached error log for libpng.
This was all done with LIBRESTRICT=open:stat.

Thanks,
Patrick

 *** Stage: configure (libpng, darwin-x86)
invoking mkdir -p /home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config || true
Running dump_file
  ('\nac_cv_c_stack_direction=${ac_cv_c_stack_direction=-1}\nac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes}\nac_cv_func_select=${ac_cv_func_select=yes} # but in mingw only if winsock2.h\nac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no}\nac_cv_lib_dld_shl_load=${ac_cv_lib_dld_shl_load=no}\nac_cv_spinlocks=${ac_cv_spinlocks=no}\nac_cv_sprintf_count=${ac_cv_sprintf_count=yes}\nac_cv_sys_restartable_syscalls=${ac_cv_sys_restartable_syscalls=yes}\nlibltdl_cv_sys_search_path=${libltdl_cv_sys_search_path="\'"/home/pnorcks/git/gub/target/darwin-x86/root/usr/lib /home/pnorcks/git/gub/target/darwin-x86/root/lib"\'"}\nlt_cv_dlopen=${lt_cv_dlopen="dlopen"}\n\nac_cv_c_bigendian=${ac_cv_c_bigendian=no}\nac_cv_file__dev_ptc=${ac_cv_file__dev_ptc=no}\nac_cv_file__dev_ptmx=${ac_cv_file__dev_ptmx=no}\nac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}\nac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}\nac_cv_search_dlopen=${ac_cv_search_dlopen="none required"}\nac_cv_type_socklen_t=${ac_cv_type_socklen_t=yes}\nglib_cv_uscore=${glib_cv_uscore=no}\nlt_cv_dlopen_libs=${lt_cv_dlopen_libs="none required"}\nlt_cv_sys_max_cmd_len=${lt_cv_sys_max_cmd_len=8192}\n\nac_16bit_type=${ac_16bit_type=short}\nac_32bit_type=${ac_32bit_type=int}\nac_64bit_type=${ac_64bit_type=none}\nac_cv_c_long_size_t=${ac_cv_c_long_size_t=no}\nac_cv_c_long_time_t=${ac_cv_c_long_time_t=yes}\nac_cv_sizeof___int64=${ac_cv_sizeof___int64=0}\nac_cv_sizeof_char=${ac_cv_sizeof_char=1}\nac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=4}\nac_cv_sizeof_double=${ac_cv_sizeof_double=8}\nac_cv_sizeof_float=${ac_cv_sizeof_float=4}\nac_cv_sizeof_int=${ac_cv_sizeof_int=4}\nac_cv_sizeof_intmax_t=${ac_cv_sizeof_intmax_t=8}\nac_cv_sizeof_intptr_t=${ac_cv_sizeof_intptr_t=4}\nac_cv_sizeof_long=${ac_cv_sizeof_long=4}\nac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=12}\nac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}\nac_cv_sizeof_ptrdiff_t=${ac_cv_sizeof_ptrdiff_t=4}\nac_cv_sizeof_short=${ac_cv_sizeof_short=2}\nac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=4}\nac_cv_sizeof_uintptr_t=${ac_cv_sizeof_uintptr_t=4}\nac_cv_sizeof_unsigned___int64=${ac_cv_sizeof_unsigned___int64=0}\nac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1}\nac_cv_sizeof_unsigned_int=${ac_cv_sizeof_unsigned_int=4}\nac_cv_sizeof_unsigned_long=${ac_cv_sizeof_unsigned_long=4}\nac_cv_sizeof_unsigned_long_long=${ac_cv_sizeof_unsigned_long_long=8}\nac_cv_sizeof_unsigned_short=${ac_cv_sizeof_unsigned_short=2}\nac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=4}\n', '/home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config/config.cache', 'w')
  {'permissions': 493}
invoking mkdir -p /home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config || true
invoking cd /home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config && chmod +x /home/pnorcks/git/gub/target/darwin-x86/src/libpng-1.2.8.config/configure && LIBRESTRICT_ALLOW=/var/mail  sh /home/pnorcks/git/gub/target/darwin-x86/src/libpng-1.2.8.config/configure --prefix=/usr --cache-file=config.cache --enable-shared --disable-static --disable-silent-rules --build=x86_64-linux --host=i686-apple-darwin8 --target=i686-apple-darwin8 --prefix=/usr --sysconfdir=/usr/etc --includedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib  --without-libiconv-prefix --without-libintl-prefix SHELL=/home/pnorcks/git/gub/target/tools/root/usr/bin/sh
/home/pnorcks/git/gub/target/darwin-x86/src/libpng-1.2.8.config/configure: line 99: 20522 Aborted                 ( PATH="/nonexistent;."; conf$$.sh ) > /dev/null 2>&1
configure: loading cache config.cache
checking for a BSD-compatible install... /home/pnorcks/git/gub/target/tools/root/usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-apple-darwin8-strip... i686-apple-darwin8-strip
checking for i686-apple-darwin8-gcc... i686-apple-darwin8-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-apple-darwin8-gcc  accepts -g... yes
checking for i686-apple-darwin8-gcc  option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-apple-darwin8-gcc ... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... i686-apple-darwin8
checking for ld used by GCC... i686-apple-darwin8-ld
checking if the linker (i686-apple-darwin8-ld) is GNU ld... no
checking for i686-apple-darwin8-ld option to reload object files... -r
checking for BSD-compatible nm... i686-apple-darwin8-nm
checking for a sed that does not truncate output... sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic Mach-O dynamically linked shared library
checking command to parse i686-apple-darwin8-nm output... ok
checking how to run the C preprocessor... i686-apple-darwin8-gcc  -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-apple-darwin8-ranlib... i686-apple-darwin8-ranlib
checking for i686-apple-darwin8-strip... (cached) i686-apple-darwin8-strip
checking for objdir... .libs
checking for i686-apple-darwin8-gcc option to produce PIC... -fno-common
checking if i686-apple-darwin8-gcc PIC flag -fno-common works... yes
checking if i686-apple-darwin8-gcc static flag -static works... no
checking if i686-apple-darwin8-gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if i686-apple-darwin8-gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (i686-apple-darwin8-ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin8 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for X... libraries /usr/lib, headers
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking for working strtod... no
checking for pow... yes
checking for memset... yes
checking for pow... (cached) yes
checking for strrchr... yes
checking for sqrt... yes
checking for zlibVersion in -lz... yes
checking pkgconfig directory... ${prefix}/lib/pkgconfig
updating cache config.cache
configure: creating ./config.status
./config.status: line 99: 22019 Aborted                 ( PATH="/nonexistent;."; conf$$.sh ) > /dev/null 2>&1
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
MapLocate[/home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config] no files matching pattern: libtool
Applying libtool_disable_install_not_into_dot_libs_test () to /home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config/libtool
Running file_sub
  ([('if test "\\$inst_prefix_dir" = "\\$destdir"; then', 'if false && test "$inst_prefix_dir" = "$destdir"; then'), ('  test "\\$inst_prefix_dir" = "\\$destdir" &&', '  false && test "$inst_prefix_dir" = "$destdir" &&')], '/home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config/libtool')
  {}
MapLocate[/home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config] no files matching pattern: libtool
Applying <lambda> () to /home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config/libtool
invoking cp /home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config/libtool /home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config/libtool~
invoking cp /home/pnorcks/git/gub/target/darwin-x86/root/usr/bin/libtool /home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config/libtool
Running file_sub
  ([('if test "\\$inst_prefix_dir" = "\\$destdir"; then', 'if false && test "$inst_prefix_dir" = "$destdir"; then'), ('  test "\\$inst_prefix_dir" = "\\$destdir" &&', '  false && test "$inst_prefix_dir" = "$destdir" &&')], '/home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config/libtool')
  {}
invoking chmod 755  /home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config/libtool
Running file_sub
  ([('^(hardcode_libdir_flag_spec)=".+"', 'hardcode_libdir_flag_spec="-Wl,-rpath -Wl,\\$libdir "')], '/home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config/libtool')
  {}
invoking chmod 755  /home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config/libtool
Running dump_file
  ('configure', '/home/pnorcks/git/gub/target/darwin-x86/status/libpng-1.2.8.config-libpng-1.2.8-config', 'w')
  {'permissions': 420}
 *** Stage: compile (libpng, darwin-x86)
invoking cd /home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config && (make -j4  ) || (make -j4  )
cd /home/pnorcks/git/gub/target/darwin-x86/src/libpng-1.2.8.config && \
          /home/pnorcks/git/gub/target/tools/root/usr/bin/sh /home/pnorcks/git/gub/target/darwin-x86/src/libpng-1.2.8.config/missing --run automake-1.7 --foreign  Makefile
/home/pnorcks/git/gub/target/darwin-x86/src/libpng-1.2.8.config/missing: line 46: automake-1.7: command not found
WARNING: `automake-1.7' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
cd . && /home/pnorcks/git/gub/target/tools/root/usr/bin/sh ./config.status Makefile depfiles
/home/pnorcks/git/gub/target/tools/root/usr/bin/bash: tried to xstat () file /var/mail/pnorcks
allowed:
  /home/pnorcks/git/gub/target
  /tmp
  /dev/null
  /proc/self
/home/pnorcks/git/gub/target/tools/root/usr/bin/sh: line 1: 22281 Aborted                 /home/pnorcks/git/gub/target/tools/root/usr/bin/sh ./config.status Makefile depfiles
make: *** [Makefile] Error 134
cd . && /home/pnorcks/git/gub/target/tools/root/usr/bin/sh ./config.status Makefile depfiles
/home/pnorcks/git/gub/target/tools/root/usr/bin/bash: tried to xstat () file /var/mail/pnorcks
allowed:
  /home/pnorcks/git/gub/target
  /tmp
  /dev/null
  /proc/self
/home/pnorcks/git/gub/target/tools/root/usr/bin/sh: line 1: 22286 Aborted                 /home/pnorcks/git/gub/target/tools/root/usr/bin/sh ./config.status Makefile depfiles
make: *** [Makefile] Error 134
Command barfed: cd /home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config && (make -j4  ) || (make -j4  )
Traceback (most recent call last):
  File "bin/gub", line 230, in exceptional_build
    build (settings, options, files)
  File "bin/gub", line 226, in build
    b.build_source_packages (names)
  File "bin/../gub/buildrunner.py", line 334, in build_source_packages
    self.spec_build (spec_name)
  File "bin/../gub/buildrunner.py", line 262, in spec_build
    deferred_runner.execute_deferred_commands ()
  File "bin/../gub/runner.py", line 167, in execute_deferred_commands
    cmd.execute (self.logger)
  File "bin/../gub/commands.py", line 75, in execute
    ignore_errors=self.ignore_errors)
  File "bin/../gub/loggedos.py", line 37, in system
    raise misc.SystemFailed (m)
SystemFailed: Command barfed: cd /home/pnorcks/git/gub/target/darwin-x86/build/libpng-1.2.8.config && (make -j4  ) || (make -j4  )


_______________________________________________
lilypond-devel mailing list
lilypond-devel@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: GUB: open/stat failure for darwin-x86::libpng

by Graham Percival-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Oct 29, 2009 at 02:25:40AM -0700, Patrick McCarty wrote:
> cd /home/pnorcks/git/gub/target/darwin-x86/src/libpng-1.2.8.config && \
>  /home/pnorcks/git/gub/target/tools/root/usr/bin/sh /home/pnorcks/git/gub/target/darwin-x86/src/libpng-1.2.8.config/missing --run automake-1.7 --foreign  Makefile
> /home/pnorcks/git/gub/target/darwin-x86/src/libpng-1.2.8.config/missing: line 46: automake-1.7: command not found
> WARNING: `automake-1.7' is missing on your system.  You should only need it if
>          you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
>          You might want to install the `Automake' and `Perl' packages.
>          Grab them from any GNU archive site.

Hmm, I again suspect that GUB hasn't compiled all the binaries
it's supposed to / expecting to.

> cd . && /home/pnorcks/git/gub/target/tools/root/usr/bin/sh ./config.status Makefile depfiles
> /home/pnorcks/git/gub/target/tools/root/usr/bin/bash: tried to xstat () file /var/mail/pnorcks
> allowed:
>   /home/pnorcks/git/gub/target
>   /tmp
>   /dev/null
>   /proc/self

Heh!  I'm getting a similar problem trying to compile another
project for the freebsd-x86 branch.  Evidently something is wacky
in the general setup for compiling software.


One of my labmates has a render farm of 8 imacs; I'll ask if I can
get an account on one and try doing GUB on it.  I'd really like to
get you up and running on GUB so that I can dump^H^H^Helegate all osx
building stuff to you.  :)

Cheers,
- Graham


_______________________________________________
lilypond-devel mailing list
lilypond-devel@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: GUB: open/stat failure for darwin-x86::libpng

by Jan Nieuwenhuizen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Op donderdag 29-10-2009 om 02:25 uur [tijdzone -0700], schreef Patrick
McCarty:

Hi,

> After cross/gcc succeeded, I get the attached error log for libpng.
> This was all done with LIBRESTRICT=open:stat.

I appreciate you trying this, but open:stat does not work yet.
It would need a lot of work.

Your log says

    cd .   && /home/pnorcks/git/gub/target/tools/root/usr/bin/sh ./config.status Makefile depfiles
    /home/pnorcks/git/gub/target/tools/root/usr/bin/bash: tried to xstat () file /var/mail/pnorcks

which is a nice example of this, who is STATting /var/mail/pnorcks.
We'd have to investigate such things and fix them, or add workarounds.

Ugh.

Greetings,
Jan.




_______________________________________________
lilypond-devel mailing list
lilypond-devel@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel