Source: util-linux
Version: 2.27-2
Severity: wishlist
Tags: help

It would be nice if we could revert the changes made in 2.27-2 and 2.27-3
and again build the udebs dynamically.

The problem (originally reported in http://bugs.debian.org/798347 ) is
that both fdisk and sfdisk has since v2.27 (upstream release) picked
up dependencies on libtinfo5 (from src:ncurses) via libtcolors.la,
which in turn caused fdisk-udeb to depend on tinfo deb (which there
is no udeb for).

See:
disk-utils/Makemodule.am where libtcolors.la is added to fdisk_LDADD etc.
lib/Makemodule.am for libtcolors_la_SOURCES
lib/colors.c which contains #ifdef HAVE_LIBTINFO
configure.ac which has AC_ARG_WITH([tinfo], AS_HELP_STRING([--without-tinfo], 
...

In theory I guess we should be able to do a build which just disables
tinfo via configure.... At the same time we want tinfo enabled for the
normal .deb builds....

Doing multi-flavor builds with dh is a hassle. Switching over to CDBS only
for this seems like much work for little win. Maybe there's some simple
hack to rebuild just fdisk and sfdisk --without-tinfo, but special
considerations needs to be taken to make sure whatever solution we end
up with is dead simple to maintain. In my opinion it's not worth adding
maintenance burden to solve this issue.... Hopefully we'll come up with
something easy soon but filing this bug report as a reminder.

An alternative to all of the above is to convince src:ncurses maintainers
to add a tinfo udeb (but configurable terminal colors support is probably
something we'd like to see disabled in the udeb build anyway)....

-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages util-linux depends on:
ii  initscripts     2.88dsf-59.2
ii  libblkid1       2.27-1
ii  libc6           2.19-18+deb8u1
ii  libfdisk1       2.27-1
ii  libmount1       2.27-1
ii  libncursesw5    5.9+20140913-1+b1
ii  libpam0g        1.1.8-3.1
ii  libselinux1     2.3-2
ii  libsmartcols1   2.27-1
ii  libsystemd0     215-17+deb8u2
ii  libtinfo5       5.9+20140913-1+b1
ii  libuuid1        2.27-1
ii  lsb-base        4.1+Debian13+nmu1
ii  sysvinit-utils  2.88dsf-59.2
ii  tzdata          2015g-0+deb8u1
ii  zlib1g          1:1.2.8.dfsg-2+b1

util-linux recommends no packages.

Versions of packages util-linux suggests:
ii  dosfstools           3.0.27-1
pn  kbd | console-tools  <none>
ii  util-linux-locales   2.25.2-6

-- debconf information excluded

Reply via email to