pkgsrc-Users archive

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

Re: Can't compile perl5 on Soalris 10



Hi,
As requested :

=> Checking file-check results for perl-5.28.1
: commands for target /var/tmp/pkgbuild/lang/perl5/work/.check_files_diff; set -x; set -e;                                       /usr/bin/diff -u /var/tmp/pkgbuild/lang/perl5/work/.prefix.pre                          /var/tmp/pkgbuild/lang/perl5/work/.prefix.post                          > /var/tmp/pkgbuild/lang/perl5/work/.check_files_diff || true
: commands for target /var/tmp/pkgbuild/lang/perl5/work/.check_files_deleted; set -x; set -e;                                    /usr/sfw/bin/ggrep '^-/' /var/tmp/pkgbuild/lang/perl5/work/.check_files_diff | /usr/pkg/bin/nbsed "s|^-||" | /usr/bin/sort      > /var/tmp/pkgbuild/lang/perl5/work/.check_files_deleted
: commands for target /var/tmp/pkgbuild/lang/perl5/work/.check_files_expected; set -x; set -e;                                   /usr/sfw/bin/ggrep '^[^@]' /var/tmp/pkgbuild/lang/perl5/work/.PLIST | /usr/pkg/bin/nbsed "s|^|/var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg/|" | /usr/bin/sort     > /var/tmp/pkgbuild/lang/perl5/work/.check_files_expected
: commands for target /var/tmp/pkgbuild/lang/perl5/work/.check_files_added; set -x; set -e;                                      /usr/sfw/bin/ggrep '^+/' /var/tmp/pkgbuild/lang/perl5/work/.check_files_diff | /usr/pkg/bin/nbsed "s|^+||" | /usr/bin/sort      > /var/tmp/pkgbuild/lang/perl5/work/.check_files_added
: commands for target /var/tmp/pkgbuild/lang/perl5/work/.check_files_missing; set -x; set -e;                                    /usr/bin/diff -u /var/tmp/pkgbuild/lang/perl5/work/.check_files_expected /var/tmp/pkgbuild/lang/perl5/work/.check_files_added |         /usr/sfw/bin/ggrep '^-[^-]' | /usr/pkg/bin/nbsed "s|^-||" |                             while read file; do                                             test -f "$file" -o -h "$file" || echo "$file";  done > /var/tmp/pkgbuild/lang/perl5/work/.check_files_missing
: commands for target /var/tmp/pkgbuild/lang/perl5/work/.check_files_missing_real; set -x; set -e;                                       /usr/bin/cat /var/tmp/pkgbuild/lang/perl5/work/.check_files_missing | /usr/sfw/bin/ggrep -vx -e /var/tmp/pkgbuild/lang/perl5/work/.destdir/perllocal.pod -e /var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg/lib/R/doc/html/packages.html -e /var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg/lib/R/doc/html/search/index.txt -e /var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg/pkgdb/.\* -e /var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg/emul/linux/proc.\* -e /var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg/emul/linux32/proc.\* -e /var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg/pkgdb.refcount.\* -e /var/tmp/pkgbuild/lang/perl5/work/.destdir/srv/data/packages/.\* -e /var/tmp/pkgbuild/lang/perl5/work/.destdir/srv/data/distfiles/.\* -e /var/tmp/pkgbuild/lang/perl5/work/.destdir/var/.\* -e /var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg/lib/charset.alias -e /var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg/share/locale/locale.alias    > /var/tmp/pkgbuild/lang/perl5/work/.check_files_missing_real || true
: commands for target /var/tmp/pkgbuild/lang/perl5/work/.check_files_missing_skip; set -x; set -e;                                       /usr/bin/diff -u /var/tmp/pkgbuild/lang/perl5/work/.check_files_missing                                 /var/tmp/pkgbuild/lang/perl5/work/.check_files_missing_real |                   /usr/sfw/bin/ggrep '^-[^-]' | /usr/pkg/bin/nbsed "s|^-||"                               > /var/tmp/pkgbuild/lang/perl5/work/.check_files_missing_skip
: commands for target /var/tmp/pkgbuild/lang/perl5/work/.check_files_extra; set -x; set -e;                                      /usr/bin/diff -u  /var/tmp/pkgbuild/lang/perl5/work/.check_files_expected /var/tmp/pkgbuild/lang/perl5/work/.check_files_added |        /usr/sfw/bin/ggrep '^+[^+]' | /usr/pkg/bin/nbsed "s|^+||" |                             while read file; do                                             test ! -f "$file" -a ! -h "$file" || echo "$file";  done > /var/tmp/pkgbuild/lang/perl5/work/.check_files_extra
: commands for target /var/tmp/pkgbuild/lang/perl5/work/.error/check-files-prefix; set -x; set -e;/usr/bin/rm -f /var/tmp/pkgbuild/lang/perl5/work/.error/check-files-prefix
: commands for target /var/tmp/pkgbuild/lang/perl5/work/.error/check-files-prefix; set -x; set -e;                                       if /usr/pkg/bin/nawk 'END { exit (NR > 0) ? 0 : 1; }' /var/tmp/pkgbuild/lang/perl5/work/.check_files_deleted; then              echo "The following files have been deleted"            "from /usr/pkg!";                               /usr/pkg/bin/nbsed "s|^|        |" /var/tmp/pkgbuild/lang/perl5/work/.check_files_deleted;              fi >> /var/tmp/pkgbuild/lang/perl5/work/.error/check-files-prefix
: commands for target /var/tmp/pkgbuild/lang/perl5/work/.error/check-files-prefix; set -x; set -e;                                       if /usr/pkg/bin/nawk 'END { exit (NR > 0) ? 0 : 1; }' /var/tmp/pkgbuild/lang/perl5/work/.check_files_missing_real; then         echo "************************************************************";  echo "The following files are in the"             "PLIST but not in /var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg:";                         /usr/pkg/bin/nbsed "s|^|        |" /var/tmp/pkgbuild/lang/perl5/work/.check_files_missing_real;         fi >> /var/tmp/pkgbuild/lang/perl5/work/.error/check-files-prefix
: commands for target /var/tmp/pkgbuild/lang/perl5/work/.error/check-files-prefix; set -x; set -e;                                       if /usr/pkg/bin/nawk 'END { exit (NR > 0) ? 0 : 1; }' /var/tmp/pkgbuild/lang/perl5/work/.check_files_extra; then                echo "************************************************************";  echo "The following files are in"                         "/var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg but not in the PLIST:";             /usr/pkg/bin/nbsed "s|^|        |" /var/tmp/pkgbuild/lang/perl5/work/.check_files_extra;                fi >> /var/tmp/pkgbuild/lang/perl5/work/.error/check-files-prefix
: commands for target /var/tmp/pkgbuild/lang/perl5/work/.error/check-files-prefix; set -x; set -e;                                       if /usr/pkg/bin/nawk 'END { exit (NR > 0) ? 0 : 1; }' /var/tmp/pkgbuild/lang/perl5/work/.check_files_missing_skip; then         echo "************************************************************";  echo "The following files are in both the"                "PLIST and CHECK_FILES_SKIP:";                  /usr/pkg/bin/nbsed "s|^|        |" /var/tmp/pkgbuild/lang/perl5/work/.check_files_missing_skip;         fi >> /var/tmp/pkgbuild/lang/perl5/work/.error/check-files-prefix
: commands for target check-files; set -x; set -e;                                       /usr/bin/rm -f /var/tmp/pkgbuild/lang/perl5/work/.warning/*.tmp;                                        test -d /var/tmp/pkgbuild/lang/perl5/work/.warning || exit 0;                           cd /var/tmp/pkgbuild/lang/perl5/work/.warning;                                          for file in ./*; do                                             test "$file" != "./*" || exit 0;                        break;                                                  done;                                                           /usr/bin/cat ./* | /usr/pkg/bin/nbsed -e "s|^|WARNING: |" 1>&2;                                         /usr/bin/mv -f ./* /var/tmp/pkgbuild/lang/perl5/work/.warning-done
: commands for target check-files; set -x; set -e;                                       /usr/bin/rm -f /var/tmp/pkgbuild/lang/perl5/work/.error/*.tmp;                                  test -d /var/tmp/pkgbuild/lang/perl5/work/.error || exit 0;                             cd /var/tmp/pkgbuild/lang/perl5/work/.error;                                            for file in ./*; do                                             test "$file" != "./*" || exit 0;                        break;                                                  done;                                                           /usr/bin/cat * | /usr/pkg/bin/nbsed -e "s|^|ERROR: |" 1>&2;                                     if /usr/pkg/bin/nawk 'END { exit (NR > 0) ? 0 : 1; }' ./*; then                                 /usr/bin/mv -f ./* /var/tmp/pkgbuild/lang/perl5/work/.error-done;                       exit 1;                                                         fi
=> Checking for non-existent script interpreters in perl-5.28.1
: commands for target _check-interpreter; set -x; set -e; cd /var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg;                                         /usr/pkg/bin/nbsed -e '/^@/d' /var/tmp/pkgbuild/lang/perl5/work/.PLIST | /usr/bin/sort | /usr/pkg/bin/nbsed 's,\\,\\\\,g' | while read file; do                                                 case "$file" in                                         share/doc/*) continue ;; share/examples/*) continue ;;          *) ;;                                                   esac;                                                   if [ ! -x "$file" ]; then                               continue;                                       fi;                                                     if [ -d "$file" ]; then                                 continue;                                       fi;                                                     if [ ! -r "$file" ]; then                               echo >> /var/tmp/pkgbuild/lang/perl5/work/.warning/_check-interpreter "[check-interpreter.mk] File \"/var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg/$file\" cannot be read.";  continue;                                    fi;                                                     echo >/dev/null '***' "[$file]";                                interp=`LC_ALL=C /usr/pkg/bin/nbsed -n -e '1s/^#![[:space:]]*\([^[:space:]]*\).*/\1/p' -e '1q' < "$file"`  || {        echo >> /var/tmp/pkgbuild/lang/perl5/work/.warning/_check-interpreter "[check-interpreter.mk] sed(1) failed for \"/var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg/$file\".";  continue;                                       };                                                      case "$interp" in                                       "") continue;;                                          /bin/env|/usr/bin/env) if [ -x "$file" ]; then          echo >> /var/tmp/pkgbuild/lang/perl5/work/.error/_check-interpreter "[check-interpreter.mk] The interpreter \"$interp\" of \"/var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg/$file\" is not allowed.";  else                                                 echo >> /var/tmp/pkgbuild/lang/perl5/work/.warning/_check-interpreter "[check-interpreter.mk] The interpreter \"$interp\" of \"/var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg/$file\" is not allowed.";  fi;                                                continue;;                                      esac;                                                   if { [ ! -f /var/tmp/pkgbuild/lang/perl5/work/.destdir"$interp" ] &&                    [ ! -f "$interp" ]; }; then                     echo >> /var/tmp/pkgbuild/lang/perl5/work/.error/_check-interpreter "[check-interpreter.mk] The interpreter \"$interp\" of \"/var/tmp/pkgbuild/lang/perl5/work/.destdir/usr/pkg/$file\" does not exist.";  fi;                                                  done
: commands for target _check-interpreter; set -x; set -e;                                        /usr/bin/rm -f /var/tmp/pkgbuild/lang/perl5/work/.warning/*.tmp;                                        test -d /var/tmp/pkgbuild/lang/perl5/work/.warning || exit 0;                           cd /var/tmp/pkgbuild/lang/perl5/work/.warning;                                          for file in ./*; do                                             test "$file" != "./*" || exit 0;                        break;                                                  done;                                                           /usr/bin/cat ./* | /usr/pkg/bin/nbsed -e "s|^|WARNING: |" 1>&2;                                         /usr/bin/mv -f ./* /var/tmp/pkgbuild/lang/perl5/work/.warning-done
: commands for target _check-interpreter; set -x; set -e;                                        /usr/bin/rm -f /var/tmp/pkgbuild/lang/perl5/work/.error/*.tmp;                                  test -d /var/tmp/pkgbuild/lang/perl5/work/.error || exit 0;                             cd /var/tmp/pkgbuild/lang/perl5/work/.error;                                            for file in ./*; do                                             test "$file" != "./*" || exit 0;                        break;                                                  done;                                                           /usr/bin/cat * | /usr/pkg/bin/nbsed -e "s|^|ERROR: |" 1>&2;                                     if /usr/pkg/bin/nawk 'END { exit (NR > 0) ? 0 : 1; }' ./*; then                                 /usr/bin/mv -f ./* /var/tmp/pkgbuild/lang/perl5/work/.error-done;                       exit 1;                                                         fi
*** Error code 1

Stop.
bmake[1]: stopped in /srv/pkgsrc/lang/perl5
: commands for target barrier-error-check; set -x; set -e;                                       /usr/bin/rm -f /var/tmp/pkgbuild/lang/perl5/work/.warning/*.tmp;                                        test -d /var/tmp/pkgbuild/lang/perl5/work/.warning || exit 0;                           cd /var/tmp/pkgbuild/lang/perl5/work/.warning;                                          for file in ./*; do                                             test "$file" != "./*" || exit 0;                        break;                                                  done;                                                           /usr/bin/cat ./* | /usr/pkg/bin/nbsed -e "s|^|WARNING: |" 1>&2;                                         /usr/bin/mv -f ./* /var/tmp/pkgbuild/lang/perl5/work/.warning-done
: commands for target barrier-error-check; set -x; set -e;                                       /usr/bin/rm -f /var/tmp/pkgbuild/lang/perl5/work/.error/*.tmp;                                  test -d /var/tmp/pkgbuild/lang/perl5/work/.error || exit 0;                             cd /var/tmp/pkgbuild/lang/perl5/work/.error;                                            for file in ./*; do                                             test "$file" != "./*" || exit 0;                        break;                                                  done;                                                           /usr/bin/cat * | /usr/pkg/bin/nbsed -e "s|^|ERROR: |" 1>&2;                                     if /usr/pkg/bin/nawk 'END { exit (NR > 0) ? 0 : 1; }' ./*; then                                 /usr/bin/mv -f ./* /var/tmp/pkgbuild/lang/perl5/work/.error-done;                       exit 1;                                                         fi
*** Error code 1

Stop.
bmake: stopped in /srv/pkgsrc/lang/perl5


On Mon, Feb 25, 2019 at 3:55 AM Jonathan Perkin <jperkin%joyent.com@localhost> wrote:
* On 2019-02-25 at 06:11 GMT, Julien Savard wrote:

> => Checking for non-existent script interpreters in perl-5.28.1
> *** Error code 1
> Stop.
> bmake[1]: stopped in /srv/pkgsrc/lang/perl5

There's nothing useful here to go on.  Re-run with PKG_DEBUG_LEVEL=2
and see which command is causing this to fail, then we can go from
there.

Thanks,

--
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index