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

Bug#661118: libstdc++6: is "Priority: required" but not pseudo-essential



Package: libstdc++6
Version: 4.7-20120210-1
Severity: wishlist
Tags: patch

Hi,

libstdc++6 has "Priority: required", but no pseudo-essential package
depends on it:

	$ grep-dctrl -sPackage \
		-FPriority required \
		-a -FDepends,Pre-Depends 'libstdc++6' \
		</var/lib/cupt/lists/*_debian_dists_sid_main_binary-i386_Packages |
	  wc -l
	0
	$ grep-dctrl -sPackage \
		-FPriority required \
		-a -FDepends,Pre-Depends 'libc6' \
		</var/lib/cupt/lists/*_debian_dists_sid_main_binary-i386_Packages |
	  wc -l
	48

The changelog tells me the priority was originally bumped to required
to support dselect.  Please lower the priority to "important".  (libstdc++6
is at least standard because people expect to be able to run C++ apps using
the g++ ABI on Linux machines and is important because used by apt and
aptitude.)

Anyway, maybe this can help people building tiny systems to make them
smaller.  (Warning: I haven't checked if debootstrap will be able to
handle apt depending on a non-required package, though I suspect it
should be fine.  That is needed when dealing with apt from
experimental already.)

Hope that helps,
Jonathan

 debian/changelog  |    1 +
 debian/control.m4 |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git i/debian/changelog w/debian/changelog
index ed44ff09..d97913f2 100644
--- i/debian/changelog
+++ w/debian/changelog
@@ -2,6 +2,7 @@ gcc-4.6 (4.6.2-15.1) local; urgency=low
 
   * libstdc++ depends on libc (>= 2.11) for STB_GNU_UNIQUE support
     (Eugene V. Lyubimkin).  Closes: #584572.
+  * libstdc++6: Lower priority from required to important.
 
  -- Jonathan Nieder <jrnieder@gmail.com>  Fri, 24 Feb 2012 02:38:01 -0600
 
diff --git i/debian/control.m4 w/debian/control.m4
index cbae8a86..fb8d4d48 100644
--- i/debian/control.m4
+++ w/debian/control.m4
@@ -1826,7 +1826,7 @@ ifenabled(`libcxx',`
 Package: libstdc++CXX_SO`'LS
 Architecture: ifdef(`TARGET',`all',`any')
 Section: ifdef(`TARGET',`devel',`libs')
-Priority: ifdef(`TARGET',`extra',PRI(required))
+Priority: ifdef(`TARGET',`extra',PRI(important))
 Depends: BASEDEP, ${dep:libc}, ${shlibs:Depends}, ${misc:Depends}
 ifdef(`TARGET',`Provides: libstdc++CXX_SO-TARGET-dcv1',
 ifdef(`MULTIARCH', `Multi-Arch: same



Reply to: