public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Jan Stancek <jstancek@redhat.com>
To: ltp-list <ltp-list@lists.sf.net>
Subject: [LTP] make -j64 failure while building ltp-20140115
Date: Mon, 24 Feb 2014 07:26:57 -0500 (EST)	[thread overview]
Message-ID: <1264301891.7910240.1393244817542.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <462077908.7898377.1393243192528.JavaMail.zimbra@redhat.com>

Hi,

I ran into build failure (see below) with ltp-20140115. This happened only once and all
my attempts to recreate it failed. LTP is run as part of automated testing across
multiple systems/architectures, where each system starts from clean installation.

It looks like that build process should continue with:
  /mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/rpc/basic_tests/rpc01/datafiles
but instead for some reason it jumped to root directory:
  make[7]: Entering directory `/'

Regards,
Jan


make -j64 -C ltp-full-20140115 all
make[1]: Entering directory `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115'
<snip..>
make[4]: Leaving directory `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/lib6'
make[4]: Entering directory `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/rpc'
config.status: executing depfiles commands
make[5]: Entering directory `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/rpc/basic_tests'
make[6]: Entering directory `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/rpc/basic_tests/rpc01'
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -D_FORTIFY_SOURCE=2 -Wno-error -I../../../../../include -I../../../../../include   -L../../../../../lib  rpc1.c   -o rpc1
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -D_FORTIFY_SOURCE=2 -Wno-error -I../../../../../include -I../../../../../include   -L../../../../../lib  rpc_server.c   -o rpc_server
config.status: executing default commands
rpc_server.c: In function ‘main’:
rpc_server.c:90:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if (hp = gethostbyname(host_name))
  ^
rpc_server.c:93:2: warning: implicit declaration of function ‘pmap_unset’ [-Wimplicit-function-declaration]
  pmap_unset(program, version);
  ^
rpc_server.c: In function ‘service_request’:
rpc_server.c:108:3: warning: passing argument 2 of ‘svc_sendreply’ from incompatible pointer type [enabled by default]
   svc_sendreply(transp, xdr_void, (char *)0);
   ^
In file included from /usr/include/rpc/rpc.h:56:0,
                 from rpc_server.c:8:
/usr/include/rpc/svc.h:244:15: note: expected ‘xdrproc_t’ but argument is of type ‘bool_t (*)(void)’
 extern bool_t svc_sendreply (SVCXPRT *__xprt, xdrproc_t __xdr_results,
               ^
rpc_server.c:116:3: warning: passing argument 2 of ‘transp->xp_ops->xp_getargs’ from incompatible pointer type [enabled by default]
   svc_getargs(transp, xdr_receive_data, (unsigned char *)&buffer);
   ^
rpc_server.c:116:3: note: expected ‘xdrproc_t’ but argument is of type ‘int (*)(struct XDR *, struct data **)’
rpc_server.c:116:3: warning: pointer targets in passing argument 3 of ‘transp->xp_ops->xp_getargs’ differ in signedness [-Wpointer-sign]
rpc_server.c:116:3: note: expected ‘caddr_t’ but argument is of type ‘unsigned char *’
rpc_server.c:117:3: warning: passing argument 2 of ‘svc_sendreply’ from incompatible pointer type [enabled by default]
   svc_sendreply(transp, xdr_send_data, (unsigned char *)buffer);
   ^
In file included from /usr/include/rpc/rpc.h:56:0,
                 from rpc_server.c:8:
/usr/include/rpc/svc.h:244:15: note: expected ‘xdrproc_t’ but argument is of type ‘int (*)(struct XDR *, struct data *)’
 extern bool_t svc_sendreply (SVCXPRT *__xprt, xdrproc_t __xdr_results,
               ^
rpc_server.c:117:3: warning: pointer targets in passing argument 3 of ‘svc_sendreply’ differ in signedness [-Wpointer-sign]
   svc_sendreply(transp, xdr_send_data, (unsigned char *)buffer);
   ^
In file included from /usr/include/rpc/rpc.h:56:0,
                 from rpc_server.c:8:
/usr/include/rpc/svc.h:244:15: note: expected ‘caddr_t’ but argument is of type ‘unsigned char *’
 extern bool_t svc_sendreply (SVCXPRT *__xprt, xdrproc_t __xdr_results,
               ^
rpc_server.c: In function ‘main’:
rpc1.c: In function ‘main’:
rpc_server.c:81:6: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
   dup(1);
      ^
rpc1.c:104:57: warning: argument to ‘sizeof’ in ‘memcpy’ call is the same pointer type ‘char *’ as the destination; expected ‘char’ or an explicit length [-Wsizeof-pointer-memaccess]
  memcpy((char *)&server_sin.sin_addr, hp->h_addr, sizeof(hp->h_addr));
                                                         ^
rpc1.c:137:8: warning: passing argument 5 of ‘callrpc’ from incompatible pointer type [enabled by default]
        xdr_receive_data, &return_buffer);
        ^
In file included from /usr/include/rpc/rpc.h:48:0,
                 from rpc1.c:2:
/usr/include/rpc/clnt.h:359:12: note: expected ‘xdrproc_t’ but argument is of type ‘int (*)(struct XDR *, struct data *)’
 extern int callrpc (const char *__host, const u_long __prognum,
            ^
rpc1.c:137:8: warning: passing argument 6 of ‘callrpc’ from incompatible pointer type [enabled by default]
        xdr_receive_data, &return_buffer);
        ^
In file included from /usr/include/rpc/rpc.h:48:0,
                 from rpc1.c:2:
/usr/include/rpc/clnt.h:359:12: note: expected ‘const char *’ but argument is of type ‘struct data *’
 extern int callrpc (const char *__host, const u_long __prognum,
            ^
rpc1.c:137:8: warning: passing argument 7 of ‘callrpc’ from incompatible pointer type [enabled by default]
        xdr_receive_data, &return_buffer);
        ^
In file included from /usr/include/rpc/rpc.h:48:0,
                 from rpc1.c:2:
/usr/include/rpc/clnt.h:359:12: note: expected ‘xdrproc_t’ but argument is of type ‘int (*)(struct XDR *, struct data **)’
 extern int callrpc (const char *__host, const u_long __prognum,
            ^
rpc1.c:137:8: warning: passing argument 8 of ‘callrpc’ from incompatible pointer type [enabled by default]
        xdr_receive_data, &return_buffer);
        ^
In file included from /usr/include/rpc/rpc.h:48:0,
                 from rpc1.c:2:
/usr/include/rpc/clnt.h:359:12: note: expected ‘char *’ but argument is of type ‘struct data **’
 extern int callrpc (const char *__host, const u_long __prognum,
            ^
rpc1.c:151:2: warning: passing argument 3 of ‘clnt->cl_ops->cl_call’ from incompatible pointer type [enabled by default]
  rc = (int)clnt_call(clnt, 1, xdr_send_data, &buffer,
  ^
rpc1.c:151:2: note: expected ‘xdrproc_t’ but argument is of type ‘int (*)(struct XDR *, struct data *)’
rpc1.c:151:2: warning: passing argument 4 of ‘clnt->cl_ops->cl_call’ from incompatible pointer type [enabled by default]
rpc1.c:151:2: note: expected ‘caddr_t’ but argument is of type ‘struct data *’
rpc1.c:151:2: warning: passing argument 5 of ‘clnt->cl_ops->cl_call’ from incompatible pointer type [enabled by default]
rpc1.c:151:2: note: expected ‘xdrproc_t’ but argument is of type ‘int (*)(struct XDR *, struct data **)’
rpc1.c:151:2: warning: passing argument 6 of ‘clnt->cl_ops->cl_call’ from incompatible pointer type [enabled by default]
rpc1.c:151:2: note: expected ‘caddr_t’ but argument is of type ‘struct data **’
rpc1.c:165:2: warning: passing argument 3 of ‘clnt->cl_ops->cl_call’ from incompatible pointer type [enabled by default]
  rc = (int)clnt_call(clnt, 1, xdr_send_data, &buffer,
  ^
rpc1.c:165:2: note: expected ‘xdrproc_t’ but argument is of type ‘int (*)(struct XDR *, struct data *)’
rpc1.c:165:2: warning: passing argument 4 of ‘clnt->cl_ops->cl_call’ from incompatible pointer type [enabled by default]
rpc1.c:165:2: note: expected ‘caddr_t’ but argument is of type ‘struct data *’
rpc1.c:165:2: warning: passing argument 5 of ‘clnt->cl_ops->cl_call’ from incompatible pointer type [enabled by default]
rpc1.c:165:2: note: expected ‘xdrproc_t’ but argument is of type ‘int (*)(struct XDR *, struct data **)’
rpc1.c:165:2: warning: passing argument 6 of ‘clnt->cl_ops->cl_call’ from incompatible pointer type [enabled by default]
rpc1.c:165:2: note: expected ‘caddr_t’ but argument is of type ‘struct data **’
make -C ffsb-6.0-rc2 -f "/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/utils/ffsb-6.0-rc2/Makefile" all
make[3]: Entering directory `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/utils/ffsb-6.0-rc2'
make  all-am
make[4]: Entering directory `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/utils/ffsb-6.0-rc2'
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT fileops.o -MD -MP -MF .deps/fileops.Tpo -c -o fileops.o fileops.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT rand.o -MD -MP -MF .deps/rand.Tpo -c -o rand.o rand.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT fh.o -MD -MP -MF .deps/fh.Tpo -c -o fh.o fh.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT filelist.o -MD -MP -MF .deps/filelist.Tpo -c -o filelist.o filelist.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT metaops.o -MD -MP -MF .deps/metaops.Tpo -c -o metaops.o metaops.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT rwlock.o -MD -MP -MF .deps/rwlock.Tpo -c -o rwlock.o rwlock.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT cirlist.o -MD -MP -MF .deps/cirlist.Tpo -c -o cirlist.o cirlist.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT rbt.o -MD -MP -MF .deps/rbt.Tpo -c -o rbt.o rbt.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT ffsb_tg.o -MD -MP -MF .deps/ffsb_tg.Tpo -c -o ffsb_tg.o ffsb_tg.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT ffsb_fs.o -MD -MP -MF .deps/ffsb_fs.Tpo -c -o ffsb_fs.o ffsb_fs.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT ffsb_thread.o -MD -MP -MF .deps/ffsb_thread.Tpo -c -o ffsb_thread.o ffsb_thread.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT ffsb_op.o -MD -MP -MF .deps/ffsb_op.Tpo -c -o ffsb_op.o ffsb_op.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT parser.o -MD -MP -MF .deps/parser.Tpo -c -o parser.o parser.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT ffsb_fc.o -MD -MP -MF .deps/ffsb_fc.Tpo -c -o ffsb_fc.o ffsb_fc.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT ffsb_stats.o -MD -MP -MF .deps/ffsb_stats.Tpo -c -o ffsb_stats.o ffsb_stats.c
gcc -DHAVE_CONFIG_H -I.    -D_GNU_SOURCE -g -O2 -D_REENTRANT -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c
In file included from parser.h:22:0,
                 from parser.c:25:
parser.c: In function ‘init_filesys’:
list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define offsetof(type, member) ((int) &((type *)0)->member)
                                 ^
list.h:33:28: note: in expansion of macro ‘offsetof’
  (type *)((char *)__mptr - offsetof(type, member)); })
                            ^
list.h:36:2: note: in expansion of macro ‘container_of’
  container_of(ptr, type, member)
  ^
list.h:39:13: note: in expansion of macro ‘list_entry’
  for (pos = list_entry((head)->next, typeof(*pos), member); \
             ^
parser.c:939:3: note: in expansion of macro ‘list_for_each_entry’
   list_for_each_entry(tmp_list, &list_head->list, list)
   ^
list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define offsetof(type, member) ((int) &((type *)0)->member)
                                 ^
list.h:33:28: note: in expansion of macro ‘offsetof’
  (type *)((char *)__mptr - offsetof(type, member)); })
                            ^
list.h:36:2: note: in expansion of macro ‘container_of’
  container_of(ptr, type, member)
  ^
list.h:41:13: note: in expansion of macro ‘list_entry’
       pos = list_entry(pos->member.next, typeof(*pos), member))
             ^
parser.c:939:3: note: in expansion of macro ‘list_for_each_entry’
   list_for_each_entry(tmp_list, &list_head->list, list)
   ^
list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define offsetof(type, member) ((int) &((type *)0)->member)
                                 ^
list.h:33:28: note: in expansion of macro ‘offsetof’
  (type *)((char *)__mptr - offsetof(type, member)); })
                            ^
list.h:36:2: note: in expansion of macro ‘container_of’
  container_of(ptr, type, member)
  ^
list.h:39:13: note: in expansion of macro ‘list_entry’
  for (pos = list_entry((head)->next, typeof(*pos), member); \
             ^
parser.c:947:3: note: in expansion of macro ‘list_for_each_entry’
   list_for_each_entry(tmp_list, &list_head->list, list) {
   ^
list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define offsetof(type, member) ((int) &((type *)0)->member)
                                 ^
list.h:33:28: note: in expansion of macro ‘offsetof’
  (type *)((char *)__mptr - offsetof(type, member)); })
                            ^
list.h:36:2: note: in expansion of macro ‘container_of’
  container_of(ptr, type, member)
  ^
list.h:41:13: note: in expansion of macro ‘list_entry’
       pos = list_entry(pos->member.next, typeof(*pos), member))
             ^
parser.c:947:3: note: in expansion of macro ‘list_for_each_entry’
   list_for_each_entry(tmp_list, &list_head->list, list) {
   ^
parser.c: In function ‘init_tg_stats’:
list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define offsetof(type, member) ((int) &((type *)0)->member)
                                 ^
list.h:33:28: note: in expansion of macro ‘offsetof’
  (type *)((char *)__mptr - offsetof(type, member)); })
                            ^
list.h:36:2: note: in expansion of macro ‘container_of’
  container_of(ptr, type, member)
  ^
list.h:39:13: note: in expansion of macro ‘list_entry’
  for (pos = list_entry((head)->next, typeof(*pos), member); \
             ^
parser.c:978:6: note: in expansion of macro ‘list_for_each_entry’
      list_for_each_entry(tmp_list,
      ^
list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define offsetof(type, member) ((int) &((type *)0)->member)
                                 ^
list.h:33:28: note: in expansion of macro ‘offsetof’
  (type *)((char *)__mptr - offsetof(type, member)); })
                            ^
list.h:36:2: note: in expansion of macro ‘container_of’
  container_of(ptr, type, member)
  ^
list.h:41:13: note: in expansion of macro ‘list_entry’
       pos = list_entry(pos->member.next, typeof(*pos), member))
             ^
parser.c:978:6: note: in expansion of macro ‘list_for_each_entry’
      list_for_each_entry(tmp_list,
      ^
list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define offsetof(type, member) ((int) &((type *)0)->member)
                                 ^
list.h:33:28: note: in expansion of macro ‘offsetof’
  (type *)((char *)__mptr - offsetof(type, member)); })
                            ^
list.h:36:2: note: in expansion of macro ‘container_of’
  container_of(ptr, type, member)
  ^
list.h:39:13: note: in expansion of macro ‘list_entry’
  for (pos = list_entry((head)->next, typeof(*pos), member); \
             ^
parser.c:991:6: note: in expansion of macro ‘list_for_each_entry’
      list_for_each_entry(tmp_list,
      ^
list.h:29:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define offsetof(type, member) ((int) &((type *)0)->member)
                                 ^
list.h:33:28: note: in expansion of macro ‘offsetof’
  (type *)((char *)__mptr - offsetof(type, member)); })
                            ^
list.h:36:2: note: in expansion of macro ‘container_of’
  container_of(ptr, type, member)
  ^
list.h:41:13: note: in expansion of macro ‘list_entry’
       pos = list_entry(pos->member.next, typeof(*pos), member))
             ^
parser.c:991:6: note: in expansion of macro ‘list_for_each_entry’
      list_for_each_entry(tmp_list,
      ^
mv -f .deps/rwlock.Tpo .deps/rwlock.Po
ffsb_fs.c: In function ‘fs_needs_stats’:
ffsb_fs.c:623:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  return (fs != NULL) ? (int)fs->fsd.config : 0;
                        ^
mv -f .deps/list.Tpo .deps/list.Po
mv -f .deps/cirlist.Tpo .deps/cirlist.Po
mv -f .deps/metaops.Tpo .deps/metaops.Po
mv -f .deps/rand.Tpo .deps/rand.Po
make[7]: Entering directory `/'
../../../../../../include/mk/env_pre.mk:100: //include/mk/config.mk: No such file or directory
../../../../../../include/mk/env_pre.mk:101: //include/mk/features.mk: No such file or directory
make[7]: *** No rule to make target `//include/mk/features.mk'.  Stop.
make[7]: Leaving directory `/'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/rpc/basic_tests/rpc01'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/rpc/basic_tests'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network/rpc'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases/network'
mv -f .deps/ffsb_thread.Tpo .deps/ffsb_thread.Po
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/tests/kernel/RHEL6/ltp-lite/ltp-full-20140115/testcases'
make[1]: *** [testcases-all] Error 2
make[1]: *** Waiting for unfinished jobs....

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

       reply	other threads:[~2014-02-24 12:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <462077908.7898377.1393243192528.JavaMail.zimbra@redhat.com>
2014-02-24 12:26 ` Jan Stancek [this message]
2014-02-24 13:00   ` [LTP] make -j64 failure while building ltp-20140115 chrubis
2014-05-02 12:46   ` Jan Stancek

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

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

  git send-email \
    --in-reply-to=1264301891.7910240.1393244817542.JavaMail.zimbra@redhat.com \
    --to=jstancek@redhat.com \
    --cc=ltp-list@lists.sf.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox