All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] ltp-testsuite without native RPC (commit 8f1c4c49a2ab0fc9e6cf73370f4483e253e5ac2d)
@ 2015-10-15 14:06 Thomas De Schampheleire
  2015-10-15 18:17 ` Baruch Siach
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas De Schampheleire @ 2015-10-15 14:06 UTC (permalink / raw)
  To: buildroot

Hi Baruch, all,

I only now saw your commit 8f1c4c49a2ab0fc9e6cf73370f4483e253e5ac2d
that disables again building ltp-testsuite without a native-RPC
toolchain. Using commit baedef979cda7783b399099b49cd23536e44b1c7 I had
added that support.

First of all, it looks to me that the patch is incomplete: the
Config.in file still allows selecting ltp-testsuite without RPC
support, and selects libtirpc in that case. While I haven't tried it
again, I think this will break compilation for these cases.

But more to the core of the problem: I wonder if disabling the entire
ltp-testsuite here is the right approach. The RPC support is only
needed for the small amount of network tests that use RPC. The ltp
testsuite as a whole is much broader than that. By disabling
ltp-testsuite entirely the users without native rpc toolchain are thus
'punished' unnecessarily hard.

What about patching ltp-testsuite instead, not enabling the RPC tests
in this case? At first sight this was added with following (ltp)
commit:
https://github.com/linux-test-project/ltp/commit/8e9a4dbb8eaa561e51d6d8ebe5a5342f3e498224

Thanks,
Thomas

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

* [Buildroot] ltp-testsuite without native RPC (commit 8f1c4c49a2ab0fc9e6cf73370f4483e253e5ac2d)
  2015-10-15 14:06 [Buildroot] ltp-testsuite without native RPC (commit 8f1c4c49a2ab0fc9e6cf73370f4483e253e5ac2d) Thomas De Schampheleire
@ 2015-10-15 18:17 ` Baruch Siach
  2015-10-19 13:26   ` Thomas De Schampheleire
  0 siblings, 1 reply; 7+ messages in thread
From: Baruch Siach @ 2015-10-15 18:17 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Thu, Oct 15, 2015 at 04:06:39PM +0200, Thomas De Schampheleire wrote:
> I only now saw your commit 8f1c4c49a2ab0fc9e6cf73370f4483e253e5ac2d
> that disables again building ltp-testsuite without a native-RPC
> toolchain. Using commit baedef979cda7783b399099b49cd23536e44b1c7 I had
> added that support.

I saw your commit, so I put you on the Cc of commit 8f1c4c49a2a.

> First of all, it looks to me that the patch is incomplete: the
> Config.in file still allows selecting ltp-testsuite without RPC
> support, and selects libtirpc in that case. While I haven't tried it
> again, I think this will break compilation for these cases.

I don't think so. Commit 8f1c4c49a2a adds ac_cv_header_tirpc_netconfig_h=no to 
_CONF_ENV to avoid link with the standalone libtirpc even when it's installed.

But you are right that selecting BR2_PACKAGE_LIBTIRPC now makes no sense. Just 
sent a patch removing it.

> But more to the core of the problem: I wonder if disabling the entire
> ltp-testsuite here is the right approach. The RPC support is only
> needed for the small amount of network tests that use RPC. The ltp
> testsuite as a whole is much broader than that. By disabling
> ltp-testsuite entirely the users without native rpc toolchain are thus
> 'punished' unnecessarily hard.

I'm not sure I follow. In what case does commit 8f1c4c49a2a disable 
ltp-testsuite?

> What about patching ltp-testsuite instead, not enabling the RPC tests
> in this case? At first sight this was added with following (ltp)
> commit:
> https://github.com/linux-test-project/ltp/commit/8e9a4dbb8eaa561e51d6d8ebe5a5342f3e498224

Isn't that what ac_cv_header_tirpc_netconfig_h=no is doing?

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

* [Buildroot] ltp-testsuite without native RPC (commit 8f1c4c49a2ab0fc9e6cf73370f4483e253e5ac2d)
  2015-10-15 18:17 ` Baruch Siach
@ 2015-10-19 13:26   ` Thomas De Schampheleire
  2015-10-19 17:35     ` Baruch Siach
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas De Schampheleire @ 2015-10-19 13:26 UTC (permalink / raw)
  To: buildroot

Hi Baruch,

On Thu, Oct 15, 2015 at 8:17 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> Hi Thomas,
>
> On Thu, Oct 15, 2015 at 04:06:39PM +0200, Thomas De Schampheleire wrote:
>> I only now saw your commit 8f1c4c49a2ab0fc9e6cf73370f4483e253e5ac2d
>> that disables again building ltp-testsuite without a native-RPC
>> toolchain. Using commit baedef979cda7783b399099b49cd23536e44b1c7 I had
>> added that support.
>
> I saw your commit, so I put you on the Cc of commit 8f1c4c49a2a.

Yes I saw it, I just hadn't noticed that mail when it was sent (my bad).

>
>> First of all, it looks to me that the patch is incomplete: the
>> Config.in file still allows selecting ltp-testsuite without RPC
>> support, and selects libtirpc in that case. While I haven't tried it
>> again, I think this will break compilation for these cases.
>
> I don't think so. Commit 8f1c4c49a2a adds ac_cv_header_tirpc_netconfig_h=no to
> _CONF_ENV to avoid link with the standalone libtirpc even when it's installed.
>
> But you are right that selecting BR2_PACKAGE_LIBTIRPC now makes no sense. Just
> sent a patch removing it.
>
>> But more to the core of the problem: I wonder if disabling the entire
>> ltp-testsuite here is the right approach. The RPC support is only
>> needed for the small amount of network tests that use RPC. The ltp
>> testsuite as a whole is much broader than that. By disabling
>> ltp-testsuite entirely the users without native rpc toolchain are thus
>> 'punished' unnecessarily hard.
>
> I'm not sure I follow. In what case does commit 8f1c4c49a2a disable
> ltp-testsuite?
>
>> What about patching ltp-testsuite instead, not enabling the RPC tests
>> in this case? At first sight this was added with following (ltp)
>> commit:
>> https://github.com/linux-test-project/ltp/commit/8e9a4dbb8eaa561e51d6d8ebe5a5342f3e498224
>
> Isn't that what ac_cv_header_tirpc_netconfig_h=no is doing?

I just tried building ltp-testsuite with a no-rpc toolchain on top of
latest buildroot. Here is the build failure:

/usr/bin/make -C lib -f
".../output/build/ltp-testsuite-20150420/testcases/network/rpc/basic_tests/rpc01/lib/Makefile"
all
make[7]: Entering directory
`.../output/build/ltp-testsuite-20150420/testcases/network/rpc/basic_tests/rpc01/lib'
.../output/host/usr/bin/powerpc-linux-gcc -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -Os -g -O2 -fno-strict-aliasing -pipe -Wall -W
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Os -Wold-style-definition
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2
-I../../../../../../include -I../../../../../../include  -c -o
librpc01.o librpc01.c
librpc01.c:19:21: fatal error: rpc/xdr.h: No such file or directory
 #include <rpc/xdr.h>
                     ^
compilation terminated.
make[7]: *** [librpc01.o] Error 1


I think my original problem (this was with a previous version of
ltp-testsuite) was that rpc/rpc.h was missing, but I think the bottom
line is the same: ltp-testsuite attempts to build RPC-related tests
but the necessary header files are not available.

My approach was to add libtirpc to the equation, which provides the
header files and library to make things work.

With your patch, libtirpc is not added, and so the header files remain
unavailable.

How do you suggest to proceed?
One approach is to disable the ltp tests that use rpc entirely (on top
of your last patch), another one is to disable only the tests that use
authdes_create (on top of my original patch; reverting yours).
Other ideas are welcome, of course.

Thanks,
Thomas

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

* [Buildroot] ltp-testsuite without native RPC (commit 8f1c4c49a2ab0fc9e6cf73370f4483e253e5ac2d)
  2015-10-19 13:26   ` Thomas De Schampheleire
@ 2015-10-19 17:35     ` Baruch Siach
  2015-10-20  3:49       ` Baruch Siach
  0 siblings, 1 reply; 7+ messages in thread
From: Baruch Siach @ 2015-10-19 17:35 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Mon, Oct 19, 2015 at 03:26:18PM +0200, Thomas De Schampheleire wrote:
> On Thu, Oct 15, 2015 at 8:17 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> > On Thu, Oct 15, 2015 at 04:06:39PM +0200, Thomas De Schampheleire wrote:
> >> What about patching ltp-testsuite instead, not enabling the RPC tests
> >> in this case? At first sight this was added with following (ltp)
> >> commit:
> >> https://github.com/linux-test-project/ltp/commit/8e9a4dbb8eaa561e51d6d8ebe5a5342f3e498224
> >
> > Isn't that what ac_cv_header_tirpc_netconfig_h=no is doing?
> 
> I just tried building ltp-testsuite with a no-rpc toolchain on top of
> latest buildroot. Here is the build failure:
> 
> /usr/bin/make -C lib -f
> ".../output/build/ltp-testsuite-20150420/testcases/network/rpc/basic_tests/rpc01/lib/Makefile"
> all
> make[7]: Entering directory
> `.../output/build/ltp-testsuite-20150420/testcases/network/rpc/basic_tests/rpc01/lib'
> .../output/host/usr/bin/powerpc-linux-gcc -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -Os -g -O2 -fno-strict-aliasing -pipe -Wall -W
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Os -Wold-style-definition
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2
> -I../../../../../../include -I../../../../../../include  -c -o
> librpc01.o librpc01.c
> librpc01.c:19:21: fatal error: rpc/xdr.h: No such file or directory
>  #include <rpc/xdr.h>
>                      ^
> compilation terminated.
> make[7]: *** [librpc01.o] Error 1
> 
> 
> I think my original problem (this was with a previous version of
> ltp-testsuite) was that rpc/rpc.h was missing, but I think the bottom
> line is the same: ltp-testsuite attempts to build RPC-related tests
> but the necessary header files are not available.
> 
> My approach was to add libtirpc to the equation, which provides the
> header files and library to make things work.
> 
> With your patch, libtirpc is not added, and so the header files remain
> unavailable.
> 
> How do you suggest to proceed?
> One approach is to disable the ltp tests that use rpc entirely (on top
> of your last patch), another one is to disable only the tests that use
> authdes_create (on top of my original patch; reverting yours).
> Other ideas are welcome, of course.

The best solution seems to be fixing the root cause upstream. There was an 
attempt by Natanael Copa in commit c0547c56dafb8e1 (Add configure option to 
disable DES authentication) to add a --disable-authdes configure option to 
libtirpc. There was another attempt in commit 58cd17f999 (Fix: unresolved 
_crypt() symbols) to add a local implementation of DES. The first attempt was 
later reverted in commit f17b44048003 (Revert commit c0547c56dafb ('Add 
configure option to disable DES')) which also (inadvertedly?) removed 
des_crypt.c and des_impl.c from Makefile.am. Restoring the local DES 
implementation looks not so hard to do.

In the mean time I think we can replace our 
0007-Disable-DES-authentification-support.patch with something more flexible 
along the lines of Natanael's reverted patch.

J?rg, do you concur?

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

* [Buildroot] ltp-testsuite without native RPC (commit 8f1c4c49a2ab0fc9e6cf73370f4483e253e5ac2d)
  2015-10-19 17:35     ` Baruch Siach
@ 2015-10-20  3:49       ` Baruch Siach
  2015-10-22  8:24         ` Thomas De Schampheleire
  0 siblings, 1 reply; 7+ messages in thread
From: Baruch Siach @ 2015-10-20  3:49 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Mon, Oct 19, 2015 at 08:35:23PM +0300, Baruch Siach wrote:
> On Mon, Oct 19, 2015 at 03:26:18PM +0200, Thomas De Schampheleire wrote:
> > On Thu, Oct 15, 2015 at 8:17 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> > > On Thu, Oct 15, 2015 at 04:06:39PM +0200, Thomas De Schampheleire wrote:
> > >> What about patching ltp-testsuite instead, not enabling the RPC tests
> > >> in this case? At first sight this was added with following (ltp)
> > >> commit:
> > >> https://github.com/linux-test-project/ltp/commit/8e9a4dbb8eaa561e51d6d8ebe5a5342f3e498224
> > >
> > > Isn't that what ac_cv_header_tirpc_netconfig_h=no is doing?
> > 
> > I just tried building ltp-testsuite with a no-rpc toolchain on top of
> > latest buildroot. Here is the build failure:
> > 
> > /usr/bin/make -C lib -f
> > ".../output/build/ltp-testsuite-20150420/testcases/network/rpc/basic_tests/rpc01/lib/Makefile"
> > all
> > make[7]: Entering directory
> > `.../output/build/ltp-testsuite-20150420/testcases/network/rpc/basic_tests/rpc01/lib'
> > .../output/host/usr/bin/powerpc-linux-gcc -D_LARGEFILE_SOURCE
> > -D_LARGEFILE64_SOURCE -Os -g -O2 -fno-strict-aliasing -pipe -Wall -W
> > -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Os -Wold-style-definition
> > -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2
> > -I../../../../../../include -I../../../../../../include  -c -o
> > librpc01.o librpc01.c
> > librpc01.c:19:21: fatal error: rpc/xdr.h: No such file or directory
> >  #include <rpc/xdr.h>
> >                      ^
> > compilation terminated.
> > make[7]: *** [librpc01.o] Error 1
> > 
> > 
> > I think my original problem (this was with a previous version of
> > ltp-testsuite) was that rpc/rpc.h was missing, but I think the bottom
> > line is the same: ltp-testsuite attempts to build RPC-related tests
> > but the necessary header files are not available.
> > 
> > My approach was to add libtirpc to the equation, which provides the
> > header files and library to make things work.
> > 
> > With your patch, libtirpc is not added, and so the header files remain
> > unavailable.
> > 
> > How do you suggest to proceed?
> > One approach is to disable the ltp tests that use rpc entirely (on top
> > of your last patch), another one is to disable only the tests that use
> > authdes_create (on top of my original patch; reverting yours).
> > Other ideas are welcome, of course.
> 
> The best solution seems to be fixing the root cause upstream. There was an 
> attempt by Natanael Copa in commit c0547c56dafb8e1 (Add configure option to 
> disable DES authentication) to add a --disable-authdes configure option to 
> libtirpc. There was another attempt in commit 58cd17f999 (Fix: unresolved 
> _crypt() symbols) to add a local implementation of DES. The first attempt was 
> later reverted in commit f17b44048003 (Revert commit c0547c56dafb ('Add 
> configure option to disable DES')) which also (inadvertedly?) removed 
> des_crypt.c and des_impl.c from Makefile.am. Restoring the local DES 
> implementation looks not so hard to do.
> 
> In the mean time I think we can replace our 
> 0007-Disable-DES-authentification-support.patch with something more flexible 
> along the lines of Natanael's reverted patch.

Which, of course, won't solve our problem.

I'll look into the first approach (libtirpc local DES) if I find some time.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

* [Buildroot] ltp-testsuite without native RPC (commit 8f1c4c49a2ab0fc9e6cf73370f4483e253e5ac2d)
  2015-10-20  3:49       ` Baruch Siach
@ 2015-10-22  8:24         ` Thomas De Schampheleire
  2015-10-22 17:00           ` Baruch Siach
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas De Schampheleire @ 2015-10-22  8:24 UTC (permalink / raw)
  To: buildroot

On Tue, Oct 20, 2015 at 5:49 AM, Baruch Siach <baruch@tkos.co.il> wrote:
> Hi Thomas,
>
> On Mon, Oct 19, 2015 at 08:35:23PM +0300, Baruch Siach wrote:
>> On Mon, Oct 19, 2015 at 03:26:18PM +0200, Thomas De Schampheleire wrote:
>> > On Thu, Oct 15, 2015 at 8:17 PM, Baruch Siach <baruch@tkos.co.il> wrote:
>> > > On Thu, Oct 15, 2015 at 04:06:39PM +0200, Thomas De Schampheleire wrote:
>> > >> What about patching ltp-testsuite instead, not enabling the RPC tests
>> > >> in this case? At first sight this was added with following (ltp)
>> > >> commit:
>> > >> https://github.com/linux-test-project/ltp/commit/8e9a4dbb8eaa561e51d6d8ebe5a5342f3e498224
>> > >
>> > > Isn't that what ac_cv_header_tirpc_netconfig_h=no is doing?
>> >
>> > I just tried building ltp-testsuite with a no-rpc toolchain on top of
>> > latest buildroot. Here is the build failure:
>> >
>> > /usr/bin/make -C lib -f
>> > ".../output/build/ltp-testsuite-20150420/testcases/network/rpc/basic_tests/rpc01/lib/Makefile"
>> > all
>> > make[7]: Entering directory
>> > `.../output/build/ltp-testsuite-20150420/testcases/network/rpc/basic_tests/rpc01/lib'
>> > .../output/host/usr/bin/powerpc-linux-gcc -D_LARGEFILE_SOURCE
>> > -D_LARGEFILE64_SOURCE -Os -g -O2 -fno-strict-aliasing -pipe -Wall -W
>> > -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Os -Wold-style-definition
>> > -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2
>> > -I../../../../../../include -I../../../../../../include  -c -o
>> > librpc01.o librpc01.c
>> > librpc01.c:19:21: fatal error: rpc/xdr.h: No such file or directory
>> >  #include <rpc/xdr.h>
>> >                      ^
>> > compilation terminated.
>> > make[7]: *** [librpc01.o] Error 1
>> >
>> >
>> > I think my original problem (this was with a previous version of
>> > ltp-testsuite) was that rpc/rpc.h was missing, but I think the bottom
>> > line is the same: ltp-testsuite attempts to build RPC-related tests
>> > but the necessary header files are not available.
>> >
>> > My approach was to add libtirpc to the equation, which provides the
>> > header files and library to make things work.
>> >
>> > With your patch, libtirpc is not added, and so the header files remain
>> > unavailable.
>> >
>> > How do you suggest to proceed?
>> > One approach is to disable the ltp tests that use rpc entirely (on top
>> > of your last patch), another one is to disable only the tests that use
>> > authdes_create (on top of my original patch; reverting yours).
>> > Other ideas are welcome, of course.
>>
>> The best solution seems to be fixing the root cause upstream. There was an
>> attempt by Natanael Copa in commit c0547c56dafb8e1 (Add configure option to
>> disable DES authentication) to add a --disable-authdes configure option to
>> libtirpc. There was another attempt in commit 58cd17f999 (Fix: unresolved
>> _crypt() symbols) to add a local implementation of DES. The first attempt was
>> later reverted in commit f17b44048003 (Revert commit c0547c56dafb ('Add
>> configure option to disable DES')) which also (inadvertedly?) removed
>> des_crypt.c and des_impl.c from Makefile.am. Restoring the local DES
>> implementation looks not so hard to do.
>>
>> In the mean time I think we can replace our
>> 0007-Disable-DES-authentification-support.patch with something more flexible
>> along the lines of Natanael's reverted patch.
>
> Which, of course, won't solve our problem.
>
> I'll look into the first approach (libtirpc local DES) if I find some time.

Thanks in advance, Baruch!

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

* [Buildroot] ltp-testsuite without native RPC (commit 8f1c4c49a2ab0fc9e6cf73370f4483e253e5ac2d)
  2015-10-22  8:24         ` Thomas De Schampheleire
@ 2015-10-22 17:00           ` Baruch Siach
  0 siblings, 0 replies; 7+ messages in thread
From: Baruch Siach @ 2015-10-22 17:00 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Thu, Oct 22, 2015 at 10:24:24AM +0200, Thomas De Schampheleire wrote:
> On Tue, Oct 20, 2015 at 5:49 AM, Baruch Siach <baruch@tkos.co.il> wrote:
> > On Mon, Oct 19, 2015 at 08:35:23PM +0300, Baruch Siach wrote:
> >> On Mon, Oct 19, 2015 at 03:26:18PM +0200, Thomas De Schampheleire wrote:
> >> > On Thu, Oct 15, 2015 at 8:17 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> >> > > On Thu, Oct 15, 2015 at 04:06:39PM +0200, Thomas De Schampheleire wrote:
> >> > >> What about patching ltp-testsuite instead, not enabling the RPC tests
> >> > >> in this case? At first sight this was added with following (ltp)
> >> > >> commit:
> >> > >> https://github.com/linux-test-project/ltp/commit/8e9a4dbb8eaa561e51d6d8ebe5a5342f3e498224
> >> > >
> >> > > Isn't that what ac_cv_header_tirpc_netconfig_h=no is doing?
> >> >
> >> > I just tried building ltp-testsuite with a no-rpc toolchain on top of
> >> > latest buildroot. Here is the build failure:
> >> >
> >> > /usr/bin/make -C lib -f
> >> > ".../output/build/ltp-testsuite-20150420/testcases/network/rpc/basic_tests/rpc01/lib/Makefile"
> >> > all
> >> > make[7]: Entering directory
> >> > `.../output/build/ltp-testsuite-20150420/testcases/network/rpc/basic_tests/rpc01/lib'
> >> > .../output/host/usr/bin/powerpc-linux-gcc -D_LARGEFILE_SOURCE
> >> > -D_LARGEFILE64_SOURCE -Os -g -O2 -fno-strict-aliasing -pipe -Wall -W
> >> > -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Os -Wold-style-definition
> >> > -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2
> >> > -I../../../../../../include -I../../../../../../include  -c -o
> >> > librpc01.o librpc01.c
> >> > librpc01.c:19:21: fatal error: rpc/xdr.h: No such file or directory
> >> >  #include <rpc/xdr.h>
> >> >                      ^
> >> > compilation terminated.
> >> > make[7]: *** [librpc01.o] Error 1
> >> >
> >> >
> >> > I think my original problem (this was with a previous version of
> >> > ltp-testsuite) was that rpc/rpc.h was missing, but I think the bottom
> >> > line is the same: ltp-testsuite attempts to build RPC-related tests
> >> > but the necessary header files are not available.
> >> >
> >> > My approach was to add libtirpc to the equation, which provides the
> >> > header files and library to make things work.
> >> >
> >> > With your patch, libtirpc is not added, and so the header files remain
> >> > unavailable.
> >> >
> >> > How do you suggest to proceed?
> >> > One approach is to disable the ltp tests that use rpc entirely (on top
> >> > of your last patch), another one is to disable only the tests that use
> >> > authdes_create (on top of my original patch; reverting yours).
> >> > Other ideas are welcome, of course.
> >>
> >> The best solution seems to be fixing the root cause upstream. There was an
> >> attempt by Natanael Copa in commit c0547c56dafb8e1 (Add configure option to
> >> disable DES authentication) to add a --disable-authdes configure option to
> >> libtirpc. There was another attempt in commit 58cd17f999 (Fix: unresolved
> >> _crypt() symbols) to add a local implementation of DES. The first attempt was
> >> later reverted in commit f17b44048003 (Revert commit c0547c56dafb ('Add
> >> configure option to disable DES')) which also (inadvertedly?) removed
> >> des_crypt.c and des_impl.c from Makefile.am. Restoring the local DES
> >> implementation looks not so hard to do.
> >>
> >> In the mean time I think we can replace our
> >> 0007-Disable-DES-authentification-support.patch with something more flexible
> >> along the lines of Natanael's reverted patch.
> >
> > Which, of course, won't solve our problem.
> >
> > I'll look into the first approach (libtirpc local DES) if I find some time.
> 
> Thanks in advance, Baruch!

It turns out that making auth_des to build takes more than a DES 
implementation. NIS support is also needed.

At this point I think your original suggestion, i.e. disabling authdes_create 
tests, makes more sense. I'm not sure when I'll be able to look into this 
again, though.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

end of thread, other threads:[~2015-10-22 17:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-15 14:06 [Buildroot] ltp-testsuite without native RPC (commit 8f1c4c49a2ab0fc9e6cf73370f4483e253e5ac2d) Thomas De Schampheleire
2015-10-15 18:17 ` Baruch Siach
2015-10-19 13:26   ` Thomas De Schampheleire
2015-10-19 17:35     ` Baruch Siach
2015-10-20  3:49       ` Baruch Siach
2015-10-22  8:24         ` Thomas De Schampheleire
2015-10-22 17:00           ` Baruch Siach

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.