Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767982 - x11-themes/gtk-engines-2.20.2-r100 does not compile with USE=-lua
Summary: x11-themes/gtk-engines-2.20.2-r100 does not compile with USE=-lua
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-30 11:50 UTC by Marian Kyral
Modified: 2021-01-30 11:58 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 Marian Kyral 2021-01-30 11:50:20 UTC
The gtk-engines package does not compile without USE="-lua". It fails with error message "No supported Lua implementation in LUA_SINGLE_TARGET."


I have installed lua 5.4 and set LUA targets in make.conf, but it does not help.

worker /home/marian # cat /etc/portage/make.conf |grep LUA
LUA_TARGETS="lua5-4"
LUA_SINGLE_TARGET="lua5-4"



Reproducible: Always

Steps to Reproduce:
1. USE="-lua" emerge -uav1DN gtk-engines
Actual Results:  
worker /home/marian # USE="-lua" emerge -uav1DN gtk-engines                                   

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

Calculating dependencies... done!
[ebuild     U  ] x11-themes/gtk-engines-2.20.2-r100:2::gentoo [2.20.2-r2:2::gentoo] USE="-accessibility -lua -lua_single_target_lua5-1% -lua_single_target_lua5-2% -lua_single_target_lua5-3% -lua_single_target_lua5-4%" ABI_X86="(64) -32 (-x32)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-themes/gtk-engines-2.20.2-r100::gentoo
 * gtk-engines-2.20.2.tar.bz2 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:
 * 
 * lua5-1 lua5-2 lua5-3 lua5-4

 * ERROR: x11-themes/gtk-engines-2.20.2-r100::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 '=x11-themes/gtk-engines-2.20.2-r100::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-themes/gtk-engines-2.20.2-r100::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-themes/gtk-engines-2.20.2-r100/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-themes/gtk-engines-2.20.2-r100/temp/die.env'.
 * Working directory: '/var/tmp/portage/x11-themes/gtk-engines-2.20.2-r100/homedir'
 * S: '/var/tmp/portage/x11-themes/gtk-engines-2.20.2-r100/work/gtk-engines-2.20.2'


Expected Results:  
Package compiles.

worker /home/marian # emerge --info
Portage 3.0.13 (python 3.7.9-final-0, !../../mnt/dba/portage/tree/profiles/default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.32-r5, 5.10.5-gentoo x86_64)
=================================================================
System uname: Linux-5.10.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.7
KiB Mem:    16303040 total,   8448340 free
KiB Swap:    8388604 total,   8379540 free
Timestamp of repository gentoo: Sat, 30 Jan 2021 06:32:48 +0000
Head commit of repository gentoo: f9ae13a948936758f099bbce61caf50fb41949fa

Timestamp of repository matrix: Sat, 23 Jan 2021 10:41:42 +0000
Head commit of repository matrix: 504758aa5b9c8240904d0d44b474290027f82459

Head commit of repository perlovka: 1b36738a2d6cb542828d8fc74d377bfe7759fb34

sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r6::gentoo, 3.6.12-r1::gentoo, 3.7.9-r2::gentoo, 3.8.7-r1::gentoo, 3.9.1-r1::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo, 2.35.1-r1::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r5::gentoo
Repositories:

gentoo
    location: /mnt/dba/portage/tree/tree
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

matrix
    location: /var/db/repos/matrix
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/matrix.git
    masters: gentoo

mkyral
    location: /usr/local/portage
    masters: gentoo
    priority: 0

perlovka
    location: /var/db/repos/perlovka
    sync-type: git
    sync-uri: https://github.com/Perlovka/portage-overlay.git
    masters: gentoo

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 10

4nykey
    location: /var/lib/layman/4nykey
    masters: gentoo
    priority: 50

alexxy
    location: /var/lib/layman/alexxy
    masters: gentoo
    priority: 50

booboo
    location: /var/lib/layman/booboo
    masters: gentoo
    priority: 50

fordfrog
    location: /var/lib/layman/fordfrog
    masters: gentoo
    priority: 50

haarp
    location: /var/lib/layman/haarp
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

rion
    location: /var/lib/layman/rion
    masters: gentoo
    priority: 50

seden
    location: /var/lib/layman/seden
    masters: gentoo
    priority: 50

Installed sets: @openwrt-prerequisites
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --backtrack=30"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ https://mirror.dkm.cz/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bindist bluetooth boost branding bzip2 cairo cdda cdr cli crypt cups curl cxx dbus declarative dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif git gnutls gpm gstreamer gtk3 iconv icu imagemagick iproute2 ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg mplayer multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio python qml qt5 raw readline sdl seccomp semantic-desktop smp spell split-usr sqlite ssl startup-notification subversion svg tcpd thumbnail tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xpm xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics wacom" KERNEL="linux" L10N="cs" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres9_6%" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" QEMU_SOFTMMU_TARGETS="x86_64 arm" QEMU_USER_TARGETS="x86_64 arm" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="nvidia intel modesetting" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marian Kyral 2021-01-30 11:54:51 UTC
The first sentence should be:

The gtk-engines package does not compile with USE="-lua".
Comment 2 Larry the Git Cow gentoo-dev 2021-01-30 11:58:31 UTC
The bug has been closed via the following commit(s):

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

commit 50ed795169ca97870af4be2f49f95e0786775136
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-01-30 11:58:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-01-30 11:58:29 +0000

    x11-themes/gtk-engines: fix pkg_setup with USE=-lua
    
    Closes: https://bugs.gentoo.org/767982
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-themes/gtk-engines/gtk-engines-2.20.2-r100.ebuild | 4 ++++
 1 file changed, 4 insertions(+)