Lintian calls undeclared "fail" subroutine in certain conditions and crashes

Bug #797553 reported by Toby Corkindale
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lintian (Debian)
Fix Released
Unknown
lintian (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: lintian

Lintian 2.5.0 tries to call a "fail()" subroutine in certain conditions, however no such routine has ever been declared, and so the code crashes.

For example, try using the --tags-from-file or --suppress-tags-from-file command-line options with a file that doesn't exist.
Command-line:
lintian --tags-from-file slkfjsf
Result:
Undefined subroutine &main::fail called at /usr/bin/lintian line 283.

This is 2.5.0~rc2ubuntu3

Revision history for this message
Toby Corkindale (tjc-wintrmute) wrote :

Bug has been accepted and fixed upstream.. (See link to debbugs)

Changed in lintian (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (7.4 KiB)

This bug was fixed in the package lintian - 2.5.1ubuntu1

---------------
lintian (2.5.1ubuntu1) oneiric; urgency=low

  * Merge from Debian unstable (LP: #798513). Remaining changes:
    - Don't warn about a symlinked changelog file in Ubuntu due to CDBS.
    - Add no-upstream-changelog tag to cruft-general-test-suite,
      cruft-general-upstream, cruft-upstream-binaries, fields-no-homepage,
      patch-systems-no-patch-system tests.
    - checks/changelog-file.desc, testset/tags.libbaz: Drop
      debian-changelog-file-is-a-symlink tag.
    - t/tests/changelog-file-symlink, t/tests/init.d-symlink: Drop these tests.
    - checks/init.d: fix LP: #496798 again; upstream only took part of our
      patch and the rest of the fix was dropped in the last merge; per
      maintainer's comments in Debian bug #569492, Ubuntu will need to
      carry this fix for the time being
    - Add wrong-name-for-upstream-changelog tag to changelog-file-extra-upstream
      test.
    - t/tests/fields-multi-arch: Do not test invalid Multi-Arch field,
      because dpkg-deb will already fail.
    - Drop debug-symbols-directly-in-usr-lib-debug from binaries-general.
  * Dropped changes:
    - Prefer libtest-simple-perl (>= 0.93) to perl (>= 5.12).
  * Cherry-pick 5d5a40f from upstream to fix tests broken by 3.8.1 becoming
    ancient earlier this week. (Thanks to Niels Thykier)

lintian (2.5.1) unstable; urgency=low

  * Summary of tag changes:
    + Added:
      - bad-perm-for-file-in-etc-sudoers.d
      - debian-rules-missing-recommended-target
      - dh_pycentral-is-obsolete
      - dh_python-is-obsolete
      - illegal-multi-arch-value
      - non-empty-dependency_libs-in-la-file
    + Removed:
      - uses-dh-python-with-no-pycompat
      - ldconfig-symlink-before-shlib-in-deb

  * checks/binaries:
    + [NT] Applied patch from Paul Wise to detect binaries embeddeding
      glee, glew and libtheora. (Closes: #629288)
    + [NT] Also consider multiarch dirs when looking for public shared
      libraries. (Closes: #630164)
  * checks/debhelper{,.desc}:
    + [NT] Recognise that dh_python and dh_pycentral are now obsolete.
      (Closes: #496902, #541978)
  * checks/changes-file:
    + [NT] Always verify the checksums of changes-files.
  * checks/copyright-file:
    + [NT] Extended current dh_make template checks. Thanks to
      Nelson A. de Oliveira for the patch. (Closes: #598412)
  * checks/fields{,.desc}:
    + [NT] Allow "all" and "any" to appear together in the Architecture
      field of a .dsc file. (Closes: #626775)
    + [NT] Added illegal-multi-arch-value. (Closes: #616493)
  * checks/files:
    + [NT] Fixed two misnamed udeb tags, which lead to an internal
      error if triggered. Thanks to Guillem Jover for the report.
      (Closes: #628754)
    + [NT] Added bad-perm-for-file-in-etc-sudoers.d tag.
      (Closes: #588831)
    + [CW] Do not issue missing-pre-dependency-on-multiarch-support for
      udebs.
    + [NT] Limit missing-pre-dependency-on-multiarch-support to real
      files only. Previously it would also check symlinks.
      (Closes: #629648)
  * checks/java{,.desc}:
    + [NT] Sort the jar files by name, so they are checked i...

Read more...

Changed in lintian (Ubuntu):
status: Confirmed → Fix Released
Changed in lintian (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.