cschwan / sage-on-gentoo

(Unofficial) Gentoo Overlay for Sage- and Sage-related ebuilds
84 stars 26 forks source link

networkx-1.6 and sage-5.10-r1 #247

Closed aymenbh closed 10 years ago

aymenbh commented 11 years ago

Hi,

sorry, I was very busy these last months. I saw that my last issue (https://github.com/cschwan/sage-on-gentoo/issues/131) about sage was closed, due to no feedback... Well, I actually stopped looking at the problem for a while. And I am trying now to reinstall sage on Funtoo.

So, this is now what I get as error:

# emerge -av sage

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

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "~dev-python/networkx-1.6".
(dependency required by "sci-mathematics/sage-5.10-r1::sage-on-gentoo" [ebuild])
(dependency required by "sage" [argument])
kiwifb commented 11 years ago

Unfortunately sage has some issues with networkx 1.7. It would work overall I guess but some functions will be broken. We don't keep networkx-1.6 in the overlay at this stage because it is maintained in the main tree. May be you should have a small overlay with ebuilds that are missing from the funtoo main tree compared to the gentoo one.

aymenbh commented 11 years ago

Thanks for the prompt reply! I don't have any experience with creating own overlays... So far I have tried to create a local portage and to import the file network-1.6.ebuild from gentoo.

# mkdir /usr/local/portage
# mkdir /usr/local/portage/dev-python
# mkdir /usr/local/portage/dev-python/networkx
# nano /usr/local/portage/networkx/networkx-1.6.ebuild
# echo "PORTDIR_OVERLAY=/usr/local/portage/dev-python" >> /etc/portage/make.conf
# cd /usr/local/portage/dev-python/networkx/
# ebuild networkx-1.6.ebuild digest

Is this correct?

Trying to install either sage or networkx-1.6 gives me the same error.

# emerge -av sage
WARNING: One or more repositories have missing repo_name entries:
        /usr/local/portage/dev-python/profiles/repo_name
NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.

Any idea? Have I missed something? Should I create a profiles directory?

kiwifb commented 11 years ago

Several. 1) Don't use digest use "manifest". 2) In /etc/portage/make.conf don't put PORTDIR_OVERLAY=/usr/local/portage/dev-python put: PORTDIR_OVERLAY=/usr/local/portage BUT it has to be before the line source /var/lib/layman/make.conf 3) when you create an overlay you need to provide basic info about it. So you need to create /usr/local/portage/profiles/repo_name which is a text file containing the name of the overlay. Just put "my_local_overlay". Another file may be requested (but wouldn't be fatal): /usr/local/portage/metadata/layout.conf Put "masters = gentoo" in that one (whatever is in /usr/portage/profiles/repo_name)

aymenbh commented 11 years ago

Thanks! I just create the file /usr/local/portage/profiles/repo_name. No need for the layout.conf I guess. This time, there is a problem of circular dependencies with dev-java packages. But I think this is mainly a problem in Funtoo. I tried before to install jabref and I got the same message. Will see if I can fix that...

# emerge -av sage
These are the packages that would be merged, in order:
Calculating dependencies... done!
[nomerge       ] sci-mathematics/sage-5.10-r1::sage-on-gentoo  USE="-debug -latex -lrs -nauty -testsuite" PYTHON_TARGETS="python2_7" 
[nomerge       ]  sci-mathematics/sage-notebook-0.10.4-r5::sage-on-gentoo  USE="java -server {-test}" PYTHON_TARGETS="python2_7" 
[nomerge       ]   sci-chemistry/jmol-12.3.14::sage-on-gentoo  USE="client-only -vhosts" 
[nomerge       ]    dev-java/saxon-6.5.5:6.5  USE="-doc -examples -source" 
[nomerge       ]     dev-java/jdom-1.0-r4:1.0  USE="-doc -examples -source" 
[nomerge       ]      dev-java/jdom-jaxen-1.0-r1:1.0 
[ebuild  N     ]       dev-java/jaxen-1.1.4-r1:1.1  USE="-doc -examples -source {-test}" 263 kB
[ebuild  N     ]        dev-java/jdom-jaxen-1.0-r1:1.0  3,489 kB
Total: 2 packages (2 new), Size of downloads: 3,751 kB
 * Error: circular dependencies:
(dev-java/jdom-jaxen-1.0-r1::gentoo, ebuild scheduled for merge) depends on
 (dev-java/jaxen-1.1.4-r1::gentoo, ebuild scheduled for merge) (buildtime)
  (dev-java/jdom-jaxen-1.0-r1::gentoo, ebuild scheduled for merge) (buildtime)
 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.
kiwifb commented 11 years ago

Note that you could temporarily use -java for the sage-notebook. Especially if you are not using it, or more precisely you don't intend to use jmol.

aymenbh commented 11 years ago

I used -java for the sage-notebook. And it works at first. Many packages were installed successfully. But it failed on sympy...

# emerge -av sage
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild  N     ] dev-python/sympy-0.7.2-r3::sage-on-gentoo  USE="imaging ipython latex opengl png -doc -examples -gtk -mathml -pdf -pyglet {-test} -texmacs" PYTHON_TARGETS="python2_7 -python2_6 -python3_2" 0 kB
[ebuild  N     ] sci-mathematics/sage-5.10-r1::sage-on-gentoo  USE="-debug -latex -lrs -nauty -testsuite" PYTHON_TARGETS="python2_7" 0 kB
[ebuild  N     ] sci-mathematics/sage-data-conway_polynomials-0.4-r1::sage-on-gentoo  0 kB
[ebuild  N     ] sci-mathematics/sage-notebook-0.10.4-r5::sage-on-gentoo  USE="-java -server {-test}" PYTHON_TARGETS="python2_7" 0 kB
Total: 4 packages (4 new), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No] Yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 4) dev-python/sympy-0.7.2-r3 from sage-on-gentoo
>>> Failed to emerge dev-python/sympy-0.7.2-r3, Log file:
>>>  '/var/tmp/portage/dev-python/sympy-0.7.2-r3/temp/build.log'
>>> Jobs: 0 of 4 complete, 1 failed                 Load avg: 0.38, 0.71, 2.19
 * Package:    dev-python/sympy-0.7.2-r3
 * Repository: sage-on-gentoo
 * Maintainer: grozin@gentoo.org sci-mathematics@gentoo.org
 * USE:        amd64 elibc_glibc imaging ipython kernel_linux latex opengl png python_targets_python2_7 userland_GNU
 * FEATURES:   preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking sympy-0.7.2.tar.gz to /var/tmp/portage/dev-python/sympy-0.7.2-r3/work/python2
>>> Source unpacked in /var/tmp/portage/dev-python/sympy-0.7.2-r3/work
>>> Preparing source in /var/tmp/portage/dev-python/sympy-0.7.2-r3/work ...
 * Applying sympy-0.7.2-mpmath.patch ...
 [ ok ]
 * Applying sympy-0.7.2-mpmath-import.patch ...
 [ ok ]
 * Applying sympy-0.7.2-mpmath-test.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/sympy-0.7.2-r3/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/sympy-0.7.2-r3/work ...
 * python2_7: running distutils-r1_run_phase python_compile
/usr/bin/python2.7 setup.py build --build-base /var/tmp/portage/dev-python/sympy-0.7.2-r3/work/build-python2_7 --build-platlib /var/tmp/portage/dev-python/sympy-0.7.2-r3/work/build-python2_7/lib --build-purelib /var/tmp/portage/dev-python/sympy-0.7.2-r3/work/build-python2_7/lib --build-scripts /var/tmp/portage/dev-python/sympy-0.7.2-r3/work/build-python2_7/scripts
Traceback (most recent call last):
  File "setup.py", line 36, in 
    import sympy
  File "/var/tmp/portage/dev-python/sympy-0.7.2-r3/work/python2/sympy-0.7.2/sympy/__init__.py", line 70, in 
    from plotting import plot, Plot, textplot, plot_backends, plot_implicit
  File "/var/tmp/portage/dev-python/sympy-0.7.2-r3/work/python2/sympy-0.7.2/sympy/plotting/__init__.py", line 1, in 
    from plot import plot_backends
  File "/var/tmp/portage/dev-python/sympy-0.7.2-r3/work/python2/sympy-0.7.2/sympy/plotting/plot.py", line 47, in 
    Axes3D = mpl_toolkits.mplot3d.Axes3D
AttributeError: 'NoneType' object has no attribute 'mplot3d'
 * ERROR: dev-python/sympy-0.7.2-r3 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3521:  Called distutils-r1_src_compile
 *   environment, line  962:  Called _distutils-r1_run_foreach_impl 'python_compile'
 *   environment, line  285:  Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3386:  Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2588:  Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2536:  Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2534:  Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2579:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
 *   environment, line  633:  Called distutils-r1_run_phase 'python_compile'
 *   environment, line  953:  Called python_compile
 *   environment, line 2965:  Called distutils-r1_python_compile
 *   environment, line  855:  Called esetup.py
 *   environment, line 1736:  Called die
 * The specific snippet of code:
 *       "${@}" || die
 * 
 * If you need support, post the output of `emerge --info '=dev-python/sympy-0.7.2-r3'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/sympy-0.7.2-r3'`.
 * This ebuild is from an overlay named 'sage-on-gentoo': '/var/lib/layman/sage-on-gentoo/'
 * The complete build log is located at '/var/tmp/portage/dev-python/sympy-0.7.2-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/sympy-0.7.2-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/sympy-0.7.2-r3/work/python2/sympy-0.7.2'
 * S: '/var/tmp/portage/dev-python/sympy-0.7.2-r3/work'

So this is the emerge --info output

# emerge --info '=dev-python/sympy-0.7.2-r3'
Portage 2.3.6-r5 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.6.3, glibc-2.15-r4, 3.10.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.7-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.2.0
KiB Mem:     8151288 total,   1837632 free
KiB Swap:    1951860 total,   1951860 free
Timestamp of tree: Mon, 19 Aug 2013 05:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.2.0-r1000
dev-lang/python:          2.7.5-r1000, 3.3.2-r1000
dev-util/cmake:           2.8.11.1
sys-apps/baselayout:      2.2.0-r4
sys-apps/openrc:          0.10.3-r1
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r4
Repositories: gentoo sage-on-gentoo my_local_overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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 /etc/udev/rules.d"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=5 --load-average=5.0 --with-bdeps y"
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=""                                                                                                                                                                                     
GENTOO_MIRRORS="ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://distfiles.gentoo.org"                                                                                               
LANG="en_US.UTF-8"                                                                                                                                                                            
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"                                                                                                                                           
LINGUAS="en"                                                                                                                                                                                  
MAKEOPTS="-j9 -l9"                                                                                                                                                                            
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sage-on-gentoo /usr/local/portage"
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="X acl alsa amd64 apng berkdb bzip2 cdr consolekit cracklib crypt cups cxx dbus dri dvd dvdr dvdread flac gdbm gif gpm iconv icu ipv6 jpeg kde lame mad mmx modules mp3 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pcre png policykit pppd python qt3support qt4 readline resolvconf semantic-desktop sse sse2 ssl tcpd tiff truetype udev unicode vorbis wavpack win32codecs xcomposite xml zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 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 authn_core authz_core socache_shmcb unixd" 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="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="vesa 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
kiwifb commented 11 years ago

Hum... problem with matplotlib.... Digging.

kiwifb commented 11 years ago

Can not figure this out what is the output of "eix matplotlib"?

aymenbh commented 11 years ago
 # eix matplotlib
[I] dev-python/matplotlib
     Available versions:  1.2.1-r1000 1.3.0-r1000 {cairo doc examples excel fltk gtk gtk3 latex qt4 test tk webagg wxwidgets PYTHON_ABIS="2.6 2.7 3.1 3.2 3.3 3.4"}
     Installed versions:  1.3.0-r1000(07:14:55 PM 08/20/2013)(latex qt4 -cairo -doc -examples -excel -gtk -gtk3 -test -tk -webagg -wxwidgets PYTHON_ABIS="2.7 3.3 -2.6 -3.1 -3.2 -3.4")
     Homepage:            http://matplotlib.org/ https://github.com/matplotlib/matplotlib https://pypi.python.org/pypi/matplotlib
     Description:         Python plotting package
kiwifb commented 11 years ago

-r1000???????

aymenbh commented 11 years ago

Yeah... Why??

kiwifb commented 11 years ago

Do you what the difference is compared to the main tree?

aymenbh commented 11 years ago

I don't really know. But in Funtoo they use the variable PYTHON_ABIS instead of PYTHON_TARGETS. When I tried the first time to install Sympy (before even I install sage-on-gentoo overlay), I got a message to include the line

 USE_PYTHON='2.7' 
into /etc/portage/make.conf in order to build the packages adequately, which I did including also 3.3. I am not sure if this will make the difference, does it?

kiwifb commented 11 years ago

I am not completely sure. You must have a hacked distutils eclass to go that far in those conditions. What prevents Funtoo from moving to the new python-r1 eclass? Do you have any ideas?

aymenbh commented 11 years ago

No idea... I reported the problem in Funtoo Forums. Waiting for the answer... Should I just import the matplotlib-1.3.0 from Gentoo or is it the whole python-related packages which should be built using python-r1 eclass?

kiwifb commented 11 years ago

Honestly I don't know for sure. You can give a shot at gentoo's matplotlib but I think we should conduct basic testing on your matplotlib first. Can you you emerge matplotlib again with testing turned on? USE=test emerge -1v matplotlib

aymenbh commented 11 years ago
# USE=test emerge -1v matplotlib
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R    ] dev-python/matplotlib-1.3.0-r1000  USE="latex qt4 -cairo -doc -examples -excel -gtk -gtk3 {-test} -tk -webagg -wxwidgets" PYTHON_ABIS="2.7 3.3 -2.6 -3.1 -3.2 (-3.4)" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-python/matplotlib-1.3.0-r1000
>>> Installing (1 of 1) dev-python/matplotlib-1.3.0-r1000
>>> Jobs: 1 of 1 complete                           Load avg: 1.50, 1.05, 0.57
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
 * GNU info directory index is up-to-date.

test is still between braces. Does it mean that test is not available for the current profile?

kiwifb commented 11 years ago

My mistake. test is usually not a use flag. It is a "FEATURES". Alternatively (and that's how I usually run it) you can use ebuild directly. ebuild /usr/portage/dev-python/matplotlib/matplotlib-1.3.0-r1000.ebuild test

aymenbh commented 11 years ago

Ok, I had two Building steps of dev-python/matplotlib-1.3.0-r1000, first with CPython 2.7 and then with CPython 3.3 which went quite well. The testing of both has failed with this message at the end:

python2.7 -c "import matplotlib, sys; sys.exit(not matplotlib.test(verbosity=1))"
Traceback (most recent call last):
  File "", line 1, in 
  File "matplotlib/__init__.py", line 1247, in test
    import nose
ImportError: No module named nose
 * Testing failed with CPython 2.7 in testing() function

I don't know if you need this information too:

* Testing of dev-python/matplotlib-1.3.0-r1000 with CPython 2.7...
python2.7 setup.py build -b build-2.7 install --root=/var/tmp/portage/dev-python/matplotlib-1.3.0-r1000/temp/tests-2.7 --no-compile
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
            matplotlib: yes [1.3.0]
                python: yes [2.7.5 (default, Aug  8 2013, 15:49:49)  [GCC
                        4.6.4]]
              platform: yes [linux2]
REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.7.1]
              dateutil: yes [using dateutil version 2.1]
               tornado: yes [tornado was not found. It is required for the
                        WebAgg backend. pip/easy_install may attempt to
                        install it after matplotlib.]
             pyparsing: yes [using pyparsing version 2.0.1]
                 pycxx: yes [Using system CXX (version unknown, no pkg-
                        config info)]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: yes [version 16.1.10]
                   png: yes [version 1.6.3]
OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: yes [nose 0.11.1 or later is required to run the
                        matplotlib test suite]
OPTIONAL BACKEND EXTENSIONS
                macosx: no  [Mac OS-X only]
                qt4agg: yes [Qt: 4.8.5, PyQt4: 4.10.2]
               gtk3agg: no  [Requires pygobject to be installed.]
             gtk3cairo: no  [Requires pygobject to be installed.]
                gtkagg: no  [skipping due to configuration]
                 tkagg: no  [skipping due to configuration]
                 wxagg: no  [requires wxPython]
                   gtk: no  [skipping due to configuration]
                   agg: yes [installing]
                 cairo: yes [version 1.10.0]
             windowing: no  [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
                dvipng: yes [version 1.14]
           ghostscript: yes [version 9.07]
                 latex: yes [version 3.1415926]
               pdftops: yes [version 0.22.5]
 * Testing of dev-python/matplotlib-1.3.0-r1000 with CPython 3.3...
python3.3 setup.py build -b build-3.3 install --root=/var/tmp/portage/dev-python/matplotlib-1.3.0-r1000/temp/tests-3.3 --no-compile
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
            matplotlib: yes [1.3.0]
                python: yes [3.3.2 (default, Aug  8 2013, 15:59:50)  [GCC
                        4.6.4]]
              platform: yes [linux]
REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.7.1]
              dateutil: yes [using dateutil version 2.1]
               tornado: yes [tornado was not found. It is required for the
                        WebAgg backend. pip/easy_install may attempt to
                        install it after matplotlib.]
             pyparsing: yes [using pyparsing version 2.0.1]
                 pycxx: yes [Using system CXX (version unknown, no pkg-
                        config info)]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: yes [version 16.1.10]
                   png: yes [version 1.6.3]
OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: yes [nose 0.11.1 or later is required to run the
                        matplotlib test suite]
OPTIONAL BACKEND EXTENSIONS
                macosx: no  [Mac OS-X only]
                qt4agg: yes [Qt: 4.8.5, PyQt4: 4.10.2]
               gtk3agg: no  [gtk3agg backend does not work on Python 3]
             gtk3cairo: no  [Requires pygobject to be installed.]
                gtkagg: no  [skipping due to configuration]
                 tkagg: no  [skipping due to configuration]
                 wxagg: no  [requires wxPython]
                   gtk: no  [skipping due to configuration]
                   agg: yes [installing]
                 cairo: yes [version 1.10.0]
             windowing: no  [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
                dvipng: yes [version 1.14]
           ghostscript: yes [version 9.07]
                 latex: yes [version 3.1415926]
               pdftops: yes [version 0.22.5]
kiwifb commented 11 years ago

When you use ebuild directly dependencies are not resolved. Matplotlib tests are using the nose framework. So you have to emerge nose fisrt.

aymenbh commented 11 years ago

Well I emerged nose and I run again ebuild. You can look at the result here:

# cat /var/tmp/portage/dev-python/matplotlib-1.3.0-r1000/temp/build.log | wgetpaste 
Your paste can be seen here: http://bpaste.net/show/125935/
aymenbh commented 11 years ago

Hi,

I just updated the system and the sage-on-gentoo overlay. The problem with matplotlib seem to have been solved but I have now an error with ppl:

 * ERROR: sci-libs/sage-ppl-1.0 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_compile
 *        environment, line 2131:  Called __eapi2_src_compile
 *   phase-helpers.sh, line  632:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/sage-ppl-1.0'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/sage-ppl-1.0'`.
 * This ebuild is from an overlay named 'sage-on-gentoo': '/var/lib/layman/sage-on-gentoo/'
 * The complete build log is located at '/var/tmp/portage/sci-libs/sage-ppl-1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/sage-ppl-1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/sage-ppl-1.0/work/ppl-1.0'
 * S: '/var/tmp/portage/sci-libs/sage-ppl-1.0/work/ppl-1.0'
kiwifb commented 11 years ago

Please stick with sage-5.11 and do not try 5.11-r1 yet. I am masking sage-ppl and sage-5.11-r1 for now.

aymenbh commented 11 years ago

That worked! Thanks!

kiwifb commented 11 years ago

Sorry I dropped the ball on you on this. sage 5.11-r* should be safe now but your pastebin is probably expired can you repost it please.

kiwifb commented 10 years ago

no further feed back closing.