Your message dated Thu, 22 Feb 2018 09:08:05 +0000
with message-id <e1eomrf-0002b5...@fasolo.debian.org>
and subject line Bug#890243: fixed in tcl8.6 8.6.8+dfsg-3
has caused the Debian Bug report #890243,
regarding tcl8.6: Please stop linking with libieee.a, removed in glibc 2.27
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
890243: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890243
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tcl8.6
Version: 8.6.8+dfsg-2
Severity: normal
Tags: patch
User: debian-gl...@lists.debian.org
Usertags: 2.27

Starting with glibc 2.27, support for the "ieee" library (part of SVID
specification) has been removed. The libieee.a library is therefore not
shipped anymore.

tcl8.6 already works without this library however the configure script
detects it and enable support for it if available. The side effects are
that the "-lieee" link option is then shipped in tclConfig.sh, and that
the library ends up with the _LIB_VERSION symbol.

To avoid ease the glibc 2.27, I believe it's better to separate the two.
I have therefore attached a patch to always disable libieee support in
tcl8.6. The patch can be removed once glibc 2.27 is in testing (but can
also be kept safely). It will require tk8.6 to be rebuilt against the
new tcl8.6 as it also exports the "-lieee" link option through
tkConfig.sh and also removes the _LIB_VERSION symbol. A patch is also
attached for that.

Do you feel it is an acceptable way to proceed. Another alternative
would be to just declare the _LIB_VERSION symbol as optional in both
tcl8.6 and tk8.6, and handle the change through binNMUs as part of the
glibc 2.27 transition. Please feel free to suggest other options.

Thanks,
Aurelien
diff -Nru tcl8.6-8.6.8+dfsg/debian/libtcl8.6.symbols 
tcl8.6-8.6.8+dfsg/debian/libtcl8.6.symbols
--- tcl8.6-8.6.8+dfsg/debian/libtcl8.6.symbols
+++ tcl8.6-8.6.8+dfsg/debian/libtcl8.6.symbols
@@ -875,6 +875,5 @@
  TclpSetInitialEncodings@Base 8.6.0
  TclpUnloadFile@Base 8.6.2
  TclpUtfNcmp2@Base 8.6.0
- _LIB_VERSION@Base 8.6.0
 #MISSING: 8.6.7# notifierInitMutex@Base 8.6.5
 #MISSING: 8.6.7# notifierMutex@Base 8.6.5
diff -Nru tcl8.6-8.6.8+dfsg/debian/patches/libeee.diff 
tcl8.6-8.6.8+dfsg/debian/patches/libeee.diff
--- tcl8.6-8.6.8+dfsg/debian/patches/libeee.diff
+++ tcl8.6-8.6.8+dfsg/debian/patches/libeee.diff
@@ -0,0 +1,73 @@
+Support for the "ieee" library (part of SVID specification) has been
+removed from glibc 2.27 onwards. While this is correctly autodetected
+in the configure script, it's better to already disable support for it
+as 1) it ends up in tclConfig.sh and 2) it slightly changes the symbol
+file.
+
+--- tcl8.6-8.6.8+dfsg.orig/unix/configure
++++ tcl8.6-8.6.8+dfsg/unix/configure
+@@ -4280,8 +4280,6 @@ $as_echo "#define TCL_CFGVAL_ENCODING \"
+     #--------------------------------------------------------------------
+     # On a few very rare systems, all of the libm.a stuff is
+     # already in libc.a.  Set compiler flags accordingly.
+-    # Also, Linux requires the "ieee" library for math to work
+-    # right (and it must appear before "-lm").
+     #--------------------------------------------------------------------
+ 
+     ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
+@@ -4291,40 +4289,6 @@ else
+   MATH_LIBS="-lm"
+ fi
+ 
+-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lieee" >&5
+-$as_echo_n "checking for main in -lieee... " >&6; }
+-if ${ac_cv_lib_ieee_main+:} false; then :
+-  $as_echo_n "(cached) " >&6
+-else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lieee  $LIBS"
+-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h.  */
+-
+-
+-int
+-main ()
+-{
+-return main ();
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_link "$LINENO"; then :
+-  ac_cv_lib_ieee_main=yes
+-else
+-  ac_cv_lib_ieee_main=no
+-fi
+-rm -f core conftest.err conftest.$ac_objext \
+-    conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ieee_main" >&5
+-$as_echo "$ac_cv_lib_ieee_main" >&6; }
+-if test "x$ac_cv_lib_ieee_main" = xyes; then :
+-  MATH_LIBS="-lieee $MATH_LIBS"
+-fi
+-
+ 
+     #--------------------------------------------------------------------
+     # Interactive UNIX requires -linet instead of -lsocket, plus it
+--- tcl8.6-8.6.8+dfsg.orig/unix/tcl.m4
++++ tcl8.6-8.6.8+dfsg/unix/tcl.m4
+@@ -2475,12 +2475,9 @@ AC_DEFUN([SC_TCL_LINK_LIBS], [
+     #--------------------------------------------------------------------
+     # On a few very rare systems, all of the libm.a stuff is
+     # already in libc.a.  Set compiler flags accordingly.
+-    # Also, Linux requires the "ieee" library for math to work
+-    # right (and it must appear before "-lm").
+     #--------------------------------------------------------------------
+ 
+     AC_CHECK_FUNC(sin, MATH_LIBS="", MATH_LIBS="-lm")
+-    AC_CHECK_LIB(ieee, main, [MATH_LIBS="-lieee $MATH_LIBS"])
+ 
+     #--------------------------------------------------------------------
+     # Interactive UNIX requires -linet instead of -lsocket, plus it
diff -Nru tcl8.6-8.6.8+dfsg/debian/patches/series 
tcl8.6-8.6.8+dfsg/debian/patches/series
--- tcl8.6-8.6.8+dfsg/debian/patches/series
+++ tcl8.6-8.6.8+dfsg/debian/patches/series
@@ -4,3 +4,4 @@
 confsearch.diff
 non-linux.diff
 manpages.diff
+libeee.diff
diff -Nru tk8.6-8.6.8/debian/control tk8.6-8.6.8/debian/control
--- tk8.6-8.6.8/debian/control
+++ tk8.6-8.6.8/debian/control
@@ -5,7 +5,7 @@
 Uploaders: Sergei Golovan <sgolo...@debian.org>
 Build-Depends: debhelper (>= 9.0.0), dpkg-dev (>= 1.16.1~), x11proto-core-dev,
  libx11-dev, libxt-dev, libxss-dev, libxext-dev, libxft-dev,
- tcl8.6-dev (>= 8.6.0-2)
+ tcl8.6-dev (>= 8.6.8+dfsg-3)
 Standards-Version: 4.1.3
 Homepage: http://www.tcl.tk/
 
diff -Nru tk8.6-8.6.8/debian/libtk8.6.symbols 
tk8.6-8.6.8/debian/libtk8.6.symbols
--- tk8.6-8.6.8/debian/libtk8.6.symbols
+++ tk8.6-8.6.8/debian/libtk8.6.symbols
@@ -439,4 +439,3 @@
  TkpTesttextCmd@Base 8.6.0
  TkpUseWindow@Base 8.6.0
  TkpWmSetState@Base 8.6.0
- _LIB_VERSION@Base 8.6.0

--- End Message ---
--- Begin Message ---
Source: tcl8.6
Source-Version: 8.6.8+dfsg-3

We believe that the bug you reported is fixed in the latest version of
tcl8.6, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 890...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sergei Golovan <sgolo...@debian.org> (supplier of updated tcl8.6 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 22 Feb 2018 11:31:12 +0300
Source: tcl8.6
Binary: tcl8.6 libtcl8.6 tcl8.6-dev tcl8.6-doc
Architecture: source amd64 all
Version: 8.6.8+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Tcl/Tk Packagers <pkg-tcltk-de...@lists.alioth.debian.org>
Changed-By: Sergei Golovan <sgolo...@debian.org>
Description:
 libtcl8.6  - Tcl (the Tool Command Language) v8.6 - run-time library files
 tcl8.6     - Tcl (the Tool Command Language) v8.6 - shell
 tcl8.6-dev - Tcl (the Tool Command Language) v8.6 - development files
 tcl8.6-doc - Tcl (the Tool Command Language) v8.6 - manual pages
Closes: 890243
Changes:
 tcl8.6 (8.6.8+dfsg-3) unstable; urgency=medium
 .
   * Add a patch by Aurelien Jarno, which disables linking to libieee because
     it'll be removed from glibc starting from version 2.27 (closes: #890243).
   * Fix spelling errors in a few patch descriptions.
Checksums-Sha1:
 b519a3ead1c192b9efdf435f2a2d2a79d37484ae 1998 tcl8.6_8.6.8+dfsg-3.dsc
 ccc26d6395f48125b4d83bc7df1af17f716e05ef 16008 
tcl8.6_8.6.8+dfsg-3.debian.tar.xz
 950353aab52c37a8cd85aed3b619ed246c5394d3 5199704 
libtcl8.6-dbgsym_8.6.8+dfsg-3_amd64.deb
 c3a20e5c5c43428846a60f1804ae3a20adecce37 987380 
libtcl8.6_8.6.8+dfsg-3_amd64.deb
 b248459f9826e90dc5f5cb1603aea61d54d3caa6 24152 
tcl8.6-dbgsym_8.6.8+dfsg-3_amd64.deb
 b4a384e8c7e1423e08f39e90b237558e0c357fa1 995568 
tcl8.6-dev_8.6.8+dfsg-3_amd64.deb
 afb00cf4f8b5fbd399618d4d2b3a1468570368f9 1722384 
tcl8.6-doc_8.6.8+dfsg-3_all.deb
 a75e167805aed1fe7e76dd54a14c90454a048b46 6867 
tcl8.6_8.6.8+dfsg-3_amd64.buildinfo
 eb972bc3be248ce821ede213065030b6e6312eae 122980 tcl8.6_8.6.8+dfsg-3_amd64.deb
Checksums-Sha256:
 835f9313964feed7fdf53327f120f55a09cbaa4ec1340aa4c4ede3cda45ec51b 1998 
tcl8.6_8.6.8+dfsg-3.dsc
 a1dbc70c609d317e63163b9bc713cea807f426d5f72e83517e4c25a7276ee44e 16008 
tcl8.6_8.6.8+dfsg-3.debian.tar.xz
 34056a6d2013894fb33d2dd9bfcc25beae016bd03457504c5ce0047abbae8aed 5199704 
libtcl8.6-dbgsym_8.6.8+dfsg-3_amd64.deb
 70222bd006801b67015873144daf51a55cd340506f67358878f4b0c58350f867 987380 
libtcl8.6_8.6.8+dfsg-3_amd64.deb
 884b15052af8c5d9d5613285c8e787e13e1d80234dbb25e5f7bf061d5f8a5215 24152 
tcl8.6-dbgsym_8.6.8+dfsg-3_amd64.deb
 1ead357876cd579243a8f3d0e915fc186f22a325b0ae8673297a3c5529bdd413 995568 
tcl8.6-dev_8.6.8+dfsg-3_amd64.deb
 cb768d04ab6da541eae5b2cecad7bd440d54b9e299d0b04a1db81df72b9d2b12 1722384 
tcl8.6-doc_8.6.8+dfsg-3_all.deb
 7755e9f6d19e458679af71a7478f7e21ff6bcb4d9f3c37d57a8da47a89365fd4 6867 
tcl8.6_8.6.8+dfsg-3_amd64.buildinfo
 32821a7056a20f6303accbb8e6dfb8b9955d9b51d12d14b506e3ae994c3b4103 122980 
tcl8.6_8.6.8+dfsg-3_amd64.deb
Files:
 3b95d11e56238f3f89cae28e9e7a5b7d 1998 libs optional tcl8.6_8.6.8+dfsg-3.dsc
 16b7f4d33aa783ce55197519150d9a67 16008 libs optional 
tcl8.6_8.6.8+dfsg-3.debian.tar.xz
 89524c55e82f21d1a738a2cdbd5b8a0f 5199704 debug optional 
libtcl8.6-dbgsym_8.6.8+dfsg-3_amd64.deb
 a6a972ef6e0c3f31419fac21b0bc88cf 987380 libs optional 
libtcl8.6_8.6.8+dfsg-3_amd64.deb
 d433729d2e6aa6efb424e8de269e49f9 24152 debug optional 
tcl8.6-dbgsym_8.6.8+dfsg-3_amd64.deb
 4e83e4d9d0ed310d0e478db831b864f3 995568 libdevel optional 
tcl8.6-dev_8.6.8+dfsg-3_amd64.deb
 506f691b155a2a1510ba5e1e5b3d91ec 1722384 doc optional 
tcl8.6-doc_8.6.8+dfsg-3_all.deb
 31443a0dd52498b4487b9a2f1e8432aa 6867 libs optional 
tcl8.6_8.6.8+dfsg-3_amd64.buildinfo
 24e04c4e2c330667fccdbe6b5e7474f4 122980 interpreters optional 
tcl8.6_8.6.8+dfsg-3_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE/SYPsyDB+ShSnvc4Tyrk60tj54cFAlqOgnwACgkQTyrk60tj
54fMkQ/9HXSjEw3y5X6GSQ3RZQN2FB9wO97xafiACusgfeXLlIsPARkkIjia9Izp
3HV4yac0e4zGvr2RgTquPM4GHhzkGcLKCMqsQRd2Y03hTuTTX3XbuhwD6fEfNY/J
32lrBVb9hQBO45hS4IPUl8sMUc63c3iYZh+hrijbuySV2bB+YsECestJNvncovJl
esoEgM27N0Gn3qyJLPKCW06DgZ0S1yzl7LyTdjrBXxsbDt0J6THJ8fFn4aA4iJww
74nftvn9X54JD9lFSmIc3+0R8rS9UQ+hU8kbpb8se//KhZcsjK+wuOjfZSZrkvmf
hMAs1HehfLkhHul2g9DMj3rdwaaEJK6I8Y7JiXcIuwci/XUi9sDEW2xUjffIWgC1
bDA20KGcGY/5Ku3zyHvCfBYZpFhnNuyAeLhEOqFo3FH2d3q8xxqq+GSpfH0ecZSW
ua5YFHCxGjzwNrSyTp+MbSJvLpzjlQpuv/vnJUmt/jqi7oxMx+gD+5cv/5elQfRZ
KCzW/YVBFhHDFR4DgMqO+nZUxyyi2CnpivptLJgn7XWzn9xUlwcm5qt+E4es/bnq
m9d4HXa5urMrbtreOm2Idl4CyfRxqk+t1m0jhTm7RK73P4LYmSieKGBPgam589Dx
1ztQ5VoT+cB0k1HLKxh+NIPx2H9E37sjyuFC7u2MujY33dug3tI=
=U/zu
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to