Project

General

Profile

Actions

Bug #8793

closed

libbsm build failure with recent perl

Added by Andy Fiddaman almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2017-11-10
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

Perl 5.26 has removed '.' (current directory) from the include path by default and this change has been backported to earlier versions of perl too.

http://perldoc.perl.org/perl5260delta.html#Removal-of-the-current-directory-(%22.%22)-from-%40INC

With this change, libbsm no longer builds as it loads a module from the current directory.

/usr/bin/perl auditxml -o common common/adt.xml
Can't locate auditxml.pm in @INC (you may need to install the auditxml module) (@INC contains: /usr/perl5/site_perl/5.26/i86pc-solaris-thread-multi-64
/usr/perl5/site_perl/5.26 /usr/perl5/vendor_perl/5.26/i86pc-solaris-thread-multi-64 /usr/perl5/vendor_perl/5.26 /usr/perl5/5.26/lib/i86pc-solaris-thread-multi-64
/usr/perl5/5.26/lib) at auditxml line 43.
BEGIN failed--compilation aborted at auditxml line 43.
Actions #1

Updated by Electric Monk almost 5 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit fa4b26fb5b73dd0f0319a34c6046034202e60bc6

commit  fa4b26fb5b73dd0f0319a34c6046034202e60bc6
Author: Dominik Hassler <hadfl@omniosce.org>
Date:   2017-11-16T15:43:30.000Z

    8793 libbsm build failure with recent perl
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Reviewed by: Ken Mays <maybird1776@hotmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF