Your message dated Wed, 19 Feb 2014 12:32:58 +0100
with message-id <[email protected]>
and subject line pybtex: b-d unsatisfied -> downloads code over the Internet
has caused the Debian Bug report #609902,
regarding pybtex: b-d unsatisfied -> downloads code over the Internet
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 [email protected]
immediately.)


-- 
609902: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609902
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pybtex
Version: 0.13.2-2

If build-dependencies are not satisfied (e.g. python-yaml in the example above), running "setup.py nosetests" results in downloading them over the Internet. While this is of course user's fault that b-d are not satisfied, it's a poor justification for downloading and running untrusted code.

Example:

| $ dpkg-builpackage -d
[…]
|  debian/rules build
| dh build
[…]
| set -e; \
|       for python in python2.7 python2.6 python2.5; do \
|               $python setup.py nosetests; \
|       done
| running nosetests
| running egg_info
| writing requirements to pybtex.egg-info/requires.txt
| writing pybtex.egg-info/PKG-INFO
| writing top-level names to pybtex.egg-info/top_level.txt
| writing dependency_links to pybtex.egg-info/dependency_links.txt
| reading manifest file 'pybtex.egg-info/SOURCES.txt'
| writing manifest file 'pybtex.egg-info/SOURCES.txt'
| running build_ext
| install_dir .
| Checking .pth file support in .
| /usr/bin/python2.7 -E -c pass
| Searching for PyYAML>=3.01
| Reading http://pypi.python.org/simple/PyYAML/
| Reading http://pyyaml.org/wiki/PyYAML
| Best match: PyYAML 3.09
| Downloading http://pyyaml.org/download/pyyaml/PyYAML-3.09.zip
| Processing PyYAML-3.09.zip
| Running PyYAML-3.09/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-zxr4Is/PyYAML-3.09/egg-dist-tmp-nJdp2G
| build/temp.linux-i686-2.7/check_libyaml.c:2:18: error: yaml.h: No such file 
or directory
| build/temp.linux-i686-2.7/check_libyaml.c: In function ‘main’:
| build/temp.linux-i686-2.7/check_libyaml.c:5: error: ‘yaml_parser_t’ 
undeclared (first use in this function)
| build/temp.linux-i686-2.7/check_libyaml.c:5: error: (Each undeclared 
identifier is reported only once
| build/temp.linux-i686-2.7/check_libyaml.c:5: error: for each function it 
appears in.)
| build/temp.linux-i686-2.7/check_libyaml.c:5: error: expected ‘;’ before 
‘parser’
| build/temp.linux-i686-2.7/check_libyaml.c:6: error: ‘yaml_emitter_t’ 
undeclared (first use in this function)
| build/temp.linux-i686-2.7/check_libyaml.c:6: error: expected ‘;’ before 
‘emitter’
| build/temp.linux-i686-2.7/check_libyaml.c:8: warning: implicit declaration of 
function ‘yaml_parser_initialize’
| build/temp.linux-i686-2.7/check_libyaml.c:8: error: ‘parser’ undeclared 
(first use in this function)
| build/temp.linux-i686-2.7/check_libyaml.c:9: warning: implicit declaration of 
function ‘yaml_parser_delete’
| build/temp.linux-i686-2.7/check_libyaml.c:11: warning: implicit declaration 
of function ‘yaml_emitter_initialize’
| build/temp.linux-i686-2.7/check_libyaml.c:11: error: ‘emitter’ undeclared 
(first use in this function)
| build/temp.linux-i686-2.7/check_libyaml.c:12: warning: implicit declaration 
of function ‘yaml_emitter_delete’
|
| libyaml is not found or a compiler error: forcing --without-libyaml
| (if libyaml is installed correctly, you may need to
|  specify the option --include-dirs or uncomment and
|  modify the parameter include_dirs in setup.cfg)
| zip_safe flag not set; analyzing archive contents...
|
| Installed 
/var/tmp/jwilk/scratch/pybtex-0.13.2/PyYAML-3.09-py2.7-linux-i686.egg
| ...........E.........................
| ======================================================================
| ERROR: Failure: ImportError (No module named pygments)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/usr/lib/pymodules/python2.7/nose/loader.py", line 379, in 
loadTestsFromName
|     addr.filename, addr.module)
|   File "/usr/lib/pymodules/python2.7/nose/importer.py", line 39, in 
importFromPath
|     return self.importFromDir(dir_path, fqname)
|   File "/usr/lib/pymodules/python2.7/nose/importer.py", line 86, in 
importFromDir
|     mod = load_module(part_fqname, fh, filename, desc)
|   File "/var/tmp/jwilk/scratch/pybtex-0.13.2/pybtex/docgen/__init__.py", line 21, 
in <module>
|     from .html import generate_html, generate_site
|   File "/var/tmp/jwilk/scratch/pybtex-0.13.2/pybtex/docgen/html.py", line 36, in 
<module>
|     from pygments import highlight
| ImportError: No module named pygments
|
| ----------------------------------------------------------------------
| Ran 37 tests in 0.690s
|
| FAILED (errors=1)
| make[1]: *** [override_dh_auto_test] Error 1
| make[1]: Leaving directory `/var/tmp/jwilk/scratch/pybtex-0.13.2'
| make: *** [build] Error 2

--
Jakub Wilk



--- End Message ---
--- Begin Message ---
Version: 0.15-1

B-deps are improved in 0.15-1.

Greetings,
Daniel Stender

-- 
http://www.danielstender.com/blog/
PGP key: 2048R/E41BD2D0
C879 5E41 1ED7 EE80 0F2E 7D0C DBDD 4D96 E41B D2D0

--- End Message ---

Reply via email to