[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A plan to get rid of unnecessary package dependencies



On Mon, 25 Sep 2006 21:49:57 +0200, Christian Aichinger wrote:

> As a start, I've written a script that searches for unnecessary
> dependencies and reports them. Results are available here:
> http://rerun.lefant.net/checklib

And here are the results for the Debian Perl Group (not in the
original mail but taken from the webpage and sorted by problem/error):

1) error

http://rerun.lefant.net/checklib/log.libio-interface-perl_0.98-2.html
Working on binary package 'libio-interface-perl' (Source), version '0.98-2'
Checking NEEDED entries
Exception: /usr/lib/perl5/auto/IO/Interface/Interface.so:
  * Could not find file for soname 'libc.so.6'
    Resolved Deps: libio-interface-perl, perl, perl-base
An exception occurred, continuing with next package
RESULT: ERROR, issues described above
Done

http://rerun.lefant.net/checklib/log.libio-socket-multicast-perl_1.05-1.html
Working on binary package 'libio-socket-multicast-perl' (Source), version '1.05-1'
Checking NEEDED entries
Exception: /usr/lib/perl5/auto/IO/Socket/Multicast/Multicast.so:
  * Could not find file for soname 'libc.so.6'
    Resolved Deps: libio-socket-multicast-perl, perl, perl-base, libio-interface-perl
An exception occurred, continuing with next package
RESULT: ERROR, issues described above
Done

http://rerun.lefant.net/checklib/log.libproc-process-perl_0.41-2.html
Working on binary package 'libproc-process-perl' (Source), version '0.41-2'
Checking NEEDED entries
Exception: /usr/lib/perl5/auto/Proc/ProcessTable/ProcessTable.so:
  * Could not find file for soname 'libc.so.6'
    Resolved Deps: libproc-process-perl, perl, perl-base
An exception occurred, continuing with next package
RESULT: ERROR, issues described above
Done


http://rerun.lefant.net/checklib/howto-fix-errors.html says:

In effect you are missing a dependency, probably for one of the
following reasons: 

  * The package ships ELF files but doesn't use dpkg-shlibdeps /
    dh_shlibdeps (or scews up while doing so). If the checklib log
    mentions libc.so.6 the package probably is in this category.
  
    Packages where I'm pretty sure "Missing deps" in their checklib
    comment. They should be fixed as they violate Policy 3.5. Just make
    sure dh_shlibdeps is used and it's working correctly.

In the case of these packages the assumption seems wrong:

$ grep dh_shlibdeps libio-interface-perl/debian/rules 
        dh_shlibdeps
$ grep dh_shlibdeps libio-socket-multicast-perl/debian/rules 
        dh_shlibdeps
$ grep dh_shlibdeps libproc-process-perl/debian/rules 
        dh_shlibdeps
$ 


2) problem

http://rerun.lefant.net/checklib/log.libnet-z3950-perl_0.51-2.html
Working on binary package 'libnet-z3950-perl' (Source), version '0.51-2'
Checking NEEDED entries
Resolved package dependencies to: libnet-z3950-perl, libc6, libssl0.9.8, libwrap0, libxml2, libyaz2, perl-base, perl, libevent-perl

The following issues were found:
================================

/tmp/checklib_scratch.-a3R8i/libnet-z3950-perl_0.51-2/usr/lib/perl5/auto/Net/Z3950/Z3950.so:
  * Info: Couldn't resolve some symbols: decodeAPDU, fatal, makeDeleteRSRequest, makeInitRequest, makePresentRequest, make_ref_id, makeScanRequest, makeSearchRequest
            Perl_av_push, Perl_croak, Perl_form, Perl_get_sv, Perl_Gthr_key_ptr, Perl_gv_stashpv, Perl_hv_store, ... 
          NEEDED = libyaz.so.2, libxml2.so.2, libssl.so.0.9.8, libcrypto.so.0.9.8, libwrap.so.0, libnsl.so.1, libpthread.so.0, libc.so.6
  * Problem: Unnecessary NEEDED entry 'libxml2.so.2',
             probably for '/usr/lib/libxml2.so.2' in pkg 'libxml2'. This causes an EXTRA DEPENDENCY!
  * Problem: Unnecessary NEEDED entry 'libssl.so.0.9.8',
             probably for '/usr/lib/libssl.so.0.9.8' in pkg 'libssl0.9.8'. This causes an EXTRA DEPENDENCY!
  * Problem: Unnecessary NEEDED entry 'libcrypto.so.0.9.8',
             probably for '/usr/lib/libcrypto.so.0.9.8' in pkg 'libssl0.9.8'. This causes an EXTRA DEPENDENCY!
  * Problem: Unnecessary NEEDED entry 'libwrap.so.0',
             probably for '/lib/libwrap.so.0' in pkg 'libwrap0'. This causes an EXTRA DEPENDENCY!
  * Notice: Unnecessary NEEDED entry 'libnsl.so.1',
            probably for '/lib/libnsl.so.1' in pkg 'libc6'. No extra dependencies caused.

The following dependencies are unneeded:
    libxml2, libssl0.9.8, libwrap0
RESULT: PROBLEMS, issues described above
Done

http://rerun.lefant.net/checklib/log.libopengl-perl_0.54.alan1-5.html
Working on binary package 'libopengl-perl' (Source), version '0.54.alan1-5'
Checking NEEDED entries
Resolved package dependencies to: libopengl-perl, perl, perl-base, freeglut3, libc6, libgl1-mesa-glx, libglu1-mesa, libice6, libx11-6, libxext6, libxi6, libxmu6

The following issues were found:
================================

/tmp/checklib_scratch.lczKRk/libopengl-perl_0.54.alan1-5/usr/lib/perl5/auto/OpenGL/OpenGL.so:
  * Info: Couldn't resolve some symbols: allocate_image_ST, EL, ELI, gl_component_count, gl_fog_count, gl_get_count, gl_light_count, gl_lightmodel_count, gl_map_count
            gl_material_count, gl_pixelbuffer_size, gl_pixelbuffer_size2, gl_pixelmap_size, gl_texenv_count, gl_texgen_count, ... 
          NEEDED = libGLU.so.1, libglut.so.3, libGL.so.1, libXext.so.6, libXmu.so.6, libXi.so.6, libICE.so.6, libX11.so.6, libm.so.6, libc.so.6
  * Problem: Unnecessary NEEDED entry 'libXext.so.6',
             probably for '/usr/lib/libXext.so.6' in pkg 'libxext6'. This causes an EXTRA DEPENDENCY!
  * Problem: Unnecessary NEEDED entry 'libXmu.so.6',
             probably for '/usr/lib/libXmu.so.6' in pkg 'libxmu6'. This causes an EXTRA DEPENDENCY!
  * Problem: Unnecessary NEEDED entry 'libXi.so.6',
             probably for '/usr/lib/libXi.so.6' in pkg 'libxi6'. This causes an EXTRA DEPENDENCY!
  * Problem: Unnecessary NEEDED entry 'libICE.so.6',
             probably for '/usr/lib/libICE.so.6' in pkg 'libice6'. This causes an EXTRA DEPENDENCY!
  * Notice: Unnecessary NEEDED entry 'libm.so.6',
            probably for '/lib/libm.so.6' in pkg 'libc6'. No extra dependencies caused.

The following dependencies are unneeded:
    libxext6, libice6, libxi6, libxmu6
RESULT: PROBLEMS, issues described above
Done

http://rerun.lefant.net/checklib/log.libtk-png-perl_2.005-3.html
Working on binary package 'libtk-png-perl' (Source), version '2.005-3'
Checking NEEDED entries
Resolved package dependencies to: libtk-png-perl, perl-base, perl, libc6, libpng12-0, zlib1g

The following issues were found:
================================

/tmp/checklib_scratch.-a3R8i/libtk-png-perl_2.005-3/usr/lib/perl5/auto/Tk/PNG/PNG.so:
  * Info: Couldn't resolve some symbols: Perl_croak, Perl_form, Perl_get_sv, Perl_Gthr_key_ptr, Perl_Isv_yes_ptr, Perl_sv_2iv, Perl_sv_2pv_flags, Perl_Tmarkstack_ptr_ptr
            Perl_Tstack_base_ptr, Perl_Tstack_sp_ptr, pthread_getspecific 
          NEEDED = libpng12.so.0, libz.so.1, libc.so.6
  * Problem: Unnecessary NEEDED entry 'libz.so.1',
             probably for '/usr/lib/libz.so.1' in pkg 'zlib1g'. This causes an EXTRA DEPENDENCY!

The following dependencies are unneeded:
    zlib1g
RESULT: PROBLEMS, issues described above
Done

http://rerun.lefant.net/checklib/log.libvorbis-perl_0.05-2.html
Working on binary package 'libvorbis-perl' (Source), version '0.05-2'
Checking NEEDED entries
Resolved package dependencies to: libvorbis-perl, libc6, libogg0, libvorbis0a, libvorbisfile3, perl, perl-base

The following issues were found:
================================

/tmp/checklib_scratch.-a3R8i/libvorbis-perl_0.05-2/usr/lib/perl5/auto/Ogg/Vorbis/Vorbis.so:
  * Info: Couldn't resolve some symbols: Perl_croak, Perl_croak_nocontext, Perl_form, Perl_get_sv, Perl_Gthr_key_ptr, Perl_hv_store, PerlIO_findFILE, Perl_Isv_yes_ptr
            Perl_mg_set, Perl_newHV, Perl_newRV, Perl_newSVpv, Perl_newXS, Perl_safesysfree, Perl_sv_2io, ... 
          NEEDED = libogg.so.0, libvorbis.so.0, libvorbisfile.so.3, libc.so.6
  * Problem: Unnecessary NEEDED entry 'libogg.so.0',
             probably for '/usr/lib/libogg.so.0' in pkg 'libogg0'. This causes an EXTRA DEPENDENCY!
  * Problem: Unnecessary NEEDED entry 'libvorbis.so.0',
             probably for '/usr/lib/libvorbis.so.0' in pkg 'libvorbis0a'. This causes an EXTRA DEPENDENCY!

The following dependencies are unneeded:
    libogg0, libvorbis0a
RESULT: PROBLEMS, issues described above
Done

http://rerun.lefant.net/checklib/log.libwww-curl-perl_3.02-1.html
Working on binary package 'libwww-curl-perl' (Source), version '3.02-1'
Checking NEEDED entries
Resolved package dependencies to: libwww-curl-perl, libc6, libcomerr2, libcurl3, libidn11, libkrb53, libssl0.9.8, zlib1g, perl, perl-base

The following issues were found:
================================

/tmp/checklib_scratch.-a3R8i/libwww-curl-perl_3.02-1/usr/lib/perl5/auto/WWW/Curl/Curl.so:
  * Info: Couldn't resolve some symbols: Perl_av_fetch, Perl_av_len, Perl_call_sv, Perl_croak, Perl_croak_nocontext, Perl_form, Perl_free_tmps, Perl_get_sv
            Perl_Gthr_key_ptr, Perl_Isv_undef_ptr, Perl_Isv_yes_ptr, Perl_markstack_grow, Perl_mg_set, Perl_newSViv, Perl_newSVnv, ... 
          NEEDED = libcurl.so.3, libgssapi_krb5.so.2, libkrb5.so.3, libk5crypto.so.3, libkrb5support.so.0, libcom_err.so.2, libresolv.so.2, libidn.so.11, libssl.so.0.9.8, libcrypto.so.0.9.8, libdl.so.2, libz.so.1, libc.so.6
  * Problem: Unnecessary NEEDED entry 'libgssapi_krb5.so.2',
             probably for '/usr/lib/libgssapi_krb5.so.2' in pkg 'libkrb53'. This causes an EXTRA DEPENDENCY!
  * Problem: Unnecessary NEEDED entry 'libkrb5.so.3',
             probably for '/usr/lib/libkrb5.so.3' in pkg 'libkrb53'. This causes an EXTRA DEPENDENCY!
  * Problem: Unnecessary NEEDED entry 'libk5crypto.so.3',
             probably for '/usr/lib/libk5crypto.so.3' in pkg 'libkrb53'. This causes an EXTRA DEPENDENCY!
  * Problem: Unnecessary NEEDED entry 'libkrb5support.so.0',
             probably for '/usr/lib/libkrb5support.so.0' in pkg 'libkrb53'. This causes an EXTRA DEPENDENCY!
  * Problem: Unnecessary NEEDED entry 'libcom_err.so.2',
             probably for '/lib/libcom_err.so.2' in pkg 'libcomerr2'. This causes an EXTRA DEPENDENCY!
  * Notice: Unnecessary NEEDED entry 'libresolv.so.2',
            probably for '/lib/libresolv.so.2' in pkg 'libc6'. No extra dependencies caused.
  * Problem: Unnecessary NEEDED entry 'libidn.so.11',
             probably for '/usr/lib/libidn.so.11' in pkg 'libidn11'. This causes an EXTRA DEPENDENCY!
  * Problem: Unnecessary NEEDED entry 'libssl.so.0.9.8',
             probably for '/usr/lib/libssl.so.0.9.8' in pkg 'libssl0.9.8'. This causes an EXTRA DEPENDENCY!
  * Problem: Unnecessary NEEDED entry 'libcrypto.so.0.9.8',
             probably for '/usr/lib/libcrypto.so.0.9.8' in pkg 'libssl0.9.8'. This causes an EXTRA DEPENDENCY!
  * Notice: Unnecessary NEEDED entry 'libdl.so.2',
            probably for '/lib/libdl.so.2' in pkg 'libc6'. No extra dependencies caused.
  * Problem: Unnecessary NEEDED entry 'libz.so.1',
             probably for '/usr/lib/libz.so.1' in pkg 'zlib1g'. This causes an EXTRA DEPENDENCY!

The following dependencies are unneeded:
    libcomerr2, libkrb53, libssl0.9.8, libidn11, zlib1g
RESULT: PROBLEMS, issues described above
Done


Hints in http://rerun.lefant.net/checklib/howto-fix-problems.html


gregor
-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: Kurt Ostbahn & die Chefpartie

Attachment: signature.asc
Description: Digital signature


Reply to: