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

Bug#706308: lintian: possible false positive statically-linked-binary



On 2013-04-28 12:34, Jakub Wilk wrote:
| * Jari Aalto <jari.aalto@cante.net>, 2013-04-28, 10:32:
| >Lintian reports statically-linked-binary on i386 but I'm not sure
| >why. Could this be a false positive? The sources for testing are
| >available at:
| >
| >   git clone http://cante.net/~jaalto/vc/i810switch.git
| >
| >Listing:
| >
| >   # Lintian error
| >   E: i810switch: statically-linked-binary usr/bin/i810switch
| 
| I can't reproduce it here.
| Could you attach the actual .deb that triggered this error?

I double checked:
  
    $ uname -a
    Linux taiko 3.2.0-4-686-pae #1 SMP Debian 3.2.39-2 i686 GNU/Linux

    $ git clone http://cante.net/~jaalto/vc/i810switch.git i810switch.git
    $ cd i810switch
    $ git-buildpackage
    ...
    dpkg-source: info: unapplying 50-support-945-940-macbook.patch
    dpkg-source: info: unapplying 20-makefile.patch
    dpkg-source: info: unapplying 10-i810switch.c.patch
    dpkg-buildpackage: binary and diff upload (original source NOT included)
    Now running lintian...
    warning: the authors of lintian do not recommend running it with root privileges!
    E: i810switch: statically-linked-binary usr/bin/i810switch
    N: 2 tags overridden (1 error, 1 warning)

    $ ls -1 ../
    i810switch_0.6.5-7.1.debian.tar.gz
    i810switch_0.6.5-7.1.dsc
    i810switch_0.6.5-7.1_i386.build
    i810switch_0.6.5-7.1_i386.changes
    i810switch_0.6.5-7.1_i386.deb
    i810switch_0.6.5.orig.tar.gz
    i810switch.git

    $ lintian --display-info --show-overrides --display-experimental --pedantic ../i810switch_0.6.5-7.1_i386.deb
warning: the authors of lintian do not recommend running it with root privileges!
    E: i810switch: statically-linked-binary usr/bin/i810switch
    O: i810switch: wrong-file-owner-uid-or-gid usr/bin/i810switch 0/141
    N: SetUID required to rotate the video output
    O: i810switch: setuid-binary usr/bin/i810switch 4754 root/video


Reply to: