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

Bug#409136: marked as done (lintian: Add check for unneeded 'debian/control::Depends: ${shlibs:Depends}')



Your message dated Mon, 26 Feb 2007 23:01:13 -0800
with message-id <871wkc3wzq.fsf@windlord.stanford.edu>
and subject line Bug#409136: Add check for unneeded 'debian/control::Depends: ${shlibs:Depends}'
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: lintian
Version: 1.23.27
Severity: wishlist


In the case of single package, the following entry in debian/control in 
unnecessary:

  Depends: ${shlibs:Depends}, ${misc:Depends}
	   ==================

If possible, lintian could warn about unneeded entry. 

I've used following makefile target to check these mistakes. Perhpas
it can give ideas how to implement something similar to lintian.

lintian-control:
	# Check control file errors
	@file=debian/control; \
	if grep --with-filename "shlibs:Depends" $$file; then \
	  list=$$(find . -name "*.la" -o -name "*.a" > /dev/null); \
	  if [ ! "$$list" ]; then \
	    echo "[ERROR] No libraries found in package"; \
	  fi; \
	fi

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)

Versions of packages lintian depends on:
ii  binutils               2.17-3            The GNU assembler, linker and bina
ii  diffstat               1.43-2            produces graph of changes introduc
ii  dpkg-dev               1.13.25           package building tools for Debian
ii  file                   4.17-5            Determines file type using "magic"
ii  gettext                0.16.1-1          GNU Internationalization utilities
ii  intltool-debian        0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii  libparse-debianchangel 1.0-1             parse Debian changelogs and output
ii  man-db                 2.4.3-5           The on-line manual pager
ii  perl [libdigest-md5-pe 5.8.8-7           Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Closing because I'm fairly sure the original report misunderstood the
purpose of ${shlibs:Depends}.  Please re-open and clarify if I
misunderstood the report.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

--- End Message ---

Reply to: