From: Mark H Weaver <mhw@netris.org>
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Cc: guix-devel@gnu.org
Subject: Re: 03/05: gnu: icedtea6, icedtea7: Rename package to "icedtea".
Date: Fri, 08 Jan 2016 18:17:43 -0500 [thread overview]
Message-ID: <871t9r3bl4.fsf@netris.org> (raw)
In-Reply-To: <E1aGlUa-0008Qy-Mm@vcs.savannah.gnu.org> (Ricardo Wurmus's message of "Wed, 06 Jan 2016 10:39:00 +0000")
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
> rekado pushed a commit to branch master
> in repository guix.
>
> commit 5452588c1a662bdcee240342a9df87efa4b1c017
> Author: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
> Date: Wed Dec 30 14:31:16 2015 +0100
>
> gnu: icedtea6, icedtea7: Rename package to "icedtea".
>
> * gnu/packages/java.scm (icedtea6): Change package name to "icedtea".
> (icedtea7): Inherit package name.
This broke the builds for icedtea-1.13.9, see:
http://hydra.gnu.org/eval/108721#tabs-new
http://hydra.gnu.org/build/908975/log/tail-reload
The relevant excerpt is:
--8<---------------cut here---------------start------------->8---
In unknown file:
?: 0 [chdir "icedtea-1.13.9"]
ERROR: In procedure chdir:
ERROR: In procedure chdir: No such file or directory
builder for `/gnu/store/dl93r8kpd9g7g3iamwz2n05nxlwjsfsn-icedtea-1.13.9.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---
I guess the problem is that the custom unpack phase does this:
(chdir (string-append ,name "-" ,version))
and this patch changes the value of 'name'.
Regards,
Mark
> diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
> index c4ad45e..b4c7bc3 100644
> --- a/gnu/packages/java.scm
> +++ b/gnu/packages/java.scm
> @@ -186,7 +186,7 @@ build process and its dependencies, whereas Make uses Makefile format.")
>
> (define-public icedtea6
> (package
> - (name "icedtea6")
> + (name "icedtea")
> (version "1.13.9")
> (source (origin
> (method url-fetch)
> @@ -514,7 +514,8 @@ build process and its dependencies, whereas Make uses Makefile format.")
> (alist-replace
> 'install
> (lambda* (#:key outputs #:allow-other-keys)
> - (let ((doc (string-append (assoc-ref outputs "doc") "/share/doc/" ,name))
> + (let ((doc (string-append (assoc-ref outputs "doc")
> + "/share/doc/icedtea"))
> (jre (assoc-ref outputs "out"))
> (jdk (assoc-ref outputs "jdk")))
> (copy-recursively "openjdk.build/docs" doc)
> @@ -585,7 +586,6 @@ build process and its dependencies, whereas Make uses Makefile format.")
> "/icedtea7/" version "/" name ".tar.bz2"))
> (sha256 (base32 hash))))))
> (package (inherit icedtea6)
> - (name "icedtea7")
> (version version)
> (source (origin
> (method url-fetch)
next parent reply other threads:[~2016-01-08 23:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20160106103859.32342.11104@vcs.savannah.gnu.org>
[not found] ` <E1aGlUa-0008Qy-Mm@vcs.savannah.gnu.org>
2016-01-08 23:17 ` Mark H Weaver [this message]
2016-01-12 10:42 ` 03/05: gnu: icedtea6, icedtea7: Rename package to "icedtea" 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=871t9r3bl4.fsf@netris.org \
--to=mhw@netris.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).