unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] Add IcedTea 7.
Date: Thu, 23 Apr 2015 22:37:11 +0200	[thread overview]
Message-ID: <87y4libmyw.fsf@gnu.org> (raw)
In-Reply-To: <idjfv7tvfdh.fsf@bimsb-sys02.mdc-berlin.net> (Ricardo Wurmus's message of "Tue, 21 Apr 2015 14:24:10 +0200")

Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> skribis:

> IcedTea 7 is served!

\o/

> The version numbers may be a little confusing.  We are using the IcedTea
> 2.5.5 framework and the OpenJDK 7 sources to build a "sanitised" version
> of the OpenJDK 7.  Since it's not exactly the OpenJDK that is built but
> rather a cleaned up, liberated version, with IcedTea patches applied the
> package name is "icedtea" rather than "openjdk".

Sure.

> The tests do not pass, unfortunately.  There are *some* failures that
> are seen in upstream builds, but our number of test failures is larger
> than that.  Some failures are probably related to the fact that I have
> not added Xfvb to the native inputs for some tests; others are very
> difficult for me to analyse and understand.

Fair enough.

> From 28581336e8bb9d0c77acdaf483addcbb242381d7 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
> Date: Mon, 20 Apr 2015 12:55:20 +0200
> Subject: [PATCH 1/2] gnu: icedtea6: Split test fixing phases.
>
> * gnu/packages/java.scm (icedtea6)[arguments]: Split phase 'fix-tests into
>   three phases 'fix-test-framework, 'fix-hotspot-tests, and 'fix-jdk-tests.

OK!

> From 2532230b43b4164fee363562534929e31f725428 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
> Date: Tue, 24 Mar 2015 12:09:29 +0100
> Subject: [PATCH 2/2] gnu: Add icedtea7.
>
> * gnu/packages/java.scm (icedtea7): New variable.

[...]

> +         #:locale "C"

Could you add a comment explaining why?

> +         ,@(substitute-keyword-arguments `(#:modules ((guix build gnu-build-system)
> +                                                      (guix build utils)
> +                                                      (srfi srfi-1)
> +                                                      (srfi srfi-26))
> +                                                     ,@(package-arguments icedtea6))

The ,@ should be aligned with #:modules (unfortunately Emacs fails to do
that by default.)

> +             ((#:phases phases)
> +              `(alist-replace

This is typically a case where ‘modify-phases’ would be more readable,
if you feel like changing it.

Otherwise OK.

Thank you for the hard work!

Ludo’.

  reply	other threads:[~2015-04-23 20:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-21 12:24 [PATCH] Add IcedTea 7 Ricardo Wurmus
2015-04-23 20:37 ` Ludovic Courtès [this message]
2015-04-28 10:10   ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4libmyw.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=ricardo.wurmus@mdc-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).