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

Tests fail building Perl on vmhgfs #15508

Open
p5pRT opened this issue Aug 11, 2016 · 6 comments
Open

Tests fail building Perl on vmhgfs #15508

p5pRT opened this issue Aug 11, 2016 · 6 comments

Comments

@p5pRT
Copy link

p5pRT commented Aug 11, 2016

Migrated from rt.perl.org#128901 (status was 'open')

Searchable as RT128901$

@p5pRT
Copy link
Author

p5pRT commented Aug 11, 2016

From @nicdoye

Attempting to build perl in Vagrant/VMware Fusion in the vmhgfs filesystem causes some issues.

Historically, I can see similar problems have happened on various filesystems (HP-UX NFS, Cygwin vs ntsec, WinNT vs FAT).

Versions​:
Host OS​: X 10.11.6
Target OS​: CentOS 7.2
VMware Fusion​: 8.1.1
Vagrant​: 1.8.4
Perl​: 5.22.1
Perlbrew​: 0.76

Here are a couple of the issues I've seen.

t/io/fs ....................................................... # Failed test 2 - link a b at io/fs.t line 107
# Failed test 3 - link b c at io/fs.t line 108
# Failed test 4 - link count of triply-linked file at io/fs.t line 118
# got undef
# expected "3"
# Failed test 5 - mode of triply-linked file at io/fs.t line 128
# got "00"
# expected "0664"
# Failed test 7 - chmod going through at io/fs.t line 148
# got "0"
# expected "511"
# Failed test 8 - chmod two files at io/fs.t line 155
# got "1"
# expected "2"
# Failed test 9 - chmod going through to c at io/fs.t line 163
# got "0"
# expected "438"
# Failed test 11 - unlink two files at io/fs.t line 175
# got "1"
# expected "2"
FAILED at test 2

and

cpan/autodie/t/chown .......................................... # Failed test 'Can chown ourselves just fine.'
# at t/chown.t line 24.
# Failed test 'Confirm we're dying on a 'true' chown failure.'
# at t/chown.t line 28.
# got​: '0'
# expected​: '1'
# Looks like you failed 2 tests of 4.
FAILED at test 2

and more...
--
UNIX Person

@p5pRT
Copy link
Author

p5pRT commented Aug 12, 2016

From @jkeenan

On Thu Aug 11 14​:35​:47 2016, nic@​worldofnic.org wrote​:

Attempting to build perl in Vagrant/VMware Fusion in the vmhgfs
filesystem causes some issues.

Historically, I can see similar problems have happened on various
filesystems (HP-UX NFS, Cygwin vs ntsec, WinNT vs FAT).

Versions​:
Host OS​: X 10.11.6
Target OS​: CentOS 7.2
VMware Fusion​: 8.1.1
Vagrant​: 1.8.4
Perl​: 5.22.1
Perlbrew​: 0.76

Here are a couple of the issues I've seen.

t/io/fs ....................................................... #
Failed test 2 - link a b at io/fs.t line 107
# Failed test 3 - link b c at io/fs.t line 108
# Failed test 4 - link count of triply-linked file at io/fs.t line 118
# got undef
# expected "3"
# Failed test 5 - mode of triply-linked file at io/fs.t line 128
# got "00"
# expected "0664"
# Failed test 7 - chmod going through at io/fs.t line 148
# got "0"
# expected "511"
# Failed test 8 - chmod two files at io/fs.t line 155
# got "1"
# expected "2"
# Failed test 9 - chmod going through to c at io/fs.t line 163
# got "0"
# expected "438"
# Failed test 11 - unlink two files at io/fs.t line 175
# got "1"
# expected "2"
FAILED at test 2

and

cpan/autodie/t/chown .......................................... #
Failed test 'Can chown ourselves just fine.'
# at t/chown.t line 24.
# Failed test 'Confirm we're dying on a 'true' chown failure.'
# at t/chown.t line 28.
# got​: '0'
# expected​: '1'
# Looks like you failed 2 tests of 4.
FAILED at test 2

and more...

Can you supply the output of this command, invoked in the top-level directory in which you were attempting to build Perl, and attach it to this ticket?

./perl -Ilib -V

Thank you very much.
--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Aug 12, 2016

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Aug 14, 2016

From @nicdoye

Hi,

please find attached the output from perl -Ilib -V and the full log.

Nic
--
UNIX Person

@p5pRT
Copy link
Author

p5pRT commented Aug 14, 2016

From @nicdoye

[vagrant@​localhost perl-5.22.1]$ LD_LIBRARY_PATH=. !./p
LD_LIBRARY_PATH=. ./perl -Ilib -V
Summary of my perl5 (revision 5 version 22 subversion 1) configuration​:

  Platform​:
  osname=linux, osvers=3.10.0-327.el7.x86_64, archname=x86_64-linux-thread-multi
  uname='linux localhost.localdomain 3.10.0-327.el7.x86_64 #1 smp thu nov 19 22​:10​:57 utc 2015 x86_64 x86_64 x86_64 gnulinux '
  config_args='-de -Dprefix=/opt/orion/packages/perlbrew/perls/perl-5.22.1-ithreads­libperl -Dfirstmakefile=GNUmakefile -Dcccdlflags=-fPIC -Duseshrplib -Duseithreads -Aeval​:scriptdir=/opt/orion/packages/perlbrew/perls/perl-5.22.1-ithreads­libperl/bin'
  hint=recommended, useposix=true, d_sigaction=define
  useithreads=define, usemultiplicity=define
  use64bitint=define, use64bitall=define, uselongdouble=undef
  usemymalloc=n, bincompat5005=undef
  Compiler​:
  cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2',
  optimize='-O2',
  cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
  ccversion='', gccversion='4.8.5 20150623 (Red Hat 4.8.5-4)', gccosandvers=''
  intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
  ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
  alignbytes=8, prototype=define
  Linker and Libraries​:
  ld='cc', ldflags =' -fstack-protector-strong -L/usr/local/lib'
  libpth=/usr/local/lib /usr/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64 /usr/lib64 /usr/local/lib64
  libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
  perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
  libc=libc-2.17.so, so=so, useshrplib=true, libperl=libperl.so
  gnulibc_version='2.17'
  Dynamic Linking​:
  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/opt/orion/packages/perlbrew/perls/perl-5.22.1-ithreads­libperl/lib/5.22.1/x86_64-linux-thread-multi/CORE'
  cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong'

Characteristics of this binary (from libperl)​:
  Compile-time options​: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
  PERL_DONT_CREATE_GVSV
  PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
  PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
  PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
  USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
  USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
  USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
  USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
  Locally applied patches​:
  Devel​::PatchPerl 1.38
  Built under linux
  Compiled at Aug 14 2016 14​:57​:24
  %ENV​:
  PERLBREW_BASHRC_VERSION="0.76"
  PERLBREW_HOME="/home/vagrant/.perlbrew"
  PERLBREW_ROOT="/opt/orion/packages/perlbrew"
  @​INC​:
  lib
  /opt/orion/packages/perlbrew/perls/perl-5.22.1-ithreads­libperl/lib/site_perl/5.22.1/x86_64-linux-thread-multi
  /opt/orion/packages/perlbrew/perls/perl-5.22.1-ithreads­libperl/lib/site_perl/5.22.1
  /opt/orion/packages/perlbrew/perls/perl-5.22.1-ithreads­libperl/lib/5.22.1/x86_64-linux-thread-multi
  /opt/orion/packages/perlbrew/perls/perl-5.22.1-ithreads­libperl/lib/5.22.1
  .

@p5pRT
Copy link
Author

p5pRT commented Aug 14, 2016

From @nicdoye

build.perl-5.22.1.log

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

No branches or pull requests

2 participants