Bug#822214: petsc: FTBFS on hurd, but previously did: error: 'vm_address_t' does not name a type
Mattia Rizzolo
mattia at debian.org
Fri Apr 22 12:19:13 UTC 2016
On Fri, Apr 22, 2016 at 06:51:36AM +0200, Tobias Frost wrote:
> Source: petsc
> Version: 3.6.3.dfsg2-1
> Severity: normal
>
> Hi,
>
> as the title says, it fails to build on hurd.
> The following patch makes it compile again, tested on exodar.d.n.
>
> $cat hurd.patch
> --- a/src/sys/memory/mem.c
> +++ b/src/sys/memory/mem.c
> @@ -21,6 +21,9 @@
> #include <sys/resource.h>
> #endif
> #if defined(PETSC_HAVE_SYS_PROCFS_H)
> +#if defined __gnu_hurd__
> +#include <mach/std_types.h>
> +#endif
> /* #include <sys/int_types.h> Required if using gcc on solaris 2.6 */
> #include <sys/procfs.h>
> #endif
>
>
> This FTBFS currently prevents some decruft we doing in preparation for libpng removal,
> therefore I'm plan to NMU this patch.
I rescheduled the NMU to 0-day, thanks for it.
I'm going to import the .dsc as soon as it hits incoming :)
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160422/d05b0763/attachment.sig>
More information about the debian-science-maintainers
mailing list