Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730774 - dev-util/gyp-20170904022846-r1 should have RDEPEND="dev-python/setuptools[python_targets_python2_7]"
Summary: dev-util/gyp-20170904022846-r1 should have RDEPEND="dev-python/setuptools[pyt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Deadline: 2020-10-19
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-05 04:18 UTC by Andrew Udvare
Modified: 2020-09-21 16:16 UTC (History)
0 users

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 Andrew Udvare 2020-07-05 04:18:13 UTC
I am on a system where I have set:

PYTHON_TARGETS="python3_7 python3_8 python3_9"

By default, this makes dev-python/setuptools install without Python 2.7 support.

Without dev-python/setuptools[python_targets_python2_7] installed, the configuration of Mozc fails.

Reproducible: Always

Steps to Reproduce:
1. Set PYTHON_TARGETS="python3_7 python3_8 python3_9" in make.conf
2. emerge mozc
Actual Results:  
Does not install.

Expected Results:  
Should install.

Portage 2.3.103 (python 3.7.8-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-10.1.0, glibc-2.31-r5, 5.7.7-gentoo-limelight x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.7.7-gentoo-limelight-x86_64-Intel-R-_Core-TM-_i7-5930K_CPU_@_3.50GHz-with-gentoo-2.7
KiB Mem:    32748752 total,   6638096 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 05 Jul 2020 02:05:25 +0000
Head commit of repository gentoo: 49c299b29cd02c81c75e6db01f0c8807eb2a8bf9

Head commit of repository 12101111-overlay: a4a6f49262a6749e60d08e578454aa9170c73647

Head commit of repository tatsh-overlay: fa3ca58458f2f3625a5f6ed37e9de2c61b672d81

Timestamp of repository torbrowser: Sat, 04 Jul 2020 07:44:32 +0000
Head commit of repository torbrowser: 4c4f26aacdab22363d214aed45de6d5a59f53ef3

sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p4) 2.34.0
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.7.8-r1::gentoo, 3.8.3-r1::gentoo, 3.9.0_beta4::gentoo
dev-util/cmake:           3.17.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.34-r1::gentoo
sys-devel/gcc:            10.1.0-r2::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: no

12101111-overlay
    location: /var/db/repos/hanpiaoyu
    sync-type: git
    sync-uri: https://github.com/12101111/overlay.git
    masters: gentoo
    sync-git-verify-commit-signature: no

tatsh-overlay
    location: /var/db/repos/tatsh
    sync-type: git
    sync-uri: https://github.com/Tatsh/tatsh-overlay.git
    masters: gentoo
    sync-git-verify-commit-signature: no

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

Installed sets: @admin, @bashcomp, @bitcoin, @cc65, @cdr, @charles, @chrome, @cups, @docker, @exfat, @firefox, @fonts, @gimp, @git, @i3, @ibus, @java-ebuilder, @kde, @kernel, @libimobiledevice, @libreoffice, @media, @misc, @mlocate, @mupen64plus, @nim, @pass, @portage-utilities, @python, @rar, @shellcheck, @stepmania, @tmux, @vim, @virtualbox, @vlc, @vscode, @wine, @x11, @x11-misc, @xirvik-vpn
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -ggdb"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 10 --load-average 10 --with-bdeps=y --quiet-build=y --complete-graph --verbose-conflicts --exclude=cross-i686-pc-mingw32/*"
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 clean-logs compressdebug 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 strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ rsync://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en_GB en"
MAKEOPTS="-j10 -l10"
PKGDIR="/var/cache/binpkgs"
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 aacs acl acpi activities alsa amd64 avahi bash-completion berkdb bluetooth bluray branding bzip2 cairo cdda cddb cdio cdr cjk clang cli crypt cups curl dbus declarative dri dts dv dvd dvdr emboss encode exif ffmpeg flac fluidsynth fortran gdbm gif gles gles2 gpm gsm gstreamer heif ibus iconv icu idn ipv6 jemalloc jpeg kde kipi kwallet lame lcms libass libcaca libnotify libtirpc lm-sensors lto lzma mad man matroska mng mod modplug mp3 mp4 mpeg multilib ncurses nls nptl nvenc ogg opengl openmp opus pam pango pcre pdf pgo phonon plasma png policykit ppds pulseaudio qml qt5 rar readline samba scanner sdl seccomp semantic-desktop speex spell split-usr ssl startup-notification svg syslog system-av1 system-cairo system-electron system-ffmpeg system-harfbuzz system-heimdal system-icu system-jpeg system-jsoncpp system-libevent system-libvpx system-llvm system-lua system-ripgrep system-sqlite system-webp systemd taglib tcpd theora tiff truetype twolame udev udisks unicode upower usb v4l vaapi vcd vdpau vim-syntax vorbis vpx vulkan wavpack webengine webp widgets wmf wxwidgets x264 x265 xattr xcb xml xpm xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" INPUT_DEVICES="evdev joystick" KERNEL="linux" L10N="en-GB en ja ko zh-CN zh-TW" 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" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7 python3_8 python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia v4l" 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

=================================================================
                        Package Settings
=================================================================

app-i18n/mozc-2.23.2815.102::gentoo was built with the following:
USE="gui handwriting-tegaki ibus -debug -emacs -fcitx4 -handwriting-tomoe -renderer -test" ABI_X86="(64)"
FEATURES="binpkg-dostrip protect-owned userpriv news compressdebug sandbox multilib-strict network-sandbox ipc-sandbox usersandbox binpkg-docompress config-protect-if-modified unknown-features-warn unmerge-logs binpkg-logs fixlafiles parallel-fetch strict-keepdir pid-sandbox splitdebug userfetch clean-logs assume-digests unmerge-orphans distlocks qa-unresolved-soname-deps merge-sync preserve-libs usersync ebuild-locks sfperms xattr strict"
Comment 1 Andrew Udvare 2020-07-05 04:19:05 UTC
Alternatively, if Gyp gets updated I can have a Python 2.7-free system with my current packages.
Comment 2 Andrew Udvare 2020-07-05 04:20:17 UTC
Steps to reproduce (fixed):

1. Set PYTHON_TARGETS="python3_7 python3_8 python3_9" in make.conf
2. emerge -1 dev-python/certifi dev-python/setuptools
2. emerge app-i18n/mozc
Comment 3 Arfrever Frehtes Taifersar Arahesis 2020-07-05 04:29:45 UTC
Show full build log.

Mozc was ported to Python 3.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2020-07-05 04:40:02 UTC
(Build log not needed.)

Dependencies in dev-util/gyp-20170904022846 were correct (dev-python/setuptools[python_targets_python2_7(-)] in both BDEPEND and RDEPEND), but somebody broke them in dev-util/gyp-20170904022846-r1 (dependency removed from RDEPEND):

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

If ebuild was tested, then warning from eclass would be seen:

 * DISTUTILS_USE_SETUPTOOLS value is probably incorrect
 *   value:    DISTUTILS_USE_SETUPTOOLS=bdepend (default?)
 *   expected: DISTUTILS_USE_SETUPTOOLS=rdepend

(dev-util/gyp-99999999999999 already supports Python 3. New snapshot with support for Python 3 will be somewhen added.)
Comment 5 Arfrever Frehtes Taifersar Arahesis 2020-09-21 16:16:08 UTC
Broken ebuild was deleted.