Opde Issues Tracker

compile.27

build number: 27

re-implement command

docker pull immortalwrt/opde:sdk
docker run -it --rm immortalwrt/opde:sdk zsh # or bash
export http_proxy= # [your proxy], do not use localhost or 127.0.0.1
export https_proxy=$http_proxy
opde feeds && opde config -a
make package/feeds/base/librpc/compile -j$(nproc) || make package/feeds/base/librpc/compile V=s

Compile.txt

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 8.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/bin/x86_64-openwrt-linux-musl-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_ASM_COMPILER
    CMAKE_ASM_COMPILER_LAUNCHER
    CMAKE_CXX_COMPILER
    CMAKE_CXX_FLAGS_RELEASE
    CMAKE_EXE_LINKER_FLAGS
    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_EXPORT_PACKAGE_REGISTRY
    CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
    CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY
    CMAKE_FIND_ROOT_PATH_MODE_LIBRARY
    CMAKE_FIND_USE_PACKAGE_REGISTRY
    CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY
    CMAKE_MODULE_LINKER_FLAGS
    DL_LIBRARY


-- Build files have been written to: /openwrt/build_dir/target-x86_64_musl/librpc-2015-11-04-a921e3de
ninja: Entering directory `/openwrt/build_dir/target-x86_64_musl/librpc-2015-11-04-a921e3de'
[1/49] Building C object CMakeFiles/rpc.dir/auth_none.c.o
FAILED: CMakeFiles/rpc.dir/auth_none.c.o 
/openwrt/staging_dir/host/bin/ccache /openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/bin/x86_64-openwrt-linux-musl-gcc -Drpc_EXPORTS  -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-x86_64_musl/librpc-2015-11-04-a921e3de=librpc-2015-11-04-a921e3de -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -fPIC   -Os -Wall --std=gnu99 -g3 -I. -include rpc/compat.h -MD -MT CMakeFiles/rpc.dir/auth_none.c.o -MF CMakeFiles/rpc.dir/auth_none.c.o.d -o CMakeFiles/rpc.dir/auth_none.c.o -c /openwrt/build_dir/target-x86_64_musl/librpc-2015-11-04-a921e3de/auth_none.c
In file included from ./rpc/rpc.h:58,
                 from /openwrt/build_dir/target-x86_64_musl/librpc-2015-11-04-a921e3de/rpc_private.h:2,
                 from /openwrt/build_dir/target-x86_64_musl/librpc-2015-11-04-a921e3de/auth_none.c:40:
./rpc/xdr.h:54:14: error: expected ';' before 'enum'
 __BEGIN_DECLS
              ^
              ;
./rpc/xdr.h:91:1:
 enum xdr_op {
 ~~~~          
./rpc/xdr.h: In function 'xdr_void':
./rpc/xdr.h:295:31: error: expected declaration specifiers before '__THROW'
 extern bool_t xdr_void (void) __THROW;
                               ^~~~~~~
./rpc/xdr.h:297:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_short (XDR *__xdrs, short *__sp) __THROW;
                                                    ^~~~~~~
./rpc/xdr.h:299:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_u_short (XDR *__xdrs, u_short *__usp) __THROW;
                                                         ^~~~~~~
./rpc/xdr.h:301:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_int (XDR *__xdrs, int *__ip) __THROW;
                                                ^~~~~~~
./rpc/xdr.h:303:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_u_int (XDR *__xdrs, u_int *__up) __THROW;
                                                    ^~~~~~~
./rpc/xdr.h:305:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_long (XDR *__xdrs, long *__lp) __THROW;
                                                  ^~~~~~~
./rpc/xdr.h:307:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_u_long (XDR *__xdrs, u_long *__ulp) __THROW;
                                                       ^~~~~~~
./rpc/xdr.h:309:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_hyper (XDR *__xdrs, quad_t *__llp) __THROW;
                                                      ^~~~~~~
./rpc/xdr.h:311:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_u_hyper (XDR *__xdrs, u_quad_t *__ullp) __THROW;
                                                           ^~~~~~~
./rpc/xdr.h:313:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_longlong_t (XDR *__xdrs, quad_t *__llp) __THROW;
                                                           ^~~~~~~
./rpc/xdr.h:314:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_u_longlong_t (XDR *__xdrs, u_quad_t *__ullp) __THROW;
                                                                ^~~~~~~
./rpc/xdr.h:315:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_int8_t (XDR *__xdrs, int8_t *__ip) __THROW;
                                                      ^~~~~~~
./rpc/xdr.h:316:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_uint8_t (XDR *__xdrs, uint8_t *__up) __THROW;
                                                        ^~~~~~~
./rpc/xdr.h:317:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_int16_t (XDR *__xdrs, int16_t *__ip) __THROW;
                                                        ^~~~~~~
./rpc/xdr.h:318:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_uint16_t (XDR *__xdrs, uint16_t *__up) __THROW;
                                                          ^~~~~~~
./rpc/xdr.h:319:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_int32_t (XDR *__xdrs, int32_t *__ip) __THROW;
                                                        ^~~~~~~
./rpc/xdr.h:320:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_uint32_t (XDR *__xdrs, uint32_t *__up) __THROW;
                                                          ^~~~~~~
./rpc/xdr.h:321:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_int64_t (XDR *__xdrs, int64_t *__ip) __THROW;
                                                        ^~~~~~~
./rpc/xdr.h:322:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_uint64_t (XDR *__xdrs, uint64_t *__up) __THROW;
                                                          ^~~~~~~
./rpc/xdr.h:323:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_bool (XDR *__xdrs, bool_t *__bp) __THROW;
                                                    ^~~~~~~
./rpc/xdr.h:325:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_enum (XDR *__xdrs, enum_t *__ep) __THROW;
                                                    ^~~~~~~
./rpc/xdr.h:329:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
      __THROW;
      ^~~~~~~
./rpc/xdr.h:332:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
     u_int __maxsize) __THROW;
                      ^~~~~~~
./rpc/xdr.h:334:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_opaque (XDR *__xdrs, caddr_t __cp, u_int __cnt) __THROW;
                                                                   ^~~~~~~
./rpc/xdr.h:336:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_string (XDR *__xdrs, char **__cpp, u_int __maxsize) __THROW;
                                                                       ^~~~~~~
./rpc/xdr.h:340:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
     xdrproc_t dfault) __THROW;
                       ^~~~~~~
./rpc/xdr.h:342:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_char (XDR *__xdrs, char *__cp) __THROW;
                                                  ^~~~~~~
./rpc/xdr.h:343:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_u_char (XDR *__xdrs, u_char *__cp) __THROW;
                                                      ^~~~~~~
./rpc/xdr.h:345:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
      u_int __elemsize, xdrproc_t __xdr_elem) __THROW;
                                              ^~~~~~~
./rpc/xdr.h:346:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_float (XDR *__xdrs, float *__fp) __THROW;
                                                    ^~~~~~~
./rpc/xdr.h:347:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_double (XDR *__xdrs, double *__dp) __THROW;
                                                      ^~~~~~~
./rpc/xdr.h:349:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
         xdrproc_t __proc) __THROW;
                           ^~~~~~~
./rpc/xdr.h:352:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
       u_int __obj_size, xdrproc_t __xdr_obj) __THROW;
                                              ^~~~~~~
./rpc/xdr.h:353:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_wrapstring (XDR *__xdrs, char **__cpp) __THROW;
                                                          ^~~~~~~
./rpc/xdr.h:354:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern u_long xdr_sizeof (xdrproc_t, void *) __THROW;
                                              ^~~~~~~
./rpc/xdr.h:361:1: warning: empty declaration
 struct netobj
 ^~~~~~
./rpc/xdr.h:366:23: error: storage class specified for parameter 'netobj'
 typedef struct netobj netobj;
                       ^~~~~~
./rpc/xdr.h:367:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_netobj (XDR *__xdrs, struct netobj *__np) __THROW;
                                                             ^~~~~~~
./rpc/xdr.h:376:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
       u_int __size, enum xdr_op __xop) __THROW;
                                        ^~~~~~~
./rpc/xdr.h:381:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
      __THROW;
      ^~~~~~~
./rpc/xdr.h:387:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
       int (*__writeit) (char *, char *, int)) __THROW;
                                               ^~~~~~~
./rpc/xdr.h:391:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdrrec_endofrecord (XDR *__xdrs, bool_t __sendnow) __THROW;
                                                                  ^~~~~~~
./rpc/xdr.h:395:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdrrec_skiprecord (XDR *__xdrs) __THROW;
                                               ^~~~~~~
./rpc/xdr.h:399:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdrrec_eof (XDR *__xdrs) __THROW;
                                        ^~~~~~~
./rpc/xdr.h:403:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern void xdr_free (xdrproc_t __proc, char *__objp) __THROW;
                                                       ^~~~~~~
./rpc/xdr.h:405:1: error: unknown type name '__END_DECLS'
 __END_DECLS
 ^~~~~~~~~~~
In file included from ./rpc/rpc.h:61,
                 from /openwrt/build_dir/target-x86_64_musl/librpc-2015-11-04-a921e3de/rpc_private.h:2,
                 from /openwrt/build_dir/target-x86_64_musl/librpc-2015-11-04-a921e3de/auth_none.c:40:
./rpc/auth.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enum'
 enum auth_stat {
 ^~~~
./rpc/auth.h:81:2: error: expected declaration specifiers before ';' token
 };
  ^
./rpc/auth.h:83:1: warning: empty declaration
 union des_block {
 ^~~~~
./rpc/auth.h:90:25: error: storage class specified for parameter 'des_block'
 typedef union des_block des_block;
                         ^~~~~~~~~
./rpc/auth.h:91:43: error: expected declaration specifiers or '...' before 'des_block'
 extern bool_t xdr_des_block (XDR *__xdrs, des_block *__blkp) __THROW;
                                           ^~~~~~~~~
./rpc/auth.h:96:1: warning: empty declaration
 struct opaque_auth {
 ^~~~~~
./rpc/auth.h:105:21: error: storage class specified for parameter 'AUTH'
 typedef struct AUTH AUTH;
                     ^~~~
./rpc/auth.h:111:26: error: expected declaration specifiers or '...' before 'AUTH'
     void (*ah_nextverf) (AUTH *);
                          ^~~~
./rpc/auth.h:112:25: error: expected declaration specifiers or '...' before 'AUTH'
     int  (*ah_marshal) (AUTH *, XDR *);  /* nextverf & serialize */
                         ^~~~
./rpc/auth.h:113:26: error: expected declaration specifiers or '...' before 'AUTH'
     int  (*ah_validate) (AUTH *, struct opaque_auth *);
                          ^~~~
./rpc/auth.h:115:25: error: expected declaration specifiers or '...' before 'AUTH'
     int  (*ah_refresh) (AUTH *);  /* refresh credentials */
                         ^~~~
./rpc/auth.h:116:25: error: expected declaration specifiers or '...' before 'AUTH'
     void (*ah_destroy) (AUTH *);  /* destroy this structure */
                         ^~~~
./rpc/auth.h:117:3: warning: no semicolon at end of struct or union
   } *ah_ops;
   ^
./rpc/auth.h:106:1: warning: empty declaration
 struct AUTH {
 ^~~~~~
./rpc/auth.h:156:27: error: storage class specified for parameter '_null_auth'
 extern struct opaque_auth _null_auth;
                           ^~~~~~~~~~
./rpc/auth.h:172:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 extern AUTH *authunix_create (char *__machname, __uid_t __uid, __gid_t __gid,
             ^
./rpc/auth.h:175:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 extern AUTH *authunix_create_default (void);
             ^
./rpc/auth.h:177:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 extern AUTH *authnone_create (void) __THROW;
             ^
./rpc/auth.h:227:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern bool_t xdr_opaque_auth (XDR *, struct opaque_auth *) __THROW;
                                                             ^~~~~~~
./rpc/auth.h:230:1: error: expected declaration specifiers before '__END_DECLS'
 __END_DECLS
 ^~~~~~~~~~~
In file included from ./rpc/clnt.h:44,
                 from ./rpc/rpc.h:64,
                 from /openwrt/build_dir/target-x86_64_musl/librpc-2015-11-04-a921e3de/rpc_private.h:2,
                 from /openwrt/build_dir/target-x86_64_musl/librpc-2015-11-04-a921e3de/auth_none.c:40:
/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/sys/un.h:20:2: error: expected declaration specifiers before ';' token
 };
  ^
In file included from ./rpc/rpc.h:64,
                 from /openwrt/build_dir/target-x86_64_musl/librpc-2015-11-04-a921e3de/rpc_private.h:2,
                 from /openwrt/build_dir/target-x86_64_musl/librpc-2015-11-04-a921e3de/auth_none.c:40:
./rpc/clnt.h:46:1: error: expected declaration specifiers before '__BEGIN_DECLS'
 __BEGIN_DECLS
 ^~~~~~~~~~~~~
./rpc/clnt.h:100:2: error: expected declaration specifiers before ';' token
 };
  ^
./rpc/clnt.h:107:18: error: field 're_status' has incomplete type
   enum clnt_stat re_status;
                  ^~~~~~~~~
./rpc/clnt.h:110:20: error: field 'RE_why' has incomplete type
     enum auth_stat RE_why; /* why the auth error occurred */
                    ^~~~~~
./rpc/clnt.h:106:1: warning: empty declaration
 struct rpc_err {
 ^~~~~~
./rpc/clnt.h:132:23: error: storage class specified for parameter 'CLIENT'
 typedef struct CLIENT CLIENT;
                       ^~~~~~
./rpc/clnt.h:134:3: error: expected specifier-qualifier-list before 'AUTH'
   AUTH *cl_auth;   /* authenticator */
   ^~~~
./rpc/clnt.h:133:1: warning: empty declaration
 struct CLIENT {
 ^~~~~~
./rpc/clnt.h:284:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 extern CLIENT *clntraw_create (__const u_long __prog, __const u_long __vers)
               ^
./rpc/clnt.h:298:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 extern CLIENT *clnt_create (__const char *__host, __const u_long __prog,
               ^
./rpc/clnt.h:314:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 extern CLIENT *clnttcp_create (struct sockaddr_in *__raddr, u_long __prog,
               ^
./rpc/clnt.h:340:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 extern CLIENT *clntudp_create (struct sockaddr_in *__raddr, u_long __program,
               ^
./rpc/clnt.h:344:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 extern CLIENT *clntudp_bufcreate (struct sockaddr_in *__raddr,
               ^
./rpc/clnt.h:362:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 extern CLIENT *clntunix_create  (struct sockaddr_un *__raddr, u_long __program,
               ^
./rpc/clnt.h:371:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
       __const xdrproc_t __outproc, char *__out) __THROW;
                                                 ^~~~~~~
./rpc/clnt.h:372:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern int _rpc_dtablesize (void) __THROW;
                                   ^~~~~~~
./rpc/clnt.h:378:13: error: storage class specified for parameter 'clnt_pcreateerror'
 extern void clnt_pcreateerror (__const char *__msg); /* stderr */
             ^~~~~~~~~~~~~~~~~
./rpc/clnt.h:379:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern char *clnt_spcreateerror(__const char *__msg) __THROW; /* string */
                                                      ^~~~~~~
./rpc/clnt.h:385:13: error: storage class specified for parameter 'clnt_perrno'
 extern void clnt_perrno (enum clnt_stat __num);  /* stderr */
             ^~~~~~~~~~~
./rpc/clnt.h:390:26: error: expected declaration specifiers or '...' before 'CLIENT'
 extern void clnt_perror (CLIENT *__clnt, __const char *__msg);
                          ^~~~~~
./rpc/clnt.h:393:28: error: expected declaration specifiers or '...' before 'CLIENT'
 extern char *clnt_sperror (CLIENT *__clnt, __const char *__msg) __THROW;
                            ^~~~~~
./rpc/clnt.h:402:17: error: field 'cf_stat' has incomplete type
  enum clnt_stat cf_stat;
                 ^~~~~~~
./rpc/clnt.h:401:1: warning: empty declaration
 struct rpc_createerr {
 ^~~~~~
./rpc/clnt.h:406:29: error: storage class specified for parameter 'rpc_createerr'
 extern struct rpc_createerr rpc_createerr;
                             ^~~~~~~~~~~~~
./rpc/clnt.h:413:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern char *clnt_sperrno (enum clnt_stat __num) __THROW; /* string */
                                                  ^~~~~~~
./rpc/clnt.h:420:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
          u_long __versnum, u_int proto) __THROW;
                                         ^~~~~~~
./rpc/clnt.h:426:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
 extern void get_myaddress (struct sockaddr_in *) __THROW;
                                                  ^~~~~~~
In file included from ./rpc/rpc.h:67,
                 from /openwrt/build_dir/target-x86_64_musl/librpc-2015-11-04-a921e3de/rpc_private.h:2,
                 from /openwrt/build_dir/target-x86_64_musl/librpc-2015-11-04-a921e3de/auth_none.c:40:
./rpc/rpc_msg.h:35:10: fatal error: sys/cdefs.h: No such file or directory
 #include <sys/cdefs.h>
          ^~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile:45: /openwrt/build_dir/target-x86_64_musl/librpc-2015-11-04-a921e3de/.built] Error 1
Last updated on 6 Oct 2021
Published on 6 Oct 2021