Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822465 - media-gfx/blender-2.83.15-r1 - ModuleNotFoundError: No module named 'bpy'
Summary: media-gfx/blender-2.83.15-r1 - ModuleNotFoundError: No module named 'bpy'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Adrian
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2021-11-08 16:22 UTC by Michal Plichta
Modified: 2021-12-03 22:51 UTC (History)
4 users (show)

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


Attachments
build log (blender-2.83.15-r1-build.log.bz2,380.56 KB, application/x-bzip)
2021-11-08 16:23 UTC, Michal Plichta
Details
updated 2.93.2 ebuild (blender-2.93.2-r1.ebuild,11.83 KB, text/plain)
2021-11-08 16:34 UTC, Sebastian Parborg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Plichta 2021-11-08 16:22:42 UTC
Blender generating API documentation failed

Related to: #734104
https://bugs.gentoo.org/734104


Reproducible: Always

Steps to Reproduce:
1. unmask doc USE
2. eneble doc for blender
3. emerge blender
Comment 1 Michal Plichta 2021-11-08 16:23:00 UTC
Created attachment 749574 [details]
build log
Comment 2 Michal Plichta 2021-11-08 16:24:32 UTC
Portage 3.0.28 (python 3.9.7-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.2.0, glibc-2.33-r7, 5.14.15-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.14.15-gentoo-x86_64-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8500_@_3.16GHz-with-glibc2.33
KiB Mem:     8079876 total,   4078960 free
KiB Swap:   17835004 total,  15157156 free
Timestamp of repository gentoo: Sun, 07 Nov 2021 16:00:01 +0000
Head commit of repository gentoo: cb5dcb0cc65a4751719df459686b800fabadaeac
Timestamp of repository dotnet: Sun, 31 Oct 2021 19:53:07 +0000
Head commit of repository dotnet: 7e96044208e524d54028cf9e4db5d94aa96b9300

Timestamp of repository guru: Sun, 07 Nov 2021 09:06:34 +0000
Head commit of repository guru: 11c922fd89027eba97f2f156917021db8c4052ad

Timestamp of repository torbrowser: Sat, 06 Nov 2021 18:06:29 +0000
Head commit of repository torbrowser: 49727c9b448bb4b09c0495d9788f6e71150faad4

sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
ccache version 4.4.2 [enabled]
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r3::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.8.12_p1::gentoo, 3.9.7_p1::gentoo
dev-lang/rust:            1.53.0::gentoo
dev-util/ccache:          4.4.2::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.44.7::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::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.33-r7::gentoo
Repositories:


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

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

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

phoebe
    location: /usr/local/portage
    masters: gentoo

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME 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="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en-US pl"
MAKEOPTS="-j3"
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 branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tiff tk truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xinerama xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2019" 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="mmx mmxext sse sse2 sse3 sse4_1 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 pl" 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-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nouveau" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 3 Sebastian Parborg 2021-11-08 16:34:35 UTC
Created attachment 749580 [details]
updated 2.93.2 ebuild

Could you try the updated 2.93.2 ebuild that I have attached?
For me the python API seems to build now with my changes.
Comment 4 Michal Plichta 2021-11-08 16:47:28 UTC
This bug was crated on request of Jonas Stein:

"Could anyone test and report for 2.83 too, so that we can close this ticket?"

So not sure if it is valuable to try fix 2.93.
Comment 5 Sebastian Parborg 2021-11-08 21:58:50 UTC
This is not a issue specific to the 2.83 build.
If you can confirm that the updated 2.93.2 ebuild works, then the same fix can be applied to the 2.83
Comment 6 Michal Plichta 2021-11-12 00:38:37 UTC
Yes ebuild work with +doc USE flag
Comment 7 Larry the Git Cow gentoo-dev 2021-12-03 22:51:00 UTC
The bug has been closed via the following commit(s):

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

commit a4acd154d75e1e0f16f641bf3d882039d5370914
Author:     Sebastian Parborg <darkdefende@gmail.com>
AuthorDate: 2021-12-03 14:05:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-03 22:40:32 +0000

    media-gfx/blender: Fix building docs
    
    Closes: https://bugs.gentoo.org/822465
    Closes: https://bugs.gentoo.org/734104
    
    Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/23161
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/blender/blender-2.93.6.ebuild | 59 ++++++++++++++++-----------------
 media-gfx/blender/blender-3.0.0.ebuild  | 59 ++++++++++++++++-----------------
 media-gfx/blender/blender-9999.ebuild   | 59 ++++++++++++++++-----------------
 profiles/base/package.use.mask          |  5 ---
 4 files changed, 87 insertions(+), 95 deletions(-)