Your message dated Mon, 30 Nov 2015 13:36:25 +0000
with message-id <e1a3ocz-0004k6...@franck.debian.org>
and subject line Bug#794401: fixed in java-package 0.60
has caused the Debian Bug report #794401,
regarding java-package: runnning make-jpkg reports "Invalid size (1 MB) of 
extracted archive."
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.)


-- 
794401: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794401
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: java-package
Version: 0.56
Severity: normal

Dear Maintainers,

 I have a problem with make-jpkg. I've tracked the issue into function

diskusage() {
    local path="$1"
    read size dummy < <( du -sm "$path" )
    echo "$size:$dummy" >&2
    echo "$size"
}

which tests size of unpacked java distribution.

The issue is related to OpenVZ guest (and probably doesn't exists on bare hw)
 - `du` tests for disk size of a directory $path, but data have not been 
written to the disk 
at a time of the `du` (`du` returns very small number, nearly 0).

I haved temporarily fixed the problem with a sleep:

diskusage() {
    local path="$1"
    sleep 10  # <------------------------------------ inserted sleep
    read size dummy < <( du -sm "$path" )
    echo "$size:$dummy" >&2
    echo "$size"
}

but this is a bit dirty solution (it simply waits some time to finish 
write-to-disk operation physically)
 by host container.

The Java archived I tried to pack into .deb was oracle java 8.

Hope this helps,

David Sauer

-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-042stab108.8 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages java-package depends on:
ii  debhelper   9.20150101
ii  dpkg-dev    1.17.25
ii  fakeroot    1.20.2-1
ii  libasound2  1.0.28-1
ii  libx11-6    2:1.6.2-3
ii  unzip       6.0-16

Versions of packages java-package recommends:
ii  gcc  4:4.9.2-2

Versions of packages java-package suggests:
pn  openjdk-7-jre  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: java-package
Source-Version: 0.60

We believe that the bug you reported is fixed in the latest version of
java-package, 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 794...@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 java-package 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: SHA256

Format: 1.8
Date: Mon, 30 Nov 2015 14:23:05 +0100
Source: java-package
Binary: java-package
Architecture: source all
Version: 0.60
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebo...@apache.org>
Description:
 java-package - Utility for creating Java Debian packages
Closes: 753071 787809 794401 799370
Changes:
 java-package (0.60) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Emmanuel Bourg ]
   * Added jcontrol to the command line alternatives (Closes: #799370)
   * Fixed the detection of the latest Java 8 documentation archives.
   * Fixed the dh_shlibdeps error when generating a documentation package
     (Closes: #753071)
   * Changed the architecture of the documentation packages from any to all.
   * Changed the section of the documentation packages to non-free/doc
   * Disabled dh_strip_nondeterminism when generating the Java packages
     to speed up the build
 .
   [ tony mancill ]
   * Update the package long description.
   * Add build-essential as a dependency and drop the (now redundant)
     recommends on gcc. (Closes: #787809)
   * Use du --apparent-size when checking the size of the unpacked
     distribution. (Closes: #794401)
Checksums-Sha1:
 2abb5bcdfee44afc35336ee453c25340b0a343a9 1630 java-package_0.60.dsc
 288c8701d7dc6321682968618e8f5432019ca640 19240 java-package_0.60.tar.xz
 030e2d0d929a76f41264172b1869e226c8fb5341 21590 java-package_0.60_all.deb
Checksums-Sha256:
 7df1736c622d43a598ac5b3570c74542eb5ab52e31298062dbfa2fd3fa7aacf5 1630 
java-package_0.60.dsc
 48972171740a8f2d1586d72065fd74992ac2745431265f17cb7f434f684b0f48 19240 
java-package_0.60.tar.xz
 72e82cf91b3113e01940a6e4e6e71d7ca08904c045e4b33fc165b6c6876b4d82 21590 
java-package_0.60_all.deb
Files:
 b2db1afb151b6548232e5602f952ba13 1630 contrib/misc optional 
java-package_0.60.dsc
 33e9bcdacd8ef67b98980d110386943d 19240 contrib/misc optional 
java-package_0.60.tar.xz
 96ed6d7a8c5ccba406e14222a00da1b4 21590 contrib/misc optional 
java-package_0.60_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWXE4NAAoJEPUTxBnkudCsNdAQALPGLTSEk8/HM1DtaN/U3H9t
35ocDJ0a9+byTLc1PFdgoBcM4+4cS6GtWOUpisVL9JqTPJ36rc/NEhr9Xa3knq8v
0a+pi8QDwMvQiYUcQUn3/MVylEdYheN9EXIs68sHkfSl1l7e1ibE4AEQcH/T1AFW
vL3m32MCSSYV9kgxFklUihzdHq6THWrrMkZ6k9gtcUlxlj2vr2NaFywU8yWhJy8X
HgmAlfGC5ofKy5o1MoG1K0Z8sVaLLBWkinudhzeEcGBapXMJ8kQ9XU2ffrTPAfMU
y7TrlGmvI8GR6RJZjTPiQq9reQEfRGA8/8cpO5CdjcI9RuHKcaHD9UU2E2AolA2E
4iuxXJQKuBsY+UDZKGZdhcZRE/wRCXHlLxrediO4PQ/yqs7Yif0OlnzlBxrxLFsZ
njPOv3X9CR9bZnrxT2nNKnsGj30b4txtFUmQgc3SOF+Aaae8IWkiLEAt+5Q45Whz
tLF7u3jE2Ppp5Sesu/YXc+oMCKXIu2Nscu5ide4gNne4mRMduAlgXheD1p2+bZsu
fcN8ITikR+nfMc6WoLdS+GhdBA8y9b71lsk8b+TELEyW1BrWJD+VoxzPxozGUMTn
Bgif46LzJvOLQRXikdFPl/qJm2Ws8p1oy5oqyLp0mMecrxqN4EH9qYzwtvIgBg6f
6L+5d+i8LGXd28FLLFrt
=w1Du
-----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