Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Is the move perl-5.10 involved here (http://www.linux-archive.org/gentoo-user/335314-move-perl-5-10-involved-here.html)

Harry Putnam 03-03-2010 04:21 PM

Is the move perl-5.10 involved here
 
I'm having trouble when revdep-rebuild tries to emerge
dev-perl/DBD-mysql

I can't really make much sense of the output but I see it involves
scripting from perl-5.8.8

I've included the tail of the emerge below, and below that the output
of emerge --info =dev-perl/DBD-mysql-4.01.3 as suggested by emerge output.

I did run `USE="build" emerge -v DBD-mysql' as suggested somewhere in
the ouput. The tail below is from that:

[...]

>>> Emerging (1 of 1) dev-perl/DBD-mysql-4.01.3
* DBD-mysql-4.013.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
* CPV: dev-perl/DBD-mysql-4.01.3
* REPO: gentoo
* USE: build elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking DBD-mysql-4.013.tar.gz to /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work
>>> Source unpacked in /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work
>>> Compiling source in /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work/DBD-mysql-4.013 ...
* Using ExtUtils::MakeMaker
Use of uninitialized value in subroutine entry at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223.
object version 1.609 does not match $::VERSION %_ at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI.pm line 263.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3225.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3226.
Compilation failed in require at Makefile.PL line 24.
* ERROR: dev-perl/DBD-mysql-4.01.3 failed:
* Unable to build! (are you using USE="build"?)
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 2896: Called perl-module_src_compile
* environment, line 2585: Called perl-module_src_prep
* environment, line 2657: Called die
* The specific snippet of code:
* perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR='none' DESTDIR="${D}" ${myconf} <<< "${pm_echovar}" || die "Unable to build! (are you using USE="build"?)";

------- --------- ---=--- --------- --------
Below here is the output of emerge --info =dev-perl/DBD-mysql-4.01.3
------- --------- ---=--- --------- --------

Portage 2.1.7.17 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11-r1, 2.6.32-gentoo-r1 i686)
================================================== ===============
System Settings
================================================== ===============
System uname: Linux-2.6.32-gentoo-r1-i686-Intel-R-_Celeron-R-_CPU_3.06GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 02 Mar 2010 17:30:01 +0000
app-shells/bash: 4.1_p2
dev-lang/python: 2.6.4-r1, 3.1.1-r1
dev-util/cmake: 2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.6.0-r1
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13, 2.65
sys-devel/automake: 1.10.3, 1.11.1
sys-devel/binutils: 2.20-r1
sys-devel/gcc: 4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.32
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://mirror.datapipe.net/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo/ http://gentoo.cs.lewisu.edu/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d acl acpi alsa apache2 aspell berkdb branding bzip2 cairo cli cracklib cscope cups cxx dbus dri emacs exif ffmpeg fortran gdbm gif gpm hal iconv jpeg lock logrotate mbox modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre pdf perl png pppd python readline reflection samba sasl session spl ssl startup-notification subversion svg sysfs tcpd thunar tiff unicode vim-pager vim-with-x win32codecs x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

================================================== ===============
Package Settings
================================================== ===============

dev-perl/DBD-mysql-4.01.3 was built with the following:
USE=""

Willie Wong 03-03-2010 04:30 PM

Is the move perl-5.10 involved here
 
On Wed, Mar 03, 2010 at 11:21:35AM -0600, Harry Putnam wrote:
<snip>
> >>> Unpacking source...
> >>> Unpacking DBD-mysql-4.013.tar.gz to /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work
> >>> Source unpacked in /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work
> >>> Compiling source in /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work/DBD-mysql-4.013 ...
> * Using ExtUtils::MakeMaker
> Use of uninitialized value in subroutine entry at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223.
> object version 1.609 does not match $::VERSION %_ at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223.
> BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI.pm line 263.
> Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3225.
> BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3226.

Have you tried perl-cleaner?

http://www.gentoo.org/proj/en/perl/perl-cleaner.xml

W
--
Willie W. Wong wwong@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire
et vice versa ~~~ I. Newton

Harry Putnam 03-04-2010 03:52 PM

Is the move perl-5.10 involved here
 
Willie Wong <wwong@Math.Princeton.EDU> writes:

> On Wed, Mar 03, 2010 at 11:21:35AM -0600, Harry Putnam wrote:
> <snip>

>> >>> Unpacking source...
>> >>> Unpacking DBD-mysql-4.013.tar.gz to /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work
>> >>> Source unpacked in /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work
>> >>> Compiling source in /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work/DBD-mysql-4.013 ...

>> * Using ExtUtils::MakeMaker
>> Use of uninitialized value in subroutine entry at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223.
>> object version 1.609 does not match $::VERSION %_ at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223.
>> BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI.pm line 263.
>> Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3225.
>> BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3226.
>
> Have you tried perl-cleaner?
>
> http://www.gentoo.org/proj/en/perl/perl-cleaner.xml

So do you think its related to the update to perl-5.10?

Have you had a similar problem and `perl-cleaner' fixed it?

Neil Bothwick 03-04-2010 04:15 PM

Is the move perl-5.10 involved here
 
On Thu, 04 Mar 2010 10:52:30 -0600, Harry Putnam wrote:

> Have you had a similar problem and `perl-cleaner' fixed it?

Any perl has modules problems after updating perl itself, you should run
perl-cleaner. Or don't wait for the problem and just run it after any
major version upgrade of perl.


--
Neil Bothwick

Pentium instruction of the day: FLI: Flash Lights Impressively

Michael Higgins 03-04-2010 05:12 PM

Is the move perl-5.10 involved here
 
On Thu, 04 Mar 2010 10:52:30 -0600
Harry Putnam <reader@newsguy.com> wrote:

> >> Use of uninitialized value in subroutine entry
> >> at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223. object
> >> version 1.609 does not match $::VERSION %_
> >> at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223. BEGIN
> >> failed--compilation aborted
> >> at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI.pm line 263.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Your perl installation is broken. That is obvious. What you do to fix
it probably should start with perl-cleaner... FWIW my experience with
updating it has been fine.

Basically, why are you asking...

> So do you think its related to the update to perl-5.10?"

and

> Have you had a similar problem and `perl-cleaner' fixed it?

... because either you ran perl-cleaner or you didn't. It does
something you need to do if portage manages perl, so just let it
work. ;-)

Just have a look a perl-cleaner itself if you are concerned.

head `which perl-cleaner`
#!/bin/bash


Cheers,

--
| /| | | ~ ~
| / | |---| `|` ?
| |ichael | |iggins ^ /
michael.higgins[at]evolone[dot]org

Harry Putnam 03-04-2010 09:32 PM

Is the move perl-5.10 involved here
 
Michael Higgins <linux@evolone.org> writes:

> On Thu, 04 Mar 2010 10:52:30 -0600
> Harry Putnam <reader@newsguy.com> wrote:
>
>> >> Use of uninitialized value in subroutine entry
>> >> at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223. object
>> >> version 1.609 does not match $::VERSION %_
>> >> at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223. BEGIN
>> >> failed--compilation aborted
>> >> at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI.pm line 263.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Your perl installation is broken. That is obvious. What you do to fix
> it probably should start with perl-cleaner... FWIW my experience with
> updating it has been fine.
>
> Basically, why are you asking...

I was unable to install dev-perl/DBD-mysql but now seems to
work after running perl-cleaner

Thanks Willie... and thanks to all posters


All times are GMT. The time now is 06:23 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.