Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653922 - net-p2p/vuze-5.7.2.0-r1 fails to build
Summary: net-p2p/vuze-5.7.2.0-r1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: verbose_build 625840
  Show dependency tree
 
Reported: 2018-04-23 21:12 UTC by Harris Landgarten
Modified: 2018-08-23 20:01 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,3.00 KB, text/x-log)
2018-04-24 15:57 UTC, Vadim Efimov
Details
build.log with Oracle JVM (build.log,2.93 KB, text/plain)
2018-04-24 17:31 UTC, Adam Jones
Details
build.log (build.log,3.49 KB, text/x-log)
2018-04-27 14:53 UTC, Patrice Clement
Details
build.log x86 (build.log,2.96 KB, text/plain)
2018-05-02 16:46 UTC, Thomas Deutschmann (RETIRED)
Details
build.log x86 (build.log.gz,67.88 KB, application/x-gzip)
2018-05-02 16:59 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harris Landgarten 2018-04-23 21:12:52 UTC
init:
     [echo] Building Azureus2.jar...
    [mkdir] Created dir: /var/tmp/paludis/net-p2p-vuze-5.7.2.0-r1/work/vuze-5.7.2.0/dist

compile:
    [javac] Compiling 3568 source files to /var/tmp/paludis/net-p2p-vuze-5.7.2.0-r1/work/vuze-5.7.2.0

BUILD FAILED
/var/tmp/paludis/net-p2p-vuze-5.7.2.0-r1/work/vuze-5.7.2.0/build.xml:29: /var/tmp/paludis/net-p2p-vuze-5.7.2.0-r1/work/vuze-5.7.2.0/build/libs does not exist.

Total time: 1 second
Comment 1 Jonas Stein gentoo-dev 2018-04-23 21:33:24 UTC
Thank you for the report. Please recompile and *attach* the logfiles and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Please reopen this ticket (Status:unconfirmed) afterwards.
Comment 2 Harris Landgarten 2018-04-24 12:21:04 UTC
entire build log. Its short;

Output from installing net-p2p/vuze-5.7.2.0-r1:0::gentoo to ::installed replacing 5.7.2.0:0::installed:

Checking 'Vuze_5720_source.zip'... ok
>>> Running ebuild phase killold as root:root...
>>> Starting builtin_killold
>>> Done builtin_killold
>>> Completed ebuild phase killold
>>> Running ebuild phases init saveenv as paludisbuild:paludisbuild...
>>> Starting builtin_init
>>> Done builtin_init
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases init saveenv
>>> Running ebuild phases loadenv setup saveenv as root:root...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting pkg_setup
 * Using: icedtea-bin-8
>>> Done pkg_setup
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv setup saveenv
>>> Running ebuild phases loadenv unpack saveenv as paludisbuild:paludisbuild...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting src_unpack
>>> Unpacking Vuze_5720_source.zip to /var/tmp/paludis/net-p2p-vuze-5.7.2.0-r1/work/vuze-5.7.2.0
unzip -qo /usr/portage/distfiles/Vuze_5720_source.zip
>>> Done src_unpack
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv unpack saveenv
>>> Running ebuild phases loadenv prepare saveenv as paludisbuild:paludisbuild...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting src_prepare
>>> Done src_prepare
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv prepare saveenv
>>> Running ebuild phases loadenv configure saveenv as paludisbuild:paludisbuild...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting src_configure
Rewriting attributes
Rewriting ./build.xml
>>> Done src_configure
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv configure saveenv
>>> Running ebuild phases loadenv compile saveenv as paludisbuild:paludisbuild...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting src_compile
 * Disabling all optional ANT_TASKS
Buildfile: /var/tmp/paludis/net-p2p-vuze-5.7.2.0-r1/work/vuze-5.7.2.0/build.xml

init:
     [echo] Building Azureus2.jar...
    [mkdir] Created dir: /var/tmp/paludis/net-p2p-vuze-5.7.2.0-r1/work/vuze-5.7.2.0/dist

compile:
    [javac] Compiling 3568 source files to /var/tmp/paludis/net-p2p-vuze-5.7.2.0-r1/work/vuze-5.7.2.0

BUILD FAILED
/var/tmp/paludis/net-p2p-vuze-5.7.2.0-r1/work/vuze-5.7.2.0/build.xml:29: /var/tmp/paludis/net-p2p-vuze-5.7.2.0-r1/work/vuze-5.7.2.0/build/libs does not exist.

Total time: 1 second

Error:
  * In program cave perform install --hooks --managed-output --output-exclusivity with-others =net-p2p/vuze-5.7.2.0-r1:0::gentoo --destination installed --replacing =net-p2p/vuze-5.7.2.0:0::installed --x-of-y 7 of 7, 1 failed:
  * When installing 'net-p2p/vuze-5.7.2.0-r1:0::gentoo' replacing { 'net-p2p/vuze-5.7.2.0:0::installed' }:
  * When running an ebuild command on 'net-p2p/vuze-5.7.2.0-r1:0::gentoo':
  * Install failed for 'net-p2p/vuze-5.7.2.0-r1:0::gentoo' (paludis::ActionFailedError)


!!! ERROR in net-p2p/vuze-5.7.2.0-r1::gentoo:
!!! In eant at line 1085
!!! eant failed

!!! Call stack:
!!!    * eant (/var/tmp/paludis/net-p2p-vuze-5.7.2.0-r1/temp/loadsaveenv:1085)
!!!    * java-pkg-2_src_compile (/var/tmp/paludis/net-p2p-vuze-5.7.2.0-r1/temp/loadsaveenv:3117)
!!!    * src_compile (/var/tmp/paludis/net-p2p-vuze-5.7.2.0-r1/temp/loadsaveenv:5481)
!!!    * ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:56)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:675)
!!!    * main (/usr/libexec/paludis/ebuild.bash:698)

diefunc: making ebuild PID 3879 exit with error
die trap: exiting with error.
Comment 3 Vadim Efimov 2018-04-24 15:57:42 UTC
Created attachment 528428 [details]
build.log
Comment 4 Adam Jones 2018-04-24 17:31:30 UTC
Created attachment 528434 [details]
build.log with Oracle JVM

Build also fails with oracle-jdk-bin-1.8
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2018-04-25 17:25:57 UTC
Same problem for x86.

Portage 2.3.24 (python 3.5.5-final-0, default/linux/x86/17.0, gcc-6.4.0, glibc-2.25-r11, 4.9.95-gentoo i686)
=================================================================
System uname: Linux-4.9.95-gentoo-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     3108308 total,   1635384 free
KiB Swap:     488276 total,    487264 free
Timestamp of repository gentoo: Wed, 25 Apr 2018 10:55:28 +0000
Head commit of repository gentoo: 1472a340805d0c77d5262abcd182f361b80ace36

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GSETTINGS_BACKEND="dconf"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/6.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.29.1/info:/usr/share/info"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
L10N="en en-US de de-DE"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MULTILIB_ABIS="x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-0"
POSTGRES_TARGETS="postgres9_5"
PRELINK_PATH_MASK="/usr/lib/klibc"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_5"
QT_GRAPHICSSYSTEM="raster"
ROOT="/"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22 ruby23"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMUX="/tmp/tmux-0/default,4955,0"
TMUX_PANE="%2"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="vmware"
Comment 6 Larry the Git Cow gentoo-dev 2018-04-27 14:50:55 UTC
The bug has been referenced in the following commit(s):

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

commit 4c1ffa6a5752663d4710a623f8287bf003b56f50
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: 2018-04-27 14:50:22 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2018-04-27 14:50:48 +0000

    net-p2p/vuze: finish EAPI 6 conversion.
    
    Bug: https://bugs.gentoo.org/653922
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-p2p/vuze/vuze-5.7.2.0-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)}
Comment 7 Patrice Clement gentoo-dev 2018-04-27 14:53:37 UTC
Created attachment 528706 [details]
build.log

Here's the log of my build. It should work now. Please give it a try and report back.
Comment 8 Patrice Clement gentoo-dev 2018-04-28 16:25:48 UTC
As per an IRC chat with Aa.ron, this package now builds fine. Closing
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2018-05-02 16:46:33 UTC
Created attachment 529426 [details]
build.log x86

Still failing for x86, error message has changed:

> >>> Compiling source in /var/tmp/portage/net-p2p/vuze-5.7.2.0-r1/work/vuze-5.7.2.0 ...
>  * Disabling all optional ANT_TASKS
> Buildfile: /var/tmp/portage/net-p2p/vuze-5.7.2.0-r1/work/vuze-5.7.2.0/build.xml
> 
> init:
>      [echo] Building Azureus2.jar...
>     [mkdir] Created dir: /var/tmp/portage/net-p2p/vuze-5.7.2.0-r1/work/vuze-5.7.2.0/dist
> 
> compile:
>     [javac] Compiling 3554 source files to /var/tmp/portage/net-p2p/vuze-5.7.2.0-r1/work/vuze-5.7.2.0
> 
> BUILD FAILED
> /var/tmp/portage/net-p2p/vuze-5.7.2.0-r1/work/vuze-5.7.2.0/build.xml:29: Error starting modern compiler
> 
> Total time: 27 seconds
>  * ERROR: net-p2p/vuze-5.7.2.0-r1::gentoo failed (compile phase):
>  *   eant failed
>
Comment 10 Thomas Deutschmann (RETIRED) gentoo-dev 2018-05-02 16:59:24 UTC
Created attachment 529428 [details]
build.log x86

Seems you have to increase memory limit for x86:

After I patched the ebuild like (which is I think is BTW a violation of bug 429308)

> --- a/net-p2p/vuze/vuze-5.7.2.0-r1.ebuild
> +++ b/net-p2p/vuze/vuze-5.7.2.0-r1.ebuild
> @@ -98,6 +98,7 @@ src_compile() {
>         use ppc64 && mem="256"
>         use sparc && mem="320"
>         export ANT_OPTS="-Xmx${mem}m"
> +       export ANT_ARGS="-verbose"
>         java-pkg-2_src_compile
> 
>         # bug #302058 - build.xml excludes .txt but upstream jar has it...

I got

> Caused by: java.lang.OutOfMemoryError: Java heap space

Passed for me when I changed

> -       use x86   && mem="192"
> +       use x86   && mem="256"
Comment 11 Larry the Git Cow gentoo-dev 2018-08-23 20:01:07 UTC
The bug has been closed via the following commit(s):

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

commit c1b3412712fe183d4a69a37dfee808163ca229ef
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-08-23 20:00:35 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-08-23 20:00:58 +0000

    net-p2p/vuze: raising memory for x86
    
    Closes: https://bugs.gentoo.org/653922
    Package-Manager: Portage-2.3.48, Repoman-2.3.10

 net-p2p/vuze/vuze-5.7.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)