[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hurd package
From: |
Manolis Ragkousis |
Subject: |
Re: hurd package |
Date: |
Wed, 15 Aug 2018 12:36:23 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
Hello Rene
On 8/15/18 11:09 AM, Samuel Thibault wrote:
> Hello,
>
> Rene, le mer. 15 août 2018 02:47:51 +0000, a ecrit:
>> I'm compiling hurd package from git 06429d67b7e9be332d1012ed4c2bba694e5ddabb
>> through Guix and I've the following error:
>>
>> wire.c:227:9: warning: implicit declaration of function ‘vm_wire_all’
>> [-Wimplicit-function-declaration]
>> wire.c:227:47: error: ‘VM_WIRE_ALL’ undeclared (first use in this function)
>
> Which version of gnumach headers are you using? The 1.8 release doesn't
> have it yet indeed, you need to use the git version.
>
Can you try applying this to the gnumach-headers recipe and try again?
```
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index d6c1fb5e6..57b9edc10 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -49,11 +49,14 @@
(version "1.8")
(source
(origin
- (method url-fetch)
- (uri (gnumach-source-url version))
- (sha256
- (base32
- "02hygsfpd2dljl5lg1vjjg9pizi9jyxd4aiiqzjshz6jax62jm9f"))))
+ (method git-fetch)
+ (uri (git-reference
+ (url "git://git.sv.gnu.org/hurd/gnumach.git")
+ (commit "b25b78f5c087bd187889dc4bb6bfeff0826a651d")))
+ (sha256
+ (base32
+ "1cr39r37yhnfpsrhc952rfi31bb4rrxzc6r08p2d19559yp01lxk"))
+ (file-name (string-append name "-" version))))
(build-system gnu-build-system)
(arguments
`(#:phases
@@ -61,7 +64,10 @@
(replace 'install
(lambda _
(invoke "make" "install-data")))
- (delete 'build))
+ (delete 'build)
+ (add-after 'unpack 'autoreconf
+ (lambda _
+ (invoke "autoreconf" "-vif"))))
;; GNU Mach supports only IA32 currently, so cheat so that we can at
;; least install its headers.
@@ -72,6 +78,10 @@
'(#:configure-flags '("--build=i586-pc-gnu")))
#:tests? #f))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)))
(home-page
"https://www.gnu.org/software/hurd/microkernel/mach/gnumach.html")
(synopsis "GNU Mach kernel headers")
(description
```
Manolis