Package: coreutils Severity: minor Tags: patch Hi,
Here's a tiny B-D patch to build coreutils with GMP(https://gmplib.org/), it can manage huge numbers with expr. * Without GMP -------------------------------------------------------------------- $ expr `echo 2 ^ 62 | bc` + 0 4611686018427387904 $ expr `echo 2 ^ 63 | bc` + 0 expr: 9223372036854775808: Numerical result out of range * With GMP (libgmp-dev) -------------------------------------------------------------------- $ expr `echo 2 ^ 62 | bc` + 0 4611686018427387904 $ expr `echo 2 ^ 63 | bc` + 0 9223372036854775808 Good, no "out of range" :) Other distro such as RHEL/CentOS also enabled this and ship it for a long time and I cannot see any hurm for it, and we can get fix from them if there would be. Could you consider to apply it in next upload, please? -- Regards, Hideki Yamane henrich @ debian.or.jp/org http://wiki.debian.org/HidekiYamane
diff -u coreutils-8.23/debian/changelog coreutils-8.23/debian/changelog --- coreutils-8.23/debian/changelog +++ coreutils-8.23/debian/changelog @@ -1,3 +1,12 @@ +coreutils (8.23-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * debian/control + - add Build-Depends: libgmp-dev to improve expr can deal with huge numbers + such as > 2^63 + + -- Hideki Yamane <henr...@debian.org> Thu, 03 Dec 2015 19:49:44 +0900 + coreutils (8.23-4) unstable; urgency=low * [33] remove chroot optimization that avoids the actual chroot when diff -u coreutils-8.23/debian/control coreutils-8.23/debian/control --- coreutils-8.23/debian/control +++ coreutils-8.23/debian/control @@ -3,7 +3,7 @@ Section: utils Priority: required Standards-Version: 3.9.6.0 -Build-Depends: gettext (>= 0.10.37), debhelper (>= 5.0.0), autotools-dev, dh-buildinfo, texinfo (>= 4.2), groff, dpatch, libattr1-dev [linux-any], libacl1-dev [linux-any], libselinux1-dev (>= 1.32) [linux-any], gperf, bison +Build-Depends: gettext (>= 0.10.37), debhelper (>= 5.0.0), autotools-dev, dh-buildinfo, texinfo (>= 4.2), groff, dpatch, libattr1-dev [linux-any], libacl1-dev [linux-any], libselinux1-dev (>= 1.32) [linux-any], gperf, bison, libgmp-dev, XS-Testsuite: autopkgtest Package: coreutils