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




Am 25.02.2019 um 18:15 schrieb Julien Savard:
>  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

Please have a look at the files in
/var/tmp/pkgbuild/lang/perl5/work/.error and
/var/tmp/pkgbuild/lang/perl5/work/.warning. I suspect that there is an
empty file there.

These files are created by ${ERROR_MSG}, ${FAIL_MSG} and ${WARNING_MSG}.
These commands are defined in mk/bsd.pkg.mk. To further analyze this,
you may override these with a custom command that pauses until you press
Enter. Then you will see exactly at which point these files are written.

The actual cause might be an error message that has a shell redirection
in it, such as:

    ${ERROR_MSG} Cannot continue -> stopping.

This would interpret the ">" as a shell redirection. That's my first
guess, it may also be something entirely different.

Best,
Roland


Home | Main Index | Thread Index | Old Index