Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730048 - dev-lang/erlang-23.0.1 - USE=tk has no effect
Summary: dev-lang/erlang-23.0.1 - USE=tk has no effect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-28 19:12 UTC by Maciej Barć
Modified: 2020-07-01 21:43 UTC (History)
2 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 Maciej Barć gentoo-dev 2020-06-28 19:12:44 UTC
the USE flag "tk" in the package dev-lang/erlang does not affect the built package at all

from erlang-23.0.ebuild:
IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets"
tk? ( dev-lang/tk:0 )

No configuration options for TK in the Makefile.


Reproducible: Always
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2020-07-01 21:42:36 UTC
I wonder if erlang used to use tk's autoconf macros to detect socket libraries:

lib/odbc/configure.in:    tk_oldLibs=$LIBS
lib/odbc/configure.in:    AC_CHECK_FUNC(accept, odbc_erl_checkNsl=0, [LIBS=$tk_oldLibs])
...
erts/configure.in:LIBS="$tk_oldLibs $SOCKET_LIBS"
erts/configure.in:LIBS="$tk_oldLibs $SOCKET_LIBS"

Let's drop the dependency.
Comment 2 Larry the Git Cow gentoo-dev 2020-07-01 21:43:47 UTC
The bug has been closed via the following commit(s):

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

commit 3547a19e1730c69e7e83aab01a63147e1d5f0dc9
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-07-01 21:43:32 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-07-01 21:43:32 +0000

    dev-lang/erlang: drop unused dev-lang/tk dependency
    
    Reported-by: xgqt@protonmail.com
    Closes: https://bugs.gentoo.org/730048
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-lang/erlang/erlang-21.1.1.ebuild | 3 +--
 dev-lang/erlang/erlang-22.3.2.ebuild | 1 -
 dev-lang/erlang/erlang-22.3.4.ebuild | 1 -
 dev-lang/erlang/erlang-23.0.1.ebuild | 1 -
 4 files changed, 1 insertion(+), 5 deletions(-)