unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: 01/03: gnu: mozjs: Mark as unsupported on mips64el-linux.
       [not found] ` <E1Ypj6O-0003rt-13@vcs.savannah.gnu.org>
@ 2015-05-06 15:54   ` Mark H Weaver
  2015-05-06 16:25     ` Andreas Enge
  2015-05-06 19:55     ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Mark H Weaver @ 2015-05-06 15:54 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Ludovic Courtès <ludo@gnu.org> writes:

> civodul pushed a commit to branch master
> in repository guix.
>
> commit 4bfeb0ca74fca75febe62b8e059b0c5a6ddd622f
> Author: Ludovic Courtès <ludo@gnu.org>
> Date:   Tue May 5 21:39:18 2015 +0200
>
>     gnu: mozjs: Mark as unsupported on mips64el-linux.

[...]

> diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
> index 522404f..8031a6c 100644
> --- a/gnu/packages/gnuzilla.scm
> +++ b/gnu/packages/gnuzilla.scm
> @@ -85,7 +85,12 @@
>      (synopsis "Mozilla javascript engine")
>      (description "SpiderMonkey is Mozilla's JavaScript engine written
>  in C/C++.")
> -    (license license:mpl2.0))) ; and others for some files
> +    (license license:mpl2.0)                      ;and others for some files
> +
> +    ;; On mips64el, this fails to build with several "control reaches end of
> +    ;; non-void function" errors (see
> +    ;; <http://hydra.gnu.org/build/407741/nixlog/3/raw>.)
> +    (supported-systems (delete "mips64el-linux" %supported-systems))))

In general, I would prefer not to mark packages as unsupported on a
platform unless there is good reason to believe that the problems would
be very difficult to resolve.

In this case, Debian contains builds of mozjs for MIPS, and MIPS is
supported by the Mozilla project.  For example, see:

  https://bugzilla.mozilla.org/show_bug.cgi?id=902818

where a mozjs bug is reported on MIPS (N32 ABI) and later fixed by
upstream.

Furthermore, mozjs is an important package.  polkit depends on mozjs,
and several important GNOME components depend on polkit, so without
mozjs we cannot have GNOME on MIPS.

So, I would prefer to revert this commit.  What do you think?

     Mark

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

* Re: 01/03: gnu: mozjs: Mark as unsupported on mips64el-linux.
  2015-05-06 15:54   ` 01/03: gnu: mozjs: Mark as unsupported on mips64el-linux Mark H Weaver
@ 2015-05-06 16:25     ` Andreas Enge
  2015-05-06 19:55     ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Enge @ 2015-05-06 16:25 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

On Wed, May 06, 2015 at 11:54:56AM -0400, Mark H Weaver wrote:
> In general, I would prefer not to mark packages as unsupported on a
> platform unless there is good reason to believe that the problems would
> be very difficult to resolve.
> 
> In this case, Debian contains builds of mozjs for MIPS, and MIPS is
> supported by the Mozilla project.
> 
> So, I would prefer to revert this commit.  What do you think?

I agree.

Andreas

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

* Re: 01/03: gnu: mozjs: Mark as unsupported on mips64el-linux.
  2015-05-06 15:54   ` 01/03: gnu: mozjs: Mark as unsupported on mips64el-linux Mark H Weaver
  2015-05-06 16:25     ` Andreas Enge
@ 2015-05-06 19:55     ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2015-05-06 19:55 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

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

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> civodul pushed a commit to branch master
>> in repository guix.
>>
>> commit 4bfeb0ca74fca75febe62b8e059b0c5a6ddd622f
>> Author: Ludovic Courtès <ludo@gnu.org>
>> Date:   Tue May 5 21:39:18 2015 +0200
>>
>>     gnu: mozjs: Mark as unsupported on mips64el-linux.
>
> [...]
>
>> diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
>> index 522404f..8031a6c 100644
>> --- a/gnu/packages/gnuzilla.scm
>> +++ b/gnu/packages/gnuzilla.scm
>> @@ -85,7 +85,12 @@
>>      (synopsis "Mozilla javascript engine")
>>      (description "SpiderMonkey is Mozilla's JavaScript engine written
>>  in C/C++.")
>> -    (license license:mpl2.0))) ; and others for some files
>> +    (license license:mpl2.0)                      ;and others for some files
>> +
>> +    ;; On mips64el, this fails to build with several "control reaches end of
>> +    ;; non-void function" errors (see
>> +    ;; <http://hydra.gnu.org/build/407741/nixlog/3/raw>.)
>> +    (supported-systems (delete "mips64el-linux" %supported-systems))))
>
> In general, I would prefer not to mark packages as unsupported on a
> platform unless there is good reason to believe that the problems would
> be very difficult to resolve.

For me the reasoning was that if it doesn’t even build, then it’s
effectively unsupported upstream, but...

> In this case, Debian contains builds of mozjs for MIPS, and MIPS is
> supported by the Mozilla project.  For example, see:
>
>   https://bugzilla.mozilla.org/show_bug.cgi?id=902818
>
> where a mozjs bug is reported on MIPS (N32 ABI) and later fixed by
> upstream.

... I admit I had not done this research, and this is indeed
encouraging.

> Furthermore, mozjs is an important package.  polkit depends on mozjs,
> and several important GNOME components depend on polkit, so without
> mozjs we cannot have GNOME on MIPS.
>
> So, I would prefer to revert this commit.  What do you think?

OK, fine with me.  Now to find the upstream patch that fixes the issue...

Sorry for the inconvenience!

Ludo’.

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

end of thread, other threads:[~2015-05-06 19:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20150505200559.14816.34558@vcs.savannah.gnu.org>
     [not found] ` <E1Ypj6O-0003rt-13@vcs.savannah.gnu.org>
2015-05-06 15:54   ` 01/03: gnu: mozjs: Mark as unsupported on mips64el-linux Mark H Weaver
2015-05-06 16:25     ` Andreas Enge
2015-05-06 19:55     ` Ludovic Courtès

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