Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262699 - dev-java/jsch-0.1.37-r1 fails to compile (requested by eclipse ebuild)
Summary: dev-java/jsch-0.1.37-r1 fails to compile (requested by eclipse ebuild)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-16 19:29 UTC by Korvin
Modified: 2009-12-24 06:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Korvin 2009-03-16 19:29:40 UTC
I'm trying to merge an eclipse-sdk package and one of it's dependencies failed to compile:

>>> Emerging (1 of 18) dev-java/jsch-0.1.37-r1
 * jsch-0.1.37.zip RMD160 SHA1 SHA256 size ;-) ...                                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                [ ok ]
 * Using: sun-jdk-1.6                                                                                                                                       
>>> Unpacking source...                                                                                                                                     
>>> Unpacking jsch-0.1.37.zip to /var/tmp/portage/dev-java/jsch-0.1.37-r1/work                                                                              
>>> Source unpacked in /var/tmp/portage/dev-java/jsch-0.1.37-r1/work                                                                                        
>>> Compiling source in /var/tmp/portage/dev-java/jsch-0.1.37-r1/work/jsch-0.1.37 ...                                                                       
Rewriting attributes                                                                                                                                        
Rewriting ./build.xml                                                                                                                                       
Traceback (most recent call last):                                                                                                                          
  File "/usr/lib64/javatoolkit/bin/xml-rewrite-3.py", line 240, in <module>                                                                                 
    outxml = processActions(options, f)                                                                                                                     
  File "/usr/lib64/javatoolkit/bin/xml-rewrite-3.py", line 109, in processActions                                                                           
    out_stream = doRewrite(rewriter, out_stream, rewriter.add_gentoo_classpath,classpath = newcp)                                                           
  File "/usr/lib64/javatoolkit/bin/xml-rewrite-3.py", line 100, in doRewrite                                                                                
    rewriter.write(out)                                                                                                                                     
  File "//usr/lib64/python2.5/site-packages/javatoolkit/xml/DomRewriter.py", line 81, in write                                                              
    from xml.dom.ext import PrettyPrint                                                                                                                     
ImportError: No module named ext                                                                                                                            
 * If the output above contains:                                                                                                                            
 * ImportError:                                                                                                                                             
 * /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so:                                                                                            
 * undefined symbol: PyUnicodeUCS2_DecodeUTF8                                                                                                               
 * Try re-emerging dev-python/pyxml                                                                                                                         
 *                                                                                                                                                          
 * ERROR: dev-java/jsch-0.1.37-r1 failed.                                                                                                                   
 * Call stack:                                                                                                                                              
 *               ebuild.sh, line   48:  Called src_compile                                                                                                  
 *             environment, line 4266:  Called java-pkg-2_src_compile                                                                                       
 *             environment, line 2397:  Called eant 'dist' '-f' 'build.xml' '-Djzlib.available=true'                                                        
 *             environment, line  918:  Called java-ant-2_src_configure                                                                                     
 *             environment, line 2154:  Called java-ant_bsfix                                                                                               
 *             environment, line 2176:  Called java-ant_bsfix_files './build.xml'                                                                           
 *             environment, line 2271:  Called _bsfix_die 'xml-rewrite2 failed: ./build.xml'                                                                
 *             environment, line  325:  Called die                                                                                                          
 * The specific snippet of code:                                                                                                                            
 *           die ${1} " Look at the eerror message above";                                                                                                  
 *  The die message:                                                                                                                                        
 *   xml-rewrite2 failed: ./build.xml  Look at the eerror message above                                                                                     
 *                                                                                                                                                          
 * 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/dev-java/jsch-0.1.37-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/jsch-0.1.37-r1/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.12"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info


Reproducible: Always

Steps to Reproduce:
1. emerge eclipse-sdk
2. it will pull the dev-java/jsch-0.1.37-r1
3. voila




Portage 2.1.6.8 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-tuxonice-r4 x86_64)
=================================================================                                         
System uname: Linux-2.6.28-tuxonice-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual-Core_Processor_TK-57-with-glibc2.2.5
Timestamp of tree: Mon, 16 Mar 2009 01:45:03 +0000                                                          
distcc 3.0 x86_64-pc-linux-gnu [disabled]                                                                   
app-shells/bash:     3.2_p39                                                                                
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                       
dev-lang/python:     2.4.4-r13, 2.5.2-r7                                                                    
dev-python/pycrypto: 2.0.1-r6                                                                               
dev-util/cmake:      2.6.3                                                                                  
sys-apps/baselayout: 1.12.11.1                                                                              
sys-apps/sandbox:    1.6                                                                                    
sys-devel/autoconf:  2.13, 2.63                                                                             
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -mmmx -msse -msse2 -m3dnow"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -mmmx -msse -msse2 -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://fido.online.kz/gentoo http://mirror.yandex.ru/gentoo-distfiles"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl alsa amd64 berkdb bluetooth bzip2 cli cracklib crypt cups dbus dri dvd dvdr dvdread encode exif fortran gdbm gif gpm gstreamer hal i18n iconv ipv6 isdnlog jack jpeg kde lm_sensors midi mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python qt3support readline reflection samba session smb spl sse sse2 ssl svg sysfs tcpd tiff truetype unicode usb utf8 vorbis wifi xcomposite xinerama xorg zlib" ALSA_CARDS="hda-intel usb-audio usb-usx2y ca0106" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cacheenv expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2009-04-05 22:22:17 UTC
dev-java/javatoolkit should nowadays have the proper use dependency atoms on python. Please see what emerge -a1 javatoolkit says and if that goes fine and jsch still fails please reopen.
Comment 2 Dann 2009-12-24 06:21:56 UTC
Try emerging jzlib and then attempt to install jsch.
It should detect collisions, let jzlib install with conflicts.
Afterwards, install should succeed.