[rt-users] Fedora 20 / Perl 5.18

CLOSE Dave Dave.Close at us.thalesgroup.com
Tue Feb 18 15:25:38 EST 2014

Kevin Falcone wrote:

> Since you failed to indicate your deployment method in your original
> email, you forced us to guess and grasp at straws.

But I wrote, "After upgrading my RT server (4.2.1) from Fedora 19 / Perl
5.16 to Fedora 20 / Perl 5.18...". In the Fedora world, an upgrade is a
specific YUM operation. Sorry if that wasn't clear.

>>>> CORE missing dependencies:
>>>>            Data::GUID ...MISSING
>>>>                    Perl API version v5.16.0 of v does not match v5.18.0 at
>>>> /usr/lib64/perl5/DynaLoader.pm line 213.
>>>> But the perl-Data-GUID package is /not/ missing.
>>>> # ls -l /usr/share/perl5/vendor_perl/Data/GUID.pm
>>>> -rw-r--r-- 1 root root 8799 2013-12-13 05:23
>>>> /usr/share/perl5/vendor_perl/Data/GUID.pm
>>> Those are two different paths.
>> Of course, they are. One is the program which detected the error, the
>> other is the file about which it is complaining. But what the heck is "v"?
> Which one is a program, they both look like perl modules to me
> /usr/lib64/perl5/DynaLoader.pm
> /usr/share/perl5/vendor_perl/Data/GUID.pm

Interpreted programs are still programs. The problem was detected at
line 213 in DynaLoader.pm.

>>> Ensure that when you're in the upgrade directory you have perl-5.18 in
>>> your path before perl-5.16 before running configure.
>>> You appear to have a few perls and differing 32bit vs 64bit problems.
>> I have only one perl installed and no relevant 32-bit packages. Why do
>> you think otherwise?
> Because one is installed in /usr/share/perl5 the standard RH perl
> library path for site_lib.  The other is installed in a specific lib64
> path and is *clearly* a leftover from a 5.16 install (or is detecting
> in your @INC something left over from 5.16).

"Clearly" not.

# rpm -ql perl-Data-GUID

The file is where the RPM package wants to put it.

> When you upgraded this box and perl was upgraded, did the RPM clean
> out the old site installed modules because of binary incompatibility?
> I'll repeat my advice:
>>> Ensure that when you're in the upgrade directory you have perl-5.18 in
>>> your path before perl-5.16 before running configure.
> If it's still failing after you re run configure with perl-5.18 in
> your path, please show a full error,  Then show us perl -V.
> A full error includes attempting to *install* Data::GUID, not merely
> RT telling you that it isn't installed.

# which perl
# perl -V
Summary of my perl5 (revision 5 version 18 subversion 2) configuration:

     osname=linux, osvers=3.11.9-200.fc19.x86_64,
     uname='linux buildvm-12.phx2.fedoraproject.org
3.11.9-200.fc19.x86_64 #1 smp wed nov 20 21:22:24 utc 2013 x86_64 x86_64
x86_64 gnulinux '
     config_args='-des -Doptimize=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic
-Dccdlflags=-Wl,--enable-new-dtags -Dlddlflags=-shared -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic
-Wl,-z,relro  -Dshrpdir=/usr/lib64 -DDEBUGGING=-g -Dversion=5.18.2
-Dmyhostname=localhost -Dperladmin=root at localhost -Dcc=gcc -Dcf_by=Red
Hat, Inc. -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr/local
-Dsitelib=/usr/local/share/perl5 -Dsitearch=/usr/local/lib64/perl5
-Dprivlib=/usr/share/perl5 -Dvendorlib=/usr/share/perl5/vendor_perl
-Darchlib=/usr/lib64/perl5 -Dvendorarch=/usr/lib64/perl5/vendor_perl
-Darchname=x86_64-linux-thread-multi -Dlibpth=/usr/local/lib64 /lib64
/usr/lib64 -Duseshrplib -Dusethreads -Duseithreads
-Dusedtrace=/usr/bin/dtrace -Duselargefiles -Dd_semctl_semun -Di_db
-Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio
-Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly
-Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto
-Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto
-Ud_endservent_r_proto -Ud_setservent_r_proto -Dscriptdir=/usr/bin
     hint=recommended, useposix=true, d_sigaction=define
     useithreads=define, usemultiplicity=define
     useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
     use64bitint=define, use64bitall=define, uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
     cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
     optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic',
     cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include'
     ccversion='', gccversion='4.8.2 20131212 (Red Hat 4.8.2-7)',
     intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
     ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='gcc', ldflags =' -fstack-protector'
     libpth=/usr/local/lib64 /lib64 /usr/lib64
     libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread
-lc -lgdbm_compat
     perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
     libc=, so=so, useshrplib=true, libperl=libperl.so
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
     cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic
-Wl,-z,relro '

Characteristics of this binary (from libperl):
                         USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
   Locally applied patches:
         Fedora Patch1: Removes date check, Fedora/RHEL specific
         Fedora Patch3: support for libdir64
         Fedora Patch4: use libresolv instead of libbind
         Fedora Patch5: USE_MM_LD_RUN_PATH
         Fedora Patch6: Skip hostname tests, due to builders not being
network capable
         Fedora Patch7: Dont run one io test due to random builder failures
         Fedora Patch9: Fix find2perl to translate ? glob properly
         Fedora Patch10: Update h2ph(1) documentation (RT#117647)
         Fedora Patch11: Update pod2html(1) documentation (RT#117623)
         Fedora Patch12: Disable ornaments on perl5db AutoTrace tests
         Fedora Patch14: Do not use system Term::ReadLine::Gnu in tests
         Fedora Patch15: Define SONAME for libperl.so
         Fedora Patch16: Install libperl.so to -Dshrpdir value
         Fedora Patch18: Fix crash with \&$glob_copy (RT#119051)
         Fedora Patch19: Fix coreamp.t rand test (RT#118237)
         Fedora Patch20: Reap child in case where exception has been
thrown (RT#114722)
         Fedora Patch21: Fix using regular expressions containing
multiple code blocks (RT#117917)
         Fedora Patch200: Link XS modules to libperl.so with
EU::CBuilder on Linux
         Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux
   Built under linux
   Compiled at Jan  7 2014 14:47:21
     PERL_MB_OPT="--install_base /root/perl5"
# yum install perl-Data-GUID
Package perl-Data-GUID-0.048-1.fc20.noarch already installed and latest
Nothing to do
# ./configure --enable-graphviz --enable-gd
checking for a BSD-compatible install... /bin/install -c
checking for perl... /bin/perl
checking for chosen layout... relative
checking if user www exists... not found
checking if user www-data exists... not found
checking if user apache exists... found
checking if group www exists... not found
checking if group www-data exists... not found
checking if group apache exists... found
checking if group rt3 exists... not found
checking if group rt exists... found
checking if database name is set... yes
checking if database name is valid... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for aginitlib in -lgraph... no
checking for gdlib-config... no
checking for gpg... yes
checking for openssl... yes
configure: creating ./config.status
config.status: creating etc/upgrade/3.8-ical-extension
config.status: creating etc/upgrade/split-out-cf-categories
config.status: creating etc/upgrade/generate-rtaddressregexp
config.status: creating etc/upgrade/upgrade-articles
config.status: creating etc/upgrade/vulnerable-passwords
config.status: creating etc/upgrade/switch-templates-to
config.status: creating sbin/rt-attributes-viewer
config.status: creating sbin/rt-preferences-viewer
config.status: creating sbin/rt-session-viewer
config.status: creating sbin/rt-dump-metadata
config.status: creating sbin/rt-setup-database
config.status: creating sbin/rt-test-dependencies
config.status: creating sbin/rt-email-digest
config.status: creating sbin/rt-email-dashboards
config.status: creating sbin/rt-clean-sessions
config.status: creating sbin/rt-shredder
config.status: creating sbin/rt-validator
config.status: creating sbin/rt-validate-aliases
config.status: creating sbin/rt-email-group-admin
config.status: creating sbin/rt-server
config.status: creating sbin/rt-server.fcgi
config.status: creating sbin/standalone_httpd
config.status: creating sbin/rt-setup-fulltext-index
config.status: creating sbin/rt-fulltext-indexer
config.status: creating sbin/rt-serializer
config.status: creating sbin/rt-importer
config.status: creating bin/rt-crontool
config.status: creating bin/rt-mailgate
config.status: creating bin/rt
config.status: creating Makefile
config.status: creating etc/RT_Config.pm
config.status: creating lib/RT/Generated.pm
config.status: creating t/data/configs/apache2.2+mod_perl.conf
config.status: creating t/data/configs/apache2.2+fastcgi.conf
# make install
/bin/perl ./sbin/rt-test-dependencies --verbose --with-mysql --with-fastcgi
         >=5.10.1(5.18.2) ...found
         rt group (rt) ...found
         bin owner (root) ...found
         libs owner (root) ...found
         libs group (bin) ...found
         web owner (apache) ...found
         web group (apache) ...found
CLI dependencies:
         HTTP::Request::Common ...found
         Getopt::Long >= 2.24 ...found
         LWP ...found
         Text::ParseWords ...found
         Term::ReadKey ...found
         Term::ReadLine ...found
CORE dependencies:
         CGI >= 3.38 ...found
         UNIVERSAL::require ...found
         Log::Dispatch >= 2.30 ...found
         Mail::Mailer >= 1.57 ...found
         XML::RSS >= 1.05 ...found
         CGI::Cookie >= 1.20 ...found
         Regexp::Common::net::CIDR ...found
         Role::Basic >= 0.12 ...found
         LWP::Simple ...found
         Scalar::Util ...found
         Plack::Handler::Starlet ...found
         HTML::Mason::PSGIHandler >= 0.52 ...found
         HTML::Entities ...found
         Errno ...found
         File::ShareDir ...found
         Digest::SHA ...found
         Mail::Header >= 2.12 ...found
         Text::Wrapper ...found
         HTML::Scrubber >= 0.08 ...found
         Symbol::Global::Name >= 0.04 ...found
         CGI::Emulate::PSGI ...found
         Text::Template >= 1.44 ...found
         Regexp::IPv6 ...found
         Time::ParseDate ...found
         Tree::Simple >= 1.04 ...found
         Text::Quoted >= 2.07 ...found
         Time::HiRes ...found
         Email::Address::List ...found
         Class::Accessor >= 0.34 ...found
         HTML::Quoted ...found
         Encode >= 2.39 ...found
         File::Spec >= 0.8 ...found
         Digest::MD5 >= 2.27 ...found
         Digest::base ...found
         DBIx::SearchBuilder >= 1.65 ...found
         HTML::FormatText::WithLinks::AndTables ...found
         Locale::Maketext::Lexicon >= 0.32 ...found
         File::Temp >= 0.19 ...found
         Date::Manip ...found
         HTTP::Message >= 6.0 ...found
         HTML::RewriteAttributes >= 0.05 ...found
         Apache::Session >= 1.53 ...found
         Storable >= 2.08 ...found
         Plack >= 1.0002 ...found
         Net::CIDR ...found
         HTML::FormatText::WithLinks >= 0.14 ...found
         Text::Password::Pronounceable ...found
         DateTime::Format::Natural >= 0.67 ...found
         CGI::PSGI >= 0.12 ...found
         Data::GUID ...MISSING
                 Perl API version v5.16.0 of v does not match v5.18.0 at
/usr/lib64/perl5/DynaLoader.pm line 213.
         JSON ...found
         Locale::Maketext >= 1.06 ...found
         Date::Extract >= 0.02 ...found
         DateTime::Locale >= 0.40 ...found
         Crypt::Eksblowfish ...found
         IPC::Run3 ...found
         Text::WikiFormat >= 0.76 ...found
         HTML::Mason >= 1.43 ...found
         MIME::Entity >= 5.504 ...found
         Module::Versions::Report >= 1.05 ...found
         DBI >= 1.37 ...found
         DateTime >= 0.44 ...found
         Regexp::Common ...found
         CSS::Squish >= 0.06 ...found
         Sys::Syslog >= 0.16 ...found
         List::MoreUtils ...found
         Devel::GlobalDestruction ...found
         Module::Refresh >= 0.03 ...found
         Devel::StackTrace >= 1.19 ...found
         Locale::Maketext::Fuzzy >= 0.11 ...found
         File::Glob ...found
         Email::Address >= 1.897 ...found
DASHBOARDS dependencies:
         MIME::Types ...found
         URI::QueryParam ...found
         URI >= 1.59 ...found
FASTCGI dependencies:
         FCGI >= 0.74 ...found
         FCGI::ProcManager ...found
GD dependencies:
         GD::Text ...found
         GD ...found
         GD::Graph >= 1.47 ...found
GPG dependencies:
         PerlIO::eol ...found
         File::Which ...found
         GnuPG::Interface ...found
GRAPHVIZ dependencies:
         IPC::Run >= 0.90 ...found
         GraphViz ...found
ICAL dependencies:
         Data::ICal ...found
MAILGATE dependencies:
         Mozilla::CA ...found
         LWP::Protocol::https ...found
         Crypt::SSLeay ...found
         LWP::UserAgent >= 6.0 ...found
         Getopt::Long ...found
         Net::SSL ...found
         Pod::Usage ...found
MYSQL dependencies:
         DBD::mysql >= 2.1018 ...found
SMIME dependencies:
         Crypt::X509 ...found
         String::ShellQuote ...found
         File::Which ...found
USERLOGO dependencies:
         Convert::Color ...found

CORE missing dependencies:
         Data::GUID ...MISSING
                 Perl API version v5.16.0 of v does not match v5.18.0 at
/usr/lib64/perl5/DynaLoader.pm line 213.

Perl library path for /bin/perl:
make: *** [testdeps] Error 1
Dave Close, Thales Avionics, Irvine California USA.
cell +1 949 394 2124, dave.close at us.thalesgroup.com

More information about the rt-users mailing list