Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

emerge dev-java/log4j-1.2.12 failed

Have an x86-64 problem? Post here.
Locked
Advanced search
5 posts • Page 1 of 1
Author
Message
kula
n00b
n00b
User avatar
Posts: 7
Joined: Thu Aug 12, 2004 12:13 pm
Location: Slovakia
Contact:
Contact kula
Website

emerge dev-java/log4j-1.2.12 failed

  • Quote

Post by kula » Thu Oct 06, 2005 9:05 am

I have problem with emerge dev-java/log4j-1.2.12

Code: Select all

java-config -L
[sun-jdk-1.5.0.05] "Sun JDK 1.5.0.05" (/etc/env.d/java/20sun-jdk-1.5.0.05) *

Code: Select all

[ebuild  N    ] dev-java/log4j-1.2.12  -doc -javamail +jikes +jms +jmx +source

Code: Select all

Buildfile: build.xml

init:

build.core:
    [mkdir] Created dir: /var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/dist/classes
    [javac] Compiling 158 source files to /var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/dist/classes
    [javac] use: jikes [options] [@files] file.java...
    [javac] For more help, try -help or -version.
    [javac] Error: "-source" only recognizes Java releases 1.3 (JLS 2 features) and 1.4 (assert statement).

BUILD FAILED
/var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/build.xml:215: Compile failed; see the compiler error output for details.

Total time: 1 second

!!! ERROR: dev-java/log4j-1.2.12 failed.
!!! Function src_compile, Line 44, Exitcode 1
!!! compilation error
!!! If you need support, post the topmost build error, NOT this status message.


What is wrong ??
Thanks....
Top
robbar
Apprentice
Apprentice
User avatar
Posts: 156
Joined: Sat Aug 21, 2004 11:05 am
Location: Saarbruecken, Germany
Contact:
Contact robbar
Website

  • Quote

Post by robbar » Thu Oct 06, 2005 9:23 am

As a first guess, I would say that your Java version is in fact to "new" (know that sounds stupid). But jikes seems complaining about needing version 1.4 while you have 1.5. But this is really only a guess....
Top
kula
n00b
n00b
User avatar
Posts: 7
Joined: Thu Aug 12, 2004 12:13 pm
Location: Slovakia
Contact:
Contact kula
Website

  • Quote

Post by kula » Thu Oct 06, 2005 10:26 am

i use blackdown-jdk 1.4.02 , sun java 1.4.2 is not for amd64 ... with..

Code: Select all

java -version
java version "1.4.2-02"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-02)
Java HotSpot(TM) 64-Bit Server VM (build Blackdown-1.4.2-02, mixed mode)
with USE="-jikes"

Code: Select all

Buildfile: build.xml

init:

build.core:
    [mkdir] Created dir: /var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/dist/classes
    [javac] Compiling 158 source files to /var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/dist/classes
    [javac] javac: invalid source release: 1.1
    [javac] Usage: javac <options> <source files>
    [javac] where possible options include:
    [javac]   -g                        Generate all debugging info
    [javac]   -g:none                   Generate no debugging info
    [javac]   -g:{lines,vars,source}    Generate only some debugging info
    [javac]   -nowarn                   Generate no warnings
    [javac]   -verbose                  Output messages about what the compiler is doing
    [javac]   -deprecation              Output source locations where deprecated APIs are used
    [javac]   -classpath <path>         Specify where to find user class files
    [javac]   -sourcepath <path>        Specify where to find input source files    [javac]   -bootclasspath <path>     Override location of bootstrap class files
    [javac]   -extdirs <dirs>           Override location of installed extensions
    [javac]   -d <directory>            Specify where to place generated class files
    [javac]   -encoding <encoding>      Specify character encoding used by source files
    [javac]   -source <release>         Provide source compatibility with specified release
    [javac]   -target <release>         Generate class files for specific VM version
    [javac]   -help                     Print a synopsis of standard options


BUILD FAILED
/var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/build.xml:215: Compile failed; see the compiler error output for details.

Total time: 1 second

!!! ERROR: dev-java/log4j-1.2.12 failed.
!!! Function src_compile, Line 44, Exitcode 1
!!! compilation error
!!! If you need support, post the topmost build error, NOT this status message.

with jikes

Code: Select all

Buildfile: build.xml

init:

build.core:
    [mkdir] Created dir: /var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/dist/classes
    [javac] Compiling 158 source files to /var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/dist/classes
    [javac] Error: "-source" only recognizes Java releases 1.3 (JLS 2 features) and 1.4 (assert statement).
    [javac] use: jikes [options] [@files] file.java...
    [javac] For more help, try -help or -version.

BUILD FAILED
/var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/build.xml:215: Compile failed; see the compiler error output for details.

Total time: 1 second

!!! ERROR: dev-java/log4j-1.2.12 failed.
!!! Function src_compile, Line 44, Exitcode 1
!!! compilation error
!!! If you need support, post the topmost build error, NOT this status message.


Top
unts
n00b
n00b
Posts: 3
Joined: Thu Nov 03, 2005 8:26 pm

problem solved

  • Quote

Post by unts » Sat Nov 19, 2005 6:22 pm

it's really stupid, you just emerge an older version and then update to the new one :s
don't ask me why...

oh and when i did it they forcefully emerged ant, maybe it's that
Top
GJtje
n00b
n00b
Posts: 63
Joined: Sun Nov 07, 2004 11:05 pm
Location: Amsterdam, NL
Contact:
Contact GJtje
Website

  • Quote

Post by GJtje » Sat Nov 19, 2005 6:46 pm

Ant is needed to build most of those packages.
Top
Locked

5 posts • Page 1 of 1

Return to “Gentoo on AMD64”

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