Hello,
I was trying to install ipython on fink (version 0.32.6 running on OSX
10.6.8, Xcode 3.2.6 gcc 4.2.1 build 5666).
During the installation of pydbus-py27 (one of the pre-reqs) I got the
error message listed below. It seems to originate in epydoc ( I have
3.0.1-4 installed) and the file restructuredtext.py in particular
I found the following solution, by Lubomir Rintel, on redhat's bugzilla
From: Lubomir Rintel XXXXXXX
Date: Thu, 1 Apr 2010 20:23:12 +0200
Subject: [PATCH] Fix restructuredtext formatting for python-docutils-0.6
---
epydoc/markup/restructuredtext.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/epydoc/markup/restructuredtext.py
b/epydoc/markup/restructuredtext.py
index 8b6ac04..4726cb5 100644
--- a/epydoc/markup/restructuredtext.py
+++ b/epydoc/markup/restructuredtext.py
@@ -304,10 +304,10 @@ class _SummaryExtractor(NodeVisitor):
# Extract the first sentence.
for child in node:
if isinstance(child, docutils.nodes.Text):
- m = self._SUMMARY_RE.match(child.data)
+ m = self._SUMMARY_RE.match(child)
if m:
summary_pieces.append(docutils.nodes.Text(m.group(1)))
- other = child.data[m.end():]
+ other = child[m.end():]
if other and not other.isspace():
self.other_docs = True
break
Applying this patch solved the problem.
Original error message during compilation of pydbus-py27 below:
>>>BEGINNING OF ERROR MESSAGE
rm -rf api
mkdir api
PYTHONPATH=`pwd`/.:`pwd`/_dbus_bindings/.libs:`pwd`/_dbus_glib_bindings/.libs
DBUS_PYTHON_NO_DEPRECATED=1 /sw/bin/python2.7
-Wignore::DeprecationWarning /sw/bin/epydoc -o api --html \
--docformat restructuredtext -v \
`find dbus -name '*.py' | grep -v dbus_bindings \
| sed -e 's#/__init__\.py##g' \
-e 's/\.py\>//g' -e 's#/#.#'g` \
|| { rm -rf api; exit 1; }
Warning: Ignoring docstring comment block followed by a blank line in
u'/sw/src/fink.build/pydbus-py27-0.82.2-3/
dbus-python-0.82.2/dbus/service.py' on line 357
Warning: Ignoring docstring comment block followed by a blank line in
u'/sw/src/fink.build/pydbus-py27-0.82.2-3/
dbus-python-0.82.2/dbus/service.py' on line 358
Warning: Ignoring docstring comment block followed by a blank line in
u'/sw/src/fink.build/pydbus-py27-0.82.2-3/
dbus-python-0.82.2/dbus/service.py' on line 393
Warning: Ignoring docstring comment block followed by a blank line in
u'/sw/src/fink.build/pydbus-py27-0.82.2-3/
dbus-python-0.82.2/dbus/service.py' on line 394
Warning: Ignoring docstring comment block followed by a blank line in
u'/sw/src/fink.build/pydbus-py27-0.82.2-3/
dbus-python-0.82.2/dbus/service.py' on line 395
Warning: Ignoring docstring comment block followed by a blank line in
u'/sw/src/fink.build/pydbus-py27-0.82.2-3/
dbus-python-0.82.2/dbus/service.py' on line 396
Warning: Ignoring docstring comment block followed by a blank line in
u'/sw/src/fink.build/pydbus-py27-0.82.2-3/
dbus-python-0.82.2/dbus/service.py' on line 399
Warning: Ignoring docstring comment block followed by a blank line in
u'/sw/src/fink.build/pydbus-py27-0.82.2-3/
dbus-python-0.82.2/dbus/service.py' on line 400
Warning: Ignoring docstring comment block followed by a blank line in
u'/sw/src/fink.build/pydbus-py27-0.82.2-3/
dbus-python-0.82.2/dbus/service.py' on line 401
Warning: Ignoring docstring comment block followed by a blank line in
u'/sw/src/fink.build/pydbus-py27-0.82.2-3/
dbus-python-0.82.2/dbus/service.py' on line 444
Warning: Ignoring docstring comment block followed by a blank line in
u'/sw/src/fink.build/pydbus-py27-0.82.2-3/
dbus-python-0.82.2/dbus/service.py' on line 446
Warning: Ignoring docstring comment block followed by a blank line in
u'/sw/src/fink.build/pydbus-py27-0.82.2-3/
dbus-python-0.82.2/dbus/service.py' on line 448
Warning: Ignoring docstring comment block followed by a blank line in
u'/sw/src/fink.build/pydbus-py27-0.82.2-3/
dbus-python-0.82.2/dbus/service.py' on line 449
Warning: Ignoring docstring comment block followed by a blank line in
u'/sw/src/fink.build/pydbus-py27-0.82.2-3/
dbus-python-0.82.2/dbus/service.py' on line 451
Warning: Ignoring docstring comment block followed by a blank line in
u'/sw/src/fink.build/pydbus-py27-0.82.2-3/
dbus-python-0.82.2/dbus/service.py' on line 454
Warning: Module gobject._gobject is shadowed by a variable with the same name.
00:01
Progress: 00:03
28%
[==================================----------------------------------------------------------------------------------------]
Checking for overridden
methods: unicode
UNEXPECTED ERROR:
'Text' object has no attribute 'data'
Use --debug to see trace information.
make: *** [api/index.html] Error 1
### execution of /tmp/fink.wt7ct failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-pydbus-py27-0.82.2-3
(Reading database ... 294781 files and directories currently installed.)
Removing fink-buildlock-pydbus-py27-0.82.2-3 ...
Failed: phase compiling: pydbus-py27-0.82.2-3 failed
Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem. If not, ask on one (not both, please) of
these mailing lists:
The Fink Users List <[email protected]>
The Fink Beginners List <[email protected]>,
with a carbon copy to the maintainer:
Pierre-Henri Lavigne <[email protected]>
Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.
Please try to include the complete error message in your report. This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.
Also include the following system information:
Package manager version: 0.32.6
Distribution version: selfupdate-cvs Mon Apr 23 10:30:58 2012, 10.6, x86_64
Trees: local/main stable/main stable/crypto
Xcode: 3.2.6
Max. Fink build jobs: 2
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users