all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: Thomas Danckaert <post@thomasdanckaert.be>, guix-devel@gnu.org
Subject: Re: [PATCH] gnu: netcdf: Enable HDF4 support.
Date: Sat, 24 Dec 2016 14:54:56 +0100	[thread overview]
Message-ID: <87shpdo2j3.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20161223.162944.1962365172011014380.post@thomasdanckaert.be>

[-- Attachment #1: Type: text/plain, Size: 2560 bytes --]

Thomas Danckaert <post@thomasdanckaert.be> writes:

> Hi Guix,
>
> this patch enables HDF4 support in the netCDF package.
>
> By the way, I noticed some error messages from doxygen during the 
> build:
>
> error: Problems running dot: exit code=127, command='dot', 
> arguments='"/tmp/guix-build-netcdf-4.4.1.1.drv-0/netcdf-4.4.1.1/docs/html/datt_8c__incl.dot" 
> -Tpng -o 
> "/tmp/guix-build-netcdf-4.4.1.1.drv-0/netcdf-4.4.1.1/docs/html/datt_8c__incl.png"'
> (these error are already in the present package, for example see 
> http://hydra.gnu.org/build/1686038/log/raw ).
>
> These errors don't cause the build to fail, and are related to 
> html/pdf documentation, which is not installed anyway, as far is I 
> can see.  So perhaps not very critical.
>
> When I build the package myself in a “guix environment netcdf”, I 
> can't reproduce the errors.

The above error indicates that the 'dot' command cannot be found during
the build process. If it works in `guix environment netcdf`, perhaps you
are on a foreign distro and have /usr/bin/dot in your PATH? In any case
it should be fixed in a separate patch, and likely only needed for
documentation.

I've applied this patch, thanks!

> From 893ef9ad6bfb8edbe64d64f3ab5d6a0bd4705a5f Mon Sep 17 00:00:00 2001
> From: Thomas Danckaert <thomas.danckaert@gmail.com>
> Date: Fri, 23 Dec 2016 14:56:00 +0100
> Subject: [PATCH] gnu: netcdf: Enable HDF4 support.
>
> * gnu/packages/maths.scm (netcdf)[inputs]: Add hdf4-alt and libjpeg.
>   [arguments]: Add "--enable-hdf4" configure flag.
> ---
>  gnu/packages/maths.scm | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
> index e15eddc..d045895 100644
> --- a/gnu/packages/maths.scm
> +++ b/gnu/packages/maths.scm
> @@ -726,10 +726,12 @@ HDF5 file is encoded according to the HDF File Format Specification.")
>         ("doxygen" ,doxygen)
>         ("graphviz" ,graphviz)))
>      (inputs
> -     `(("hdf5" ,hdf5)
> -       ("zlib" ,zlib)))
> +     `(("hdf4" ,hdf4-alt)
> +       ("hdf5" ,hdf5)
> +       ("zlib" ,zlib)
> +       ("libjpeg" ,libjpeg)))
>      (arguments
> -     `(#:configure-flags '("--enable-doxygen" "--enable-dot")
> +     `(#:configure-flags '("--enable-doxygen" "--enable-dot" "--enable-hdf4")
>         #:parallel-tests? #f))           ;various race conditions
>      (home-page "http://www.unidata.ucar.edu/software/netcdf/")
>      (synopsis "Library for scientific data")
> -- 
> 2.7.4

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

      reply	other threads:[~2016-12-24 13:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-23 15:29 [PATCH] gnu: netcdf: Enable HDF4 support Thomas Danckaert
2016-12-24 13:54 ` Marius Bakke [this message]

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

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

  git send-email \
    --in-reply-to=87shpdo2j3.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
    --to=mbakke@fastmail.com \
    --cc=guix-devel@gnu.org \
    --cc=post@thomasdanckaert.be \
    /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 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.