Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 852920

Summary: dev-java/cpptasks-1.0_beta5-r1 tar: A lone zero block at 25805
Product: Gentoo Linux Reporter: Alessandro Barbieri <lssndrbarbieri>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/37031
https://github.com/gentoo/gentoo/pull/37585
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge_info
cpptasks-1.0_beta5-r1:20220618-114242.log

Description Alessandro Barbieri 2022-06-18 11:58:44 UTC
This package fails to build on an unstable system. Attached relevant logs and emerge --info
Comment 1 Alessandro Barbieri 2022-06-18 11:58:49 UTC
Created attachment 786062 [details]
emerge_info

emerge --info
Comment 2 Alessandro Barbieri 2022-06-18 11:58:50 UTC
Created attachment 786065 [details]
cpptasks-1.0_beta5-r1:20220618-114242.log

build log
Comment 3 Alessandro Barbieri 2022-06-18 12:02:15 UTC
It actually build on my live system but not on my chroot
Comment 4 Alessandro Barbieri 2022-06-18 12:03:55 UTC
# ACCEPT_LICENSE="tau OSGi-Specification-2.0" USE="threads X dot -python_single_target_pypy3 python_single_target_python3_8 -python_single_target_python3_9 -python_single_target_python3_10 python unsupported cups" emerge -1v --jobs cpptasks

These are the packages that would be merged, in order:

Calculating dependencies  
 * IMPORTANT: 1 news items need reading for repository 'science'.
 * IMPORTANT: 1 news items need reading for repository 'sage-on-gentoo'.
 * Use eselect news read to view new items.

... done!
[ebuild  N     ] dev-java/cpptasks-1.0_beta5-r1::gentoo  USE="-doc -examples -source -test" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB
&gt;&gt;&gt; Verifying ebuild manifests

&gt;&gt;&gt; Jobs: 0 of 1 complete, 1 running                Load avg: 4.75, 3.20, 2.88
&gt;&gt;&gt; Emerging (1 of 1) dev-java/cpptasks-1.0_beta5-r1::gentoo
&gt;&gt;&gt; Jobs: 0 of 1 complete, 1 running                Load avg: 4.75, 3.20, 2.88
&gt;&gt;&gt; Failed to emerge dev-java/cpptasks-1.0_beta5-r1, Log file:
&gt;&gt;&gt; Jobs: 0 of 1 complete, 1 running                Load avg: 4.61, 3.20, 2.88
&gt;&gt;&gt;  '/var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/temp/build.log'
&gt;&gt;&gt; Jobs: 0 of 1 complete, 1 running                Load avg: 4.61, 3.20, 2.88
&gt;&gt;&gt; Jobs: 0 of 1 complete, 1 running, 1 failed      Load avg: 4.61, 3.20, 2.88
&gt;&gt;&gt; Jobs: 0 of 1 complete, 1 failed                 Load avg: 4.61, 3.20, 2.88

 * Package:    dev-java/cpptasks-1.0_beta5-r1
 * Repository: gentoo
 * Maintainer: java@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   fakeroot network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
 * Using: openjdk-8
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking cpptasks-1.0b5.tar.gz to /var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/work
tar: A lone zero block at 25805
&gt;&gt;&gt; Source unpacked in /var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/work
&gt;&gt;&gt; Preparing source in /var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/work/cpptasks-1.0b5 ...
&gt;&gt;&gt; Source prepared.
&gt;&gt;&gt; Configuring source in /var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/work/cpptasks-1.0b5 ...
Rewriting attributes
Rewriting ./src/samples/hello/build.xml
Rewriting ./build.xml
&gt;&gt;&gt; Source configured.
&gt;&gt;&gt; Compiling source in /var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/work/cpptasks-1.0b5 ...
 * Disabling all optional ANT_TASKS
Buildfile: /var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/work/cpptasks-1.0b5/build.xml

BUILD FAILED
Error reading project file /var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/work/cpptasks-1.0b5/build.xml: Invalid byte 1 of 1-byte UTF-8 sequence.

Total time: 0 seconds
 * ERROR: dev-java/cpptasks-1.0_beta5-r1::gentoo failed (compile phase):
 *   eant failed
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 3035:  Called java-pkg-2_src_compile
 *   environment, line 1384:  Called eant 'jars' '-f' 'build.xml'
 *   environment, line  552:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-java/cpptasks-1.0_beta5-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/cpptasks-1.0_beta5-r1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=openjdk-8  CLASSPATH="" JAVA_HOME="/usr/lib64/openjdk-8"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="javac"
and of course, the output of emerge --info =cpptasks-1.0_beta5
 * The complete build log is located at '/var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/work/cpptasks-1.0b5'
 * S: '/var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/work/cpptasks-1.0b5'
 * Messages for package dev-java/cpptasks-1.0_beta5-r1:
 * ERROR: dev-java/cpptasks-1.0_beta5-r1::gentoo failed (compile phase):
 *   eant failed
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 3035:  Called java-pkg-2_src_compile
 *   environment, line 1384:  Called eant 'jars' '-f' 'build.xml'
 *   environment, line  552:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-java/cpptasks-1.0_beta5-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/cpptasks-1.0_beta5-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/work/cpptasks-1.0b5'
 * S: '/var/tmp/portage/dev-java/cpptasks-1.0_beta5-r1/work/cpptasks-1.0b5'
Comment 5 Alessandro Barbieri 2022-06-18 19:47:31 UTC
The build failure is another bug
Comment 6 Larry the Git Cow gentoo-dev 2024-06-17 09:00:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1b06e6b7b9ba5e501d7085ffaeb0a03356fce88

commit f1b06e6b7b9ba5e501d7085ffaeb0a03356fce88
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-06-05 07:49:30 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-06-17 08:58:46 +0000

    dev-java/cpptasks: rewrite with java-pkg-simple, #852956
    
    Bug: https://bugs.gentoo.org/852920
    Bug: https://bugs.gentoo.org/852956
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/36770/commits/3fefd512ff4d9716fc9f7af3b1d7e6c07f7cae52
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/cpptasks/cpptasks-1.0_beta5-r3.ebuild     | 50 ++++++++++++++++++++++
 .../files/cpptasks-1.0_beta5-test-classpath.patch  | 33 --------------
 2 files changed, 50 insertions(+), 33 deletions(-)
Comment 7 Larry the Git Cow gentoo-dev 2024-07-17 09:47:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e53a66dca08ee97028eac56d41783fb6b67d1a8

commit 0e53a66dca08ee97028eac56d41783fb6b67d1a8
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-07-17 07:16:54 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-07-17 09:47:07 +0000

    dev-java/cpptasks: drop 1.0_beta5-r2
    
    Closes: https://bugs.gentoo.org/852956
    Closes: https://bugs.gentoo.org/852920
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/37585
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/cpptasks/cpptasks-1.0_beta5-r2.ebuild | 64 --------------------------
 1 file changed, 64 deletions(-)