bug-make
[Top][All Lists]
Advanced

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

"make check" failure on Solaris 10 as File::Temp->newdir is missing


From: Paul Eggert
Subject: "make check" failure on Solaris 10 as File::Temp->newdir is missing
Date: Tue, 18 Oct 2022 14:46:26 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1

With GNU Make 4.3.91 on Solaris 10 sparc, 'make check' fails as shown at the end of this email.

Solaris 10 (supported by Oracle through January 2024) uses Perl 5.8.4. tests/README says Perl 5.004 or later is needed, so I guess either that README file needs to be updated to say a later Perl version is needed (not sure which version), or tests/test_driver.pl needs to be backported to Perl 5.8.4.

  make  check-local
cd tests && perl ./run_make_tests.pl -srcdir /var/run/rpc_door/eggert/make-4.3.91 -make ../make Can't locate object method "newdir" via package "File::Temp" at /var/run/rpc_door/eggert/make-4.3.91/tests/test_driver.pl line 67.
  Compilation failed in require at ./run_make_tests.pl line 36.
  *** Error code 255
  The following command caused the error:
  if test -f './tests/run_make_tests'; then \
    ulimit -n 128; \
    if perl -v >/dev/null 2>&1; then \
      case `cd '.'; pwd` in `pwd`) : ;; \
        *) test -d tests || mkdir tests; \
           rm -f srctests; \
           if ln -s './tests' srctests; then \
for f in run_make_tests run_make_tests.pl test_driver.pl scripts thelp.pl; do \
               rm -f tests/$f; ln -s ../srctests/$f tests; \
             done; fi ;; \
      esac; \
echo "cd tests && perl ./run_make_tests.pl -srcdir /var/run/rpc_door/eggert/make-4.3.91 -make ../make "; \ cd tests && perl ./run_make_tests.pl -srcdir '/var/run/rpc_door/eggert/make-4.3.91' -make '../make' ; \
    else \
echo "Can't find a working Perl (perl); the test suite requires Perl."; \
    fi; \
  else \
    echo "Can't find the GNU Make test suite (./tests)."; \
  fi
  make: Fatal error: Command failed for target `check-regression'




reply via email to

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