View previous topic :: View next topic |
Author |
Message |
m@o Apprentice
Joined: 25 Nov 2003 Posts: 184 Location: /eu/at/grz
|
Posted: Mon Aug 20, 2012 5:43 pm Post subject: oct2py does not install |
|
|
hey!
i've a problem with the ebuild of oct2py.
it's a dependency of ipython. i'm trying to install ipython-0.13
Code: | eselect python list
Available Python interpreters:
[1] python2.7 *
[2] python3.2
|
Code: | emerge -pqv '=dev-python/oct2py-0.3.2'
[ebuild N ] dev-python/oct2py-0.3.2 USE="-doc -examples -test"
* IMPORTANT: 5 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
|
Code: | # emerge --info '=dev-python/oct2py-0.3.2'
Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.15-r2, 3.3.8-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.3.8-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_560_@_2.67GHz-with-gentoo-2.1
Timestamp of tree: Mon, 20 Aug 2012 11:30:01 +0000
app-shells/bash: 4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/cmake: 2.8.7-r5
dev-util/pkgconfig: 0.27
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc: 2.15-r2
Repositories: gentoo sunrise openstreetmap
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j5 -l5"
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/sunrise /var/lib/layman/openstreetmap"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 avi berkdb bluetooth bzip2 cdb cddb cdparanoia cdr cli cracklib crypt css cups cxx daap dbus dga dhclient directfb dri dts dvb dvd dvdr dvdread encode exif fam ffmpeg flac ftp g3dvl gdbm gif git gnome gnutls gpm gstreamer hal iconv ipv6 jpeg libnotify lm_sensors mad mmx mmxext modules mp3 mpeg mudflap multilib mysql ncurses nls nptl nsplugin ogg opengl openmp pam pcre pdf png python quicktime readline samba sdl session sqlite sse sse2 ssl subversion svg tcpd tiff transcode unicode usb v4l vcd vorbis wma x264 xcomposite xine xml xorg xv xvid xvmc zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
|
the build log can be found here: http://pastebin.com/XTCWxHBB
i tried running 'python-updater'.
i changed over to python 2.7, ran python-update again, and tried again. i get the same error.
running revdep-rebuild doesn't change a think either...
any ideas what i could do?
thx
m@o |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Mon Aug 20, 2012 6:27 pm Post subject: |
|
|
m@o ...
looks to me as if the build is missing a dependency ... dev-python/sphinx is used to build the documentation and its not installed, and not listed as a dependency.
best ... khay |
|
Back to top |
|
|
m@o Apprentice
Joined: 25 Nov 2003 Posts: 184 Location: /eu/at/grz
|
Posted: Mon Aug 20, 2012 6:29 pm Post subject: |
|
|
i installed it before the first post, but it keeps failing:
Code: | # emerge dev-python/sphinx -av
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-python/sphinx-1.1.2 USE="-doc -latex -test" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB |
don't know what to do... |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Mon Aug 20, 2012 7:33 pm Post subject: |
|
|
m@o ...
OK, but looking at the ebuild for dev-python/sphinx its PYTHON_DEPEND="2" and the the oct2py build is running CPython 3.2. My advice is to disable the doc useflag, which should prevent the documentation being built and hopefully allow it to install.
best ... khay |
|
Back to top |
|
|
m@o Apprentice
Joined: 25 Nov 2003 Posts: 184 Location: /eu/at/grz
|
Posted: Mon Aug 20, 2012 7:40 pm Post subject: |
|
|
the doc useflag is disabled:
Code: | # emerge ipython -vp
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ~] dev-python/oct2py-0.3.2 USE="-doc -examples -test" 0 kB
[ebuild R ~] dev-python/ipython-0.13 USE="examples* matplotlib* notebook* octave* smp wxwidgets* -doc -emacs -mongodb -qt4 -test" 0 kB
Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 kB
|
i don't know why the package tries to use sphinx... |
|
Back to top |
|
|
m@o Apprentice
Joined: 25 Nov 2003 Posts: 184 Location: /eu/at/grz
|
Posted: Mon Aug 20, 2012 8:50 pm Post subject: |
|
|
it turns out i get the same error when i run easy_install!
Code: | # easy_install -n ipython
Searching for ipython
Reading http://pypi.python.org/simple/ipython/
Reading http://ipython.scipy.org
Reading http://ipython.scipy.org/dist
Reading http://ipython.scipy.org/dist/0.8.4
Reading http://ipython.scipy.org/dist/0.9.1
Reading http://ipython.org
Reading http://archive.ipython.org/release/0.12.1
Reading https://github.com/ipython/ipython/downloads
Reading http://ipython.scipy.org/dist/old/0.9
Reading http://ipython.scipy.org/dist/0.10
Reading http://archive.ipython.org/release/0.11/
Reading http://archive.ipython.org/release/0.12
Best match: ipython 0.13
Downloading https://github.com/downloads/ipython/ipython/ipython-0.13.zip
Processing ipython-0.13.zip
Running ipython-0.13/setup.py -n -q bdist_egg --dist-dir /tmp/easy_install-svhod_/ipython-0.13/egg-dist-tmp-ywu8l2
Traceback (most recent call last):
File "/usr/bin/easy_install-3.2", line 9, in <module>
load_entry_point('distribute==0.6.21', 'console_scripts', 'easy_install')()
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 1888, in main
with_ei_usage(lambda:
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 1869, in with_ei_usage
return f()
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 1892, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib64/python3.2/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.2/distutils/dist.py", line 917, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.2/distutils/dist.py", line 936, in run_command
cmd_obj.run()
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 358, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 598, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 628, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 818, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 1095, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 1084, in run_setup
run_setup(setup_script, args)
File "/usr/lib64/python3.2/site-packages/setuptools/sandbox.py", line 31, in run_setup
lambda: exec(compile(open(
File "/usr/lib64/python3.2/site-packages/setuptools/sandbox.py", line 73, in run
return func()
File "/usr/lib64/python3.2/site-packages/setuptools/sandbox.py", line 34, in <lambda>
{'__file__':setup_script, '__name__':'__main__'})
File "setup.py", line 61, in <module>
File "/tmp/easy_install-svhod_/ipython-0.13/setupbase.py", line 74, in <module>
File "/tmp/easy_install-svhod_/ipython-0.13/setupbase.py", line 55, in execfile
File "/usr/lib64/python3.2/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4379: ordinal not in range(128)
|
any idea what that might be? |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Mon Aug 20, 2012 10:33 pm Post subject: |
|
|
m@o ...
I thought this package at issue was oct2py not ipython, anyhow, the ipython ebuild shows PYTHON_DEPEND="*:2.6" (which means any version greater than 2.6) so it should build with a version > 2.6 set. The oct2py ebuild shows "sphinx-build" within the "use doc" if condition, so there shouldn't be a call made to sphinx if USE="-doc" is set, this however doesn't really seem to be adhered to, and as sphinx is installed for python2.7 but restricted for 3 (the PYTHON_DEPEND is set to 2 for all versions of sphinx), it doesn't find it when configuring for 3.2. So, its a bug ... but both these packages are ~arch so your probably best to report this as a bug and use the stable version.
best ... khay |
|
Back to top |
|
|
m@o Apprentice
Joined: 25 Nov 2003 Posts: 184 Location: /eu/at/grz
|
Posted: Wed Aug 22, 2012 1:28 pm Post subject: |
|
|
it seems to be a known bug that they are not fixing right away.
found via:
https://bugs.gentoo.org/show_bug.cgi?id=424972
and
https://github.com/ipython/ipython/issues/2057
thx for your help
ps: for now i'm running ipython without the octave use flag.
pps: if someone knows what i could change about my locale settings to make this work, i would be thankful for any tips:
Code: | locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
|
|
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Wed Aug 22, 2012 1:52 pm Post subject: |
|
|
m@o wrote: | pps: if someone knows what i could change about my locale settings to make this work, i would be thankful for any tips |
m@o it's not your users LANG so changing that won't help. However, LANG can be set in make.conf or via /etc/portgage/env
eg: in make.conf (which would be global)
Code: | LANG="C"
LC_CTYPE="${LANG}"
LC_COLLATE="${LANG}"
LC_MESSAGES="${LANG}" |
or locally on this specific package:
/etc/portage/env/oct2py.conf
Code: | LANG="en_US.UTF8"
LC_CTYPE="${LANG}"
LC_COLLATE="${LANG}"
LC_MESSAGES="${LANG}" |
/etc/portage/package.env
Code: | dev-python/oct2py oct2py.conf |
HTH & best ... khay |
|
Back to top |
|
|
m@o Apprentice
Joined: 25 Nov 2003 Posts: 184 Location: /eu/at/grz
|
Posted: Wed Aug 22, 2012 2:34 pm Post subject: |
|
|
wohoooo!
that worked. i used the few lines for my make.conf and it worked!
thanks for your help
m@o |
|
Back to top |
|
|
|
|
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
|
|