On 2/10/07, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
Hello deckrider,

Hi Ralf, thanks for the reply.

* deckrider wrote on Sat, Feb 10, 2007 at 12:47:23AM CET:
> I'm having some parallel problem that isn't always repeatable (as is
> the case with many parallel problems) when using HP make as follows:
>
> PARALLEL=4 make -P distcheck
>
> I get errors like this:

Please post the whole make output.  Please also post the configure
output.  Thanks.

Output attached as configure.txt and make.txt

I configured as follows:

cd bug-1.0.0
mkdir build
cd build
../configure

I don't always get errors every time, so I ran HP make to create
make.txt like this, and used the make.txt that was created when
finally seeing an error:

PARALLEL=4
export PARALLEL
while make -P distcheck > ../../make.txt 2>&1 ; do sleep 1 ; done

> It seems that perhaps $(bin_PROGRAMS) depending on Makefile in my
> example might be needed to solve this.  However, I might expect
> Automake to take care of it.

What should this have to do with the issues you're seeing?
Nothing in the output you posted hints at a rebuild of the Makefile.

> I'm attaching bug-1.0.0.zip which is a small project which reproduces
> the error on my system:

Thanks.

> $ uname -a
> HP-UX omztdv1 B.11.23 U ia64 2505142627 unlimited-user license
>
> We have 4 CPUs on this system, which is why we use PARALLEL=4 (I would
> guess that this may not be repeatable on a single CPU system).

I only have access to single CPU HP-UXen.  I don't have enough
information to ask intelligent questions yet, though.

Cheers,
Ralf
checking build system type... ia64-hp-hpux11.23
checking host system type... ia64-hp-hpux11.23
checking target system type... ia64-hp-hpux11.23
checking for a BSD-compatible install... .././install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... .././install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /opt/vzb/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic 
(s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64
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 g++... no
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 262144
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... 
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... hpux11.23 dld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the c++ linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking for c++ option to produce PIC... 
checking if c++ static flag -static works... no
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking dynamic linker characteristics... hpux11.23 dld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... 
checking if g77 static flag -static works... no
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking dynamic linker characteristics... hpux11.23 dld.so
checking how to hardcode library paths into programs... immediate
checking for gawk... (cached) awk
checking for egrep... (cached) /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for a BSD-compatible install... .././install-sh -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing conf commands
config.status: executing scripts commands
config.status: executing swpackage commands
Making target"distdir"
        { test ! -d bug-1.0.0  || { find bug-1.0.0 -type d ! -perm -200 -exec 
chmod u+w {} ';' \
                 && rm -fr bug-1.0.0; }; }
        test -d bug-1.0.0 || mkdir bug-1.0.0
        find bug-1.0.0 -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
          ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
          ! -type d ! -perm -444 -exec /bin/sh 
/home/deverly/tmp/bug-1.0.0/install-sh -c -m a+r {} {} \; \
        || chmod -R a+r bug-1.0.0
Making target"dist"
        rm -f bug-1.0.0.zip
        zip -rq bug-1.0.0.zip bug-1.0.0
        { test ! -d bug-1.0.0  || { find bug-1.0.0 -type d ! -perm -200 -exec 
chmod u+w {} ';' \
                 && rm -fr bug-1.0.0; }; }
Making target"distcheck"
        case 'bug-1.0.0.zip' in \
        *.tar.gz*) \
          GZIP=--best gunzip -c bug-1.0.0.tar.gz | /bin/sh 
/home/deverly/tmp/bug-1.0.0/missing --run tar xf - ;;\
        *.tar.bz2*) \
          bunzip2 -c bug-1.0.0.tar.bz2 | /bin/sh 
/home/deverly/tmp/bug-1.0.0/missing --run tar xf - ;;\
        *.tar.Z*) \
          uncompress -c bug-1.0.0.tar.Z | /bin/sh 
/home/deverly/tmp/bug-1.0.0/missing --run tar xf - ;;\
        *.shar.gz*) \
          GZIP=--best gunzip -c bug-1.0.0.shar.gz | unshar ;;\
        *.zip*) \
          unzip bug-1.0.0.zip ;;\
        esac
Archive:  bug-1.0.0.zip
   creating: bug-1.0.0/
   creating: bug-1.0.0/src/
 extracting: bug-1.0.0/src/five.c    
 extracting: bug-1.0.0/src/four.c    
 extracting: bug-1.0.0/src/goodbye.c  
 extracting: bug-1.0.0/src/hello.c   
 extracting: bug-1.0.0/src/one.c     
 extracting: bug-1.0.0/src/six.c     
 extracting: bug-1.0.0/src/three.c   
 extracting: bug-1.0.0/src/two.c     
 extracting: bug-1.0.0/README        
  inflating: bug-1.0.0/configure.ac  
  inflating: bug-1.0.0/aclocal.m4    
  inflating: bug-1.0.0/Makefile.am   
  inflating: bug-1.0.0/Makefile.in   
  inflating: bug-1.0.0/config.h.in   
  inflating: bug-1.0.0/configure     
 extracting: bug-1.0.0/AUTHORS       
  inflating: bug-1.0.0/COPYING       
 extracting: bug-1.0.0/ChangeLog     
  inflating: bug-1.0.0/INSTALL       
 extracting: bug-1.0.0/NEWS          
  inflating: bug-1.0.0/compile       
  inflating: bug-1.0.0/config.guess  
  inflating: bug-1.0.0/config.sub    
  inflating: bug-1.0.0/depcomp       
  inflating: bug-1.0.0/install-sh    
  inflating: bug-1.0.0/ltmain.sh     
  inflating: bug-1.0.0/missing       
        chmod -R a-w bug-1.0.0; chmod a+w bug-1.0.0
        mkdir bug-1.0.0/_build
        mkdir bug-1.0.0/_inst
        chmod a-w bug-1.0.0
        dc_install_base=`CDPATH="${ZSH_VERSION+.}:" && cd bug-1.0.0/_inst && 
pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
          && dc_destdir="${TMPDIR-/tmp}/am-dc-$$/" \
          && cd bug-1.0.0/_build \
          && ../configure --srcdir=.. --prefix="$dc_install_base" \
             \
          && make  \
          && make  dvi \
          && make  check \
          && make  install \
          && make  installcheck \
          && make  uninstall \
          && make  distuninstallcheck_dir="$dc_install_base" \
                distuninstallcheck \
          && chmod -R a-w "$dc_install_base" \
          && ({ \
               (cd ../.. && umask 077 && mkdir "$dc_destdir") \
               && make  DESTDIR="$dc_destdir" install \
               && make  DESTDIR="$dc_destdir" uninstall \
               && make  DESTDIR="$dc_destdir" \
                    distuninstallcheck_dir="$dc_destdir" distuninstallcheck; \
              } || { rm -rf "$dc_destdir"; exit 1; }) \
          && rm -rf "$dc_destdir" \
          && make  dist \
          && rm -rf bug-1.0.0.zip \
          && make  distcleancheck
checking build system type... ia64-hp-hpux11.23
checking host system type... ia64-hp-hpux11.23
checking target system type... ia64-hp-hpux11.23
checking for a BSD-compatible install... .././install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... .././install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /opt/vzb/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic 
(s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64
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 g++... no
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 262144
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... 
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... hpux11.23 dld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the c++ linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking for c++ option to produce PIC... 
checking if c++ static flag -static works... no
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking dynamic linker characteristics... hpux11.23 dld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... 
checking if g77 static flag -static works... no
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking dynamic linker characteristics... hpux11.23 dld.so
checking how to hardcode library paths into programs... immediate
checking for gawk... (cached) awk
checking for egrep... (cached) /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for a BSD-compatible install... .././install-sh -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing conf commands
config.status: executing scripts commands
config.status: executing swpackage commands
Making target"config.h"
Making target"all"
        make  all-am
Making target"src/.dirstamp"
Making target"src/.deps/.dirstamp"
Making target"goodbye"
Making target"one"
        /bin/sh ./libtool --tag=CC    --mode=link gcc  -g -O2    -o one 
src/one.o  
        /bin/sh ./libtool --tag=CC    --mode=link gcc  -g -O2    -o goodbye 
src/goodbye.o  
Making target"config.h"
Making target"src/hello.o"
        depbase=`echo src/hello.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        gcc -DHAVE_CONFIG_H -I. -I..      -g -O2 -MT src/hello.o -MD -MP -MF 
$depbase.Tpo -c -o src/hello.o ../src/hello.c &&\
        mv -f $depbase.Tpo $depbase.Po
Making target"src/goodbye.o"
        depbase=`echo src/goodbye.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        gcc -DHAVE_CONFIG_H -I. -I..      -g -O2 -MT src/goodbye.o -MD -MP -MF 
$depbase.Tpo -c -o src/goodbye.o ../src/goodbye.c &&\
        mv -f $depbase.Tpo $depbase.Po
Making target"hello"
        /bin/sh ./libtool --tag=CC    --mode=link gcc  -g -O2    -o hello 
src/hello.o  
mkdir .libs
mkdir .libs
mkdir: cannot create .libs: File exists
gcc -g -O2 -o goodbye src/goodbye.o 
gcc -g -O2 -o one src/one.o 
gcc: src/one.o: No such file or directory
gcc: no input files
one: *** Error exit code 1      
[/home/deverly/tmp/bug-1.0.0/build/bug-1.0.0/_build/Makefile]
gcc -g -O2 -o hello src/hello.o 

Stop.
all: *** Error exit code 1      
[/home/deverly/tmp/bug-1.0.0/build/bug-1.0.0/_build/Makefile]

Stop.
distcheck: *** Error exit code 1        
[/home/deverly/tmp/bug-1.0.0/build/Makefile]

Stop.

Reply via email to