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

Compress::Bzip2 problem building #6934

Closed
p5pRT opened this issue Nov 17, 2003 · 8 comments
Closed

Compress::Bzip2 problem building #6934

p5pRT opened this issue Nov 17, 2003 · 8 comments

Comments

@p5pRT
Copy link

p5pRT commented Nov 17, 2003

Migrated from rt.perl.org#24512 (status was 'resolved')

Searchable as RT24512$

@p5pRT
Copy link
Author

p5pRT commented Nov 17, 2003

From warrend@tek.com

Created by warrend@tek.com

Below is the output from the install of Compress​::Bzip2. I have loaded
bzip2-1.0.2 which is the latest version. From what I understand there was a
change in library names in bzip at some point. All the entries in my library
start with BZ2_

It appears that Compress-Bzip2-1.00.tar.gz is still setup for the old names
and/or functions in the library.

Here is the error from below

symbol bzBuffToBuffCompress​: referenced symbol not found at
/proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1/sun4-solaris-thread-multi/DynaLoader.pm
line 229.

_____________________________________________________________________________

install Compress​::Bzip2
Running install for module Compress​::Bzip2
Running make for A/AZ/AZEMGI/Compress-Bzip2-1.00.tar.gz
Checksum for /proj/wdtold/warrend/cpan_perl-5.8.1_sun5.8/sources/authors/id/A/AZ/AZEMGI/Compress-Bzip2-1.00.tar.gz ok
Compress-Bzip2-1.00/
Compress-Bzip2-1.00/typemap
Compress-Bzip2-1.00/Bzip2.xs
Compress-Bzip2-1.00/configure
Compress-Bzip2-1.00/t/
Compress-Bzip2-1.00/t/test.t
Compress-Bzip2-1.00/MANIFEST
Compress-Bzip2-1.00/INSTALL
Compress-Bzip2-1.00/Makefile.PL
Compress-Bzip2-1.00/COPYING
Compress-Bzip2-1.00/NEWS
Compress-Bzip2-1.00/Bzip2.pm
Compress-Bzip2-1.00/README
Removing previously used /proj/wdtold/warrend/cpan_perl-5.8.1_sun5.8/build/Compress-Bzip2-1.00

  CPAN.pm​: Going to build A/AZ/AZEMGI/Compress-Bzip2-1.00.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Compress​::Bzip2
cp Bzip2.pm blib/lib/Compress/Bzip2.pm
AutoSplitting blib/lib/Compress/Bzip2.pm (blib/lib/auto/Compress/Bzip2)
/proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl /proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1/ExtUtils/xsubpp -typemap /proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1/ExtUtils/typemap -typemap typemap Bzip2.xs > Bzip2.xsc && mv Bzip2.xsc Bzip2.c
gcc -c -D_REENTRANT -fno-strict-aliasing -I/proj/wdt/sun5.8/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fPIC "-I/proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1/sun4-solaris-thread-multi/CORE" Bzip2.c
Bzip2.xs​: In function `boot_Compress__Bzip2'​:
Bzip2.xs​:44​: warning​: comparison between pointer and integer
Running Mkbootstrap for Compress​::Bzip2 ()
chmod 644 Bzip2.bs
rm -f blib/arch/auto/Compress/Bzip2/Bzip2.so
LD_RUN_PATH="/usr/lib" gcc -Wl,-E -G -G -z ignore -z lazyload -z combreloc Bzip2.o -o blib/arch/auto/Compress/Bzip2/Bzip2.so -lbz2
chmod 755 blib/arch/auto/Compress/Bzip2/Bzip2.so
cp Bzip2.bs blib/arch/auto/Compress/Bzip2/Bzip2.bs
chmod 644 blib/arch/auto/Compress/Bzip2/Bzip2.bs
Manifying blib/man3/Compress​::Bzip2.3
  /proj/wdt/sun5.8/bin/make -- OK
Running make test
Running Mkbootstrap for Compress​::Bzip2 ()
chmod 644 Bzip2.bs
rm -f blib/arch/auto/Compress/Bzip2/Bzip2.so
LD_RUN_PATH="/usr/lib" gcc -Wl,-E -G -G -z ignore -z lazyload -z combreloc Bzip2.o -o blib/arch/auto/Compress/Bzip2/Bzip2.so -lbz2
chmod 755 blib/arch/auto/Compress/Bzip2/Bzip2.so
cp Bzip2.bs blib/arch/auto/Compress/Bzip2/Bzip2.bs
chmod 644 blib/arch/auto/Compress/Bzip2/Bzip2.bs
PERL_DL_NONLAZY=1 /proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl "-MExtUtils​::Command​::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/test....Can't load '/proj/wdtold/warrend/cpan_perl-5.8.1_sun5.8/build/Compress-Bzip2-1.00/blib/arch/auto/Compress/Bzip2/Bzip2.so' for module Compress​::Bzip2​: ld.so.1​: /proj/wdt/gnu_sun5.8/perl-5.8.1/bin/perl​: fatal​: relocation error​: file /proj/wdtold/warrend/cpan_perl-5.8.1_sun5.8/build/Compress-Bzip2-1.00/blib/arch/auto/Compress/Bzip2/Bzip2.so​: symbol bzBuffToBuffCompress​: referenced symbol not found at /proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1/sun4-solaris-thread-multi/DynaLoader.pm line 229.
at t/test.t line 8
Compilation failed in require at t/test.t line 8.
BEGIN failed--compilation aborted at t/test.t line 8.
t/test....dubious
  Test returned status 255 (wstat 65280, 0xff00)
FAILED--1 test script could be run, alas--no output ever seen
make​: *** [test_dynamic] Error 2
  /proj/wdt/sun5.8/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

Perl Info

Flags:
    category=utilities
    severity=low

Site configuration information for perl v5.8.1:

Configured by warrend at Tue Nov 11 11:06:44 PST 2003.

Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi
    uname='sunos rosewood 5.8 generic_108528-18 sun4u sparc sunw,ultra-5_10 solaris '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -fno-strict-aliasing -I/proj/wdt/sun5.8/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-D_REENTRANT -fno-strict-aliasing -I/proj/wdt/sun5.8/include'
    ccversion='', gccversion='3.2.3', gccosandvers='solaris2.8'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' '
    libpth=/usr/lib /usr/ccs/lib /proj/wdt/sun5.8/lib
    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lpthread -lc
    perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E  -z ignore -z lazyload -z combreloc -R /proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1/sun4-solaris-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags=' -Wl,-E -G -G  -z ignore -z lazyload -z combreloc'

Locally applied patches:
    


@INC for perl v5.8.1:
    /proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1/sun4-solaris-thread-multi
    /proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1
    /proj/wdt/gnu_sun5.8/perl-5.8.1/addons/lib/site_perl/5.8.1/sun4-solaris-thread-multi
    /proj/wdt/gnu_sun5.8/perl-5.8.1/addons/lib/site_perl/5.8.1
    /proj/wdt/gnu_sun5.8/perl-5.8.1/addons/lib/site_perl
    .


Environment for perl v5.8.1:
    HOME=/login/warrend
    LANG=C
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/tools/eda/ldv/bin:/proj/eda/ldv/ldv/cur/tools/inca/lib:/proj/eda/ldv/ldv/cur/tools/lib
    LOGDIR (unset)
    PATH=/stdapps/lsf/5.8/sparcv9/bin:/stdapps/lsf/local/bin:.:/proj/wdt/gnu_sun5.8/perl-5.8.1/bin:/proj/wdt/bin:/proj/wdt/sun5.8/bin:/proj/wdt/X.V11R6/sun5.8/bin:/login/warrend:/login/warrend/bin:/login/warrend/bin/sun5.8:/usr/ucb:/usr/openwin/bin:/usr/ccs/bin:/usr/bin:/etc:/usr/sbin:/proj/dpl/harry/bin:/tools/citrix6.0/wfica:/tools/eda/psd/15.0e/tools/pcb/bin:/tools/eda/psd/15.0e/tools/bin:/tools/eda/psd/15.0e/tools/dfII/bin:/tools/eda/psd/15.0e/tools/fet/bin:/tools/eda/psd/15.0e/tools/specctra/bin:/tools/eda/fetools/psd150/bin:/tools/eda/cadtools/psd150/bin:/tools/eda/ldv/LSF:/tools/eda/ldv/bin:/proj/eda/ldv/ldv/cur/tools/bin:/proj/eda/ldv/ldv/cur/tools/inca/bin:/proj/eda/ldv/lec/cur/bin:/proj/eda/ldv/debussy/cur/bin:/proj/eda/ldv/nLint/cur/bin:/proj/eda/common/vim/cur/bin:/stdapps/cms/bin
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh

@p5pRT
Copy link
Author

p5pRT commented Nov 18, 2003

From @schwern

On Mon, Nov 17, 2003 at 11​:33​:36PM -0000, warrend@​tek.com (via RT) wrote​:

Below is the output from the install of Compress​::Bzip2. I have loaded
bzip2-1.0.2 which is the latest version. From what I understand there was a
change in library names in bzip at some point. All the entries in my library
start with BZ2_

It appears that Compress-Bzip2-1.00.tar.gz is still setup for the old names
and/or functions in the library.

Here is the error from below

symbol bzBuffToBuffCompress​: referenced symbol not found at
/proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1/sun4-solaris-thread-multi/DynaLoader.pm
line 229.

Compress​::Bzip2 is not maintained by perl5-porters but by Marco Carnut
(kcarnut@​cpan.org). Please contact him with your problem.

Also the latest versoin of Compress​::Bzip2 is 1.02. You might want to try
that before emailing the author. 1.00 is four years old.
http​://search.cpan.org/dist/Compress-Bzip2/
It appears the current version is not being indexed by CPAN.

--
Michael G Schwern schwern@​pobox.com http​://www.pobox.com/~schwern/
Stupid am I? Stupid like a fox!

@p5pRT
Copy link
Author

p5pRT commented Nov 21, 2003

@rspier - Status changed from 'new' to 'resolved'

@p5pRT
Copy link
Author

p5pRT commented Nov 21, 2003

From warrend@mdhost.cse.tek.com

They showed me how to get the proper module. I got it and there is some
"make test" problems with it.

Also the correct up to date module was not being got by using the CPAN
command "install Compress​::Bzip2"

Seems like it should get the latest to avoid this confusion.

@p5pRT
Copy link
Author

p5pRT commented Nov 21, 2003

@rspier - Status changed from 'open' to 'resolved'

@p5pRT
Copy link
Author

p5pRT commented Nov 21, 2003

From @rspier

At Fri, 21 Nov 2003 10​:48​:49 -0800 (PST),
Warren L Dodge wrote​:

Also the correct up to date module was not being got by using the CPAN
command "install Compress​::Bzip2"
Seems like it should get the latest to avoid this confusion.

Yes. This is an issue with the CPAN indexer. I've reported it to the
appropriate authorities.

-R

@p5pRT
Copy link
Author

p5pRT commented Sep 28, 2004

From @smpeters

These problems seem to be mainly with Compress​::Bzip2. These problems
should be reported to the module error queue at
http​://rt.cpan.org/NoAuth/Bugs.html?Dist=Compress-Bzip2.

@p5pRT
Copy link
Author

p5pRT commented Sep 28, 2004

@smpeters - Status changed from 'open' to 'resolved'

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

No branches or pull requests

1 participant