Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems updating scipy-0.12.0
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
Boccaccio
Apprentice
Apprentice


Joined: 19 Jul 2005
Posts: 257

PostPosted: Thu Jun 13, 2013 8:43 pm    Post subject: Problems updating scipy-0.12.0 Reply with quote

Hi everybody,

since a few days, I get the following message when running emerge -uDNva @world

Quote:

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

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "virtual/python-imaging[python_targets_python2_5(-)?,python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_5(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)]".
!!! One of the following packages is required to complete your request:
- sci-libs/scipy-0.12.0::gentoo (Change USE: -python_targets_python3_2 -python_targets_python2_7)
(dependency required by "sci-libs/scipy-0.12.0" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


When I follow the advice given by portage and add the USE flags -python_targets_python3_2 -python_targets_python2_7, I get the following message

Quote:

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

Calculating dependencies |

!!! Problem resolving dependencies for sci-libs/scipy
... done!

!!! The ebuild selected to satisfy "scipy" has unmet requirements.
- sci-libs/scipy-0.12.0::gentoo USE="-doc -sparse -test" PYTHON_TARGETS="-python2_5 -python2_6 -python2_7 -python3_2 -python3_3"

The following REQUIRED_USE flag constraints are unsatisfied:
any-of ( python_targets_python2_5 python_targets_python2_6 python_targets_python2_7 python_targets_python3_2 python_targets_python3_3 )


Any ideas how to fix this issue apart from downgrading to scipy-0.11.0-r1?
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2534
Location: In the city of the dreaming spires

PostPosted: Thu Jun 13, 2013 10:33 pm    Post subject: Reply with quote

I had the same problem recently, and it went away after I just added
Code:
sci-libs/scipy -python_targets_python3_2

to /etc/portage/package.use (you need at least one active build target).
Back to top
View user's profile Send private message
ferreirafm
Guru
Guru


Joined: 28 Jul 2005
Posts: 446
Location: Sao Paulo, Brazil

PostPosted: Wed Aug 21, 2013 4:00 pm    Post subject: Reply with quote

Almost the same here. Voltago's tip, however, didn't solve the problem.
Any clues are appreciated.
Code:
emerge -vpuDN world

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-python/pandas-0.12.0
# required by dev-python/statsmodels-0.4.3
# required by @selected
# required by @world (argument)
>=sci-libs/scipy-0.12.0 python_targets_python3_2

emerge: there are no ebuilds built with USE flags to satisfy "virtual/python-imaging[python_targets_python2_5(-)?,python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_5(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)]".
!!! One of the following packages is required to complete your request:
- sci-libs/scipy-0.12.0::gentoo (Change USE: -python_targets_python3_2 -python_targets_python2_7, this change violates use flag constraints defined by sci-libs/scipy-0.12.0: 'any-of ( python_targets_python2_5 python_targets_python2_6 python_targets_python2_7 python_targets_python3_2 python_targets_python3_3 )')
(dependency required by "sci-libs/scipy-0.12.0" [ebuild])
(dependency required by "dev-python/statsmodels-0.4.3" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Code:
package.use
virtual/python-imaging -python_targets_python3_2 python_targets_python2_7
sci-libs/scipy -python_targets_python3_2 python_targets_python2_7


EDIT: I've already tried set/unset these packages for both python targets. None of them solved the problem.

Code:
Portage 2.1.12.2 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo x86_64)
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.2
KiB Mem:     8173064 total,    342608 free
KiB Swap:      16380 total,         0 free
Timestamp of tree: Wed, 21 Aug 2013 07:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5, 3.2.5-r1
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo science x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pt_BR.UTF-8"
LDFLAGS="-Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /usr/local/portage"
SYNC="rsync://rsync.br.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr dvdread emacs embedded emboss encode exif extensions extras fam ffmpeg fftw firefox flac fortran ftp gcj gdbm ggc gif gimp gpm gtk gzip hwdb iconv icu imagemagick ipv6 java jpeg kde kipi kpathsea lapack latex lcms ldap libnotify mad midi minizip mmx mng modules motif mp3 mp4 mpeg mudflap multilib ncurses nls nptl nsplugin nss nvidia ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds python qt3support qt4 readline reiserfs samba sdl semantic-desktop session spell sse sse2 ssl startup-notification svg synlink tar tcpd tetex threads tiff tk truetype type1 udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xft xinerama xml xscreensaver xv xvid zip 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="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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pt_BR en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Last edited by ferreirafm on Wed Aug 21, 2013 4:39 pm; edited 2 times in total
Back to top
View user's profile Send private message
megabaks
Apprentice
Apprentice


Joined: 22 Jan 2012
Posts: 237
Location: Russia && Saint-Petersburg

PostPosted: Wed Aug 21, 2013 4:26 pm    Post subject: Reply with quote

Code:
virtual/python-imaging -python_targets_python3_2 python_targets_python2_7
sci-libs/scipy python_targets_-python3_2 python_targets_python2_7
ohhhhh.
sci-libs/scipy and virtual/python-imaging must have the same python_targets_*
Code:
virtual/python-imaging python_targets_python2_7
sci-libs/scipy python_targets_python2_7
2.7 ---> alright
Code:
virtual/python-imaging -python_targets_python3_2
sci-libs/scipy python_targets_-python3_2
3.2 ---> wrong way!
_________________
sorry my bad english
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