Package Details: lintian 2.117.0-1

Git Clone URL: https://aur.archlinux.org/lintian.git (read-only, click to copy)
Package Base: lintian
Description: dissects Debian packages and tries to find bugs and policy violations
Upstream URL: https://lintian.debian.org/
Licenses: GPL2
Submitter: Forty-Bot
Maintainer: Forty-Bot
Last Packager: Forty-Bot
Votes: 1
Popularity: 0.000000
First Submitted: 2022-04-27 15:39 (UTC)
Last Updated: 2024-02-17 14:42 (UTC)

Pinned Comments

Forty-Bot commented on 2022-04-27 15:40 (UTC)

The dependencies here are incomplete. If you run into import errors, please send a patch adding the correct dependency.

Latest Comments

Forty-Bot commented on 2023-12-20 15:58 (UTC)

There's no upstream website for the moment. According to #debian-qa, it's a work-in-progress.

Excalibur commented on 2023-12-20 09:28 (UTC)

Additional runtime dependencies:

perl-term-readkey
perl-regexp-wildcards
perl-berkeleydb
perl-mldbm
perl-www-mechanize
perl-html-tokeparser-simple

Excalibur commented on 2023-10-16 09:26 (UTC)

Since lintian.debian.org is shutdown, I now need to use lintian-explain-tags for explanations. Here are some missing runtime dependencies I have found:

perl-text-markdown-discount
perl-text-xslate (in turn needs `perl-module-install` first)
perl-time-duration

Forty-Bot commented on 2022-09-25 15:53 (UTC) (edited on 2022-09-25 15:53 (UTC) by Forty-Bot)

Don't you need to build packages in a containerized environment of some kind (sbuild, pbuilder, etc)? Otherwise, how do you install dependencies? That environment will be based off a particular distro, so you shouldn't have to specify --profile.

We can of course force --profile ubuntu everywhere, but then the Debian user will need special treatment...I think you see my point.

Well, there are lintian differences between Ubuntu and Debian. You suggestion above essentially uses Debian's settings by default. Why should one get special treatment over the other?

Excalibur commented on 2022-09-25 06:13 (UTC)

I think the requirement to add this argument reduces scripts portability.

For example I use debuild to create package, and it will call lintian by default. While I can override debuild to have extra arguments for lintian, doing so requires maintain 1 build script for development environment and 1 for CI/production environment (we use GitHub workflow to create the final deliverable, and GH runner uses Ubuntu).

We can of course force --profile ubuntu everywhere, but then the Debian user will need special treatment...I think you see my point.

I think it is better to have a working default so this situation can be avoided.

Forty-Bot commented on 2022-09-24 16:42 (UTC)

lintian also report missing profile archlinux/main. So I just copied the Debian profile: sudo cp -r /usr/share/lintian/profiles/debian/. /usr/share/lintian/profiles/archlinux/.

Hm, I think you should do lintian --profile debian instead, unless you are packaging for Arch natively.

Excalibur commented on 2022-09-13 11:11 (UTC) (edited on 2022-09-22 10:04 (UTC) by Excalibur)

Some missing dependencies at runtime:

diff --git a/PKGBUILD b/PKGBUILD
index 6210a09..9e6483a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,19 +12,25 @@ depends=(
    perl-config-tiny
    perl-data-dpath
    perl-data-validate-domain
+   perl-data-validate-uri
    perl-devel-size
    perl-email-address-xs
    perl-file-find-rule
    perl-font-ttf
    perl-io-interactive
    perl-json-maybexs
+   perl-list-someutils
    perl-list-utilsby
+   perl-moox-aliases
+   perl-namespace-clean
+   perl-path-tiny
    perl-perlio-gzip
    perl-perlio-utf8-strict
    perl-proc-processtable
    perl-syntax-keyword-try
    perl-text-levenshteinxs
    perl-time-moment
+   perl-xml-libxml
    perl-yaml-libyaml
 )
 makedepends=(
-- 
2.37.3

lintian also report missing profile archlinux/main. So I just copied the Debian profile: sudo cp -r /usr/share/lintian/profiles/debian/. /usr/share/lintian/profiles/archlinux/.

Afterwards, lintian worked for my trivial package.

Edit: on a fresh new Arch install it also requires python-docutils for rst2html at build time.

Forty-Bot commented on 2022-04-27 15:40 (UTC)

The dependencies here are incomplete. If you run into import errors, please send a patch adding the correct dependency.