Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perl5.05_63 XSLoader failure in File::Glob on OpenBSD 2.6 #1006

p5pRT opened this issue Dec 30, 1999 · 2 comments

perl5.05_63 XSLoader failure in File::Glob on OpenBSD 2.6 #1006

p5pRT opened this issue Dec 30, 1999 · 2 comments


Copy link

p5pRT commented Dec 30, 1999

Migrated from (status was 'resolved')

Searchable as RT1956$

Copy link

p5pRT commented Dec 30, 1999


When you try to do a make install, you get this​:

  ./perl installperl
  Can't load 'lib/auto/File/Glob/' for module File​::Glob​:
  No such file or directory at lib/ line 73.
  at lib/File/ line 94

  Compilation failed in require at installperl line 65.
  BEGIN failed--compilation aborted at installperl line 65.

That's what's happening with make install, which hacks up its own @​INC.

I get 100% compliance on make test, too. (Well, once rand#7 failed,
but not repeatably!).

Here's a bit more investigation​:

  % pwd

  % ./perl -le 'print <*.y>'
  Can't locate File/ in @​INC (@​INC contains​: /usr/local/lib/perl5/5.00563/OpenBSD.i386-openbsd /usr/local/lib/perl5/5.00563 /usr/local/lib/site_perl/5.00563/OpenBSD.i386-openbsd /usr/local/lib/site_perl .) at -e line 1.
  BEGIN failed--compilation aborted at -e line 1.
  Exit 2

  % ./perl -Ilib -le 'print <*.y>'
  Can't load 'lib/auto/File/Glob/' for module File​::Glob​: No such file or directory at lib/ line 73.
  at lib/File/ line 94
  Compilation failed in require at -e line 1.
  BEGIN failed--compilation aborted at -e line 1.
  Exit 255

  % ls -l lib/auto/File/Glob/
  -rwxr-xr-x 1 tchrist wheel 17971 Dec 11 08​:30 lib/auto/File/Glob/

Now, isn't that odd? It's there, but it can't find it. Let's
try something else...

  % ./perl -I $cwd/lib -le 'print <*.y>'

See that? If you give a path that's absolute, not relative,
it works. Isn't that interesting? It gets better.

  % cd t
  % ../perl op/glob.t
  ok 1
  ok 2
  ok 3
  ok 4
  ok 5
  ok 6

Now, why did that work. Oh. The test loads @​INC to contain

  % ../perl -I ../lib -le 'print join(" ", <*>)'
  README TEST UTEST base cmd comp harness io lib op perl pod pragma

So it's not just absolute it works in. It's ok with "../lib"
as well.

I started looking through for instances of "dir"
and path mungeing, but there's so much of it, I thought I'd stop
now and mail it in.

Here's what I'm running​:

  % ./perl -Ilib -V
  Summary of my perl5 (revision 5.0 version 5 subversion 63) configuration​:
  osname=openbsd, osvers=2.6, archname=OpenBSD.i386-openbsd
  uname='openbsd neldoreth 2.6 generic#680 i386 '
  hint=recommended, useposix=true, d_sigaction=define
  usethreads=undef useperlio=undef d_sfio=undef
  use64bits=undef usemultiplicity=undef
  cc='cc', optimize='-O2', gccversion=2.95.1 19990816 (release)
  cppflags='-fno-strict-aliasing -I/usr/local/include'
  ccflags ='-fno-strict-aliasing -I/usr/local/include'
  stdchar='char', d_stdstdio=undef, usevfork=true
  intsize=4, longsize=4, ptrsize=4, doublesize=8
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
  alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries​:
  ld='ld', ldflags =' -L/usr/local/lib'
  libpth=/usr/local/lib /usr/lib
  libs=-lm -lc
  libc=/usr/lib/, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking​:
  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=define, ccdlflags=' '
  cccdlflags='-DPIC -fPIC ', lddlflags='-Bforcearchive -Bshareable -L/usr/local/lib'

  Characteristics of this binary (from libperl)​:
  Compile-time options​:
  Built under openbsd
  Compiled at Dec 11 1999 08​:24​:52


Copy link

p5pRT commented Nov 28, 2003

From [Unknown Contact. See original ticket]

perlbugtron@​ wrote​:

Automatic response from the Perlbug database - v2.23

The Perlbug email interface has 2 interfaces, the first is addressed
by sending an email with the following form​:

    To&#8203;: bugdb@&#8203;perl\.org
    Subject&#8203;: \(\-opt \(args\)\*\)\+

Switches are sent on the subject line, dash may be omitted if only option​:
A = Administration command and return bugs (-A c build 19990606.002 [...])
a = administration command - cmds bugids (-a close b 19990606.002 [...])
B = bug retrieval including messages (-B 19990606.002 [...])
b = bug retrieval by bugid (-b 19990606.002 [...])
c = category bug retrieval, status, etc. (-c [status/ctgry/sev...])
C = Category as per -B (-C [status/ctgry/sev...])
d = debug flag data goes in logfile (-d )
D = Database dump retrieval by email (-D )
e = email a copy to me too (-e emaila.copy@​
f = format of data ascii|html|lean (-f [aA|hH|l])
H = Heavier Help (-H )
h = help - this message (-h )
L = Logfile - todays complete retrieval (-L )
l = log of current process (-l )
m = retrieval by messageid (-m 13 47 23 [...])
n = note retrieval (-n 76 33 1 [...])
o = overview of bugs in db (-o )
p = patch retrieval (-p patchid)
Q = Query the schema for the db (-Q )
q = query the db directly (-q select * from tm_flags where 1 = 0)
R = body search criteria as per -B (-R d_sigaction=define)
r = body search criteria (-r d_sigaction=define)
S = Subject search as per -B (-S bug in docs)
s = subject search by literal (-s bug in docs)
t = test retrieval by testid (-t 77 [...])
u = user retrieval by userid (-u richardf [...])
v = volunteer bug category etc. (-v 19990606.002 close)
X = Xterminate bug - and messages (-X 19990606.002 [...])
x = xterminate bug - remove bug (-x 19990606.002 [...])
y = yet another password (-y )

A couple of examples​:

    To&#8203;: bugdb@&#8203;perl\.org
    Subject&#8203;: \-o \-s define \-m 1 55 999 \-e copy@&#8203;me\.too

    To&#8203;: bugdb@&#8203;perl\.org
    Subject&#8203;: \-o \-c open patch macos \-b \<bugid1> \<bugid2> \-e copy@&#8203;me\.too

There is also a new email interface with an alternative command structure,
note that from here on the subject line is completely ignored​:

    To&#8203;: propose\_close\_\<bugid>@&#8203;bugs\.perl\.org
    Subject&#8203;: requests will go to active bug administrator for their attention

    To&#8203;: register@&#8203;bugs\.perl\.org
    Subject&#8203;: perlbug admin registration request
    Body&#8203;: if not a subscriber to the master\(p5p\)list\, request will be forwarded
      to the relevant administrator for their attention

    To&#8203;: admins@&#8203;bugs\.perl\.org
    Subject&#8203;: this will forward the mail onto all active bug adminstrators
    Body&#8203;: forwarded mail\.\.\.

Other useful (self-explanatory) commands are​:

    To&#8203;: \(help|info|overview\)@&#8203;bugs\.perl\.org

Administration commands may also be sent in against particular bugids
using the *@​ address, the subject line is ignored​:

    To&#8203;: close\_\<bugid>\_install@&#8203;bugs\.perl\.org

Patches may be assigned to one or more bugs, and should have a changeID
assigned. The bug/s (if given) will be marked as closed and the patch
entered into the database, with the changeid and version number if parseable​:

    To&#8203;: patch\_\<bugid>\_\<changeid>\_\<versionno>@&#8203;bugs\.perl\.org

Formatting of IDs is relevant​:

    Bugid      =~ /\\d\{8\}\\\.\\d\{3\}/   \-> 19990321\.007\, 20130313\.013
    Changeid   =~ /\\d\+/            \-> 3821\, 21\, 9182732
    Versionno  =~ /\\d\+\\\.\[\\d\+\\\.\]\+/  \-> 5\.6\.0\, 5\.6\.0\.32

Notes may also be mailed against a given bug, as well as when administrating​:

    To&#8203;: note\_\<bugid>@&#8203;bugs\.perl\.org

When using the email interface, keywords need to be at the beginning, ie​:

To&#8203;: /^\(patch|note|test|help\)\_xyz@&#8203;bugs\.perl\.org

Also, if you don't want to Cc​: everyone else, add 'nocc' to your commands​:

    To&#8203;: patch\_\<bugid>\_nocc@&#8203;bugs\.perl\.org

    To&#8203;: busy\_\<bugid>\_nocc\_hpux@&#8203;bugs\.perl\.org

Subject​: Not OK​: perl 5.00561 on i386-openbsd 2.5
BugID : 19990825.002 Status​: open
Created​: 1999-08-25 04​:43​:29 Category​: unknown
Version​: 5.00561. Severity​: medium
Fixed in​: Os​: generic
Patch Ids​:
Sourceaddr​: "Todd C. Miller" <Todd.Miller@​>
MessageIDs​: 3279

Subject​: perl5.05_63 XSLoader failure in File​::Glob on OpenBSD 2.6
BugID : 19991230.001 Status​: open
Created​: 1999-12-30 05​:43​:55 Category​: unknown
Version​: 5 Severity​: medium
Fixed in​: Os​: generic
Patch Ids​:
Sourceaddr​: Tom Christiansen <tchrist@​>
MessageIDs​: 5193

Message from the Perlbug squashing team at 'perlbug@​'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant