Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 10806] New: Allow nfs-utils to use ipv6
@ 2018-02-23 16:40 bugzilla at busybox.net
  2018-02-25 15:57 ` [Buildroot] [Bug 10806] " bugzilla at busybox.net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2018-02-23 16:40 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10806

            Bug ID: 10806
           Summary: Allow nfs-utils to use ipv6
           Product: buildroot
           Version: 2017.08
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: adyke at harris.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Buildroot always configures nfs-utils without ipv6 support.
My solution is to edit package/nfs-utils/nfs-utils.mk and change --disable-ipv6
to --enable-ipv6 (in the NFS_UTILS_CONF_OPTS variable). I would submit a patch,
but I think this option should be selected by enabling ipv6 in the kernel, and
I don't know how to accomplish that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 10806] Allow nfs-utils to use ipv6
  2018-02-23 16:40 [Buildroot] [Bug 10806] New: Allow nfs-utils to use ipv6 bugzilla at busybox.net
@ 2018-02-25 15:57 ` bugzilla at busybox.net
  2019-08-12  3:08 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2018-02-25 15:57 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10806

--- Comment #1 from Arnout Vandecappelle <arnout@mind.be> ---
We decided a few years ago to no longer make ipv6 support in packages optional,
i.e. always assume it is there. Note that even if the kernel is built without
IPv6 support, it is possible to run executables in it that are built with IPv6
support - but obviously no IPv6 connection will ever be made.

So you can just unconditionally enable IPv6 support in nfs-utils. Except,
apparently, nfs-utils requires libtirpc for IPv6 support, as witnessed by this
commit:

commit e23be36ab3a110787917db59618d9f5280457938
Author: Peter Korsgaard <jacmet@sunsite.dk>
Date:   Wed Apr 25 22:29:34 2012

    nfs-utils: fix build with ipv6 after 2a10c9 (pass --enable-ipv6 to
autotargets configure)

    IPv6 support needs the TIRPC library, which we don't have in Buildroot, so
    forcibly disable IPv6 support.


Now, that's a commit from 6 years ago, so the situation may have changed.
Therefore, please try if it is possible to build and run nfs-utils *without*
libtirpc and *with* --enable-ipv6. If that works, just enable ipv6
unconditionally. If it doesn't work, add the --enable/disable-ipv6 to the
existing libtirpc condition in nfs-utils.mk. In that case, please also make a
note in the commit message that native RPC is being deprecated so libtirpc (and
therefore IPv6) will be enabled unconditionally in the future.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 10806] Allow nfs-utils to use ipv6
  2018-02-23 16:40 [Buildroot] [Bug 10806] New: Allow nfs-utils to use ipv6 bugzilla at busybox.net
  2018-02-25 15:57 ` [Buildroot] [Bug 10806] " bugzilla at busybox.net
@ 2019-08-12  3:08 ` bugzilla at busybox.net
  2019-08-12  3:18 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-08-12  3:08 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10806

Carlos Santos <unixmania@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at buildroot.uclibc |unixmania at gmail.com
                   |.org                        |

--- Comment #2 from Carlos Santos <unixmania@gmail.com> ---
I'm taking this one.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 10806] Allow nfs-utils to use ipv6
  2018-02-23 16:40 [Buildroot] [Bug 10806] New: Allow nfs-utils to use ipv6 bugzilla at busybox.net
  2018-02-25 15:57 ` [Buildroot] [Bug 10806] " bugzilla at busybox.net
  2019-08-12  3:08 ` bugzilla at busybox.net
@ 2019-08-12  3:18 ` bugzilla at busybox.net
  2019-08-12 17:39 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-08-12  3:18 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10806

--- Comment #3 from Carlos Santos <unixmania@gmail.com> ---
Patch submitted: https://patchwork.ozlabs.org/patch/1145462/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 10806] Allow nfs-utils to use ipv6
  2018-02-23 16:40 [Buildroot] [Bug 10806] New: Allow nfs-utils to use ipv6 bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2019-08-12  3:18 ` bugzilla at busybox.net
@ 2019-08-12 17:39 ` bugzilla at busybox.net
  2019-09-10  0:01 ` bugzilla at busybox.net
  2019-09-12 17:16 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-08-12 17:39 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10806

--- Comment #4 from Carlos Santos <unixmania@gmail.com> ---
(In reply to Carlos Santos from comment #3)

Patch updated: https://patchwork.ozlabs.org/patch/1145827/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 10806] Allow nfs-utils to use ipv6
  2018-02-23 16:40 [Buildroot] [Bug 10806] New: Allow nfs-utils to use ipv6 bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2019-08-12 17:39 ` bugzilla at busybox.net
@ 2019-09-10  0:01 ` bugzilla at busybox.net
  2019-09-12 17:16 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-09-10  0:01 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10806

--- Comment #5 from Carlos Santos <unixmania@gmail.com> ---
Discussing the subject in the mailing list it was decided to keep libtirpc
optional so I submitted a second patch that builds nfs-utils with IPv6 enabled
if libtirpc is selected:

https://patchwork.ozlabs.org/patch/1159968/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 10806] Allow nfs-utils to use ipv6
  2018-02-23 16:40 [Buildroot] [Bug 10806] New: Allow nfs-utils to use ipv6 bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2019-09-10  0:01 ` bugzilla at busybox.net
@ 2019-09-12 17:16 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-09-12 17:16 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10806

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/?id=749334cb36ea5c0a0fd745dada43122f88a3144c.
Thanks a lot Carlos for your work on this issue!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2019-09-12 17:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-23 16:40 [Buildroot] [Bug 10806] New: Allow nfs-utils to use ipv6 bugzilla at busybox.net
2018-02-25 15:57 ` [Buildroot] [Bug 10806] " bugzilla at busybox.net
2019-08-12  3:08 ` bugzilla at busybox.net
2019-08-12  3:18 ` bugzilla at busybox.net
2019-08-12 17:39 ` bugzilla at busybox.net
2019-09-10  0:01 ` bugzilla at busybox.net
2019-09-12 17:16 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox