Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899622 - sys-apps/systemd-utils-252.7::gentoo -- python3 jinja2 missing
Summary: sys-apps/systemd-utils-252.7::gentoo -- python3 jinja2 missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-05 01:48 UTC by Gary E. Miller
Modified: 2023-03-05 03:43 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,12.55 KB, text/plain)
2023-03-05 01:51 UTC, Gary E. Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary E. Miller 2023-03-05 01:48:14 UTC
Fails to emerge.

Reproducible: Always

Steps to Reproduce:
1. emerge -uDNa world
2.
3.
Actual Results:  
fails

Expected Results:  
success

The failure:

Program setfont found: YES (/usr/bin/setfont)
Program nologin found: YES (/sbin/nologin)
Program python3 found: YES (/usr/bin/python3)

../systemd-stable-252.7/meson.build:707:8: ERROR: Problem encountered: python3 jinja2 missing



[...]

media ~ # emerge -pqv '=sys-apps/systemd-utils-252.7::gentoo'
[ebuild     U ] sys-apps/systemd-utils-252.7 [252.6] USE="acl kmod (split-usr) tmpfiles udev -boot (-selinux) -sysusers -test" ABI_X86="(64) -32 (-x32)" 
media ~ # emerge --info '=sys-apps/systemd-utils-252.7::gentoo'
Portage 3.0.45.1 (python 3.10.10-final-0, default/linux/amd64/17.1/desktop, gcc-12, glibc-2.36-r7, 6.1.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.12-gentoo-x86_64-AMD_Ryzen_5_PRO_2400GE_w-_Radeon_Vega_Graphics-with-glibc2.36
KiB Mem:    15794928 total,   6150908 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Sat, 04 Mar 2023 10:45:01 +0000
Head commit of repository gentoo: 68d1a76055f00aad512e03550886aa93848d74fa
sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p2) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.10_p2::gentoo, 3.11.2_p1::gentoo
dev-lang/rust-bin:         1.67.1-r1::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            1.0.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy clean-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 sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com http://gentoo-mirror.flux.utah.edu/ http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en en_US"
MAKEOPTS="-j2"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 archive avif bash-completion bluetooth branding btpclient bzip2 cairo cdda cdr cli crypt cups dav1d dbus dec265 dri dts dvb dvd dvdr elfutils elogind enc265 encode exif extra extras faad ffmpeg flac flashrom fontconfig fortran gdbm gdk-pixbuf gif gnutls gtk gtk3 gui hdhomerun heif http hwloc iconv icu iptv ipv6 jpeg ladspa lcms libaom libdrm libglvnd libmount libnotify libssh2 libtirpc libvisual libxml2 lm-sensors lv2 lzma mad mdnsresponder-compat minizip mng mp3 mp4 mpeg mplayer multilib na-dd na-dtv na-tvmedia ncat ncurses netlink network nfs nfsdcld nfsidmap nfsv4 nfsv41 nls nping nptl nvme obex ogg opencl opengl openh264 openmp openssl opus osmesa pam pango pcre pdf pipewire png policykit ppds pulseaudio python qt5 rav1e readline rpc rubberband sdl seccomp sndio sound spell split-usr sqlite ssl startup-notification suid svg svt-av1 system-info test-rust theora tiff tools tpm truetype tv-check tv-combiner tv-pick-cgi twolame udev udisks uefi unicode upower uriparser usb utils uuid vaapi vdpau vlc vorbis vpx vulkan wavpack webp wxwidgets x264 x265 xattr xcb xcrypt xft xml xmltv xorg xpm xtables xv xvfb xvid zeroconf zimg zink zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" 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 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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="libinput" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby31" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

media ~ #
Comment 1 Gary E. Miller 2023-03-05 01:51:06 UTC
Created attachment 856136 [details]
build.log

build.log
Comment 2 Ionen Wolkens gentoo-dev 2023-03-05 01:56:54 UTC
The jinja dependency is there but this doesn't seem to run python-any-r1_pkg_setup  and so python_check_deps is never ran.

So I guess it just happened to use the wrong python here.
Comment 3 Ionen Wolkens gentoo-dev 2023-03-05 02:36:23 UTC
For reference in case there's more to this, also came up on the forums from another user:
https://forums.gentoo.org/viewtopic-t-1162146.html
Comment 4 Larry the Git Cow gentoo-dev 2023-03-05 03:24:30 UTC
The bug has been closed via the following commit(s):

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

commit 220b04352f5151b15575b0fd06874c1037013e80
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-03-05 03:22:13 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-03-05 03:24:21 +0000

    sys-apps/systemd-utils: call python_setup
    
    Closes: https://bugs.gentoo.org/899622
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/systemd-utils/systemd-utils-251.10-r1.ebuild | 5 +++++
 sys-apps/systemd-utils/systemd-utils-252.6.ebuild     | 5 +++++
 sys-apps/systemd-utils/systemd-utils-252.7.ebuild     | 5 +++++
 3 files changed, 15 insertions(+)
Comment 5 Gary E. Miller 2023-03-05 03:37:52 UTC
I had python 11 selected, but jinja only installed for python  10.  Switching my default python to 10, then this succeeded.

Seems like emerge should have known that since it was running under python 11 that it needed jinja[python_targets_python3_11].
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-05 03:43:07 UTC
(In reply to Gary E. Miller from comment #5)
> I had python 11 selected, but jinja only installed for python  10. 
> Switching my default python to 10, then this succeeded.
> 
> Seems like emerge should have known that since it was running under python
> 11 that it needed jinja[python_targets_python3_11].

It's fixed by the above commit.