Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

(ebuild) Need sun-jdk 1.5 but ebuild does not work.

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
TUX2k
n00b
n00b
User avatar
Posts: 62
Joined: Thu May 16, 2002 2:21 pm
Location: Purmerend, The Netherlands
Contact:
Contact TUX2k
Website

(ebuild) Need sun-jdk 1.5 but ebuild does not work.

  • Quote

Post by TUX2k » Wed Dec 22, 2004 12:27 pm

I need sun-jdk 1.5 for a project but I cant get the ebuild to work.
The error I get is the following.

Code: Select all

pdl distfiles # emerge sun-jdk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/sun-jdk-1.5.0.01 to /
>>> Unpacking source...
tail: +: invalid number of lines
Does some one have an idea for a fix.
Top
JPMRaptor
Guru
Guru
User avatar
Posts: 410
Joined: Fri Oct 04, 2002 12:22 am
Location: Maryland
Contact:
Contact JPMRaptor
Website

  • Quote

Post by JPMRaptor » Wed Dec 22, 2004 12:34 pm

You can always just download and install it manually
Underwater photo gallery
New pictures, Oct 2005
Top
TUX2k
n00b
n00b
User avatar
Posts: 62
Joined: Thu May 16, 2002 2:21 pm
Location: Purmerend, The Netherlands
Contact:
Contact TUX2k
Website

  • Quote

Post by TUX2k » Wed Dec 22, 2004 12:41 pm

Yes I could, bud I would rater due it by emerge
Top
axxo
Retired Dev
Retired Dev
Posts: 14
Joined: Sun Mar 07, 2004 2:38 pm
Location: Belgium (gent)

  • Quote

Post by axxo » Wed Dec 22, 2004 12:41 pm

Is that all the output you get?
what arch are you running?
Top
TUX2k
n00b
n00b
User avatar
Posts: 62
Joined: Thu May 16, 2002 2:21 pm
Location: Purmerend, The Netherlands
Contact:
Contact TUX2k
Website

  • Quote

Post by TUX2k » Wed Dec 22, 2004 12:51 pm

Yes that all the output.
And i'm running on a Intel x86.

Sorry I cant tell you any more, but thats the only error message I get.
Then the abould just prints out some the next error message in the ebuild file.

Full message:

Code: Select all

pdl opt # emerge -v sun-jdk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/sun-jdk-1.5.0.01 to /
>>> Unpacking source...
tail: +: invalid number of lines

!!! ERROR: dev-java/sun-jdk-1.5.0.01 failed.
!!! Function src_unpack, Line 101, Exitcode 1
!!! unpack not found
!!! If you need support, post the topmost build error, NOT this status message.

pdl opt #
Top
TUX2k
n00b
n00b
User avatar
Posts: 62
Joined: Thu May 16, 2002 2:21 pm
Location: Purmerend, The Netherlands
Contact:
Contact TUX2k
Website

  • Quote

Post by TUX2k » Wed Dec 22, 2004 1:10 pm

Oke did a manual install, and edit the /env/java/20sun-jdk file.
And its working :D
Top
axxo
Retired Dev
Retired Dev
Posts: 14
Joined: Sun Mar 07, 2004 2:38 pm
Location: Belgium (gent)

  • Quote

Post by axxo » Wed Dec 22, 2004 1:33 pm

This was because a bug with the profiles, it has been fixed (worked around)

if you sync in an hour or so, the ebuild should work
Top
TUX2k
n00b
n00b
User avatar
Posts: 62
Joined: Thu May 16, 2002 2:21 pm
Location: Purmerend, The Netherlands
Contact:
Contact TUX2k
Website

  • Quote

Post by TUX2k » Wed Dec 22, 2004 1:43 pm

K thnx
Top
kmare
l33t
l33t
User avatar
Posts: 619
Joined: Sat Nov 20, 2004 8:28 pm
Location: Thessaloniki, Greece

  • Quote

Post by kmare » Wed Dec 22, 2004 11:03 pm

r there any plans on putting java 1.5 out of ~M? r there still problems holding it in there? how safe is it installing it without breaking things like eg openoffice, mozilla/firefox, etc?

thanx
Top
robbyjo
Guru
Guru
Posts: 462
Joined: Sun Apr 06, 2003 3:17 am

  • Quote

Post by robbyjo » Thu Dec 23, 2004 12:27 am

Any luck in emerging this jdk 1.5 in SPARC?
Top
kustos
Apprentice
Apprentice
User avatar
Posts: 168
Joined: Wed Sep 10, 2003 8:10 am

  • Quote

Post by kustos » Thu Dec 23, 2004 9:50 am

kmare wrote:r there any plans on putting java 1.5 out of ~M? r there still problems holding it in there?
The only problem is that ebuilds don't set the -source flag. So if you use "enum" as a name for let's say a java.util.Enumeration variable, it breaks.
kmare wrote: how safe is it installing it without breaking things like eg openoffice, mozilla/firefox, etc?
If it breaks anything, it breaks the compile process. For these situations, have a 1.4 JDK handy.
Top
axxo
Retired Dev
Retired Dev
Posts: 14
Joined: Sun Mar 07, 2004 2:38 pm
Location: Belgium (gent)

  • Quote

Post by axxo » Thu Dec 23, 2004 11:16 am

kustos wrote:
kmare wrote:r there any plans on putting java 1.5 out of ~M? r there still problems holding it in there?
The only problem is that ebuilds don't set the -source flag. So if you use "enum" as a name for let's say a java.util.Enumeration variable, it breaks.
That is not true, there is also a big problem of downgrading
Top
kustos
Apprentice
Apprentice
User avatar
Posts: 168
Joined: Wed Sep 10, 2003 8:10 am

  • Quote

Post by kustos » Thu Dec 23, 2004 12:38 pm

axxo wrote: That is not true, there is also a big problem of downgrading
False, just set the -target falg.
But that's an "issue" with all java versions. If you set target to 1.x it will not run on a jvm 1.y with y < x.
Top
mlybarger
Guru
Guru
User avatar
Posts: 482
Joined: Wed Sep 04, 2002 1:03 am

  • Quote

Post by mlybarger » Sat May 14, 2005 4:54 pm

just to mention that I got this same error today trying to install java 5. i did just change my make.profile symlink per the portage recommendations (said something about my system having unsupported version and that i needed to run a few commands ). here's the output. i did an emerge sync and still same thing.

Code: Select all

root@robusta etc # emerge sun-jdk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/sun-jdk-1.5.0.03 to /
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) sun-jdk-1.4.2.07-r1.ebuild
>>> md5 files   ;-) sun-jdk-1.2.2.017.ebuild
>>> md5 files   ;-) sun-jdk-1.3.1.13.ebuild
>>> md5 files   ;-) sun-jdk-1.5.0.02-r1.ebuild
>>> md5 files   ;-) sun-jdk-1.4.2.08.ebuild
>>> md5 files   ;-) sun-jdk-1.5.0.03.ebuild
>>> md5 files   ;-) files/digest-sun-jdk-1.4.2.07-r1
>>> md5 files   ;-) files/digest-sun-jdk-1.2.2.017
>>> md5 files   ;-) files/digest-sun-jdk-1.3.1.13
>>> md5 files   ;-) files/digest-sun-jdk-1.5.0.02-r1
>>> md5 files   ;-) files/sun-jdk-1.2.2.017
>>> md5 files   ;-) files/sun-jdk-1.3.1.13
>>> md5 files   ;-) files/sun-jdk-1.4.2.07
>>> md5 files   ;-) files/sun-jdk-1.5.0.02
>>> md5 files   ;-) files/digest-sun-jdk-1.4.2.08
>>> md5 files   ;-) files/sun-jdk-1.4.2.08
>>> md5 files   ;-) files/digest-sun-jdk-1.5.0.03
>>> md5 files   ;-) files/sun-jdk-1.5.0.03
>>> Unpacking source...
tail: +: invalid number of lines

!!! ERROR: dev-java/sun-jdk-1.5.0.03 failed.
!!! Function src_unpack, Line 101, Exitcode 1
!!! unpack not found
!!! If you need support, post the topmost build error, NOT this status message.
Top
Post Reply

14 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic