[MacPorts] #17777: python30-doc 3.0a3 Compilation failure

MacPorts noreply at macports.org
Fri Dec 26 05:03:32 PST 2008


#17777: python30-doc 3.0a3 Compilation failure
---------------------------------------------------------+------------------
 Reporter:  mattia@…                                     |       Owner:  macports-tickets@…                   
     Type:  defect                                       |      Status:  new                                  
 Priority:  Normal                                       |   Milestone:  Port Bugs                            
Component:  ports                                        |     Version:  1.7.0                                
 Keywords:  python python3 doc jinja sphinx py25-jinja`  |        Port:                                       
---------------------------------------------------------+------------------
 When I try installing python30-doc, it ends with:

 {{{
 joyce:~ mattia$ sudo port install python30-doc
 Password:
 --->  Building python30-doc
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python30-doc/work/Python-3.0a3/Doc"
 && make html " returned error 2
 Command output: mkdir -p build/html build/doctrees
 python2.5 tools/sphinx-build.py -b html -d build/doctrees -D
 latex_paper_size=  . build/html
 Error: The _md5 module cannot be found. Did you install Sphinx and its
 dependencies correctly?
 make: *** [build] Error 1

 Error: Status 1 encountered during processing.
 }}}

 If I go into the compilation directory and directly try the compilation
 line I get:

 {{{
 joyce:Doc mattia$ python2.5 tools/sphinx-build.py -b html -d
 build/doctrees -D latex_paper_size=  . build/html
 Can't get version info from Include/patchlevel.h, using version of this
 interpreter (2.5.1).
 Sphinx v0.5, building html
 Exception occurred:
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python30-doc/work/Python-3.0a3/Doc/tools/sphinx/_jinja.py",
 line 18, in <module>
     from jinja import Environment
 ImportError: No module named jinja
 The full traceback has been saved in
 /var/folders/bz/bzP7xU5UHEOPtQibXiAfRE+++TM/-Tmp-/sphinx-err--sdtag.log,
 if you want to report the issue to the author.
 Please also report this if it was a user error, so that a better error
 message can be provided next time.
 Send reports to sphinx-dev at googlegroups.com. Thanks!
 }}}

 The error is different, but this time it seems just that jinja is not
 installed. If I install the py25-jinja package (which, by the way, tells
 me in the meanwhile

 {{{
 --->  Staging py25-jinja into destroot
 Warning: violation by /opt/local/docs
 Warning: py25-jinja violates the layout of the ports-filesystems!
 Warning: Please fix or indicate this misbehavior (if it is intended), it
 will be an error in future releases!
 --->  Installing py25-jinja @1.2_0
 }}}

 even thought it compiles successfully), I get more errors, the last one of
 which is fatal:

 {{{
 joyce:~ mattia$ sudo port install python30-doc
 Password:
 --->  Building python30-doc
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python30-doc/work/Python-3.0a3/Doc"
 && make html " returned error 2
 Command output: WARNING:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python30-doc/work/Python-3.0a3/Doc/library/dis.rst:700:
 (ERROR/3) Unknown directive type "opcode".

 .. opcode:: CALL_FUNCTION_VAR_KW (argc)

    Calls a function. *argc* is interpreted as in ``CALL_FUNCTION``.  The
 top
    element on the stack contains the keyword arguments dictionary,
 followed by the
    variable-arguments tuple, followed by explicit keyword and positional
 arguments.


 WARNING:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python30-doc/work/Python-3.0a3/Doc/library/dis.rst:707:
 (ERROR/3) Unknown directive type "opcode".

 .. opcode:: HAVE_ARGUMENT ()

    This is not really an opcode.  It identifies the dividing line between
 opcodes
    which don't take arguments ``< HAVE_ARGUMENT`` and those which do ``>=
    HAVE_ARGUMENT``.

 WARNING:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python30-doc/work/Python-3.0a3/Doc/library/exceptions.rst:423:
 (WARNING/2) Include file u'../../Lib/test/exception_hierarchy.txt' not
 found or reading it failed
 pickling environment... done
 checking consistency... done
 preparing documents... done
 writing output... about bugs c-api/abstract c-api/allocation c-api/arg
 c-api/bool c-api/buffer c-api/cell c-api/cobject c-api/complex
 c-api/concrete c-api/conversion c-api/datetime c-api/descriptor c-api/dict
 c-api/exceptions c-api/file c-api/float c-api/function c-api/gcsupport
 c-api/gen c-api/import c-api/index c-api/init c-api/intro c-api/iter
 c-api/iterator c-api/list c-api/long c-api/mapping c-api/marshal
 c-api/memory c-api/method c-api/module c-api/none c-api/number
 c-api/objbuffer c-api/object c-api/objimpl c-api/refcounting
 c-api/reflection c-api/sequence c-api/set c-api/slice c-api/string
 c-api/structures c-api/sys c-api/tuple c-api/type c-api/typeobj
 c-api/unicode c-api/utilities c-api/veryhigh c-api/weakref contents
 copyright distutils/apiref distutils/builtdist distutils/commandref
 distutils/configfile distutils/examples distutils/extending
 distutils/index distutils/introduction distutils/packageindex
 distutils/setupscript distutils/sourcedist distutils/uploading
 documenting/fromlatex documenting/index documenting/intro
 documenting/markup documenting/rest documenting/sphinx documenting/style
 extending/building extending/embedding extending/extending extending/index
 extending/newtypes extending/windows glossary howto/advocacy howto/curses
 howto/doanddont howto/functional howto/index howto/regex howto/sockets
 howto/unicode howto/urllib2 install/index library/__future__
 library/__main__ library/_ast library/_winreg library/abc library/aepack
 library/aetools library/aetypes library/aifc library/allos library/anydbm
 library/archiving library/array library/asynchat library/asyncore
 library/atexit library/audioop library/autogil library/base64
 library/basehttpserver library/bdb library/binascii library/binhex
 library/bisect library/bsddb library/builtins library/bz2 library/calendar
 library/carbon library/cgi library/cgihttpserver library/cgitb
 library/chunk library/cmath library/cmd library/code library/codecs
 library/codeop library/collections library/colorpicker library/colorsys
 library/commands library/compileall library/configparser library/constants
 library/contextlib library/cookie library/cookielib library/copy
 library/copy_reg library/crypt library/crypto library/csv library/ctypes
 library/curses library/curses.ascii library/curses.panel
 library/custominterp library/datatypes library/datetime library/dbhash
 library/dbm library/debug library/decimal library/development
 library/difflib library/dircache library/dis library/distutils library/dl
 library/doctest library/docxmlrpcserver library/dumbdbm
 library/dummy_thread library/dummy_threading library/easydialogs
 library/email library/email-examples library/email.charset
 library/email.encoders library/email.errors library/email.generator
 library/email.header library/email.iterators library/email.message
 library/email.mime library/email.parser library/email.util library/errno
 library/exceptions library/fcntl library/filecmp library/fileformats
 library/fileinput library/filesys library/fnmatch library/formatter
 library/fpectl library/fpformat library/fractions library/framework
 library/frameworks library/ftplib library/functions library/functools
 library/gc library/gdbm library/gensuitemodule library/getopt
 library/getpass library/gettext library/glob library/grp library/gzip
 library/hashlib library/heapq library/hmac library/htmllib
 library/htmlparser library/httplib library/i18n library/ic library/idle
 library/imaplib library/imghdr library/imp library/imputil library/index
 library/inspect library/internet library/intro library/ipc
 library/itertools library/keyword library/language library/linecache
 library/locale library/logging library/mac library/macos library/macosa
 library/macostools library/macpath library/mailbox library/mailcap
 library/markup library/marshal library/math library/mhlib
 library/mimetools library/mimetypes library/miniaeframe library/misc
 library/mm library/mmap library/modulefinder library/modules
 library/msilib library/msvcrt library/multifile library/mutex
 library/netdata library/netrc library/nis library/nntplib library/numbers
 library/numeric library/objects library/operator library/optparse
 library/os library/os.path library/ossaudiodev library/othergui
 library/parser library/pdb library/persistence library/pickle
 library/pickletools library/pipes library/pkgutil library/platform
 library/plistlib library/poplib library/posix library/pprint
 library/profile library/pty library/pwd library/py_compile library/pyclbr
 library/pydoc library/pyexpat library/python library/queue library/quopri
 library/random library/re library/readline library/repr library/resource
 library/rfc822 library/rlcompleter library/robotparser library/runpy
 library/sched library/scrolledtext library/select library/sgmllib
 library/shelve library/shlex library/shutil library/signal
 library/simplehttpserver library/simplexmlrpcserver library/site
 library/smtpd library/smtplib library/sndhdr library/socket
 library/socketserver library/someos library/spwd library/sqlite3
 library/ssl library/stat library/statvfs library/stdtypes library/string
 library/stringio library/stringprep library/strings library/struct
 library/subprocess library/sunau library/symbol library/sys library/syslog
 library/tabnanny library/tarfile library/telnetlib library/tempfile
 library/termios library/test library/textwrap library/thread
 library/threading library/time library/timeit library/tix library/tk
 library/tkinter library/token library/tokenize library/trace
 library/traceback library/tty library/turtle library/types library/undoc
 library/unicodedata library/unittest library/unix library/urllib
 library/urllib2 library/urlparse library/user library/uu library/uuid
 library/warnings library/wave library/weakref library/webbrowser
 library/whichdb library/windows library/winsound library/wsgiref
 library/xdrlib library/xml.dom library/xml.dom.minidom
 library/xml.dom.pulldom library/xml.etree.elementtree library/xml.sax
 library/xml.sax.handler library/xml.sax.reader library/xml.sax.utils
 library/xmlrpclib library/zipfile library/zipimport library/zlib license
 reference/compound_stmts reference/datamodel reference/executionmodel
 reference/expressions reference/index reference/introduction
 reference/lexical_analysis reference/simple_stmts
 reference/toplevel_components tutorial/appetite tutorial/classes
 tutorial/controlflow tutorial/datastructures tutorial/errors
 tutorial/floatingpoint tutorial/index tutorial/inputoutput
 tutorial/interactive tutorial/interpreter tutorial/introduction
 tutorial/modules tutorial/stdlib tutorial/stdlib2 tutorial/whatnow
 using/cmdline using/index using/mac using/unix using/windows whatsnew/3.0
 writing additional files... genindex modindex search downloadException
 occurred:
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python30-doc/work/Python-3.0a3/Doc/tools/sphinx/_jinja.py",
 line 60, in get_source
     raise TemplateNotFound(name)
 TemplateNotFound: tools/sphinxext/download.html
 The full traceback has been saved in /tmp/sphinx-err-iGfT73.log, if you
 want to report the issue to the author.
 Please also report this if it was a user error, so that a better error
 message can be provided next time.
 Send reports to sphinx-dev at googlegroups.com. Thanks!
 make: *** [build] Error 1

 Error: Status 1 encountered during processing.
 }}}

 (this seems related to ticket #17479)

-- 
Ticket URL: <http://trac.macports.org/ticket/17777>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list