You are not logged in.

#1 2012-12-18 19:24:58

JLucien
Member
Registered: 2011-06-26
Posts: 30

SOLVED - Oracle Java 7 No *.xz Package For Install

I am trying to install JRE and JDK from AUR.

After I have run makepkg -s for each of these, a *.xz file for installation is never created:

$ makepkg -s
==> Making package: jre 7.10-1 (Tue 18 Dec 14:18:03 UTC 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Downloading jre-7u10-linux-i586.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
  0     0    0   289    0     0    601      0 --:--:-- --:--:-- --:--:--     0
100 45.8M  100 45.8M    0     0  3591k      0  0:00:13  0:00:13 --:--:-- 3825k
  -> Found java-policy-settings.desktop
  -> Found javaws-launcher
  -> Found jre.csh
  -> Found jre.sh
==> Validating source files with md5sums...
    jre-7u10-linux-i586.tar.gz ... Passed
    java-policy-settings.desktop ... Passed
    javaws-launcher ... Passed
    jre.csh ... Passed
    jre.sh ... Passed
==> Extracting Sources...
  -> Extracting jre-7u10-linux-i586.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
  -> Creating required dirs
  -> Removing the redundancies
  -> Moving stuff in place
  -> Symlinking the plugin
  -> Installing the scripts, confs and .desktops of our own
  -> Tweaking the javaws .desktop file
==> Tidying install...
  -> Purging unwanted files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Removing empty directories...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Adding install file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: jre 7.10-1 (Tue 18 Dec 14:18:32 UTC 2012)
$ ls
java-policy-settings.desktop  jre-7u10-linux-i586.tar.gz  jre.sh    src
javaws-launcher               jre.csh                     pkg
jre-7.10-1-i686.pkg.tar       jre.install                 PKGBUILD

How can I install the package if the package type pacman is expecting is not there?
Have I missed out a basic step here?

********

As it turns out with an investigation of the PKGBUILD the package file extension is .tar

I did a regular pacman -U using the .tar file and it seems to have worked.

Last edited by JLucien (2012-12-18 20:41:44)

Offline

#2 2012-12-18 20:41:47

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: SOLVED - Oracle Java 7 No *.xz Package For Install

Do you have PKGDEST set in makepkg.conf? That is the place to search for packages created by makepkg.

Offline

#3 2012-12-19 01:23:23

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: SOLVED - Oracle Java 7 No *.xz Package For Install

The jre and jdk PKGBUILDs force PKGEXT=.pkg.tar . The maintainer decided that compression offered no value for these packages, and took a while, and so force-disabled it.

Offline

Board footer

Powered by FluxBB