Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648570 - dev-lang/tcl and dev-lang/tk built with <sys-libs/glibc-2.27: -lieee hardcoded in installed files
Summary: dev-lang/tcl and dev-lang/tk built with <sys-libs/glibc-2.27: -lieee hardcode...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal with 1 vote (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
: 647202 647634 649830 657450 657484 657492 657546 (view as bug list)
Depends on: 647268 666316
Blocks: glibc-2.27 glibc-2.27-stable
  Show dependency tree
 
Reported: 2018-02-23 02:15 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2018-10-20 18:36 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2018-02-23 02:15:59 UTC
If dev-lang/tcl and dev-lang/tk have been built with <sys-libs/glibc-2.27, then -lieee is hardcoded in installed files.
This causes breakage in some reverse dependencies of dev-lang/tcl and dev-lang/tk after upgrade to >=sys-libs/glibc-2.27, if dev-lang/tcl and dev-lang/tk are not re-built.
libieee.a has been removed in >=sys-libs/glibc-2.27.


# grep -- -lieee $(qlist dev-lang/tcl | sort) $(qlist dev-lang/tk | sort)
/usr/lib64/pkgconfig/tcl.pc:Libs.private: -ldl -lz  -lpthread -lieee -lm
/usr/lib64/tclConfig.sh:TCL_LIBS='-ldl -lz  -lpthread -lieee -lm'
/usr/lib64/tkConfig.sh:TK_LIBS='-lX11 -lXss -lXext -lXft -lfontconfig -lfreetype -lfontconfig  -lpthread -ldl -lz  -lpthread -lieee -lm'


Tcl has not used libieee.a for long time. Tcl upstream recently dropped obsolete check for libieee.a:

https://core.tcl.tk/tcl/info/c9a48a280ecff84c
https://core.tcl.tk/tcl/info/934a0afb70f10e0a

Backporting of above commit is required (with revision bumps / version bumps).
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-03-07 15:44:52 UTC
*** Bug 649830 has been marked as a duplicate of this bug. ***
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-07-29 16:41:08 UTC
*** Bug 657546 has been marked as a duplicate of this bug. ***
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-07-29 16:41:27 UTC
*** Bug 657484 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2018-07-29 16:41:48 UTC
*** Bug 657450 has been marked as a duplicate of this bug. ***
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2018-07-30 05:56:28 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #0)
> If dev-lang/tcl and dev-lang/tk have been built with <sys-libs/glibc-2.27,
> then -lieee is hardcoded in installed files.
> This causes breakage in some reverse dependencies of dev-lang/tcl and
> dev-lang/tk after upgrade to >=sys-libs/glibc-2.27, if dev-lang/tcl and
> dev-lang/tk are not re-built.
> libieee.a has been removed in >=sys-libs/glibc-2.27.
> 
> 
> # grep -- -lieee $(qlist dev-lang/tcl | sort) $(qlist dev-lang/tk | sort)
> /usr/lib64/pkgconfig/tcl.pc:Libs.private: -ldl -lz  -lpthread -lieee -lm
> /usr/lib64/tclConfig.sh:TCL_LIBS='-ldl -lz  -lpthread -lieee -lm'
> /usr/lib64/tkConfig.sh:TK_LIBS='-lX11 -lXss -lXext -lXft -lfontconfig
> -lfreetype -lfontconfig  -lpthread -ldl -lz  -lpthread -lieee -lm'
> 
> 
> Tcl has not used libieee.a for long time. Tcl upstream recently dropped
> obsolete check for libieee.a:
> 
> https://core.tcl.tk/tcl/info/c9a48a280ecff84c
> https://core.tcl.tk/tcl/info/934a0afb70f10e0a

Added in 8.6.8. Should perhaps be backported to SLOT=8.5, too.
Comment 6 Arfrever Frehtes Taifersar Arahesis 2018-07-30 15:28:01 UTC
*** Bug 647202 has been marked as a duplicate of this bug. ***
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2018-09-12 18:44:17 UTC
*** Bug 647634 has been marked as a duplicate of this bug. ***
Comment 8 Larry the Git Cow gentoo-dev 2018-10-20 16:11:07 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42165e08fae435b4e4e97915d2f724e9e584d9e3

commit 42165e08fae435b4e4e97915d2f724e9e584d9e3
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-10-20 16:10:50 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-10-20 16:10:50 +0000

    dev-lang/tk: Remove old
    
    Bug: https://bugs.gentoo.org/648570
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
    Package-Manager: Portage-2.3.50, Repoman-2.3.11

 dev-lang/tk/Manifest           |   3 -
 dev-lang/tk/tk-8.6.5-r1.ebuild | 148 -----------------------------------------
 dev-lang/tk/tk-8.6.5.ebuild    | 143 ---------------------------------------
 dev-lang/tk/tk-8.6.6.ebuild    | 148 -----------------------------------------
 dev-lang/tk/tk-8.6.7.ebuild    | 148 -----------------------------------------
 5 files changed, 590 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c626e2b33ceca9273df45dfb8f4853fb52c7abc

commit 7c626e2b33ceca9273df45dfb8f4853fb52c7abc
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-10-20 16:09:28 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-10-20 16:09:28 +0000

    dev-lang/tcl: Remove old
    
    Bug: https://bugs.gentoo.org/648570
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
    Package-Manager: Portage-2.3.50, Repoman-2.3.11

 dev-lang/tcl/Manifest         |   3 -
 dev-lang/tcl/tcl-8.6.5.ebuild | 131 -----------------------------------------
 dev-lang/tcl/tcl-8.6.6.ebuild | 133 ------------------------------------------
 dev-lang/tcl/tcl-8.6.7.ebuild | 131 -----------------------------------------
 4 files changed, 398 deletions(-)
Comment 9 Larry the Git Cow gentoo-dev 2018-10-20 17:53:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5271375115846c432efe41e5dec959e323d9110

commit b5271375115846c432efe41e5dec959e323d9110
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-10-20 17:28:19 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-10-20 17:52:54 +0000

    dev-lang/tk: Backport libieee patch, bug 648570
    
    Closes: https://bugs.gentoo.org/648570
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
    Package-Manager: Portage-2.3.50, Repoman-2.3.11

 dev-lang/tk/tk-8.5.17-r1.ebuild   | 126 ++++++++++++++++++++++++++++++++++++++
 dev-lang/tk/tk-8.5.17-r101.ebuild |  96 +++++++++++++++++++++++++++++
 2 files changed, 222 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d107e50b107219c08ca9a5dcfa64bf18f7bf3e32

commit d107e50b107219c08ca9a5dcfa64bf18f7bf3e32
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-10-20 16:38:48 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-10-20 17:52:54 +0000

    dev-lang/tcl: Backport libieee patch, bug 648570
    
    Bug: https://bugs.gentoo.org/648570
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
    Package-Manager: Portage-2.3.50, Repoman-2.3.11

 dev-lang/tcl/tcl-8.5.17-r1.ebuild   | 117 ++++++++++++++++++++++++++++++++++++
 dev-lang/tcl/tcl-8.5.17-r101.ebuild |  96 +++++++++++++++++++++++++++++
 2 files changed, 213 insertions(+)
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2018-10-20 18:36:45 UTC
*** Bug 657492 has been marked as a duplicate of this bug. ***