Package Base Details: java7-openjdk

Git Clone URL: (read-only, click to copy)
Keywords: infinality java jdk jre
Submitter: trollixx
Maintainer: trollixx
Last Packager: trollixx
Votes: 27
Popularity: 0.000000
First Submitted: 2014-07-22 00:55
Last Updated: 2018-04-13 22:32

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 ... Next › Last »

Rhinoceros commented on 2014-08-25 10:52

@trollixx, there was some discussion in this thread [1] about the strategy of this package. The problem is that jre7-openjdk depends specifically on the current version of jre7-openjdk-headless. Hence, if jre7-openjdk is updated, and updates to jre7-openjdk-headless-infinality lags slightly, the unmet dependency will cause `pacman -Syu` to totally fail, stalling *all* upgrades.

Of course, you cannot be expected to update this package hours after upstream updates, and so perhaps a better strategy would be not to remove dependent split packages from the PKGBUILD, but just rename them to jre7-openjdk-infinality and jdk7-openjdk-infinality. There'd be a level of duplication and redundancy with the official Arch packages, but at least it wouldn't block system upgrades. I'm not sure what you (or I) think about this strategy, or even if it conflicts with the Arch guidelines on package duplication.

In any case, I ran some tests to see how much more time it would take to build all the split packages (including openjdk7-src and openjdk7-doc, which I wouldn't bother duplicating if you go down this road). It doesn't add a lot of time to the overall build. On my system, jre7-openjdk-headless-infinality alone takes 19:08. Building all five packages (modifying jre7-openjdk-headless to use infinality) takes 21:55.


trollixx commented on 2014-08-25 02:26

@jilen, you can find a binary here

jilen commented on 2014-08-25 00:07

We need a binary package actually. This pkg cost a lot of time to build.

anireyk commented on 2014-08-24 23:44

Failed to build
ERROR: FreeType version 2.2.1 or higher is required.
make[3]: Entering directory '/home/anireyk/Zeugs/Extratemp/yaourt-tmp-anireyk/aur-jre7-openjdk-headless-infinality/src/icedtea-2.5.1/openjdk/jdk/make/tools/freetypecheck'
/bin/mkdir -p /home/anireyk/Zeugs/Extratemp/yaourt-tmp-anireyk/aur-jre7-openjdk-headless-infinality/src/icedtea-2.5.1/
rm -f /home/anireyk/Zeugs/Extratemp/yaourt-tmp-anireyk/aur-jre7-openjdk-headless-infinality/src/icedtea-2.5.1/
gcc -I/usr/include -I/usr/include/freetype2 -DREQUIRED_FREETYPE_VERSION=2.2.1 -o /home/anireyk/Zeugs/Extratemp/yaourt-tmp-anireyk/aur-jre7-openjdk-headless-infinality/src/icedtea-2.5.1/ freetypecheck.c -L/usr/lib -Wl,-rpath -Wl,/usr/lib -lfreetype
Makefile:72: recipe for target '/home/anireyk/Zeugs/Extratemp/yaourt-tmp-anireyk/aur-jre7-openjdk-headless-infinality/src/icedtea-2.5.1/' failed
make[3]: Leaving directory '/home/anireyk/Zeugs/Extratemp/yaourt-tmp-anireyk/aur-jre7-openjdk-headless-infinality/src/icedtea-2.5.1/openjdk/jdk/make/tools/freetypecheck'
Failed to build freetypecheck.

Exiting because of the above error(s).

make/sanity-rules.gmk:71: recipe for target 'post-sanity' failed
make[1]: *** [post-sanity] Error 1
make[1]: Leaving directory '/home/anireyk/Zeugs/Extratemp/yaourt-tmp-anireyk/aur-jre7-openjdk-headless-infinality/src/icedtea-2.5.1/openjdk'
Makefile:2208: recipe for target 'stamps/icedtea.stamp' failed
make: *** [stamps/icedtea.stamp] Error 2


I'm confused, because I have installed, which is version 2.4.12, which is definitely above 2.2.1. But then again, as I see now, the package is out of date… As I said, I am confused. Please help?

trollixx commented on 2014-08-24 21:48

@Rhinoceros, thanks for the solution. I've updated the package.

Rhinoceros commented on 2014-08-24 13:15

@masolit I just mentioned that error. :-)

I also posted the workaround, i.e. modify the `provides` line in the PKGBUILD.

Anonymous comment on 2014-08-24 12:38

loading packages...
resolving dependencies...
looking for inter-conflicts...
:: jre7-openjdk-headless-infinality and jre7-openjdk-headless are in conflict. Remove jre7-openjdk-headless? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: jre7-openjdk: requires jre7-openjdk-headless=7.u65_2.5.1-8

Rhinoceros commented on 2014-08-24 06:35

Ah, my error was because I didn't have a java default set with `archlinux-java` (pacman uninstalled my version before reinstalling this one).

I'm not sure if I understand the problem exactly, but are you referring to the fact that installation fails by default? e.g. for me

error: failed to prepare transaction (could not satisfy dependencies)
:: jre7-openjdk: requires jre7-openjdk-headless=7.u65_2.5.1-8

I managed to get it to work by manually specifying the version number in the `provides`, as per my PKGBUILD from before [1]. i.e.



trollixx commented on 2014-08-24 05:46

@Rhinoceros, makepkg -s works fine for me, that configure check passes.

I have updated the package with the proper .install file, thanks for pointing to that.

The problem I don't know how to work around is a seamless installation of this package on top of ABS equivalent. Right now there's 'conflicts' and 'provides' directives, but for some reason update fails unless dependencies are ignored.

Rhinoceros commented on 2014-08-24 05:40

Actually, manually building the upstream jre7-openjdk-headless fails for me too, so I'm not sure what's going on.