Package Details: jdk 9.0.1-1

Git Clone URL: https://aur.archlinux.org/jdk.git (read-only)
Package Base: jdk
Description: Oracle Java Development Kit
Upstream URL: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Keywords: java-environment-jdk java-openjfx java-runtime-headless-jre java-runtime-jre java-web-start-jre
Licenses: custom:Oracle
Conflicts: java-environment-jdk=9, java-runtime-jre=9
Provides: java-environment=9, java-environment-jdk=9, java-openjfx=9, java-runtime=9, java-runtime-headless=9, java-runtime-headless-jre=9, java-runtime-jre=9, java-web-start=9, java-web-start-jre=9
Submitter: td123
Maintainer: Det
Last Packager: Det
Votes: 769
Popularity: 4.789076
First Submitted: 2011-08-27 17:56
Last Updated: 2017-11-07 07:48

Dependencies (9)

Required by (1000)

Sources (5)

Latest Comments

lfleischer commented on 2017-11-07 07:51

Great, thanks!

Det commented on 2017-11-07 07:50

well that's reverted ^^ https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=jdk&id=b98da7f6af11a6c42c607c42839405f70b2a9c08

lfleischer commented on 2017-11-07 07:46

The goal of a mature AUR package maintainer should always be to provide packages of the highest quality possible; this applies even more so to popular packages with serveal hundreds of votes. I'd rather avoid making top AUR packages a playground for social experiments/games.

Det commented on 2017-11-07 07:42

it's just one if clause i want a victim to fall on ^^

E: altho, the Zeal/GoldenDict bug wasn't indeed non-Arch specific so...

lfleischer commented on 2017-11-07 07:40

Why not? What's the point of cluttering the build script with such a check?

Det commented on 2017-11-07 07:36

not yet

lfleischer commented on 2017-11-07 07:36

Could you please revert any "cosmetic" changes cluttering the PKGBUILD and seemingly having no purpose apart from confusing a certain user group?

Det commented on 2017-10-07 13:30

'xed.

raqua commented on 2017-10-06 22:00


Fixed it with this quick and dirty fix:

<SNIP>
msg2 "Fixing directory structure..."
# Suffix .desktops + icon (sun-jcontrol.png -> sun-jcontrol-$_jname.png)
for i in $(find lib/desktop/ -type f); do
echo $i
rename -- "." "-$_jname." $i
done

rm -f lib/desktop/icons/hicolor/48x48/mimetypes/*
rm -f lib/desktop/icons/hicolor/16x16/mimetypes/*

# Link missing icons
for i in $(find lib/desktop/icons/ -name "*-$_jname.png" -type f); do
echo "sun-jcontrol-$_jname.png -> ${i/jcontrol/java}"
ln -s "sun-jcontrol-$_jname.png" "${i/jcontrol/java}"
echo "sun-jcontrol-$_jname.png -> ${i/jcontrol/javaws}"
ln -s "sun-jcontrol-$_jname.png" "${i/jcontrol/javaws}"
done
<SNIP>

There are existing files which the script tries to recreate by symlinking.

raqua commented on 2017-10-06 21:58

Building and installing package
==> Making package: jdk 9u0-1 (Fri Oct 6 23:56:02 CEST 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading jdk-9_linux-x64_bin.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 465 100 465 0 0 465 0 0:00:01 --:--:-- 0:00:01 2447
100 330M 100 330M 0 0 11.7M 0 0:00:28 0:00:28 --:--:-- 9092k
-> Found jconsole-jdk9.desktop
-> Found jmc-jdk9.desktop
-> Found jvisualvm-jdk9.desktop
-> Found policytool-jdk9.desktop
==> Validating source files with sha256sums...
jdk-9_linux-x64_bin.tar.gz ... Passed
jconsole-jdk9.desktop ... Passed
jmc-jdk9.desktop ... Passed
jvisualvm-jdk9.desktop ... Passed
policytool-jdk9.desktop ... Passed
==> Extracting sources...
-> Extracting jdk-9_linux-x64_bin.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
-> Creating directory structure...
-> Removing redundancies...
-> Moving contents...
-> Fixing directory structure...
ln: failed to create symbolic link 'lib/desktop/icons/hicolor/48x48/mimetypes/gnome-mime-application-x-java-jnlp-file-jdk9.png': File exists
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build jdk.
==> Restart building jdk ? [y/N]
==> ----------------------------
==>


It fails during image creation with file conflicts. Probably source changed?

All comments