Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
blender-2.77 && python3_5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Yczo
Apprentice
Apprentice


Joined: 09 Jul 2011
Posts: 225

PostPosted: Fri Jul 22, 2016 9:02 am    Post subject: blender-2.77 && python3_5 Reply with quote

Hello,

I'm trying to update to blender-2.77, but requieres python3_5.

I added the overlay nightmare where blender-2.77 is, and have make.conf modified to

Code:

#make.conf
USE_PYTHON="2.7 3.4 3.5"
PYTHON_TARGETS="python2_7 python3_4 python3_5"
PYTHON_SINGLE_TARGET="python3_4"


but when I try to emerge blender, I obtain: (I'm on stable)

Code:

# emerge blender
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "dev-python/ndg-httpsclient[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]".                                                                                                                   
(dependency required by "dev-python/requests-2.9.1-r2::gentoo" [ebuild])
(dependency required by "media-gfx/blender-2.77::nightmare" [ebuild])
(dependency required by "blender" [argument])




please, any help is welcome

Thanks in advance
Back to top
View user's profile Send private message
Pistos
Apprentice
Apprentice


Joined: 29 Jul 2003
Posts: 175
Location: Canada

PostPosted: Mon Oct 24, 2016 6:56 pm    Post subject: Can't emerge blender 2.78 Reply with quote

Similar problem for me:

Code:
# emerge -uatv blender

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

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy ">=dev-python/six-1.5.2[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]".
(dependency required by "dev-python/pyopenssl-16.2.0::gentoo" [ebuild])
(dependency required by "dev-python/requests-2.11.1::gentoo" [ebuild])
(dependency required by "media-gfx/blender-2.78::gentoo" [ebuild])
(dependency required by "blender" [argument])


My make.conf has:
Code:
PYTHON_TARGETS="python2_7 python3_4"                                                                                                                                # USE_PYTHON="2.7"


My package.use has:
Code:
media-gfx/blender cycles ffmpeg openimageio python_targets_python3_5

where the openimageio and python target words at the end I've added when trying to get blender to update.

emerge --info:
Code:
Portage 2.3.0 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.3, glibc-2.22-r4, 4.4.21-gentoo x86_64)
=================================================================
System uname: Linux-4.4.21-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_870_@_2.93GHz-with-gentoo-2.2
KiB Mem:    12264520 total,   3813060 free
KiB Swap:    2097148 total,   1838456 free
Timestamp of repository gentoo: Mon, 24 Oct 2016 17:45:01 +0000
sh bash 4.3_p48
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.2.5-r6::gentoo, 3.3.5-r3::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21.7::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 AdobeFlash-10 AdobeFlash-10.1 AdobeFlash-10.3 AdobeFlash-11.x skype-eula baudline"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /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"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/ http://mirror.leaseweb.com/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-s -j5 -l 6"
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 alsa amd64 berkdb branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm iconv icu jack jpeg kde kipi lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 readline sdl seccomp session sse sse2 ssl startup-notification svg tcpd tiff truetype type1 udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" 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="actions alias asis auth_anon auth_basic auth_dbm auth_digest authn_core authn_file authz_core authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta cgi cgid charset_lite dav dav_fs deflate dir disk_cache echo env expires ext_filter file_cache filter headers imap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" CALLIGRA_FEATURES="krita karbon" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Tue Oct 25, 2016 12:01 pm    Post subject: Reply with quote

Hi.
I'll try the newest 2.78 as it just(?) popped into offical gentoo overlay.
eshowkw -O blender:
Keywords for media-gfx/blender:
             |                                 | u      | 
             | a a   a         n   p r     s   | n      | 
             | l m   r h i m m i   p i s   p   | u s    | r
             | p d a m p a 6 i o p c s 3   a x | s l    | e
             | h 6 r 6 p 6 8 p s p 6 c 9 s r 8 | e o    | p
             | a 4 m 4 a 4 k s 2 c 4 v 0 h c 6 | d t    | o
-------------+---------------------------------+--------+----------
   2.72b-r4  | o ~ o o o o o o o o o o o o o ~ | # 0    | gentoo   
    2.76     | o ~ o o o o o o o o o o o o o ~ | #      | farmboy0
[I]2.76b     | o ~ o o o o o o o o o o o o o ~ | #      | nightmare
    2.77     | o ~ o o o o o o o o o o o o o ~ | #      | nightmare
    2.78     | o ~ o o o o o o o o o o o o o ~ | o      | gentoo   
-------------+---------------------------------+--------+----------
    9999-r8  | o o o o o o o o o o o o o o o o | # 9999 | cg       
    9999-r9  | o o o o o o o o o o o o o o o o | #      | cg       
    9999-r10 | o o o o o o o o o o o o o o o o | #      | cg       
    9999-r11 | o o o o o o o o o o o o o o o o | o      | cg

EDIT: It wants to pull many ~packages with it. Mostly ~python3.5 stuff and ~boost...
I'll see if I want to unmask all those or not...
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Wed Oct 26, 2016 2:13 pm    Post subject: Reply with quote

It tried to unmask a plethora of python stuff, but something always stopped the emerge.
Every time is was something needing specific python USE flags. Maybe going fully to ~amd64 would solve the issue...
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
unheatedgarage
n00b
n00b


Joined: 19 Sep 2016
Posts: 60

PostPosted: Fri Oct 28, 2016 3:35 am    Post subject: Reply with quote

I was able to install the latest blender the other day, but I am running ~amd64 and still had to add python3_5 to make.conf. It was pretty massive--something around 800 MB to download everything.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Fri Oct 28, 2016 9:15 am    Post subject: Reply with quote

unheatedgarage wrote:
and still had to add python3_5 to make.conf
To where specifically? PYTHON_SINGLE_TARGET, PYTHON_TARGETS?
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
unheatedgarage
n00b
n00b


Joined: 19 Sep 2016
Posts: 60

PostPosted: Fri Oct 28, 2016 1:36 pm    Post subject: Reply with quote

I added it to PYTHON_TARGETS, in addition to python2_7 and python3_4. Later on Portage complained about dev-libs/libpeas having too many python targets, so I added "dev-libs/libpeas -python_targets_python3_4" to package.mask. That cured that, and the recent Blender upgrade went off without a hitch.

Yesterday I used eselect to set Python 3.5 as the primary choice for the system, but by that point blender had already been installed for a couple of days, so it wasn't necessary.

Hopefully it was the right choice, though!
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Sat Oct 29, 2016 11:29 am    Post subject: Reply with quote

unheatedgarage wrote:
so I added "dev-libs/libpeas -python_targets_python3_4" to package.mask.
Do you mean package.use instead of package.mask? If not, then I didn't knew you could do that in package.mask.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
unheatedgarage
n00b
n00b


Joined: 19 Sep 2016
Posts: 60

PostPosted: Sat Oct 29, 2016 12:39 pm    Post subject: Reply with quote

Zucca wrote:
unheatedgarage wrote:
so I added "dev-libs/libpeas -python_targets_python3_4" to package.mask.
Do you mean package.use instead of package.mask? If not, then I didn't knew you could do that in package.mask.


Whoops! Thank you for pointing that out! I just checked and that's definitely in package.use. Apologies!
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Sun Oct 30, 2016 2:01 pm    Post subject: Reply with quote

Switching system python to 3.5 and unmasking some packages may be the solution to get blender 2.78 working on non-~.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum