Hi Alan,

This occurs when 64-bit Perl is installed, since it's preferentially picked
up by isaexec. It can't see the modules in the 32-bit PERL_ARCH paths.[1]
One workaround is to set ISALIST=i386 before building auditrecord to force
32-bit Perl. Should be able to verify with /usr/perl5/bin/perl -V

[1]: http://comments.gmane.org/gmane.os.illumos.devel/24154


-Albert

On Wed, Jan 6, 2016 at 11:04 AM Alan Somers <[email protected]> wrote:

> After successfully building Illumos a few times, I can't do it any
> longer.  Whenever, I try, I get the following perl-related error.  The
> only changes I've made to my repository are a few ZFS-related things,
> so I don't have any idea what's wrong with perl.  Does anybody have
> any suggestions?
>
> Can't locate Sun/Solaris/Utils.pm in @INC (@INC contains:
> .../perl/contrib
> /usr/perl5/site_perl/5.16.1/i86pc-solaris-thread-multi-64
> /usr/perl5/site_perl/5.16.1
> /usr/perl5/vendor_perl/5.16.1/i86pc-solaris-thread-multi-64
> /usr/perl5/vendor_perl/5.16.1
> /usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64
> /usr/perl5/5.16.1/lib .) at ./mkmsg line 42.
> BEGIN failed--compilation aborted at ./mkmsg line 42.
> *** Error code 2
> install -s -d -m 755
> /tank/src/usr/home/alans/src/openzfs/proto/root_i386/catalog/SUNW_OST_OSCMD
> dmake: Warning: Target `_msg' not remade because of errors
> Current working directory
> /tank/src/usr/home/alans/src/openzfs/usr/src/cmd/auditrecord
> *** Error code 1
> dmake: Warning: Command failed for target `auditrecord'
>
>
> The file _does_ exist in both source and installed directories, as the
> following command shows:
>
> # find / -path '*Sun/Solaris/Utils.pm'
>
> /tank/src/usr/home/alans/src/illumos-gate/proto/root_i386/usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64int/Sun/Solaris/Utils.pm
>
> /tank/src/usr/home/alans/src/openzfs/proto/root_i386/usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64int/Sun/Solaris/Utils.pm
> /usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64int/Sun/Solaris/Utils.pm
>
> I've copied my env file and nightly.log to
> https://people.freebsd.org/~asomers/illumos/
>
> -Alan
> _______________________________________________
> developer mailing list
> [email protected]
> http://lists.open-zfs.org/mailman/listinfo/developer
>
_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to