unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: Efraim Flashner <efraim@flashner.co.il>,
	Kei Kebreau <kkebreau@posteo.net>
Cc: guix-devel@gnu.org
Subject: Re: Shall we merge wip-gnome3.30 to core-updates?
Date: Sun, 16 Jun 2019 11:11:53 +0200	[thread overview]
Message-ID: <871rzt51ye.fsf@devup.no> (raw)
In-Reply-To: <20190616085954.GA1460@macbook41>


[-- Attachment #1.1: Type: text/plain, Size: 843 bytes --]

Efraim Flashner <efraim@flashner.co.il> writes:

> On Thu, Jun 13, 2019 at 07:09:47PM -0400, Kei Kebreau wrote:
>> Hello again Marius,
>> 
>> Marius Bakke <mbakke@fastmail.com> writes:
>> 
>> > Hi Kei,
>> >
>> > Kei Kebreau <kkebreau@posteo.net> writes:
>> >
> <...>
>> 
>> * The samba package seems to require the "rpcgen" binary as part of its
>> build process, but I don't know which package includes that binary. I
>> know it appears somewhere in the process of building the "gcc-toolchain"
>> package, but I'd rather not include that whole package if it isn't
>> necessary.
>
>
> rpcgen seems to be in glibc

Not since commit 3670ea70e2e932969a3ffc0acf75a714c7b42540 ;-)

This patch allows Samba to build.  Other distributions seem to give
Samba libtirpc as input too, so I haven't finished investigating yet:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: samba.patch --]
[-- Type: text/x-patch, Size: 2866 bytes --]

From 9be0787b1b2a55aecefaba09dc73836c1931e10a Mon Sep 17 00:00:00 2001
From: Marius Bakke <mbakke@fastmail.com>
Date: Sun, 16 Jun 2019 08:21:11 +0200
Subject: [PATCH 1/2] gnu: Add rpcsvc-proto.

* gnu/packages/onc-rpc.scm (rpcsvc-proto): New public variable.
---
 gnu/packages/onc-rpc.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/onc-rpc.scm b/gnu/packages/onc-rpc.scm
index 64887212d3..f3ce12ef7a 100644
--- a/gnu/packages/onc-rpc.scm
+++ b/gnu/packages/onc-rpc.scm
@@ -99,6 +99,26 @@ IPv4 and IPv6.  ONC RPC is notably used by the network file system (NFS).")
 universal addresses.")
     (license bsd-3)))
 
+(define-public rpcsvc-proto
+  (package
+    (name "rpcsvc-proto")
+    (version "1.4")
+    (home-page "https://github.com/thkukuk/rpcsvc-proto")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append home-page "/releases/download/v" version
+                                  "/rpcsvc-proto-" version ".tar.xz"))
+              (sha256
+               (base32
+                "0i93wbpw5dk2gf5v4a5hq6frh814wzgjydh7saj28wlgbpqdaja1"))))
+    (build-system gnu-build-system)
+    (synopsis "RPCSVC protocol definitions")
+    (description
+     "This package provides @code{rpcsvc} @file{protocol.x} files and headers
+that are not included with the @code{libtirpc} package.  Additionally it
+contains @command{rpcgen}, which is used to produce header files and sources
+from the protocol files.")
+    (license bsd-3)))
 
 (define-public libnsl
   (package
-- 
2.22.0


From bb49cb2307bcfb4274af1b80498ac8625a2891b8 Mon Sep 17 00:00:00 2001
From: Marius Bakke <mbakke@fastmail.com>
Date: Sun, 16 Jun 2019 08:21:57 +0200
Subject: [PATCH 2/2] gnu: samba: Add rpcgen input.

This is required because Glibc no longer provides this executable since
commit 3670ea70e2e932969a3ffc0acf75a714c7b42540.

* gnu/packages/samba.scm (samba)[native-inputs]: Add RPCSVC-PROTO.
---
 gnu/packages/samba.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index 7803a1c8d1..c4a40187c4 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -43,6 +43,7 @@
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages kerberos)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages onc-rpc)
   #:use-module (gnu packages openldap)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
@@ -225,6 +226,7 @@ anywhere.")
     (native-inputs
      `(("docbook-xsl" ,docbook-xsl)    ;for generating manpages
        ("xsltproc" ,libxslt)           ;ditto
+       ("rpcsvc-proto" ,rpcsvc-proto)  ;for 'rpcgen'
        ("perl" ,perl)
        ("pkg-config" ,pkg-config)
        ("python" ,python)))
-- 
2.22.0


[-- Attachment #1.3: Type: text/plain, Size: 125 bytes --]


@Kei: If you have tested this branch elsewhere, I think it's okay to
merge even if it does not yet build on 'core-updates'.

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

  reply	other threads:[~2019-06-16  9:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-08 15:33 Shall we merge wip-gnome3.30 to core-updates? Kei Kebreau
2019-06-08 20:30 ` Marius Bakke
2019-06-10  9:32   ` Ludovic Courtès
2019-06-16  9:21     ` 'core-updates' summer 2019 Marius Bakke
2019-06-16 21:43       ` Mark H Weaver
2019-06-17 10:01       ` Ludovic Courtès
2019-06-13 23:09   ` Shall we merge wip-gnome3.30 to core-updates? Kei Kebreau
2019-06-16  8:59     ` Efraim Flashner
2019-06-16  9:11       ` Marius Bakke [this message]
2019-06-16 14:25         ` Kei Kebreau
2019-06-19 20:22           ` Kei Kebreau
2019-06-19 21:49             ` Ricardo Wurmus
2019-06-21  5:10               ` Kei Kebreau

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=871rzt51ye.fsf@devup.no \
    --to=mbakke@fastmail.com \
    --cc=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    --cc=kkebreau@posteo.net \
    /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 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).