Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767766 - net-dns/dnsmasq-2.83-r101 calls lua_setup when USE=-lua
Summary: net-dns/dnsmasq-2.83-r101 calls lua_setup when USE=-lua
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-28 14:25 UTC by ta2002
Modified: 2021-01-28 19:26 UTC (History)
1 user (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 ta2002 2021-01-28 14:25:50 UTC
Since I don't want lua support for this package, I have all lua targets unset.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] net-dns/dnsmasq-2.83-r101::gentoo [2.83-r1::gentoo] USE="dbus inotify ipv6 -auth-dns -conntrack -dhcp -dhcp-tools -dnssec -dumpfile -id -idn -libidn2 -lua -nettlehash -nls -script (-selinux) -static -tftp" LUA_SINGLE_TARGET="-lua5-1% -lua5-2% -lua5-3% -lua5-4% -luajit%" 0 KiB


>>> Emerging (1 of 1) net-dns/dnsmasq-2.83-r101::gentoo
 * dnsmasq-2.83.tar.xz BLAKE2B SHA512 size ;-) ...                                                                           [ ok ]
 * No Lua implementation selected for the build. Please set
 * the LUA_SINGLE_TARGET variable in your make.conf to one
 * of the following values:
 *
 * luajit lua5-1 lua5-2 lua5-3 lua5-4

 * ERROR: net-dns/dnsmasq-2.83-r101::gentoo failed (setup phase):
 *   No supported Lua implementation in LUA_SINGLE_TARGET.
 *
 * Call stack:
 *           ebuild.sh, line 125:  Called pkg_setup
 *           ebuild.sh, line 355:  Called lua-single_pkg_setup
 *   lua-single.eclass, line 536:  Called lua_setup
 *   lua-single.eclass, line 526:  Called die
 * The specific snippet of code:
 *       die "No supported Lua implementation in LUA_SINGLE_TARGET."
 *
 * If you need support, post the output of `emerge --info '=net-dns/dnsmasq-2.83-r101::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-dns/dnsmasq-2.83-r101::gentoo'`.
 * The complete build log is located at '/var/log/portage/net-dns:dnsmasq-2.83-r101:20210128-050220.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-dns/dnsmasq-2.83-r101/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/dnsmasq-2.83-r101/temp/die.env'.
 * Working directory: '/var/tmp/portage/net-dns/dnsmasq-2.83-r101/homedir'
 * S: '/var/tmp/portage/net-dns/dnsmasq-2.83-r101/work/dnsmasq-2.83'


Someone on the forum suggested that the ebuild should include this:

pkg_setup() {
    use lua && lua-single_pkg_setup
}
Comment 1 Larry the Git Cow gentoo-dev 2021-01-28 19:26:12 UTC
The bug has been closed via the following commit(s):

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

commit fedc6799e45674c992abb56a3701525e4f2efb60
Author:     Patrick McLean <patrick.mclean@sony.com>
AuthorDate: 2021-01-28 19:26:03 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2021-01-28 19:26:03 +0000

    net-dns/dnsmasq-2.83-r101: no lua_setup on USE=-lua (bug #767766)
    
    Closes: https://bugs.gentoo.org/767766
    Copyright: Sony Interactive Entertainment Inc.
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 net-dns/dnsmasq/dnsmasq-2.83-r101.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

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

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

commit a716581a0cfc71fcc0fc210cd4504661fd345539
Author:     Patrick McLean <patrick.mclean@sony.com>
AuthorDate: 2021-01-28 19:23:45 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2021-01-28 19:23:45 +0000

    net-dns/dnsmasq-2.84-r101: Revbump, no lua on USE=-lua (bug #767766)
    
    Bug: https://bugs.gentoo.org/767766
    Copyright: Sony Interactive Entertainment Inc.
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 .../dnsmasq/{dnsmasq-2.84-r100.ebuild => dnsmasq-2.84-r101.ebuild}    | 4 ++++
 1 file changed, 4 insertions(+)