Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489384 - =dev-python/ipython-1.1.0 with app-text/dvipng and =dev-tex/mh-20111011 - src_test(): CalledProcessError: Command '['latex', '-halt-on-error', '/var/tmp/portage/dev-python/ipython-1.1.0/temp/python2.7/tmp6jB06O/tmp.tex']' returned non-zero exit status 1
Summary: =dev-python/ipython-1.1.0 with app-text/dvipng and =dev-tex/mh-20111011 - src...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-25 15:22 UTC by eroen
Modified: 2015-03-13 14:36 UTC (History)
0 users

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


Attachments
build.log (build.log,347.22 KB, text/x-log)
2013-10-25 15:22 UTC, eroen
Details
tmp.tex - The failing latex source file (tmp.tex,192 bytes, text/plain)
2013-10-25 15:23 UTC, eroen
Details
tmp.log - failing latex log with dev-tex/mh installed (tmp.log,14.57 KB, text/plain)
2013-10-25 15:25 UTC, eroen
Details
tmp.log - succeeding latex log without dev-tex/mh installed (tmp.log,14.37 KB, text/plain)
2013-10-25 15:27 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2013-10-25 15:22:32 UTC
Created attachment 361904 [details]
build.log

dev-python/ipython-1.1.0 fails tests if app-text/dvipng and dev-tex/mh are installed. Neither are (non-optional) indirect dependencies of ipython or each other. Moving /usr/share/texmf-site/tex/latex/mh/flexisym.sty to a backup location lets tests pass. The failing test is skipped when dvipng is not available.

Note that due to bug 489372 the ipython test suite runs with the already installed instance.

======================================================================
ERROR: Test that latex_to_png_dvipng just runs without error.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/var/tmp/portage/dev-python/ipython-1.1.0/work/ipython-1.1.0-python2_7/build/lib/IPython/lib/latextools.py", line 138, in latex_to_png_dvipng
    stdout=devnull, stderr=devnull)
  File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['latex', '-halt-on-error', '/var/tmp/portage/dev-python/ipython-1.1.0/temp/python2.7/tmp6jB06O/tmp.tex']' returned non-zero exit status 1

----------------------------------------------------------------------
Ran 56 tests in 1.650s

FAILED (SKIP=5, errors=1)


eroen@falcon ~ $ emerge --info '=dev-python/ipython-1.1.0::gentoo' '=app-text/dvipng-1.14::gentoo' '=dev-tex/mh-20111011::gentoo'
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.8.1, glibc-2.17, 3.10.7-e6-falcon0+ x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.7-e6-falcon0+-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     4038272 total,    904444 free
KiB Swap:    8388604 total,   7372964 free
Timestamp of tree: Thu, 24 Oct 2013 20:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.2-r2
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.3
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.5.4, 4.6.4, 4.7.3-r1, 4.8.1-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo gamerlay eroen
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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=core2 -O2 -pipe"
DISTDIR="/var/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 3 --nospinner --quiet-build --with-bdeps=y --binpkg-respect-use y"
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="/var/temdist/ /var/distfiles-occam/ http://mirrors.eu.kernel.org/gentoo/ http://mirrors.kernel.org/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/var/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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/eroen"
SYNC="rsync://mirrors.eu.kernel.org/gentoo-portage/"
USE="X a52 aac aacs accessibility acl adns alsa amd64 ao atm berkdb bluray bs2b bzip2 cairo calendar canberra caps cdda cdio cdparanoia cdr cli corefonts cracklib crypt css cue cups curl cxx dbus dia dirac djvu dmapi dri dts dvd dvdnav dvi ebook eigen exif faac fam fbcondecor ffmpeg fftw fits flac fontconfig fortran fuse g3dvl gcrypt gd gdbm gif gimp git gmp gnutls gold gstreamer hdri highlight iconv icu id3tag idn imagemagick inotify iptc ipv6 jpeg jpeg2k kde kvm lcms lensfun libnotify loop-aes lqr lzma lzo mad man matroska midi mikmod mkv mms mmx mmxext mng mod modplug modules mp3 mp4 mpeg mpeg2 mpeg4 mpeg4pt2 mplayer mtp mudflap multilib musepack ncurses netlink nfs nls nouveau nptl ocr offensive ogg openal opencl openexr opengl opengtl openmp openvg optimization osmesa pam pango pcre pdf png pnm portaudio postscript pulseaudio qalculate qemu qt3support qt4 rar raw rdesktop readline real rtmp samba scanner schroedinger security session smp sndfile socks5 speex spice sse sse2 sse3 ssl ssse3 strong-optimization svg tbb tcpd theora threads tiff timidity tls truetype udev uml unicode usb usbredir v4l v4l2 vdpau virtualbox vnc vorbis wacom wavpack webp wmf x264 xattr xcb xcomposite xetex xfs xft xine xinerama xorg xps xrandr xv xvid xvmc zlib" ABI_X86="32 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" CURL_SSL="openssl" DRACUT_MODULES="biosdevname caps crypt crypt-gpg dash dmraid lvm mdraid 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" GRUB_PLATFORMS="efi-64 pc qemu" INPUT_DEVICES="evdev keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-console presenter-minimizer" LINGUAS="en en_US en_GB nb no nb_NO" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" RUBY_TARGETS="ruby20" SANE_BACKENDS="net plustek pnm" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia vesa" XFCE_PLUGINS="menu" 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"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-python/ipython-1.1.0 was built with the following:
USE="qt4 smp test -doc -emacs -examples -matplotlib -mongodb -nbconvert -notebook -octave -wxwidgets" PYTHON_TARGETS="python2_7 -python2_6 -python3_2 -python3_3"


app-text/dvipng-1.14 was built with the following:
USE="(multilib) truetype -t1lib -test" ABI_X86="64"


dev-tex/mh-20111011 was built with the following:
USE="(multilib) -doc" ABI_X86="64"

eroen@falcon ~ $ emerge -pqv '=dev-python/ipython-1.1.0::gentoo' '=app-text/dvipng-1.14::gentoo' '=dev-tex/mh-20111011::gentoo'
[ebuild   R   ] dev-python/ipython-1.1.0  USE="qt4 smp -doc -emacs -examples -matplotlib -mongodb -nbconvert -notebook -octave {-test*} -wxwidgets" PYTHON_TARGETS="python2_7 python3_2* python3_3* -python2_6" 
[ebuild   R   ] app-text/dvipng-1.14  USE="truetype -t1lib {-test}" 
[ebuild   R   ] dev-tex/mh-20111011  USE="-doc"
Comment 1 eroen 2013-10-25 15:23:50 UTC
Created attachment 361906 [details]
tmp.tex - The failing latex source file
Comment 2 eroen 2013-10-25 15:25:02 UTC
Created attachment 361908 [details]
tmp.log - failing latex log with dev-tex/mh installed
Comment 3 eroen 2013-10-25 15:27:43 UTC
Created attachment 361910 [details]
tmp.log - succeeding latex log without dev-tex/mh installed

--- tmp.log.fail        2013-10-25 17:23:02.163461367 +0200
+++ tmp.log     2013-10-25 17:26:54.215135636 +0200
@@ -1,4 +1,4 @@
-This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) (format=latex 2013.9.17)  25 OCT 2013 17:23
+This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) (format=latex 2013.9.17)  25 OCT 2013 17:26
 entering extended mode
  restricted \write18 enabled.
  %&-line parsing enabled.
@@ -111,7 +111,7 @@
 LaTeX Font Info:    Redeclaring math alphabet \mathbf on input line 138.
 LaTeX Info: Redefining \bm on input line 204.
 )
-(/usr/share/texmf-site/tex/latex/mh/breqn.sty
+(/usr/share/texmf-dist/tex/latex/mh/breqn.sty
 (/usr/share/texmf-dist/tex/latex/l3kernel/expl3.sty
 (/usr/share/texmf-dist/tex/latex/l3kernel/l3names.sty
 (/usr/share/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty
@@ -271,14 +271,14 @@
 Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
 Package ifpdf Info: pdfTeX in PDF mode is not detected.
 ))
-Package: breqn 2009/08/07 v0.98a Breaking equations
+Package: breqn 2012/05/10 v0.98b Breaking equations
 
-(/usr/share/texmf-site/tex/latex/mh/flexisym.sty
-Package: flexisym 2010/09/17 v0.97b Make math characters macros
+(/usr/share/texmf-dist/tex/latex/mh/flexisym.sty
+Package: flexisym 2013/03/16 v0.97c Make math characters macros
 LaTeX Info: Redefining \textprime on input line 296.
 LaTeX Info: Redefining \not on input line 354.
 
-(/usr/share/texmf-site/tex/latex/mh/cmbase.sym
+(/usr/share/texmf-dist/tex/latex/mh/cmbase.sym
 File: cmbase.sym 2007/12/19 v0.92
 LaTeX Info: Redefining \hbar on input line 323.
 LaTeX Info: Redefining \surd on input line 325.
@@ -304,13 +304,13 @@
 LaTeX Info: Redefining \vdots on input line 359.
 LaTeX Info: Redefining \ddots on input line 364.
 )
-(/usr/share/texmf-site/tex/latex/mh/mathstyle.sty
-Package: mathstyle 2010/11/17 v0.89
-LaTeX Info: Redefining \displaystyle on input line 77.
-LaTeX Info: Redefining \textstyle on input line 79.
-LaTeX Info: Redefining \scriptstyle on input line 81.
-LaTeX Info: Redefining \scriptscriptstyle on input line 83.
-LaTeX Info: Redefining \genfrac on input line 117.
+(/usr/share/texmf-dist/tex/latex/mh/mathstyle.sty
+Package: mathstyle 2011/08/03 v0.90 Tracking mathstyle implicitly
+LaTeX Info: Redefining \displaystyle on input line 81.
+LaTeX Info: Redefining \textstyle on input line 83.
+LaTeX Info: Redefining \scriptstyle on input line 85.
+LaTeX Info: Redefining \scriptscriptstyle on input line 87.
+LaTeX Info: Redefining \genfrac on input line 121.
 ))
 (/usr/share/texmf-dist/tex/latex/graphics/keyval.sty
 Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
@@ -390,8 +390,7 @@
 \cur@row=\count140
 \cur@col=\count141
 \conditionsep=\skip65
-)
-No file tmp.aux.
+) (./tmp.aux)
 \openout1 = `tmp.aux'.
 
 LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 1.
@@ -406,6 +405,7 @@
 LaTeX Font Info:    ... okay on input line 1.
 LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 1.
 LaTeX Font Info:    ... okay on input line 1.
+
 (/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
 Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
 
@@ -429,19 +429,16 @@
 
 (/usr/share/texmf-dist/tex/latex/amsfonts/umsb.fd
 File: umsb.fd 2013/01/14 v3.01 AMS symbols B
-)
-! Undefined control sequence.
-\math_char:NNn ...#3->\tex_mathchar:D \int_eval:w 
-                                                  "#1#2#3\int_eval_end: 
-l.1 ...style{empty}\begin{document}\begin{dmath*}x
-                                                  ^2\end{dmath*}\end{document} 
+) [1
+
+] (./tmp.aux) ) 
 Here is how much of TeX's memory you used:
- 7213 strings out of 495034
- 118120 string characters out of 6182247
- 151917 words of memory out of 5000000
- 10348 multiletter control sequences out of 15000+600000
+ 7217 strings out of 495034
+ 118141 string characters out of 6182247
+ 151965 words of memory out of 5000000
+ 10347 multiletter control sequences out of 15000+600000
  8096 words of font info for 31 fonts, out of 8000000 for 9000
  14 hyphenation exceptions out of 8191
- 37i,4n,33p,415b,143s stack positions out of 5000i,500n,10000p,200000b,80000s
+ 37i,4n,33p,415b,148s stack positions out of 5000i,500n,10000p,200000b,80000s
 
-No pages of output.
+Output written on tmp.dvi (1 page, 252 bytes).
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2015-03-13 14:36:40 UTC
Please reopen if still exists with >ipython-2