Control: tags -1 + patch [Chris Lamb] > This appears to be caused by (at least) Sphinx's intersphinx mapping > extension. > Please see #830186 for more information, including suggestions on how to fix > it.
Here is a patch I believe should fix the problem. Not quite sure how to verify it. Is there a recipe for how to easily test this? -- Happy hacking Petter Reinholdtsen
diff -Nru pam-python-1.0.4/debian/control pam-python-1.0.4/debian/control --- pam-python-1.0.4/debian/control 2014-05-29 19:26:48.000000000 +0000 +++ pam-python-1.0.4/debian/control 2016-08-26 07:03:46.000000000 +0000 @@ -3,6 +3,7 @@ Priority: extra Maintainer: Russell Stuart <[email protected]> Build-Depends: debhelper (>= 7), python-all-dev (>= 2.2), python-sphinx, + python-doc, libpam0g-dev | libpam-dev Standards-Version: 3.9.5 Homepage: http://pam-python.sourceforge.net/ diff -Nru pam-python-1.0.4/debian/patches/intersphinx-localmapping.diff pam-python-1.0.4/debian/patches/intersphinx-localmapping.diff --- pam-python-1.0.4/debian/patches/intersphinx-localmapping.diff 1970-01-01 00:00:00.000000000 +0000 +++ pam-python-1.0.4/debian/patches/intersphinx-localmapping.diff 2016-08-26 07:03:46.000000000 +0000 @@ -0,0 +1,21 @@ +Description: Do not require Internet access during building. + intersphinx want to fetch some mapping data, and was set up to use + the Internet to find it. Use a local file from python-doc instead to + avoid violating Debian policy 4.9. +Author: Petter Reinholdtsen <[email protected]> +Bug-Debian: https://bugs.debian.org/830186 +Bug-Debian: https://bugs.debian.org/833411 +Forwarded: no +Reviewed-By: Petter Reinholdtsen <[email protected]> +Last-Update: 2016-08-26 + +--- pam-python-1.0.4.orig/doc/conf.py ++++ pam-python-1.0.4/doc/conf.py +@@ -4,4 +4,6 @@ copyright = u'2010,2014, Russell Stuart' + version = '1.0.4' + release = '1.0.4' + extensions = ['sphinx.ext.intersphinx'] +-intersphinx_mapping = {'python': ('http://docs.python.org/2.7', None)} ++intersphinx_mapping = { ++ 'python': ('/usr/share/doc/python-doc/html', None) ++} diff -Nru pam-python-1.0.4/debian/patches/series pam-python-1.0.4/debian/patches/series --- pam-python-1.0.4/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ pam-python-1.0.4/debian/patches/series 2016-08-26 07:03:46.000000000 +0000 @@ -0,0 +1 @@ +intersphinx-localmapping.diff

