All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/1] m4: Remove workaround for old pkg-config
@ 2020-11-10 12:09 Petr Vorel
  2020-11-11  9:39 ` Cyril Hrubis
  0 siblings, 1 reply; 7+ messages in thread
From: Petr Vorel @ 2020-11-10 12:09 UTC (permalink / raw)
  To: ltp

fix was for 0.24 which is probably old enough (released in 2010;
problematic 0.23 was released 2008).

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Travis CI:
https://travis-ci.org/github/pevik/ltp/builds/742685737

 m4/ltp-tirpc.m4 | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/m4/ltp-tirpc.m4 b/m4/ltp-tirpc.m4
index 4d9701469..f06fed3d9 100644
--- a/m4/ltp-tirpc.m4
+++ b/m4/ltp-tirpc.m4
@@ -22,9 +22,4 @@ AC_DEFUN([LTP_CHECK_TIRPC], [
 	if test "x$have_libtirpc" = "xyes" -o "x$have_rpc_glibc" = "xyes"; then
 		AC_SUBST(HAVE_RPC, 1)
 	fi
-
-	dnl fix for old pkg-config (< 0.24)
-	dnl https://autotools.io/pkgconfig/pkg_check_modules.html
-	AC_SUBST(TIRPC_CFLAGS)
-	AC_SUBST(TIRPC_LIBS)
 ])
-- 
2.29.2


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

* [LTP] [PATCH 1/1] m4: Remove workaround for old pkg-config
  2020-11-10 12:09 [LTP] [PATCH 1/1] m4: Remove workaround for old pkg-config Petr Vorel
@ 2020-11-11  9:39 ` Cyril Hrubis
  2020-11-11  9:51   ` Li Wang
  0 siblings, 1 reply; 7+ messages in thread
From: Cyril Hrubis @ 2020-11-11  9:39 UTC (permalink / raw)
  To: ltp

Hi!
Looks good to me, let's apply this unless anybody complains.

-- 
Cyril Hrubis
chrubis@suse.cz

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

* [LTP] [PATCH 1/1] m4: Remove workaround for old pkg-config
  2020-11-11  9:39 ` Cyril Hrubis
@ 2020-11-11  9:51   ` Li Wang
  2020-11-11  9:55     ` Petr Vorel
  0 siblings, 1 reply; 7+ messages in thread
From: Li Wang @ 2020-11-11  9:51 UTC (permalink / raw)
  To: ltp

Hi,

On Wed, Nov 11, 2020 at 5:38 PM Cyril Hrubis <chrubis@suse.cz> wrote:

> Hi!
> Looks good to me, let's apply this unless anybody complains.
>

Hold on, please.

Seems we have to replace TIRPC_LIBS/TIRPC_CFLAGS with LIBTIRPC_* in all
respective Makefiles? Otherwise, it will fail like the Travis CI job I
guess.

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20201111/e805a9bf/attachment.htm>

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

* [LTP] [PATCH 1/1] m4: Remove workaround for old pkg-config
  2020-11-11  9:51   ` Li Wang
@ 2020-11-11  9:55     ` Petr Vorel
  2020-11-11 10:51       ` Li Wang
  0 siblings, 1 reply; 7+ messages in thread
From: Petr Vorel @ 2020-11-11  9:55 UTC (permalink / raw)
  To: ltp

Hi,

> On Wed, Nov 11, 2020 at 5:38 PM Cyril Hrubis <chrubis@suse.cz> wrote:

> > Hi!
> > Looks good to me, let's apply this unless anybody complains.


> Hold on, please.

> Seems we have to replace TIRPC_LIBS/TIRPC_CFLAGS with LIBTIRPC_* in all
> respective Makefiles? Otherwise, it will fail like the Travis CI job I
> guess.

Correct, currently would fail without it.
https://travis-ci.org/github/pevik/ltp/builds/742685737

I'll send v2 where I implement this.

Kind regards,
Petr

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

* [LTP] [PATCH 1/1] m4: Remove workaround for old pkg-config
  2020-11-11  9:55     ` Petr Vorel
@ 2020-11-11 10:51       ` Li Wang
  2020-11-11 11:48         ` Petr Vorel
  0 siblings, 1 reply; 7+ messages in thread
From: Li Wang @ 2020-11-11 10:51 UTC (permalink / raw)
  To: ltp

On Wed, Nov 11, 2020 at 5:56 PM Petr Vorel <pvorel@suse.cz> wrote:

> Hi,
>
> > On Wed, Nov 11, 2020 at 5:38 PM Cyril Hrubis <chrubis@suse.cz> wrote:
>
> > > Hi!
> > > Looks good to me, let's apply this unless anybody complains.
>
>
> > Hold on, please.
>
> > Seems we have to replace TIRPC_LIBS/TIRPC_CFLAGS with LIBTIRPC_* in all
> > respective Makefiles? Otherwise, it will fail like the Travis CI job I
> > guess.
>
> Correct, currently would fail without it.
> https://travis-ci.org/github/pevik/ltp/builds/742685737
>
> I'll send v2 where I implement this.
>

Thanks, I modified base on your patch, test result FYI
https://github.com/wangli5665/ltp/commit/dad10021771101e7fdd416af894be7484fcb7a52
https://travis-ci.org/github/wangli5665/ltp/builds/742909686


-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20201111/5bf743f8/attachment.htm>

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

* [LTP] [PATCH 1/1] m4: Remove workaround for old pkg-config
  2020-11-11 10:51       ` Li Wang
@ 2020-11-11 11:48         ` Petr Vorel
  2020-11-11 12:47           ` Li Wang
  0 siblings, 1 reply; 7+ messages in thread
From: Petr Vorel @ 2020-11-11 11:48 UTC (permalink / raw)
  To: ltp

Hi Li,

> On Wed, Nov 11, 2020 at 5:56 PM Petr Vorel <pvorel@suse.cz> wrote:

> > Hi,

> > > On Wed, Nov 11, 2020 at 5:38 PM Cyril Hrubis <chrubis@suse.cz> wrote:

> > > > Hi!
> > > > Looks good to me, let's apply this unless anybody complains.


> > > Hold on, please.

> > > Seems we have to replace TIRPC_LIBS/TIRPC_CFLAGS with LIBTIRPC_* in all
> > > respective Makefiles? Otherwise, it will fail like the Travis CI job I
> > > guess.

> > Correct, currently would fail without it.
> > https://travis-ci.org/github/pevik/ltp/builds/742685737

> > I'll send v2 where I implement this.


> Thanks, I modified base on your patch, test result FYI
> https://github.com/wangli5665/ltp/commit/dad10021771101e7fdd416af894be7484fcb7a52
> https://travis-ci.org/github/wangli5665/ltp/builds/742909686
You implemented it, thank you. Please push it after Travis finishes.

Just an explanation, why I introduced TIRPC_{CFLAGS,LIBS}: there was Sun-RPC
implementation in glibc, which I wanted to test. Thus variable name without
"LIB" to say, that it could be also glibc.

But Sun-RPC is broken, was deprecated and my patchset which removes it from
glibc was accepted and released in glibc 2.32. Thus I'm going to send patch
which reverts the commit 60b20c428060b20c428 ("rpc: Enable and fix build basic
RPC tests with glibc SunRPC").

My long term goal: fix and cleanup RPC tests (some are failing also with
libtirpc), move these tests to libtirpc sources (they needs to be cleaned. And
also I'd prefer to not put there whole LTP library, but just needed subset).

Kind regards,
Petr

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

* [LTP] [PATCH 1/1] m4: Remove workaround for old pkg-config
  2020-11-11 11:48         ` Petr Vorel
@ 2020-11-11 12:47           ` Li Wang
  0 siblings, 0 replies; 7+ messages in thread
From: Li Wang @ 2020-11-11 12:47 UTC (permalink / raw)
  To: ltp

Hi Petr,

On Wed, Nov 11, 2020 at 7:48 PM Petr Vorel <pvorel@suse.cz> wrote:

> Hi Li,
>
> > On Wed, Nov 11, 2020 at 5:56 PM Petr Vorel <pvorel@suse.cz> wrote:
>
> > > Hi,
>
> > > > On Wed, Nov 11, 2020 at 5:38 PM Cyril Hrubis <chrubis@suse.cz>
> wrote:
>
> > > > > Hi!
> > > > > Looks good to me, let's apply this unless anybody complains.
>
>
> > > > Hold on, please.
>
> > > > Seems we have to replace TIRPC_LIBS/TIRPC_CFLAGS with LIBTIRPC_* in
> all
> > > > respective Makefiles? Otherwise, it will fail like the Travis CI job
> I
> > > > guess.
>
> > > Correct, currently would fail without it.
> > > https://travis-ci.org/github/pevik/ltp/builds/742685737
>
> > > I'll send v2 where I implement this.
>
>
> > Thanks, I modified base on your patch, test result FYI
> >
> https://github.com/wangli5665/ltp/commit/dad10021771101e7fdd416af894be7484fcb7a52
> > https://travis-ci.org/github/wangli5665/ltp/builds/742909686
> You implemented it, thank you. Please push it after Travis finishes.


Pushed, and thanks for the explanation.

>
> Just an explanation, why I introduced TIRPC_{CFLAGS,LIBS}: there was
> Sun-RPC
> implementation in glibc, which I wanted to test. Thus variable name without
> "LIB" to say, that it could be also glibc.
>
> But Sun-RPC is broken, was deprecated and my patchset which removes it from
> glibc was accepted and released in glibc 2.32. Thus I'm going to send patch
> which reverts the commit 60b20c428060b20c428 ("rpc: Enable and fix build
> basic
> RPC tests with glibc SunRPC").
>
> My long term goal: fix and cleanup RPC tests (some are failing also with
> libtirpc), move these tests to libtirpc sources (they needs to be cleaned.
> And
> also I'd prefer to not put there whole LTP library, but just needed
> subset).
>
> Kind regards,
> Petr
>
>

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20201111/6b807d74/attachment.htm>

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

end of thread, other threads:[~2020-11-11 12:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 12:09 [LTP] [PATCH 1/1] m4: Remove workaround for old pkg-config Petr Vorel
2020-11-11  9:39 ` Cyril Hrubis
2020-11-11  9:51   ` Li Wang
2020-11-11  9:55     ` Petr Vorel
2020-11-11 10:51       ` Li Wang
2020-11-11 11:48         ` Petr Vorel
2020-11-11 12:47           ` Li Wang

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.