Your message dated Sun, 27 Nov 2016 21:33:36 +0000
with message-id <[email protected]>
and subject line Bug#845270: fixed in jython 2.5.3-12
has caused the Debian Bug report #845270,
regarding jython: /usr/bin/jython sets broken python.home property
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.)


-- 
845270: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845270
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: jython
Version: 2.5.3-11
Severity: normal

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

Hi,

/usr/bin/jython should set python.home = '/usr/share/jython', but it uses 
dirname(dirname($0)) instead, which returns '/usr'.

This setting comes from #705146, to support virtualenv. But it is incorrect 
when jython is launched directly: it then fails to found its system-wide 
registry at ${python.home}/registry.

A setting compatible with both use cases would be:
* install the jython launcher into /usr/share/jython/bin
* make /usr/bin/jython a symlink to /usr/share/jython/bin/jython
* replace dirname(dirname($0)) with dirname(dirname(abs_path($0)))

Thanks,

_g.

- -- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages jython depends on:
ii  antlr3.2                                         3.2-14
ii  default-jre-headless [java5-runtime-headless]    2:1.8-57
ii  libasm3-java                                     3.3.2-3
ii  libguava-java                                    19.0-1
ii  libjffi-java                                     1.2.7-10
ii  libjline-java                                    1.0-2
ii  libjnr-constants-java                            0.8.6-8
ii  libjnr-netdb-java                                1.1.6-1
ii  libjnr-posix-java                                3.0.12-2
ii  libjnr-x86asm-java                               1.0.2-5
ii  liblivetribe-jsr223-java                         2.0.6-1
ii  libreadline-java                                 0.8.0.1+dfsg-4+b2
ii  openjdk-8-jre-headless [java5-runtime-headless]  8u111-b14-2
pn  python:any                                       <none>

Versions of packages jython recommends:
ii  default-jdk                    2:1.8-57
ii  openjdk-8-jdk [java-compiler]  8u111-b14-2

Versions of packages jython suggests:
ii  jython-doc               2.5.3-11
pn  libmysql-java            <none>
pn  libpostgresql-jdbc-java  <none>

- -- Configuration Files:
/etc/jython/jython.conf changed [not included]

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJYM31KAAoJEO/obGx//s+D0PIH/37YT3SoxBmYdgKvIuE03z7N
CGtwNrFjR0jaUwj3gLtbPntK8NvKpeFbLAorMJi0owSvOZVRiFCFH3TSTjfOmN3x
gGm93OW/s/jyYWv5VR/5CxOJLg9evmU31/4w/Wii8tRm9mnvNgWiVbSfAXYZ/pd7
caj8LPsty7BqMn/bC9pL7Km0f3UKYuVtwusfYSDqeH1KNeM1Eyc+SQ0D8HPIx9IE
NpaXGNNAofgyZpIqLrH9xzQlcGo4TXSrAUkKksBOe1OpInM0jjVhlnzoP8s2wH6X
m5PkXoqtshM95/C+aeyYdVdxuqAtA+meUMonS0cONrD5gKX+nMDnqlnk6u9hD0M=
=8Na/
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
Source: jython
Source-Version: 2.5.3-12

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

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gilles Filippini <[email protected]> (supplier of updated jython 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 [email protected])


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

Format: 1.8
Date: Sun, 27 Nov 2016 21:48:24 +0100
Source: jython
Binary: jython jython-doc
Architecture: source
Version: 2.5.3-12
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Gilles Filippini <[email protected]>
Description:
 jython     - Python seamlessly integrated with Java
 jython-doc - Jython documentation including API docs
Closes: 845270 845360
Changes:
 jython (2.5.3-12) unstable; urgency=medium
 .
   * Team upload
   * Fix jython.home setting (closes: 845270):
     - Install jython laucher into /usr/share/jython/bin
     - Make /usr/bin/jython a symlink to /usr/share/jython/bin/jython
     - In the jython launcher, define jython.home with
       dirname(dirname(abs_path($0)))
   * New patch 03-default-cachedir.patch: the Debian default cachedir
     path is now set at the library intialization step, so that it works
     for every use case (closes: #845360)
   * Move python from Build-Depends-Indep to Build-Depends to allow building
     source only package (python provides the debhelper sequence file for
     dh_python2)
Checksums-Sha1:
 4a3014b2459cc61991f73ac8e4096344a5945bb9 2029 jython_2.5.3-12.dsc
 46c4e44b9e95aecbcbbb5031dc6a0d6876b99a33 19404 jython_2.5.3-12.debian.tar.xz
Checksums-Sha256:
 9151481cab2f9a1d53c585da40087593552ff219fbda70c30f5ad85fcdb7a62c 2029 
jython_2.5.3-12.dsc
 fc199a97bc758fd64db8c8961a0425b5fc18e659486cecd98861fb08f7ff0568 19404 
jython_2.5.3-12.debian.tar.xz
Files:
 6919299ab531fdcad63b28218f687f5a 2029 python optional jython_2.5.3-12.dsc
 fc161ebbf576274d5a1db3899472156b 19404 python optional 
jython_2.5.3-12.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQEtBAEBCAAXBQJYO0p+EBxwaW5pQGRlYmlhbi5vcmcACgkQ7+hsbH/+z4Mi/QgA
r6zyAQYuqr4MJCnbbHnK1E3w0LyjhiOYU9hvSnVPy7Vpfm4Q54oRykteFPqnHRFd
uewbozjylMG/NXp04/ZYQtTwz/3EOgI/irWKQ473qu8sqpOorF8RsiTmy19dwLxd
GJElHm0T/2/Vj/t4bhrlxeJ3CJzTh/oAwZyKuYmsnDNm3I7uqCbgHyeI8L6ZqlW7
wojd4MancNc8OoO+onfFgOrSLi87bPzcUfvnsFJwYQSq8P6NcsY0KuxDkrkjgANP
dFZGnEbpqPpmnesoBYflyTG2yX00eb8YQLEgZ2CST31IlCzqv3bJ3s6DnkUCLaOt
81ZwLpB0qop9azRlf/dM4A==
=KaAP
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to