LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-06-2016, 03:18 AM   #1
canadensis
Member
 
Registered: Sep 2013
Location: Sydney, Australia
Distribution: Slackware, xBSD, Gentoo, Calculate
Posts: 55

Rep: Reputation: 6
OpenJDK compile fails on 32-bit current


Hi,

I am running 32bit current (downloaded 29 Feb 2016). Using ponce's Slackbuilds from http://cgit.ponce.cc/slackbuilds/cur...60302.1.tar.gz I downloaded
the several tarballs in the .info file:

Code:
DOWNLOAD="http://icedtea.classpath.org/download/source/icedtea-2.6.2.tar.xz \
  http://icedtea.classpath.org/download/drops/icedtea7/2.6.2/openjdk.tar.bz2 \
  http://icedtea.classpath.org/download/drops/icedtea7/2.6.2/corba.tar.bz2 \
  http://icedtea.classpath.org/download/drops/icedtea7/2.6.2/jaxp.tar.bz2 \
  http://icedtea.classpath.org/download/drops/icedtea7/2.6.2/jaxws.tar.bz2 \
  http://icedtea.classpath.org/download/drops/icedtea7/2.6.2/jdk.tar.bz2 \
  http://icedtea.classpath.org/download/drops/icedtea7/2.6.2/langtools.tar.bz2 \
  http://icedtea.classpath.org/download/drops/icedtea7/2.6.2/hotspot.tar.bz2"
The compile fails with:

Code:
../../../../src/share/classes/org/omg/CORBA/CODESET_INCOMPATIBLE.java
../../../../src/share/classes/org/omg/CORBA/INVALID_ACTIVITY.java
../../../../src/share/classes/org/omg/CORBA/REBIND.java
../../../../src/share/classes/org/omg/CORBA/TIMEOUT.java
../../../../src/share/classes/org/omg/CORBA/TRANSACTION_MODE.java
../../../../src/share/classes/org/omg/CORBA/TRANSACTION_UNAVAILABLE.java
incorrect classpath: ../../../../src/solaris/classes
Annotation processing got disabled, since it requires a 1.6 compliant JVM
----------
1. ERROR in /tmp/SBo/openjdk/icedtea-build/openjdk-boot/corba/src/share/classes/org/omg/CORBA_2_3/portable/Delegate.java (at line 0)
	/*
	^
Internal compiler error: java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.ReadManager.run(ReadManager.java:173)
----------
java.lang.NullPointerException
   at org.eclipse.jdt.internal.compiler.ReadManager.run(ReadManager.java:173)
   at java.lang.Thread.run(libgcj.so.16)

../../../common/Rules.gmk:184: recipe for target '.compile.classlist' failed
gmake[6]: *** [.compile.classlist] Error 255
gmake[6]: Leaving directory '/tmp/SBo/openjdk/icedtea-build/openjdk-boot/corba/make/org/omg/CORBA'
Makefile:42: recipe for target 'build' failed
gmake[5]: *** [build] Error 1
gmake[5]: Leaving directory '/tmp/SBo/openjdk/icedtea-build/openjdk-boot/corba/make/org/omg'
Makefile:41: recipe for target 'build' failed
gmake[4]: *** [build] Error 1
gmake[4]: Leaving directory '/tmp/SBo/openjdk/icedtea-build/openjdk-boot/corba/make/org'
Makefile:166: recipe for target 'build' failed
gmake[3]: *** [build] Error 1
gmake[3]: Leaving directory '/tmp/SBo/openjdk/icedtea-build/openjdk-boot/corba/make'
make/corba-rules.gmk:42: recipe for target 'corba-build' failed
gmake[2]: *** [corba-build] Error 2
gmake[2]: Leaving directory '/tmp/SBo/openjdk/icedtea-build/openjdk-boot'
Makefile:251: recipe for target 'build_product_image' failed
gmake[1]: *** [build_product_image] Error 2
gmake[1]: Leaving directory '/tmp/SBo/openjdk/icedtea-build/openjdk-boot'
Makefile:2679: recipe for target 'stamps/icedtea-boot.stamp' failed
make: *** [stamps/icedtea-boot.stamp] Error 2
root@T420sl:/home/wjc721/slackbuilds/current-20160302.1/development/openjdk# ^C
root@T420sl:/home/wjc721/slackbuilds/current-20160302.1/development/openjdk# 
root@T420sl:/home/wjc721/slackbuilds/current-20160302.1/development/openjdk#
Any help would be appreciated!

Thanks,
Bill
 
Old 03-06-2016, 03:36 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Straight from the README of openjdk.SlackBuild:
Code:
If you get an error like

Internal compiler error: java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.ReadManager.run(ReadManager.java:166)

simply run the build again. This happens early so it shouldn't be that of a
problem. At least 1 out of 5 runs so far have always succeded.
 
Old 03-06-2016, 04:23 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
hi canadensis, just to clarify: the one you seem to be using is just a snapshot from my personal git repository, that in turn, ATM (in this transitioning phase where current is becoming stable), is more or less what's in SBo's git master (maybe a few days old and with just 2 different scripts).

no need to say you should always read the READMEs included with the build scripts, as they provide useful informations (and sometimes mandatory steps that you have to take to correctly build/install the package).

Last edited by ponce; 03-06-2016 at 04:48 AM.
 
Old 03-06-2016, 03:17 PM   #4
canadensis
Member
 
Registered: Sep 2013
Location: Sydney, Australia
Distribution: Slackware, xBSD, Gentoo, Calculate
Posts: 55

Original Poster
Rep: Reputation: 6
Alien Bob: thanks, the second attempt worked. To you and ponce I apologise, I asked two silly questions (one in another thread) in quick succession and you were both very patient. I will RTFM before firing off my next question!

ponce: thanks. I built a Slack current machine last month using the 14.1 SlackBuilds and had a problem with RStudio, fixed by using the current SlackBuild. Now I am building another machine, I thought that I would go straight to the current SalckBuilds.

Do you recommend that I use https://slackbuilds.org/cgit/slackbuilds/ rather than your personal git repository?

Cheers, Bill

Last edited by canadensis; 03-06-2016 at 03:19 PM.
 
Old 03-07-2016, 07:17 AM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by canadensis View Post
Do you recommend that I use https://slackbuilds.org/cgit/slackbuilds/ rather than your personal git repository?
It's probably easier to actually use sbopkg and set it to use SBo's git repo. willysr has a blog post on how to do this. Make sure you look into sqg to help you get queue files set up for the builds with dependencies.
 
Old 03-07-2016, 08:31 AM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by canadensis View Post
Do you recommend that I use https://slackbuilds.org/cgit/slackbuilds/ rather than your personal git repository?
as I said above it's more or less the same in these days of transition to the newer version of Slackware, but usually SBo's git master branch tracks the stable release so you might find issues using it with current (I repeat, not in these days).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RStudio compile fails on current canadensis Slackware 10 02-27-2018 01:53 PM
[SOLVED] Networkmanager-vpnc-0.9.4 fails to compile under -current fl0 Slackware 7 04-05-2013 03:38 PM
[SOLVED] MPlayer fails to compile on -current Daedra Slackware 8 08-18-2011 10:07 PM
tvtime fails to compile on -current imitis Slackware 2 08-15-2011 03:51 PM
[SOLVED] Firefox fails to compile on -current Daedra Slackware 7 01-16-2010 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration