Your message dated Wed, 08 Feb 2012 21:47:12 +0000
with message-id <e1rvfm8-0001rv...@franck.debian.org>
and subject line Bug#655166: fixed in cherrypy3 3.2.2-2
has caused the Debian Bug report #655166,
regarding cherrypy3: FTBFS: help2man: can't get `--help' info from 
./cherrypy/cherryd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
655166: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655166
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Package: src:cherrypy3

Hello,

I just synced the new version of cherrypy3 into Ubuntu which failed to
build with the following log:
https://launchpadlibrarian.net/89394048/buildlog_ubuntu-precise-i386.cherrypy3_3.2.2-1_FAILEDTOBUILD.txt.gz

The interesting part which isn't actually visible in that log is what
help2man is actually trying to do:
stgraber@arkose-tmplqZVMZ:~/Desktop/cherrypy3/cherrypy3-3.2.2$
./cherrypy/cherryd --help
Traceback (most recent call last):
  File "./cherrypy/cherryd", line 6, in <module>
    import cherrypy
ImportError: No module named cherrypy


This call would only succeed if once built cherrypy would be installed
in the system path, which obviously isn't the case.

Instead, I recommend doing:
stgraber@arkose-tmplqZVMZ:~/Desktop/cherrypy3/cherrypy3-3.2.2$
PYTHONPATH=. ./cherrypy/cherryd --help
Usage: cherryd [options]

Options:
  -h, --help            show this help message and exit
  -c CONFIG, --config=CONFIG
                        specify config file(s)
  -d                    run the server as a daemon
  -e ENVIRONMENT, --environment=ENVIRONMENT
                        apply the given config environment
  -f                    start a fastcgi server instead of the default HTTP
                        server
  -s                    start a scgi server instead of the default
HTTP server
  -x                    start a cgi server instead of the default HTTP
server
  -i IMPORTS, --import=IMPORTS
                        specify modules to import
  -p PIDFILE, --pidfile=PIDFILE
                        store the process id in the given file
  -P PATH, --Path=PATH  add the given paths to sys.path



Which will temporarily add the source to the python path letting
python import the module and extract the help to generate the manpage.

The attached patch changes debian/rules to do that.

Cheers

- -- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJPCiJCAAoJEMY4l01keS1n4rkQANCgQiEovPuEn4WKt19ZPrYd
sWYa7U6etlWWEh+KOjFHOdWDp/sy/+5GMwnkYXe0l4T7bdALGdreRrg5dWSEj2xx
0NMC8BveazjJ3mdVNoDZSSz5w5DmWvekIG9fBNfhW4ZByOt7A+pznv4zFrOwXKuG
Sjn5bs70D8GrrF/1w8vQhdufHKq13f/6l9uPMlXaw8q5VEemtfsbnRogPD75esh2
i8bROLDXDV9wnKa7XGiF90Djvgj5detOVS15D71BvarzcoPGftnab0mUKCvTCnvC
7TKf1twgy5sK+C3CkEBMdd39Jz0Brmt8ld4yzP2L56XXhp8l5Oa2pmWQrVLqpSl1
0CqZzWOCh+KrlC5PeCz2pm7nz0GB7kvRA7A6jeoxbxCRwMbVwlpkqaCr14HnzXtn
QhmgnPUSPlqaox5vuqr28YqStOdDYsQTtEE9MSO14oKsfvaLXFdXef1Zw3tCgbDj
xZpoTutvzQF6z4QfdF50KYJnl28qIyjd7cYaJAbC579jrfItVaetJhnDE2OTPCbw
QWHffffI3c5HIMgAlNQ7faE/EPI3qKbxnhtnCp3yrlg4Cp6GpA+mJcLkS1SQCg7F
G7TI0yfP/H4wFDJ4VOe9WDHcVnnNnNLplIe3XwBtDFYwkGkirbs/RzJfAzEIlzXX
uJN8LCDb8Aov3hxm4d2q
=HO29
-----END PGP SIGNATURE-----
diff -u cherrypy3-3.2.2/debian/rules cherrypy3-3.2.2/debian/rules
--- cherrypy3-3.2.2/debian/rules
+++ cherrypy3-3.2.2/debian/rules
@@ -12,7 +12,7 @@
 	-rm -f debian/cherryd.1
 
 build: $(QUILT_STAMPFN)
-	help2man -n cherryd -s 1 -o debian/cherryd.1 --version-string=$(UPSTREAM_VERSION)  ./cherrypy/cherryd
+	PYTHONPATH=. help2man -n cherryd -s 1 -o debian/cherryd.1 --version-string=$(UPSTREAM_VERSION)  ./cherrypy/cherryd
 	env PYTHONPATH=`pwd` epydoc --name CherryPy3 --url http://www.cherrypy.org/ -o api cherrypy
 	dh build --with=python2
 

--- End Message ---
--- Begin Message ---
Source: cherrypy3
Source-Version: 3.2.2-2

We believe that the bug you reported is fixed in the latest version of
cherrypy3, which is due to be installed in the Debian FTP archive:

cherrypy3_3.2.2-2.diff.gz
  to main/c/cherrypy3/cherrypy3_3.2.2-2.diff.gz
cherrypy3_3.2.2-2.dsc
  to main/c/cherrypy3/cherrypy3_3.2.2-2.dsc
python-cherrypy3_3.2.2-2_all.deb
  to main/c/cherrypy3/python-cherrypy3_3.2.2-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 655...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jakub Wilk <jw...@debian.org> (supplier of updated cherrypy3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 08 Feb 2012 22:39:13 +0100
Source: cherrypy3
Binary: python-cherrypy3
Architecture: source all
Version: 3.2.2-2
Distribution: unstable
Urgency: low
Maintainer: Gustavo Noronha Silva <k...@debian.org>
Changed-By: Jakub Wilk <jw...@debian.org>
Description: 
 python-cherrypy3 - Python web development framework - version 3
Closes: 655166
Changes: 
 cherrypy3 (3.2.2-2) unstable; urgency=low
 .
   * Team upload.
   * Set PYTHONPATH when running help2man (closes: #655166). Thanks to Stéphane
     Graber for the bug report and for the patch.
Checksums-Sha1: 
 850c92f882df642eb17841620d2486178d5f59d9 2062 cherrypy3_3.2.2-2.dsc
 232a82ec9f4d114f8571ca3538bdaa26dabad0d0 8969 cherrypy3_3.2.2-2.diff.gz
 e470f792b992d422027dca31b607b5a3d4fbbaec 2366824 
python-cherrypy3_3.2.2-2_all.deb
Checksums-Sha256: 
 8d07dfddd8b85115e02e35e2495d057706f598ba58f64a3df7208fa10b963f52 2062 
cherrypy3_3.2.2-2.dsc
 9341b999ef4ed2d1a7ba60a4e5b33a912249dfe533d7320623fdf9b5b7115653 8969 
cherrypy3_3.2.2-2.diff.gz
 8b91ebf1a58ca99764ff097b2b60874b159291bfaedd523b6c56e9cf3c0067ae 2366824 
python-cherrypy3_3.2.2-2_all.deb
Files: 
 d7045a2620dd4f6f1dc3a608020f98cd 2062 python optional cherrypy3_3.2.2-2.dsc
 1c40f5b533bbbe6de61b7b88a331ea99 8969 python optional cherrypy3_3.2.2-2.diff.gz
 9c551e53472c2fa120a8beb88acf012a 2366824 python optional 
python-cherrypy3_3.2.2-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJPMuwzAAoJEC1Os6YBVHX1yoYP/0iFNVAARgOIE/m1qJ6Ae9JQ
xu/Qf/6Ntxf9iu16nWvGu9tQRw6hlKYGnRbjG+UJsqeghQrhFSR//aDbNKAGQMI+
sx3Nlwfo9pAigg+zg0kpy8V0DYCqE5daAMCaokAsLsAe1mp2bTo8DWWAyvCs1D/k
/FDNVXv0jdbkiKdpP4OSMbd+GnvUewTW3vjId29MlwnfN05lJTeBLxpGYG9Ag6UZ
3OKBdDenqSqR0QYu3TkGYcAloEr/QWkb3RiYqHWr/2anyDAOgPbS3hNNLpZbB14V
+ng9RTFB5nsX2X2L8k9mMYT+60Eh+AQ6/DizeVnH1k8/Z1aQS80YLmJkUJLjbcKx
h/Ly9obIJMyAt91pYJzAmpacQUNv+3iKDwtPZj1GNsf83bDzMaqb48p4dLokPIOU
MpAtv59P9/0kZqzeTq9J6bfCwjmJ21ac4NLhzhr4S29VCqFz1r7BjlkhCS7IVgHo
WL+DvR5n/0YrJI34Fspk+e50z/dP7+RuUxLpK1l3Z4N49vP01z8Hu+9t7fuuyDYg
XBNcuvkvO/L6fkP5kpf5Rfbl2oVR96gXpGquxrlXePlxsYjOJ853eF3IF0hYzb9V
nR4OhMU1JfnJWJI3pGtqTeJqtIZuiehCIu5F1vo8yK1vtzWoZyBm/k0hMrPL8GHX
vTMCubfZmhK8rhgILpF/
=OfA6
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to