Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - java7-openjdk

Package Base Details: java7-openjdk

Git Clone URL: https://aur-dev.archlinux.org/java7-openjdk.git (read-only)
Keywords: infinality java jdk jre
Submitter: trollixx
Maintainer: trollixx
Last Packager: trollixx
Votes: 28
Popularity: 0.008030
First Submitted: 2014-07-22 00:55
Last Updated: 2017-01-04 17:22

Latest Comments

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

trollixx commented on 2014-08-25 02:26

@jilen, you can find a binary here https://www.copy.com/s/HmgVSr03HjoH

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/openjdk.build/btbins
rm -f /home/anireyk/Zeugs/Extratemp/yaourt-tmp-anireyk/aur-jre7-openjdk-headless-infinality/src/icedtea-2.5.1/openjdk.build/btbins/freetype_versioncheck
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/openjdk.build/btbins/freetype_versioncheck 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/openjdk.build/btbins/freetype_versioncheck' 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 https://aur.archlinux.org/packages/freetype2-infinality/ 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.

masolit commented 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.


[1] https://bbs.archlinux.org/viewtopic.php?id=185860

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.

Rhinoceros commented on 2014-08-24 05:33

@trollixx No worries. Hope you had a good trip. :)

I'm not sure why, but I can't build this, nor can I build my own previously-working version any more. `makepkg -s` of both results in

checking if the VM and compiler work together... configure: error: Compiler failed to compile Java code.
==> ERROR: A failure occurred in build().

Full error here: http://pastebin.com/A3x7eNqZ

Also, unrelated, but I think you need to modify jre7-openjdk-headless.install to deal with the new `archlinux-java` (see upstream package).