Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39567 - blackdown-jdk ebuild downloads sparc version for x86
Summary: blackdown-jdk ebuild downloads sparc version for x86
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-27 08:22 UTC by Bob Johnson (RETIRED)
Modified: 2004-01-27 20:29 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 Bob Johnson (RETIRED) gentoo-dev 2004-01-27 08:22:27 UTC
emerge blackdown-jdk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/blackdown-jdk-1.4.1 to /
>>> Resuming download...
>>> Downloading http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/distfiles/j2sdk-1.4.1-01-linux-sparc-gcc3.2.bin
--11:15:27--  http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/distfiles/j2sdk-1.4.1-01-linux-sparc-gcc3.2.bin
           => `/usr/portage/distfiles/j2sdk-1.4.1-01-linux-sparc-gcc3.2.bin'
Comment 1 ferret 2004-01-27 12:45:48 UTC
Could you attach "emerge info" please?

I don't get this problem with portage 2.0.50_pre20 on x86.

the SRC_URI for this ebuild is a little odd, but it's correct:

J_URI="ftp://ftp.gwdg.de/pub/languages/java/linux/JDK-${PV}"
if [ "`gcc -dumpversion | cut -f1 -d.`" -eq "3" -a "`gcc -dumpversion | cut -f2 -d.`" -ge "2" ] ; then
        SRC_URI="x86? ( ${J_URI}/i386/${JREV}/j2sdk-${PV}-${JREV}-linux-i586-gcc3.2.bin )
                amd64? ( ${J_URI}/i386/${JREV}/j2sdk-${PV}-${JREV}-linux-i586-gcc3.2.bin )"
else
        SRC_URI="x86? ( ${J_URI}/i386/${JREV}/j2sdk-${PV}-${JREV}-linux-i586-gcc2.95.bin )"
fi
SRC_URI="${SRC_URI} sparc? ( ${J_URI}/sparc/${JREV}/j2sdk-${PV}-${JREV}-linux-sparc-gcc3.2.bin )"
Comment 2 Bob Johnson (RETIRED) gentoo-dev 2004-01-27 14:09:07 UTC
Portage 2.0.50_pre20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.2-rc2)
=================================================================
System uname: 2.6.2-rc2 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.3.12
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2          /share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache cvs distcc sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb cdr crypt cups dvd dvdr encode foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde           libg++ libwww mad mikmod motif moznocompose moznoirc moznomail mpeg ncurses nls nptl oggvorbis opengl oss           pam pdflib png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xinerama xml2 xmms           xv zlib"
Comment 3 Adrian Almenar 2004-01-27 20:26:39 UTC
If you have cvs in FEATURES, it will download all ! =)

From /etc/make.conf

#  'cvs'         feature for developers that causes portage to enable all
#                cvs features (commits, adds) and all USE flags in SRC_URI
#                will be applied for digests.
Comment 4 Adrian Almenar 2004-01-27 20:27:07 UTC
its not really fixed.
Comment 5 Adrian Almenar 2004-01-27 20:27:32 UTC
It really invalid. sorry.
Comment 6 Bob Johnson (RETIRED) gentoo-dev 2004-01-27 20:29:56 UTC
yes, you are right sorry :)