Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[RESOLVED] Upgraded Perl to 5.18, and now Bugzilla 4.4.1....

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
jmanko
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Sun Sep 11, 2005 5:41 pm
Location: NEPA, USA

[RESOLVED] Upgraded Perl to 5.18, and now Bugzilla 4.4.1....

  • Quote

Post by jmanko » Thu Apr 10, 2014 4:11 pm

I upgraded Perl to 5.18 (dev-lang/perl-5.18.2) from 5.16, and Bugzilla to v4.4.1 (www-apps/bugzilla-4.4.1), and now bugzilla isn't working. I ran bugzilla/checksetup.pl, and most of the modules were missing. So, I ran perl-cleaner --reallyall, and that fixed most of them. For the ones still missing I ran the manual command suggested by bugzilla/checksetup.pl. The only required module remaining is DBI-mysql. I emerged dev-perl/DBD-mysql-4.20.0, but it still fails to find mysql. I then ran the following command from the bugzilla directory and I get the following error:

Code: Select all

# cd /var/www/localhost/htdocs/bugzilla
# /usr/bin/perl5.18.2 install-module.pl DBD::mysql
Checking for                 CPAN (v1.81)     ok: found v2.00 
Checking for                 YAML (any)       ok: found v0.73 
Checking for   ExtUtils-MakeMaker (v6.31)     ok: found v6.82 
CPAN: Storable loaded ok (v2.45)
Reading '/root/.cpan/Metadata'
  Database was generated on Wed, 09 Apr 2014 19:41:01 GMT
Installing DBD::mysql version 4.027...
Running install for module 'DBD::mysql'
Running make for C/CA/CAPTTOFU/DBD-mysql-4.027.tar.gz
CPAN: Digest::SHA loaded ok (v5.85)
CPAN: Compress::Zlib loaded ok (v2.06)
Checksum for /root/.cpan/source/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.027.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.92)
DBD-mysql-4.027/
DBD-mysql-4.027/ChangeLog
DBD-mysql-4.027/constants.h
DBD-mysql-4.027/dbdimp.c
DBD-mysql-4.027/dbdimp.h
DBD-mysql-4.027/eg/
DBD-mysql-4.027/lib/
DBD-mysql-4.027/Makefile.PL
DBD-mysql-4.027/Makefile.PL.embedded
DBD-mysql-4.027/MANIFEST
DBD-mysql-4.027/MANIFEST.SKIP
DBD-mysql-4.027/META.json
DBD-mysql-4.027/META.yml
DBD-mysql-4.027/myld
DBD-mysql-4.027/mysql.xs
DBD-mysql-4.027/README.pod
DBD-mysql-4.027/t/
DBD-mysql-4.027/TODO
DBD-mysql-4.027/t/00base.t
DBD-mysql-4.027/t/10connect.t
DBD-mysql-4.027/t/15reconnect.t
DBD-mysql-4.027/t/20createdrop.t
DBD-mysql-4.027/t/25lockunlock.t
DBD-mysql-4.027/t/29warnings.t
DBD-mysql-4.027/t/30insertfetch.t
DBD-mysql-4.027/t/31insertid.t
DBD-mysql-4.027/t/32insert_error.t
DBD-mysql-4.027/t/35limit.t
DBD-mysql-4.027/t/35prepare.t
DBD-mysql-4.027/t/40bindparam.t
DBD-mysql-4.027/t/40bindparam2.t
DBD-mysql-4.027/t/40blobs.t
DBD-mysql-4.027/t/40catalog.t
DBD-mysql-4.027/t/40keyinfo.t
DBD-mysql-4.027/t/40listfields.t
DBD-mysql-4.027/t/40nulls.t
DBD-mysql-4.027/t/40nulls_prepare.t
DBD-mysql-4.027/t/40numrows.t
DBD-mysql-4.027/t/40server_prepare.t
DBD-mysql-4.027/t/40server_prepare_error.t
DBD-mysql-4.027/t/40types.t
DBD-mysql-4.027/t/41bindparam.t
DBD-mysql-4.027/t/41blobs_prepare.t
DBD-mysql-4.027/t/42bindparam.t
DBD-mysql-4.027/t/43count_params.t
DBD-mysql-4.027/t/50chopblanks.t
DBD-mysql-4.027/t/50commit.t
DBD-mysql-4.027/t/51bind_type_guessing.t
DBD-mysql-4.027/t/52comment.t
DBD-mysql-4.027/t/53comment.t
DBD-mysql-4.027/t/55utf8.t
DBD-mysql-4.027/t/60leaks.t
DBD-mysql-4.027/t/65segfault.t
DBD-mysql-4.027/t/65types.t
DBD-mysql-4.027/t/70takeimp.t
DBD-mysql-4.027/t/71impdata.t
DBD-mysql-4.027/t/75supported_sql.t
DBD-mysql-4.027/t/76multi_statement.t
DBD-mysql-4.027/t/80procs.t
DBD-mysql-4.027/t/81procs.t
DBD-mysql-4.027/t/85init_command.t
DBD-mysql-4.027/t/86_bug_36972.t
DBD-mysql-4.027/t/87async.t
DBD-mysql-4.027/t/88async-multi-stmts.t
DBD-mysql-4.027/t/89async-method-check.t
DBD-mysql-4.027/t/90no-async.t
DBD-mysql-4.027/t/91errcheck.t
DBD-mysql-4.027/t/99_bug_server_prepare_blob_null.t
DBD-mysql-4.027/t/lib.pl
DBD-mysql-4.027/t/manifest.t
DBD-mysql-4.027/t/mysql.dbtest
DBD-mysql-4.027/t/mysql.mtest
DBD-mysql-4.027/t/pod.t
DBD-mysql-4.027/t/rt25389-bin-case.t
DBD-mysql-4.027/t/rt50304-column_info_parentheses.t
DBD-mysql-4.027/t/rt83494-quotes-comments.t
DBD-mysql-4.027/t/rt85919-fetch-lost-connection.t
DBD-mysql-4.027/t/rt86153-reconnect-fail-memory.t
DBD-mysql-4.027/t/rt91715.t
DBD-mysql-4.027/lib/Bundle/
DBD-mysql-4.027/lib/DBD/
DBD-mysql-4.027/lib/DBD/mysql/
DBD-mysql-4.027/lib/DBD/mysql.pm
DBD-mysql-4.027/lib/DBD/mysql/GetInfo.pm
DBD-mysql-4.027/lib/DBD/mysql/INSTALL.pod
DBD-mysql-4.027/lib/Bundle/DBD/
DBD-mysql-4.027/lib/Bundle/DBD/mysql.pm
DBD-mysql-4.027/eg/bigint_quotes.pl
DBD-mysql-4.027/eg/bug14979.pl
DBD-mysql-4.027/eg/bug21028.pl
DBD-mysql-4.027/eg/bug30033.pl
DBD-mysql-4.027/eg/bug30033pg.pl
DBD-mysql-4.027/eg/decimal_test.pl
DBD-mysql-4.027/eg/issue21946.pl
DBD-mysql-4.027/eg/prepare_memory_usage.pl
DBD-mysql-4.027/eg/proc_example1.pl
DBD-mysql-4.027/eg/proc_example2.pl
DBD-mysql-4.027/eg/proc_example2a.pl
DBD-mysql-4.027/eg/proc_example2b.pl
DBD-mysql-4.027/eg/proc_example3.pl
DBD-mysql-4.027/eg/proc_example4.pl
CPAN: File::Temp loaded ok (v0.2304)
CPAN: Parse::CPAN::Meta loaded ok (v1.4409)
CPAN: CPAN::Meta loaded ok (v2.132510)
CPAN: Module::CoreList loaded ok (v3.07)

  CPAN.pm: Building C/CA/CAPTTOFU/DBD-mysql-4.027.tar.gz

Perl API version v5.16.0 of DBI does not match v5.18.0 at /usr/lib/perl5/5.18.2/i686-linux-thread-multi/DynaLoader.pm line 213.
BEGIN failed--compilation aborted at /var/www/localhost/htdocs/bugzilla/lib/i686-linux-thread-multi/DBI.pm line 277.
Compilation failed in require at /var/www/localhost/htdocs/bugzilla/lib/i686-linux-thread-multi/DBI/DBD.pm line 3285.
BEGIN failed--compilation aborted at /var/www/localhost/htdocs/bugzilla/lib/i686-linux-thread-multi/DBI/DBD.pm line 3286.
Compilation failed in require at Makefile.PL line 13.
Warning: No success on command[/usr/bin/perl5.18.2 Makefile.PL  LIB="/var/www/localhost/htdocs/bugzilla/lib" INSTALLMAN1DIR="/var/www/localhost/htdocs/bugzilla/lib/man/man1" INSTALLMAN3DIR="/var/www/localhost/htdocs/bugzilla/lib/man/man3" INSTALLBIN="/var/www/localhost/htdocs/bugzilla/lib/bin" INSTALLSCRIPT="/var/www/localhost/htdocs/bugzilla/lib/bin" INSTALLDIRS=perl]
  CAPTTOFU/DBD-mysql-4.027.tar.gz
  /usr/bin/perl5.18.2 Makefile.PL  LIB="/var/www/localhost/htdocs/bugzilla/lib" INSTALLMAN1DIR="/var/www/localhost/htdocs/bugzilla/lib/man/man1" INSTALLMAN3DIR="/var/www/localhost/htdocs/bugzilla/lib/man/man3" INSTALLBIN="/var/www/localhost/htdocs/bugzilla/lib/bin" INSTALLSCRIPT="/var/www/localhost/htdocs/bugzilla/lib/bin" INSTALLDIRS=perl -- NOT OK
Skipping test because of notest pragma
Running make install
  Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine prerequisites
You'll notice that Gentoo dev-perl/DBD-mysql is at version 4.20.0, yet bugzilla tries to install DBD-mysql version 4.027. Not sure why that is.
Last edited by jmanko on Fri Apr 11, 2014 4:48 pm, edited 1 time in total.
"What stands in the way becomes the way." -- Marcus Aurelius
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Thu Apr 10, 2014 6:25 pm

Well, as for the version numbers, that's just different versioning scheme in portage and upstream.
But as for the output, are you sure you've rebuilt dev-perl/DBI ?
..and why does it look for it in /var/www/localhost/htdocs/bugzilla/ in the first place ?

For some reason, I suspect a variation of 'I've installed trash in /usr/local' problem.
Top
jmanko
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Sun Sep 11, 2005 5:41 pm
Location: NEPA, USA

  • Quote

Post by jmanko » Fri Apr 11, 2014 2:33 pm

VoidMage wrote:Well, as for the version numbers, that's just different versioning scheme in portage and upstream.
But as for the output, are you sure you've rebuilt dev-perl/DBI ?
..and why does it look for it in /var/www/localhost/htdocs/bugzilla/ in the first place ?

For some reason, I suspect a variation of 'I've installed trash in /usr/local' problem.
/usr/local/lib/perl5/5.18.2/ does exists. Should it not?
"What stands in the way becomes the way." -- Marcus Aurelius
Top
jmanko
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Sun Sep 11, 2005 5:41 pm
Location: NEPA, USA

  • Quote

Post by jmanko » Fri Apr 11, 2014 4:24 pm

I did some output from Bugzilla/Install/Requirements.pm

Code: Select all

 # ./checksetup.pl 
$VAR1 = {
          'package' => 'DBD-mysql',
          'module' => 'DBD::mysql',
          'blacklist' => [
                           '_'
                         ],
          'version' => '4.001'
        };
Checking for            DBD-mysql (v4.001)    not found 
I then checked which where installed in portage:

Code: Select all

# emerge -p dev-perl/DBD-mysql

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-perl/DBD-mysql-4.20.0 

Check with perl:

Code: Select all

# perl -le 'eval "require $ARGV[0]" and print $ARGV[0]->VERSION' DBD::mysql
4.020
I removed all DBI and DBD files from /var/www/localhost/htdocs/bugzilla/lib/i686-linux-thread-multi, and reran ./checksetup.pl. Didn't work. Ran the suggest installation command, and:

Code: Select all

# /usr/bin/perl5.18.2 install-module.pl DBD::mysql
Checking for                 CPAN (v1.81)     ok: found v2.00 
Checking for                 YAML (any)       ok: found v0.73 
Checking for   ExtUtils-MakeMaker (v6.31)     ok: found v6.94 
Reading '/root/.cpan/Metadata'
  Database was generated on Fri, 11 Apr 2014 13:53:01 GMT
Installing DBD::mysql version 4.027...
Running install for module 'DBD::mysql'
Running make for C/CA/CAPTTOFU/DBD-mysql-4.027.tar.gz
BOOTSTRAPPING Digest::SHA
Checksum for /root/.cpan/source/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.027.tar.gz ok

  CPAN.pm: Building C/CA/CAPTTOFU/DBD-mysql-4.027.tar.gz

Perl API version v5.16.0 of DBI does not match v5.18.0 at /usr/lib/perl5/5.18.2/i686-linux-thread-multi/DynaLoader.pm line 214.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.18.2/i686-linux-thread-multi/DBI.pm line 278.
Compilation failed in require at /usr/local/lib/perl5/5.18.2/i686-linux-thread-multi/DBI/DBD.pm line 3285.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.18.2/i686-linux-thread-multi/DBI/DBD.pm line 3286.
Compilation failed in require at Makefile.PL line 13.
Warning: No success on command[/usr/bin/perl5.18.2 Makefile.PL INSTALLDIRS=site LIB="/var/www/localhost/htdocs/bugzilla/lib" INSTALLMAN1DIR="/var/www/localhost/htdocs/bugzilla/lib/man/man1" INSTALLMAN3DIR="/var/www/localhost/htdocs/bugzilla/lib/man/man3" INSTALLBIN="/var/www/localhost/htdocs/bugzilla/lib/bin" INSTALLSCRIPT="/var/www/localhost/htdocs/bugzilla/lib/bin" INSTALLDIRS=perl]
  CAPTTOFU/DBD-mysql-4.027.tar.gz
  /usr/bin/perl5.18.2 Makefile.PL INSTALLDIRS=site LIB="/var/www/localhost/htdocs/bugzilla/lib" INSTALLMAN1DIR="/var/www/localhost/htdocs/bugzilla/lib/man/man1" INSTALLMAN3DIR="/var/www/localhost/htdocs/bugzilla/lib/man/man3" INSTALLBIN="/var/www/localhost/htdocs/bugzilla/lib/bin" INSTALLSCRIPT="/var/www/localhost/htdocs/bugzilla/lib/bin" INSTALLDIRS=perl -- NOT OK
Skipping test because of notest pragma
Running make install
  Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine prerequisites
"What stands in the way becomes the way." -- Marcus Aurelius
Top
jmanko
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Sun Sep 11, 2005 5:41 pm
Location: NEPA, USA

  • Quote

Post by jmanko » Fri Apr 11, 2014 4:41 pm

The solution was to get rid of the entire /var/www/localhost/htdocs/bugzilla/lib/i686-linux-thread-multi directory! It looks like that is where modules are installed by the bugzilla script, and they overwrite system modules.
"What stands in the way becomes the way." -- Marcus Aurelius
Top
Post Reply

5 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic