all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: 03/05: gnu: icedtea6, icedtea7: Rename package to "icedtea".
       [not found] ` <E1aGlUa-0008Qy-Mm@vcs.savannah.gnu.org>
@ 2016-01-08 23:17   ` Mark H Weaver
  2016-01-12 10:42     ` Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: Mark H Weaver @ 2016-01-08 23:17 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 03/05: gnu: icedtea6, icedtea7: Rename package to "icedtea".
  2016-01-08 23:17   ` 03/05: gnu: icedtea6, icedtea7: Rename package to "icedtea" Mark H Weaver
@ 2016-01-12 10:42     ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2016-01-12 10:42 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel


Mark H Weaver <mhw@netris.org> writes:

>> 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'.

Indeed!  It’s fixed in 9f40b1171bab8bc4be8a0a1f78453ac7e7310fdb.  My
apologies!

~~ Ricardo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-12 10:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20160106103859.32342.11104@vcs.savannah.gnu.org>
     [not found] ` <E1aGlUa-0008Qy-Mm@vcs.savannah.gnu.org>
2016-01-08 23:17   ` 03/05: gnu: icedtea6, icedtea7: Rename package to "icedtea" Mark H Weaver
2016-01-12 10:42     ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.