Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

oab-java.sh fails to package java 6 on Ubuntu 14.04 #133

Open
shinji257 opened this issue Apr 30, 2014 · 5 comments
Open

oab-java.sh fails to package java 6 on Ubuntu 14.04 #133

shinji257 opened this issue Apr 30, 2014 · 5 comments

Comments

@shinji257
Copy link

Java 6 fails to package on Ubuntu 14.04. Maybe issue started with 13.10 but I can't test at this time.

This is due to a dependency on packages that no longer exists. The best I can tell is that they were dropped on 13.10.

Packages in question are lib32asound2 and ia32-libs.

lib32asound2 is likely just libasound2:i386 however ia32-libs was pulling in a bunch of other stuff and I don't know what the additional needed is there.

Using a fork of the script I was able to install Java 7 and Java 8 successfully.
Java 6 fails to package on Ubuntu 14.04. Maybe issue started with 13.10 but I can't test at this time.

This is due to a dependency on packages that no longer exists. The best I can tell is that they were dropped on 13.10.

Packages in question are lib32asound2 and ia32-libs.

lib32asound2 is likely just libasound2:i386 however ia32-libs was pulling in a bunch of other stuff and I don't know what the additional needed is there.

Using a fork of the script I was able to install Java 7 and Java 8 successfully.

Fork: https://github.com/ladios/oab-java6/blob/master/oab-java.sh

@shinji257
Copy link
Author

I tried taking out the deps and I get this in the log eventually resulting in an error...

dpkg-buildpackage: host architecture amd64
dpkg-checkbuilddeps: Unmet build dependencies: lib32asound2 ia32-libs
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

@figure002
Copy link

Confirmed. And Java 7 (ran the script with the -7 option) also fails on Ubuntu 14.04:

 [x] Installing Java build requirements success`
 [x] Making build directories success
 [x] Mirroring https://github.com/rraptorr/oracle-java7 success
 [x] Removing local clones of oracle-java7 success
 [x] Cloning oracle-java7 with v7.60-1 success
 [x] Getting releases download page success
 [x] Downloading jdk-7u60-linux-x64.tar.gz : 135.77 MB success
 [x] Symlinking jdk-7u60-linux-x64.tar.gz success
success
 [x] Downloading UnlimitedJCEPolicyJDK7.zip : 7.3 K success
 [x] Symlinking UnlimitedJCEPolicyJDK7.zip success
 [x] Updating the changelog success
 [x] Building the packages success
ERROR! Packages failed to build.

serrano@saibot:~/bin$ tail /home/serrano/bin/oab-java.sh.log
                usr/share/binfmts \
                usr/share/pixmaps \
                usr/share/mime-info \

cp -a x64/jre debian/oracle-java7-bin/usr/lib/jvm/java-7-oracle-1.7.0.60
cp: cannot stat 'x64/jre': No such file or directory
make: *** [binary-oracle-java7-bin] Error 1
dpkg-buildpackage: error: debian/rules binary gave error exit status 29935's retcode: 2
success

@tpruvot
Copy link

tpruvot commented Jul 3, 2014

i guess the required new package name is : libasound2:i386, for ia32-libs, could be multiarch-support

@slovdahl
Copy link

slovdahl commented Feb 4, 2015

Anyone managed to work around this?

@sergey-dryabzhinsky
Copy link

Add these deps instead of lib32asound2 ia32-libs into sun-java6/debian/control(.in):
libasound2:i386 libodbc1:i386 libx11-6:i386 libxext6:i386 libxi6:i386 libxt6:i386 libxtst6:i386

It also must be send to upstream: https://github.com/rraptorr/sun-java6
But this change must depend on distro version some how...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants