Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184101 - net-p2p/azureus-3.0.3.4 version bump
Summary: net-p2p/azureus-3.0.3.4 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Petteri Räty (RETIRED)
URL: http://azureus.sourceforge.net/downlo...
Whiteboard: InOverlay
Keywords:
: 164013 192758 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-03 15:26 UTC by Caleb Cushing
Modified: 2009-02-20 16:40 UTC (History)
16 users (show)

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


Attachments
azureus-3.0.3.4.ebuild (azureus-3.0.3.4.ebuild,1.17 KB, text/plain)
2007-10-05 11:11 UTC, Alex J. Ivasyuv
Details
net-p2p/azureus-3.0.3.4 (update of the ebuild from the java-experimental overlay) (azureus-3.0.3.4.ebuild,5.40 KB, text/plain)
2007-11-02 18:54 UTC, email_deleted_GqKU
Details
net-p2p/azureus/files/build.xml (build.xml,665 bytes, text/plain)
2007-11-02 18:57 UTC, email_deleted_GqKU
Details
01_all_remove-osx-and-win32-AzureusRestarterImpl.patch (01_all_remove-osx-and-win32-AzureusRestarterImpl.patch,5.49 KB, patch)
2007-11-02 18:58 UTC, email_deleted_GqKU
Details | Diff
02_all_remove-win32-TorrentListViewsUtils.patch (02_all_remove-win32-TorrentListViewsUtils.patch,1.02 KB, patch)
2007-11-02 18:59 UTC, email_deleted_GqKU
Details | Diff
03_all_remove-win32-PlatformManagerPluginDelegate.patch (03_all_remove-win32-PlatformManagerPluginDelegate.patch,1.06 KB, patch)
2007-11-02 18:59 UTC, email_deleted_GqKU
Details | Diff
04_all_remove-osx-and-win32-PlatformManagerFactory.patch (04_all_remove-osx-and-win32-PlatformManagerFactory.patch,1.03 KB, patch)
2007-11-02 18:59 UTC, email_deleted_GqKU
Details | Diff
azureus_all_modify-for-use-with-bcprov.patch (azureus_all_modify-for-use-with-bcprov.patch,1.05 KB, patch)
2007-11-02 19:00 UTC, email_deleted_GqKU
Details | Diff
azureus-3.0.3.4 complete build log (build.log,179.48 KB, text/plain)
2007-11-23 09:23 UTC, onip
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Caleb Cushing 2007-07-03 15:26:39 UTC
add net-p2p/azureus 3.0.x to the tree. 

Reproducible: Always
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-07-03 17:26:18 UTC
3.0.1.6 is in the java-experimental overlay. There are issues to be considered before adding it to main tree, in the ebuild's comments. I won't have time to finish it so leaving it to others. Also note that upstream doesn't consider 3.0.x to be ready for Linux yet.
Comment 3 Geert Vanhaute 2007-09-03 10:23:08 UTC
3.0.2.2 is out (same link)
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-09-14 14:57:06 UTC
*** Bug 164013 has been marked as a duplicate of this bug. ***
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2007-09-17 02:56:07 UTC
*** Bug 192758 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-09-21 06:20:06 UTC
*** Bug 192758 has been marked as a duplicate of this bug. ***
Comment 7 Marcello Magaldi 2007-10-01 05:53:36 UTC
(In reply to comment #1)
> 3.0.1.6 is in the java-experimental overlay.

I have java-overlay in my layman but I cannot see the new azureus

Comment 8 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-10-01 15:03:39 UTC
java-experimental != java-overlay they are two different overlays. java-experimental overlay is not available via layman. Mostly so users avoid it, since packages there can be in progress, very unstable, or known to be borked. You are welcome to check out and use the java-experimental overlay. But you have to do it manually via svn co and any problems are to be expected.
Comment 9 Marcello Magaldi 2007-10-01 15:49:57 UTC
(In reply to comment #8)
> java-experimental != java-overlay they are two different overlays.
> java-experimental overlay is not available via layman. Mostly so users avoid
> it, since packages there can be in progress, very unstable, or known to be
> borked. You are welcome to check out and use the java-experimental overlay. But
> you have to do it manually via svn co and any problems are to be expected.
> 

ok I understood. Thank you for the informations.
Comment 10 Alex J. Ivasyuv 2007-10-05 11:11:47 UTC
Created attachment 132636 [details]
azureus-3.0.3.4.ebuild

net-p2p/azureus-3.0.3.4
Comment 11 Patrizio Bassi 2007-10-24 17:17:39 UTC
looks stable and great.

it always pop up to update it (but because we're (luckly) on not windows), but we need the ebuild.
Comment 12 email_deleted_GqKU 2007-11-01 14:22:58 UTC
(In reply to comment #11)
> looks stable and great.
>


The ebuild in this report is for the upstream's binary version of Azureus. "net-p2p/azureus-bin" has been removed from Portage, because, as was said by the Gentoo Java team, Java binary packages are harder to maintain.

What we need to work is "http://overlays.gentoo.org/proj/java/browser/java-experimental/net-p2p/azureus".

AFAIC, the patches do no apply to version 3.0.3.4 (although it is just a matter of moved lines, but I cannot seem to be able to get epatch to patch the files, even with `EPATCH_OPTS="-F 10 -l"`, without having to recreate the patches -I can attach them, if needed), and there is no build.xml file (and I tried with the one from the GCJ overlay (http://overlays.gentoo.org/proj/java/browser/gcj-overlay/net-p2p/azureus/files/build.xml), because it did not seem specific to GCJ, but the build fails on line 29, with 100 errors, including diverse "cannot find symbol" errors).


Also, with the binary ebuild in this report, I cannot start Azureus. It fails, telling me there is some problem starting the browser (and I compiled swt with firefox, and Azureus finds the Firefox directory, so the problem should not come from here -well, except if Azureus prefers using xulrunner).


Thanks in advance to everyone who will work on this.
Comment 13 email_deleted_GqKU 2007-11-02 11:27:51 UTC
(In reply to comment #12)
> and there is no build.xml file (and I tried with
> the one from the GCJ overlay
> (http://overlays.gentoo.org/proj/java/browser/gcj-overlay/net-p2p/azureus/files/build.xml),
> because it did not seem specific to GCJ, but the build fails on line 29, with
> 100 errors, including diverse "cannot find symbol" errors).
> 


I also tried with the build.xml which is used by the current net-p2p/azureus ebuild, but the result is more or less the same: it fails with 100 errors and 5 warnings, although the errors seem a bit different from the build.xml from GCJ (but they are still mostly "cannot find symbol" errors).
Comment 14 email_deleted_GqKU 2007-11-02 18:54:27 UTC
Created attachment 135030 [details]
net-p2p/azureus-3.0.3.4 (update of the ebuild from the java-experimental overlay)

(I will attach the new patches, and the build.xml file.)

Changes:

*** I recreated all the patches (including the bcprov one), by checking the errors when compiling, and there was new things to patch, since azureus-3.0.1.6 (and as said in previous comments, the previous patches did not apply anymore).


*** I readded the dependencies and code, for log4j and commons-cli, because, if the dependencies were removed in azureus-3.0.1.6, they are now back. I did not test whether the "console" UI really works, however.


*** I made jre/jde-1.5, as dependencies, instead of 1.4, because this was already like this, in azureus-2.0.0.4-r1. I removed the message about >=1.5 being recommended, from the pkg_postinst().


*** I cleaned the pkg_postinst() messages. For some old messages, I added some checks, to avoid printing the messages to all users (if there are too many messages, for too long, users tend to not read them anymore, at all). I hope the checks are ok.


*** I cleaned a number of other things in the ebuild. I hope it's ok. If anyone wants to check, compare with http://overlays.gentoo.org/proj/java/browser/java-experimental/net-p2p/azureus/azureus-3.0.1.6.ebuild (and the current azureus-2.5.0.4-r1 ebuild, because I reintroduced some things, as I did not know why they were removed -sorry if this was really ok to remove them).


*** I added the bcprov and log4j jar files, in the classpath, in the build.xml file (it seems we have to specify them... can't they be found automatically in any way? -if I remove the classpath definition, or only leave ".", it does not work). I removed "seda.jar", because it does not seem to be used anymore (well, at least, Azureus compiles without any message about it).


There is still the problem about the GUI requiring swt with Mozilla support (seamonkey, firefox or xulrunner USE flag), but I think we should just forget about it, except if someone really does not want any Mozilla app (notably if only running the console UI). If we forget about it, the message about this problem should be put in pkg_setup(), and the ebuild should die, if swt has not been built with the appropriate USE flag (until Portage support specifying this, of course). If we let it as a warning in pkg_postinst(), some people will not read it.
Comment 15 email_deleted_GqKU 2007-11-02 18:57:44 UTC
Created attachment 135031 [details]
net-p2p/azureus/files/build.xml

See comment #14 for changes since the one used with azureus-2.5.0.4-r1.

I don't know if it's ok to update the previous build.xml, or if we should rename it (until azureus-2* is removed).
Comment 16 email_deleted_GqKU 2007-11-02 18:58:52 UTC
Created attachment 135032 [details, diff]
01_all_remove-osx-and-win32-AzureusRestarterImpl.patch
Comment 17 email_deleted_GqKU 2007-11-02 18:59:10 UTC
Created attachment 135034 [details, diff]
02_all_remove-win32-TorrentListViewsUtils.patch
Comment 18 email_deleted_GqKU 2007-11-02 18:59:28 UTC
Created attachment 135036 [details, diff]
03_all_remove-win32-PlatformManagerPluginDelegate.patch
Comment 19 email_deleted_GqKU 2007-11-02 18:59:48 UTC
Created attachment 135038 [details, diff]
04_all_remove-osx-and-win32-PlatformManagerFactory.patch
Comment 20 email_deleted_GqKU 2007-11-02 19:00:11 UTC
Created attachment 135040 [details, diff]
azureus_all_modify-for-use-with-bcprov.patch
Comment 21 email_deleted_GqKU 2007-11-02 19:05:44 UTC
Ok, so, for people who want to test, the files I attached must be put in:

/usr/local/portage/net-p2p/azureus/azureus-3.0.3.4.ebuild
/usr/local/portage/net-p2p/azureus/files/patches-3.0.3.4/01_all_remove-osx-and-win32-AzureusRestarterImpl.patch
/usr/local/portage/net-p2p/azureus/files/patches-3.0.3.4/02_all_remove-win32-TorrentListViewsUtils.patch
/usr/local/portage/net-p2p/azureus/files/patches-3.0.3.4/03_all_remove-win32-PlatformManagerPluginDelegate.patch
/usr/local/portage/net-p2p/azureus/files/patches-3.0.3.4/04_all_remove-osx-and-win32-PlatformManagerFactory.patch
/usr/local/portage/net-p2p/azureus/files/patches-3.0.3.4/azureus_all_modify-for-use-with-bcprov.patch
/usr/local/portage/net-p2p/azureus/files/build.xml


... and you must copy these older files, to "/usr/local/portage/net-p2p/azureus/files":

/usr/portage/net-p2p/azureus/files/azureus.desktop
/usr/portage/net-p2p/azureus/files/azureus.png
/usr/portage/net-p2p/azureus/files/azureus-2.5.0.0-pre


Then, the usual `ebuild /usr/local/portage/net-p2p/azureus/azureus-3.0.3.4.ebuild digest`, and `emerge azureus` (after having added "~net-p2p/azureus-3.0.3.4" to your "/etc/portage/package.keywords" file).


Note that I do not have enough time to continue this ebuild.

Thanks to everyone who will finish it.
Comment 22 Constantin Baranov 2007-11-21 17:53:14 UTC
dev-java/junit must be in DEPEND.
Comment 23 Petteri Räty (RETIRED) gentoo-dev 2007-11-22 01:23:34 UTC
(In reply to comment #14)
> 
> 
> *** I cleaned the pkg_postinst() messages. For some old messages, I added some
> checks, to avoid printing the messages to all users (if there are too many
> messages, for too long, users tend to not read them anymore, at all). I hope
> the checks are ok.

$(cut -d ':' -f 6 "/etc/passwd");

The user accounts could be stored in LDAP etc. What we could do is to check for this stuff in the startup script and then use some command line utility to show warning bubbles etc. x11-libs/libnotify provides notify-send for this.



> 
> 
> There is still the problem about the GUI requiring swt with Mozilla support
> (seamonkey, firefox or xulrunner USE flag), but I think we should just forget
> about it, except if someone really does not want any Mozilla app (notably if
> only running the console UI). If we forget about it, the message about this
> problem should be put in pkg_setup(), and the ebuild should die, if swt has not
> been built with the appropriate USE flag (until Portage support specifying
> this, of course). If we let it as a warning in pkg_postinst(), some people will
> not read it.
> 

I made this a die on pkg_postinst for now.
I didn't use the build.xml as the same thing can be done in the command line using ejavac and jar. I tested and azureus downloaded a torrent fine so I moved this to the java overlay.
Comment 24 Petteri Räty (RETIRED) gentoo-dev 2007-11-22 20:53:21 UTC
Did more testing and console UI works fine and it seems to compile and run with 1.4 so the ebuild committed to the main tree.
Comment 25 Petteri Räty (RETIRED) gentoo-dev 2007-11-22 20:53:51 UTC
Marking as fixed. Thanks to everyone.
Comment 26 onip 2007-11-23 09:22:07 UTC
Trying to compile this one on my system fails with this message

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-p2p/azureus-3.0.3.4/work ...
/usr/portage/eclass/java-utils-2.eclass: line 1983: /usr/bin/javac: Argument list too long
 * 
 * ERROR: net-p2p/azureus-3.0.3.4 failed.
 * Call stack:
 *                ebuild.sh, line 1701:  Called dyn_compile
 *                ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                ebuild.sh, line   44:  Called src_compile
[cut]
 *      java-utils-2.eclass, line 1983:  Called die
 * The specific snippet of code:
 *      ${compiler_executable} ${javac_args} "${@}" || die "ejavac failed"
 *  The die message:
 *   ejavac failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-p2p/azureus-3.0.3.4/temp/build.log'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="." JAVA_HOME="/opt/sun-jdk-1.4.2.16"
JAVACFLAGS="" COMPILER="javac"

it's using JAVA_HOME="/opt/sun-jdk-1.4.2.16 but i've only sun-1.6 installed (already tried to emerge virtual/jdk-1.4*, but didn't fixed, so I removed it again )

Hal9000 ~ # emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.50GHz
Timestamp of tree: Fri, 23 Nov 2007 07:46:02 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mmmx -msse -msse2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -mmmx -msse -msse2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bih.net.ba/gentoo/ ftp://mirror.bih.net.ba/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/mnt/scambio/gentoo-packages/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/gechi /usr/portage/local/layman/science /usr/portage/local/layman/dirtyepic /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa apache2 audiofile berkdb bitmap-fonts branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cups dbus dga directfb dri dts dvb dvd dvdr dvdread eds emboss encode evo exif fam fbcon ffmpeg firefox flac fortran ftp gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv imagemagick imlib isdnlog java jikes jpeg jpeg2k lcms ldap libcaca libnotify mad midi mikmod mmx mng mono mp3 mpeg mudflap ncurses nls nptl nptlonly offensive ogg openal opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection samba sdl session sndfile spell spl sse sse2 ssl svg svga tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd vorbis win32codecs wmf x264 x86 xine xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 27 onip 2007-11-23 09:23:29 UTC
Created attachment 136746 [details]
azureus-3.0.3.4 complete build log