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

Bug 357219

Summary: dev-java/flexdock-0.5.2: fail to fetch source code for flexdock when installing scilab
Product: Gentoo Linux Reporter: Qingping Hou <dave2008713>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED OBSOLETE    
Severity: normal CC: asolokha, guillaume.horel, hsggebhardt, joshua.rich, qnikst, rose
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to flexdock-0.5.2.ebuild: change SRC_URI to Debian mirror

Description Qingping Hou 2011-03-03 14:08:47 UTC
I was trying to install scilab from overlay. But portage reports that it failed when fetching flexdock-0.5.2-src.zip. At first I thought it might be caused by the mirror I choose. So I tried with other mirror, all failed. Even the official download link:https://flexdock.dev.java.net/files/documents/2037/152436/flexdock-0.5.2-src.zip.

Now, I cannot not install scilab because of that package.

Reproducible: Always

Steps to Reproduce:
1.add science and java overlay
2.unmask many packages:
sci-mathematics/scilab
dev-java/jlatexmath
dev-java/flexdock
dev-java/skinlf
dev-java/jeuclid-core
sci-libs/matio
dev-java/jrosetta
dev-java/jgraphx
dev-java/jogl
dev-java/gluegen
dev-java/jcip-annotations
dev-java/laf-plugin
3.emerge scilab

Actual Results:  
>>> Emerging (1 of 11) dev-java/flexdock-0.5.2 from science
>>> Downloading 'http://mirrors.xmu.edu.cn/gentoo/distfiles/flexdock-0.5.2-src.zip'
--2011-03-03 21:58:18--  http://mirrors.xmu.edu.cn/gentoo/distfiles/flexdock-0.5.2-src.zip
Resolving mirrors.xmu.edu.cn... 210.34.0.186, 2001:da8:e800::186
Connecting to mirrors.xmu.edu.cn|210.34.0.186|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-03-03 21:58:19 ERROR 404: Not Found.

>>> Downloading 'ftp://mirrors.xmu.edu.cn/gentoo/distfiles/flexdock-0.5.2-src.zip'
--2011-03-03 21:58:19--  ftp://mirrors.xmu.edu.cn/gentoo/distfiles/flexdock-0.5.2-src.zip
           => “/usr/portage/distfiles/flexdock-0.5.2-src.zip”
Resolving mirrors.xmu.edu.cn... 210.34.0.186, 2001:da8:e800::186
Connecting to mirrors.xmu.edu.cn|210.34.0.186|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /gentoo/distfiles ... done.
==> SIZE flexdock-0.5.2-src.zip ... done.
==> PASV ... couldn’t connect to 210.34.0.186 port 16937: Connection refused
>>> Downloading 'http://mirrors.sohu.com/gentoo/distfiles/flexdock-0.5.2-src.zip'
--2011-03-03 21:58:52--  http://mirrors.sohu.com/gentoo/distfiles/flexdock-0.5.2-src.zip
Resolving mirrors.sohu.com... 123.129.214.98
Connecting to mirrors.sohu.com|123.129.214.98|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-03-03 21:58:54 ERROR 404: Not Found.

>>> Downloading 'http://mirror.usu.edu/mirrors/gentoo/distfiles/flexdock-0.5.2-src.zip'
--2011-03-03 21:58:54--  http://mirror.usu.edu/mirrors/gentoo/distfiles/flexdock-0.5.2-src.zip
Resolving mirror.usu.edu... 129.123.1.18
Connecting to mirror.usu.edu|129.123.1.18|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-03-03 21:58:56 ERROR 404: Not Found.

>>> Downloading 'http://gentoo.cs.nctu.edu.tw/gentoo/distfiles/flexdock-0.5.2-src.zip'
--2011-03-03 21:58:56--  http://gentoo.cs.nctu.edu.tw/gentoo/distfiles/flexdock-0.5.2-src.zip
Resolving gentoo.cs.nctu.edu.tw... 140.113.168.126
Connecting to gentoo.cs.nctu.edu.tw|140.113.168.126|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-03-03 21:58:57 ERROR 404: Not Found.

>>> Downloading 'https://flexdock.dev.java.net/files/documents/2037/152436/flexdock-0.5.2-src.zip'
--2011-03-03 21:58:57--  https://flexdock.dev.java.net/files/documents/2037/152436/flexdock-0.5.2-src.zip
Resolving flexdock.dev.java.net... 192.9.164.103
Connecting to flexdock.dev.java.net|192.9.164.103|:443... connected.
ERROR: no certificate subject alternative name matches
        requested host name “flexdock.dev.java.net”.
To connect to flexdock.dev.java.net insecurely, use ‘--no-check-certificate’.
!!! Couldn't download 'flexdock-0.5.2-src.zip'. Aborting.
 * Fetch failed for 'dev-java/flexdock-0.5.2', Log file:
 *  '/var/tmp/portage/dev-java/flexdock-0.5.2/temp/build.log'


Expected Results:  
It should be installed properly.

Portage 2.1.9.25 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.11.2-r3, 2.6.38-rc7 x86_64)
=================================================================
System uname: Linux-2.6.38-rc7-x86_64-Intel-R-_Core-TM-_i7_CPU_M_640_@_2.80GHz-with-gentoo-1.12.14
Timestamp of tree: Thu, 03 Mar 2011 13:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.5.4-r4, 2.6.6-r2, 3.1.3-r1
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.xmu.edu.cn/gentoo ftp://mirrors.xmu.edu.cn/gentoo http://mirrors.sohu.com/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.cs.nctu.edu.tw/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh_CN en_US zh"
MAKEOPTS="-j6"
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"
PORTDIR_OVERLAY="/var/lib/layman/java-overlay /var/lib/layman/science"
SYNC="rsync://rsync2.cn.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gcj gdbm gdu gif gnutls gpm gstreamer gtk iconv icu ipv6 java jpeg kde kerberos lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3support qt4 rar readline sdl session smp spell sqlite sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype udev unicode usb vim vim-syntax vnc vorbis wicd wifi x264 xcb xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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 cgi cgid dav dav_fs dav_lock deflate dir disk_cache env 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN en_US zh" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Joshua Rich 2011-03-04 03:36:26 UTC
Same problem here.

Manually following the link:

http://java.net/projects/flexdock/files/documents/2037/152436/flexdock-0.5.2-src.zip

Leads to a 404 page and looking around on the site does not reveal any sources on-line anymore.

Regards,

Josh

Comment 2 Qingping Hou 2011-03-04 04:07:58 UTC
(In reply to comment #1)
> Same problem here.
> 
> Manually following the link:
> 
> http://java.net/projects/flexdock/files/documents/2037/152436/flexdock-0.5.2-src.zip
> 
> Leads to a 404 page and looking around on the site does not reveal any sources
> on-line anymore.
> 

Actually, I found that the source can be checkout according to this site:http://java.net/projects/flexdock

I checked out the source and packed it into zip, but after doing hash it can't match.

Comment 3 Joshua Rich 2011-03-05 01:48:49 UTC
Created attachment 264787 [details, diff]
patch to flexdock-0.5.2.ebuild: change SRC_URI to Debian mirror

Here is a patch to the ebuild that grabs the source from a Debian mirror instead of from the 404 upstream location.  This workaround allows me to compile and install the package.

Yeah, I see the SVN repo and they are using tags, so it is possible that an alternative might be to use the subversion eclass and checkout a tagged version of the source from the repo?

Thanks and regards,

Josh
Comment 4 Qingping Hou 2011-03-05 11:08:06 UTC
(In reply to comment #3)
> Created an attachment (id=264787) [details]
> patch to flexdock-0.5.2.ebuild: change SRC_URI to Debian mirror
Thanks for your patch! I can now correctly fetch the source. 

> Yeah, I see the SVN repo and they are using tags, so it is possible that an
> alternative might be to use the subversion eclass and checkout a tagged version
> of the source from the repo?

Yes, I think it will be better to check out the source with subversion.

Regards,

Qingping Hou

Comment 5 Guillaume Horel 2011-12-22 21:35:52 UTC
I bumped it to version 1.1 in the science overlay which will be needed by scilab-5.4.