Your message dated Mon, 25 Sep 2017 23:04:21 +0000
with message-id <e1dwcqh-00027a...@fasolo.debian.org>
and subject line Bug#869363: fixed in gradle-debian-helper 1.6
has caused the Debian Bug report #869363,
regarding gradle-helper-plugin: Incorrect usage of doit_in_builddir in 
gradle.pm (Debhelper Buildsystem)
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.)


-- 
869363: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869363
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gradle-helper-plugin
Version: 1.5.1
Severity: important

Hi,

There is bug in gradle.pm that is hidden by bug in Dh_lib.  I intend
to fix the latter soon, which will cause issues in gradle.pm once that
happens.  This bug is here:


> sub clean {
>       my $this=shift;
> 
>       $this->doit_in_builddir("find . -wholename .*build/tmp | xargs echo | 
> sed -e 's^build/tmp^build^g' | xargs rm -Rf");
                                
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>       $this->doit_in_builddir("find . -wholename .*build/debian | xargs echo 
> | sed -e 's^build/tmp^build^g' | xargs rm -Rf");
                                
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>       $this->doit_in_builddir("rm", "-Rf", "$this->{cwd}/.gradle", 
> "$this->{cwd}/buildSrc/.gradle", ".m2");
> }


The "doit_in_builddir" method calls "print_and_doit", which in turn
calls "doit".  The API of doit intends for it to *not* fork a shell,
but the above only works in a shell call.

I will introduce a "complex_doit_in_builddir" in debhelper/10.7, which
you can use instead.  You should be able to support both the new call
plus work with older versions of debhelper by relying on "can" a la:

"""
  if ($this->can('complex_doit_in_builddir')) {
    $this->complex_doit_in_builddir(...);
    $this->complex_doit_in_builddir(...);
  } else {
    $this->doit_in_builddir(...);
    $this->doit_in_builddir(...);
  }
"""

Thanks,
~Niels

--- End Message ---
--- Begin Message ---
Source: gradle-debian-helper
Source-Version: 1.6

We believe that the bug you reported is fixed in the latest version of
gradle-debian-helper, 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 869...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebo...@apache.org> (supplier of updated gradle-debian-helper 
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...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 26 Sep 2017 00:33:01 +0200
Source: gradle-debian-helper
Binary: gradle-debian-helper
Architecture: source
Version: 1.6
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebo...@apache.org>
Description:
 gradle-debian-helper - Helper tools for building Debian packages with Gradle
Closes: 855262 869363
Changes:
 gradle-debian-helper (1.6) unstable; urgency=medium
 .
   * Team upload.
 .
   [ tony mancill ]
   * Add -Dfile.encoding=UTF-8 to gradle command-line. (Closes: #855262)
 .
   [ Emmanuel Bourg ]
   * Spawn a shell explicitly when necessary in the doit() calls of the DH
     buildsystem (prevents a warning with DH 10 and an error with DH 11)
     (Closes: #869363)
   * Standards-Version updated to 4.1.0
Checksums-Sha1:
 3bec93bdbd07c53ec4f7d0cf80ffcc3869a64dfd 1829 gradle-debian-helper_1.6.dsc
 d4593274761ecac05c65857342bbf89ecfbc3a9c 15116 gradle-debian-helper_1.6.tar.xz
 c93c1d35af03cef76c33bb7541912c9520a04599 15908 
gradle-debian-helper_1.6_source.buildinfo
Checksums-Sha256:
 9fac47351dc84440720dca02c8727678923c32e10a822d38b538c2931583b5f8 1829 
gradle-debian-helper_1.6.dsc
 6db279f807440e39a255c0590767a0618cd9a5ee5a69eb755064b31e9a44b935 15116 
gradle-debian-helper_1.6.tar.xz
 c1379357abd807102b716522fc42d70e9957c8fa9d9a269a1c264a094d925890 15908 
gradle-debian-helper_1.6_source.buildinfo
Files:
 49a0f2835d4c8bf0658c54207efadd55 1829 java optional 
gradle-debian-helper_1.6.dsc
 61020cf6ea918f248dc577c782b358d5 15116 java optional 
gradle-debian-helper_1.6.tar.xz
 3cd4ecdbf8d886b3de7b8d3389dd03ed 15908 java optional 
gradle-debian-helper_1.6_source.buildinfo

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

iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAlnJhiwSHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCs5pgP/2LWNsfEW0wd1r4we+iMYtNntlSufLnb
l4sMKwGU1qKeGiWtN2DxY+mswVnPm40ePsgcDhO9EvgCBSVJNGL0xAZeAzxbqBsa
OKe5yhDqgbBzcye9FIhJEJomRU3KEhUJ6x9KsNkJq6mltfC5KVMEcccA0KQCIJKO
fg4BJ/nj0pXf9j3z+aWoPUOxBgsc0tN7OEEsTQUQ/3FbLyGYJF63jVFWIBosAtOe
t4MnTPwSn8rYxcEGy7lRz+9/kE7kaScGCcR4h7X5blEBA5dcn55nKPSgN9HzT16X
d6o8Y5qaiiuY9fo/ZDvaOwoD0c8qLyKON/uFYwuFKmf+IPZgkxug+yaq5yXMbTcK
ygVi9atXSv/anGRcPntcqZyVCUGIFf3BXE5hQKeI1yUBgmsHawH4OYBCII9QvDws
VLlSOyLjn6aTlsMfWt4Rtpw3SnFsEI4kYTiNFpl00ftALjE0YFdjrXXJ8e9whBxC
0YaCN+9rBsIMEkiJRkmZ5MnnMDq4Fh+cuNm9xISnzMZjfmuiBdHhVjpUaQbN4zmT
3tRYoxoPfaZS8tKWD8PjLnQ9abJ0s7LzfFef7PtN2jEvsYL7cqDQkpJspExCccKo
J4lz98L869KU/Jg5OoiHQckTrMtD68P99tafcP1V8v2BgkoFwJ3EssSXmteQz6E+
2NCMVeHXqNss
=jJSn
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to