Bug#875636: lintian ignores profiles under $HOME
Package: lintian
Version: 2.5.50.4
Severity: important
lintian ignores profiles under $HOME. Previous versions of lintian
recognized profiles under $HOME. I'm not sure exactly when the
regression happened. At least some version of lintian in Jessie worked.
The order in which lintian searches for profiles is documented at
https://lintian.debian.org/manual/section-2.5.html in section 2.5.1.
But in my case the search seems to be skipping $HOME.
Here is a transcript showing the issue:
$ env
MAIL=/var/mail/buildbot-worker
USER=buildbot-worker
HOME=/var/lib/buildbot-worker
LOGNAME=buildbot-worker
TERM=xterm
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
LANG=en_US.UTF-8
SHELL=/bin/sh
PWD=/var/lib/buildbot-worker
$ ls $HOME/.lintian/profiles/buildbot
main.profile
$ lintian --info --profile buildbot
buildbot-master_0.9.11-1+4.sid.2c3cdb66640084a9aa9cca640b0c9c49853179d5.dsc
Cannot find profile buildbot (in /usr/share/lintian/profiles) at
/usr/share/lintian/commands/lintian line 1561.
To unsubscribe click: <http://email.rocksolidsolutions.org/u/eJwdzDEOwyAMQNHThI0IjGtgYOhRAEOK2gYpwP0bdfnb-xw8-QJOtJAtZk8myYQuygRgJBVNMpJR5IyyXOOG6ur5Pfqn8Z01Wz_H3q9DvEJFzYisC1lWVfsHQHQOKmZixTqLK4yVvm3ek7SOsXNJLZ5_PcMGzx9D2yp_>
Reply to: