Advertisement
gvalkov

gettext-full: fix compilation under macOS 01

Oct 5th, 2021
1,103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 33.70 KB | None | 0 0
  1. # before patch
  2. make package/rpcsvc-proto/host/compile V=sc
  3.  
  4. make[1]: Entering directory '/Volumes/wrt3200/openwrt'
  5. make[2]: Entering directory '/Volumes/wrt3200/openwrt/package/libs/gettext-full'
  6. mkdir -p /Volumes/wrt3200/openwrt/dl
  7. SHELL= flock /Volumes/wrt3200/openwrt/tmp/.gettext-0.21.tar.xz.flock -c '   /Volumes/wrt3200/openwrt/scripts/download.pl "/Volumes/wrt3200/openwrt/dl" "gettext-0.21.tar.xz" "d20fcbb537e02dcf1383197ba05bd0734ef7bf5db06bdb241eb69b7d16b73192" "" "@GNU/gettext"    '
  8. make[2]: Leaving directory '/Volumes/wrt3200/openwrt/package/libs/gettext-full'
  9. time: package/libs/gettext-full/host-compile#0.30#0.36#1.15
  10. make[2]: Entering directory '/Volumes/wrt3200/openwrt/feeds/packages/libs/rpcsvc-proto'
  11. mkdir -p /Volumes/wrt3200/openwrt/dl
  12. SHELL= flock /Volumes/wrt3200/openwrt/tmp/.rpcsvc-proto-1.4.2.tar.xz.flock -c '     /Volumes/wrt3200/openwrt/scripts/download.pl "/Volumes/wrt3200/openwrt/dl" "rpcsvc-proto-1.4.2.tar.xz" "678851b9f7ddf4410d2859c12016b65a6dd1a0728d478f18aeb54d165352f17c" "" "https://github.com/thkukuk/rpcsvc-proto/releases/download/v1.4.2"    '
  13. + curl -f --connect-timeout 20 --retry 5 --location --insecure https://github.com/thkukuk/rpcsvc-proto/releases/download/v1.4.2/rpcsvc-proto-1.4.2.tar.xz
  14.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  15.                                  Dload  Upload   Total   Spent    Left  Speed
  16. 100   631  100   631    0     0   1306      0 --:--:-- --:--:-- --:--:--  1303
  17. 100  167k  100  167k    0     0   144k      0  0:00:01  0:00:01 --:--:--  144k
  18. . /Volumes/wrt3200/openwrt/include/shell.sh; xzcat /Volumes/wrt3200/openwrt/dl/rpcsvc-proto-1.4.2.tar.xz | tar -C /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2/.. -xf -
  19. [ ! -d ./src/ ] || cp -fpR ./src/* /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2
  20. touch /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2/.preparedd85720d79dfdd09531c4a9aba6198912_6664517399ebbbc92a37c5bb081b5c53
  21. (cd /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2/; if [ -x configure ]; then cp -fpR /Volumes/wrt3200/openwrt/scripts/config.{guess,sub} /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2// && CC="gcc" CFLAGS="-O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include" CXX="g++" CPPFLAGS="-I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include" LDFLAGS="-L/Volumes/wrt3200/openwrt/staging_dir/host/lib -L/Volumes/wrt3200/openwrt/staging_dir/hostpkg/lib -L/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/lib" CONFIG_SHELL="/usr/bin/env bash"  bash ./configure --target=x86_64-apple-darwin20.6.0 --host=x86_64-apple-darwin20.6.0 --build=x86_64-apple-darwin20.6.0 --program-prefix="" --program-suffix="" --prefix=/Volumes/wrt3200/openwrt/staging_dir/hostpkg --exec-prefix=/Volumes/wrt3200/openwrt/staging_dir/hostpkg --sysconfdir=/Volumes/wrt3200/openwrt/staging_dir/hostpkg/etc --localstatedir=/Volumes/wrt3200/openwrt/staging_dir/hostpkg/var --sbindir=/Volumes/wrt3200/openwrt/staging_dir/hostpkg/bin ; fi )
  22. configure: loading site script /Volumes/wrt3200/openwrt/include/site/darwin
  23. checking for a BSD-compatible install... /Volumes/wrt3200/openwrt/staging_dir/host/bin/install -c
  24. checking whether build environment is sane... yes
  25. checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
  26. checking for gawk... gawk
  27. checking whether make sets $(MAKE)... yes
  28. checking whether make supports nested variables... yes
  29. checking for x86_64-apple-darwin20.6.0-gcc... gcc
  30. checking whether the C compiler works... yes
  31. checking for C compiler default output file name... a.out
  32. checking for suffix of executables...
  33. checking whether we are cross compiling... no
  34. checking for suffix of object files... o
  35. checking whether we are using the GNU C compiler... yes
  36. checking whether gcc accepts -g... yes
  37. checking for gcc option to accept ISO C89... none needed
  38. checking whether gcc understands -c and -o together... yes
  39. checking for style of include used by make... GNU
  40. checking dependency style of gcc... gcc3
  41. checking how to run the C preprocessor... gcc -E
  42. checking for grep that handles long lines and -e... /Volumes/wrt3200/openwrt/staging_dir/host/bin/grep
  43. checking for egrep... /Volumes/wrt3200/openwrt/staging_dir/host/bin/grep -E
  44. checking for ANSI C header files... yes
  45. checking for sys/types.h... yes
  46. checking for sys/stat.h... yes
  47. checking for stdlib.h... yes
  48. checking for string.h... yes
  49. checking for memory.h... yes
  50. checking for strings.h... yes
  51. checking for inttypes.h... yes
  52. checking for stdint.h... yes
  53. checking for unistd.h... yes
  54. checking minix/config.h usability... no
  55. checking minix/config.h presence... no
  56. checking for minix/config.h... no
  57. checking whether it is safe to define __EXTENSIONS__... yes
  58. checking how to run the C preprocessor... gcc -E
  59. checking for library containing strerror... none required
  60. checking whether make sets $(MAKE)... (cached) yes
  61. checking for a sed that does not truncate output... /Volumes/wrt3200/openwrt/staging_dir/host/bin/sed
  62. checking whether NLS is requested... yes
  63. checking for msgfmt... /Volumes/wrt3200/openwrt/staging_dir/hostpkg/bin/msgfmt
  64. checking for gmsgfmt... /Volumes/wrt3200/openwrt/staging_dir/hostpkg/bin/msgfmt
  65. checking for xgettext... /Volumes/wrt3200/openwrt/staging_dir/hostpkg/bin/xgettext
  66. checking for msgmerge... /Volumes/wrt3200/openwrt/staging_dir/hostpkg/bin/msgmerge
  67. checking build system type... x86_64-apple-darwin20.6.0
  68. checking host system type... x86_64-apple-darwin20.6.0
  69. checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
  70. checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
  71. checking for shared library run path origin... done
  72. checking for CFPreferencesCopyAppValue... yes
  73. checking for CFLocaleCopyCurrent... yes
  74. checking for GNU gettext in libc... no
  75. checking for iconv... yes
  76. checking for working iconv... no
  77. checking for GNU gettext in libintl... no
  78. checking whether to use NLS... no
  79. checking that generated files are newer than configure... done
  80. configure: creating ./config.status
  81. config.status: creating Makefile
  82. config.status: creating rpcgen/Makefile
  83. config.status: creating rpcsvc/Makefile
  84. config.status: creating po/Makefile.in
  85. config.status: creating config.h
  86. config.status: executing depfiles commands
  87. config.status: executing po-directories commands
  88. config.status: creating po/POTFILES
  89. config.status: creating po/Makefile
  90. touch /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2/.configured
  91. CFLAGS="-O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include" CPPFLAGS="-I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include" CXXFLAGS="" LDFLAGS="-L/Volumes/wrt3200/openwrt/staging_dir/host/lib -L/Volumes/wrt3200/openwrt/staging_dir/hostpkg/lib -L/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/lib" make -j1 -C /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2  
  92. make[3]: Entering directory '/Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2'
  93. make  all-recursive
  94. make[4]: Entering directory '/Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2'
  95. Making all in rpcgen
  96. make[5]: Entering directory '/Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2/rpcgen'
  97. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_clntout.o -MD -MP -MF .deps/rpc_clntout.Tpo -c -o rpc_clntout.o rpc_clntout.c
  98. mv -f .deps/rpc_clntout.Tpo .deps/rpc_clntout.Po
  99. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_cout.o -MD -MP -MF .deps/rpc_cout.Tpo -c -o rpc_cout.o rpc_cout.c
  100. mv -f .deps/rpc_cout.Tpo .deps/rpc_cout.Po
  101. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_hout.o -MD -MP -MF .deps/rpc_hout.Tpo -c -o rpc_hout.o rpc_hout.c
  102. mv -f .deps/rpc_hout.Tpo .deps/rpc_hout.Po
  103. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_main.o -MD -MP -MF .deps/rpc_main.Tpo -c -o rpc_main.o rpc_main.c
  104. rpc_main.c:336:7: warning: 'stat64' is deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
  105.   if (stat64 (CPP, &buf) == 0)
  106.       ^
  107. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:427:9: note: 'stat64' has been explicitly marked deprecated here
  108. int     stat64(const char *, struct stat64 *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_NA, __IPHONE_NA);
  109.         ^
  110. rpc_main.c:1125:9: warning: 'stat64' is deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
  111.     if (stat64 (infile, &buf) < 0)
  112.         ^
  113. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:427:9: note: 'stat64' has been explicitly marked deprecated here
  114. int     stat64(const char *, struct stat64 *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_NA, __IPHONE_NA);
  115.         ^
  116. rpc_main.c:1132:11: warning: 'stat64' is deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
  117.       if (stat64 (outfile, &buf) < 0)
  118.           ^
  119. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:427:9: note: 'stat64' has been explicitly marked deprecated here
  120. int     stat64(const char *, struct stat64 *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_NA, __IPHONE_NA);
  121.         ^
  122. 3 warnings generated.
  123. mv -f .deps/rpc_main.Tpo .deps/rpc_main.Po
  124. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_parse.o -MD -MP -MF .deps/rpc_parse.Tpo -c -o rpc_parse.o rpc_parse.c
  125. mv -f .deps/rpc_parse.Tpo .deps/rpc_parse.Po
  126. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_sample.o -MD -MP -MF .deps/rpc_sample.Tpo -c -o rpc_sample.o rpc_sample.c
  127. mv -f .deps/rpc_sample.Tpo .deps/rpc_sample.Po
  128. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_scan.o -MD -MP -MF .deps/rpc_scan.Tpo -c -o rpc_scan.o rpc_scan.c
  129. mv -f .deps/rpc_scan.Tpo .deps/rpc_scan.Po
  130. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_svcout.o -MD -MP -MF .deps/rpc_svcout.Tpo -c -o rpc_svcout.o rpc_svcout.c
  131. mv -f .deps/rpc_svcout.Tpo .deps/rpc_svcout.Po
  132. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_tblout.o -MD -MP -MF .deps/rpc_tblout.Tpo -c -o rpc_tblout.o rpc_tblout.c
  133. mv -f .deps/rpc_tblout.Tpo .deps/rpc_tblout.Po
  134. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_util.o -MD -MP -MF .deps/rpc_util.Tpo -c -o rpc_util.o rpc_util.c
  135. mv -f .deps/rpc_util.Tpo .deps/rpc_util.Po
  136. gcc  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -L/Volumes/wrt3200/openwrt/staging_dir/host/lib -L/Volumes/wrt3200/openwrt/staging_dir/hostpkg/lib -L/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/lib -o rpcgen rpc_clntout.o rpc_cout.o rpc_hout.o rpc_main.o rpc_parse.o rpc_sample.o rpc_scan.o rpc_svcout.o rpc_tblout.o rpc_util.o  
  137. ld: warning: directory not found for option '-L/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/lib'
  138. Undefined symbols for architecture x86_64:
  139.   "_libintl_gettext", referenced from:
  140.       _main in rpc_main.o
  141.       _usage in rpc_main.o
  142.       _checkfiles in rpc_main.o
  143.       _c_output in rpc_main.o
  144.       _h_output in rpc_main.o
  145.       _l_output in rpc_main.o
  146.       _s_output in rpc_main.o
  147.       ...
  148.   "_libintl_setlocale", referenced from:
  149.       _main in rpc_main.o
  150.   "_libintl_textdomain", referenced from:
  151.       _main in rpc_main.o
  152. ld: symbol(s) not found for architecture x86_64
  153. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  154. make[5]: *** [Makefile:421: rpcgen] Error 1
  155. make[5]: Leaving directory '/Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2/rpcgen'
  156. make[4]: *** [Makefile:391: all-recursive] Error 1
  157. make[4]: Leaving directory '/Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2'
  158. make[3]: *** [Makefile:332: all] Error 2
  159. make[3]: Leaving directory '/Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2'
  160. make[2]: *** [Makefile:51: /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2/.built] Error 2
  161. make[2]: Leaving directory '/Volumes/wrt3200/openwrt/feeds/packages/libs/rpcsvc-proto'
  162. time: package/feeds/packages/rpcsvc-proto/host-compile#3.59#2.09#9.36
  163.     ERROR: package/feeds/packages/rpcsvc-proto [host] failed to build.
  164. make[1]: *** [package/Makefile:114: package/feeds/packages/rpcsvc-proto/host/compile] Error 1
  165. make[1]: Leaving directory '/Volumes/wrt3200/openwrt'
  166. make: *** [/Volumes/wrt3200/openwrt/include/toplevel.mk:230: package/rpcsvc-proto/host/compile] Error 2
  167.  
  168.  
  169. # after patch
  170. make package/rpcsvc-proto/host/compile V=sc
  171.  
  172. g@gMac:/Volumes/wrt3200/openwrt$ make package/rpcsvc-proto/host/compile V=sc
  173. make[1]: Entering directory '/Volumes/wrt3200/openwrt'
  174. make[2]: Entering directory '/Volumes/wrt3200/openwrt/package/libs/libiconv'
  175. make[2]: Leaving directory '/Volumes/wrt3200/openwrt/package/libs/libiconv'
  176. time: package/libs/libiconv/host-compile#0.36#0.15#0.57
  177. make[2]: Entering directory '/Volumes/wrt3200/openwrt/package/libs/gettext-full'
  178. mkdir -p /Volumes/wrt3200/openwrt/dl
  179. SHELL= flock /Volumes/wrt3200/openwrt/tmp/.gettext-0.21.tar.xz.flock -c '   /Volumes/wrt3200/openwrt/scripts/download.pl "/Volumes/wrt3200/openwrt/dl" "gettext-0.21.tar.xz" "d20fcbb537e02dcf1383197ba05bd0734ef7bf5db06bdb241eb69b7d16b73192" "" "@GNU/gettext"    '
  180. make[2]: Leaving directory '/Volumes/wrt3200/openwrt/package/libs/gettext-full'
  181. time: package/libs/gettext-full/host-compile#0.28#0.24#0.56
  182. make[2]: Entering directory '/Volumes/wrt3200/openwrt/feeds/packages/libs/rpcsvc-proto'
  183. mkdir -p /Volumes/wrt3200/openwrt/dl
  184. SHELL= flock /Volumes/wrt3200/openwrt/tmp/.rpcsvc-proto-1.4.2.tar.xz.flock -c '     /Volumes/wrt3200/openwrt/scripts/download.pl "/Volumes/wrt3200/openwrt/dl" "rpcsvc-proto-1.4.2.tar.xz" "678851b9f7ddf4410d2859c12016b65a6dd1a0728d478f18aeb54d165352f17c" "" "https://github.com/thkukuk/rpcsvc-proto/releases/download/v1.4.2"    '
  185. . /Volumes/wrt3200/openwrt/include/shell.sh; xzcat /Volumes/wrt3200/openwrt/dl/rpcsvc-proto-1.4.2.tar.xz | tar -C /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2/.. -xf -
  186. [ ! -d ./src/ ] || cp -fpR ./src/* /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2
  187. touch /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2/.preparedd85720d79dfdd09531c4a9aba6198912_6664517399ebbbc92a37c5bb081b5c53
  188. (cd /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2/; if [ -x configure ]; then cp -fpR /Volumes/wrt3200/openwrt/scripts/config.{guess,sub} /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2// && CC="gcc" CFLAGS="-O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include" CXX="g++" CPPFLAGS="-I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include" LDFLAGS="-L/Volumes/wrt3200/openwrt/staging_dir/host/lib -L/Volumes/wrt3200/openwrt/staging_dir/hostpkg/lib -L/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/lib" CONFIG_SHELL="/usr/bin/env bash"  bash ./configure --target=x86_64-apple-darwin20.6.0 --host=x86_64-apple-darwin20.6.0 --build=x86_64-apple-darwin20.6.0 --program-prefix="" --program-suffix="" --prefix=/Volumes/wrt3200/openwrt/staging_dir/hostpkg --exec-prefix=/Volumes/wrt3200/openwrt/staging_dir/hostpkg --sysconfdir=/Volumes/wrt3200/openwrt/staging_dir/hostpkg/etc --localstatedir=/Volumes/wrt3200/openwrt/staging_dir/hostpkg/var --sbindir=/Volumes/wrt3200/openwrt/staging_dir/hostpkg/bin ; fi )
  189. configure: loading site script /Volumes/wrt3200/openwrt/include/site/darwin
  190. checking for a BSD-compatible install... /Volumes/wrt3200/openwrt/staging_dir/host/bin/install -c
  191. checking whether build environment is sane... yes
  192. checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
  193. checking for gawk... gawk
  194. checking whether make sets $(MAKE)... yes
  195. checking whether make supports nested variables... yes
  196. checking for x86_64-apple-darwin20.6.0-gcc... gcc
  197. checking whether the C compiler works... yes
  198. checking for C compiler default output file name... a.out
  199. checking for suffix of executables...
  200. checking whether we are cross compiling... no
  201. checking for suffix of object files... o
  202. checking whether we are using the GNU C compiler... yes
  203. checking whether gcc accepts -g... yes
  204. checking for gcc option to accept ISO C89... none needed
  205. checking whether gcc understands -c and -o together... yes
  206. checking for style of include used by make... GNU
  207. checking dependency style of gcc... gcc3
  208. checking how to run the C preprocessor... gcc -E
  209. checking for grep that handles long lines and -e... /Volumes/wrt3200/openwrt/staging_dir/host/bin/grep
  210. checking for egrep... /Volumes/wrt3200/openwrt/staging_dir/host/bin/grep -E
  211. checking for ANSI C header files... yes
  212. checking for sys/types.h... yes
  213. checking for sys/stat.h... yes
  214. checking for stdlib.h... yes
  215. checking for string.h... yes
  216. checking for memory.h... yes
  217. checking for strings.h... yes
  218. checking for inttypes.h... yes
  219. checking for stdint.h... yes
  220. checking for unistd.h... yes
  221. checking minix/config.h usability... no
  222. checking minix/config.h presence... no
  223. checking for minix/config.h... no
  224. checking whether it is safe to define __EXTENSIONS__... yes
  225. checking how to run the C preprocessor... gcc -E
  226. checking for library containing strerror... none required
  227. checking whether make sets $(MAKE)... (cached) yes
  228. checking for a sed that does not truncate output... /Volumes/wrt3200/openwrt/staging_dir/host/bin/sed
  229. checking whether NLS is requested... yes
  230. checking for msgfmt... /Volumes/wrt3200/openwrt/staging_dir/hostpkg/bin/msgfmt
  231. checking for gmsgfmt... /Volumes/wrt3200/openwrt/staging_dir/hostpkg/bin/msgfmt
  232. checking for xgettext... /Volumes/wrt3200/openwrt/staging_dir/hostpkg/bin/xgettext
  233. checking for msgmerge... /Volumes/wrt3200/openwrt/staging_dir/hostpkg/bin/msgmerge
  234. checking build system type... x86_64-apple-darwin20.6.0
  235. checking host system type... x86_64-apple-darwin20.6.0
  236. checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
  237. checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
  238. checking for shared library run path origin... done
  239. checking for CFPreferencesCopyAppValue... yes
  240. checking for CFLocaleCopyCurrent... yes
  241. checking for GNU gettext in libc... no
  242. checking for iconv... yes
  243. checking for working iconv... no
  244. checking for GNU gettext in libintl... no
  245. checking whether to use NLS... no
  246. checking that generated files are newer than configure... done
  247. configure: creating ./config.status
  248. config.status: creating Makefile
  249. config.status: creating rpcgen/Makefile
  250. config.status: creating rpcsvc/Makefile
  251. config.status: creating po/Makefile.in
  252. config.status: creating config.h
  253. config.status: executing depfiles commands
  254. config.status: executing po-directories commands
  255. config.status: creating po/POTFILES
  256. config.status: creating po/Makefile
  257. touch /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2/.configured
  258. CFLAGS="-O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include" CPPFLAGS="-I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include" CXXFLAGS="" LDFLAGS="-L/Volumes/wrt3200/openwrt/staging_dir/host/lib -L/Volumes/wrt3200/openwrt/staging_dir/hostpkg/lib -L/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/lib" make -j1 -C /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2  
  259. make[3]: Entering directory '/Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2'
  260. make  all-recursive
  261. make[4]: Entering directory '/Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2'
  262. Making all in rpcgen
  263. make[5]: Entering directory '/Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2/rpcgen'
  264. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_clntout.o -MD -MP -MF .deps/rpc_clntout.Tpo -c -o rpc_clntout.o rpc_clntout.c
  265. mv -f .deps/rpc_clntout.Tpo .deps/rpc_clntout.Po
  266. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_cout.o -MD -MP -MF .deps/rpc_cout.Tpo -c -o rpc_cout.o rpc_cout.c
  267. mv -f .deps/rpc_cout.Tpo .deps/rpc_cout.Po
  268. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_hout.o -MD -MP -MF .deps/rpc_hout.Tpo -c -o rpc_hout.o rpc_hout.c
  269. mv -f .deps/rpc_hout.Tpo .deps/rpc_hout.Po
  270. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_main.o -MD -MP -MF .deps/rpc_main.Tpo -c -o rpc_main.o rpc_main.c
  271. rpc_main.c:336:7: warning: 'stat64' is deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
  272.   if (stat64 (CPP, &buf) == 0)
  273.       ^
  274. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:427:9: note: 'stat64' has been explicitly marked deprecated here
  275. int     stat64(const char *, struct stat64 *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_NA, __IPHONE_NA);
  276.         ^
  277. rpc_main.c:1125:9: warning: 'stat64' is deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
  278.     if (stat64 (infile, &buf) < 0)
  279.         ^
  280. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:427:9: note: 'stat64' has been explicitly marked deprecated here
  281. int     stat64(const char *, struct stat64 *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_NA, __IPHONE_NA);
  282.         ^
  283. rpc_main.c:1132:11: warning: 'stat64' is deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
  284.       if (stat64 (outfile, &buf) < 0)
  285.           ^
  286. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:427:9: note: 'stat64' has been explicitly marked deprecated here
  287. int     stat64(const char *, struct stat64 *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_NA, __IPHONE_NA);
  288.         ^
  289. 3 warnings generated.
  290. mv -f .deps/rpc_main.Tpo .deps/rpc_main.Po
  291. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_parse.o -MD -MP -MF .deps/rpc_parse.Tpo -c -o rpc_parse.o rpc_parse.c
  292. mv -f .deps/rpc_parse.Tpo .deps/rpc_parse.Po
  293. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_sample.o -MD -MP -MF .deps/rpc_sample.Tpo -c -o rpc_sample.o rpc_sample.c
  294. mv -f .deps/rpc_sample.Tpo .deps/rpc_sample.Po
  295. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_scan.o -MD -MP -MF .deps/rpc_scan.Tpo -c -o rpc_scan.o rpc_scan.c
  296. mv -f .deps/rpc_scan.Tpo .deps/rpc_scan.Po
  297. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_svcout.o -MD -MP -MF .deps/rpc_svcout.Tpo -c -o rpc_svcout.o rpc_svcout.c
  298. mv -f .deps/rpc_svcout.Tpo .deps/rpc_svcout.Po
  299. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_tblout.o -MD -MP -MF .deps/rpc_tblout.Tpo -c -o rpc_tblout.o rpc_tblout.c
  300. mv -f .deps/rpc_tblout.Tpo .deps/rpc_tblout.Po
  301. gcc -DHAVE_CONFIG_H -I. -I..   -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -MT rpc_util.o -MD -MP -MF .deps/rpc_util.Tpo -c -o rpc_util.o rpc_util.c
  302. mv -f .deps/rpc_util.Tpo .deps/rpc_util.Po
  303. gcc  -O2 -I/Volumes/wrt3200/openwrt/staging_dir/host/include -I/Volumes/wrt3200/openwrt/staging_dir/hostpkg/include -I/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include  -L/Volumes/wrt3200/openwrt/staging_dir/host/lib -L/Volumes/wrt3200/openwrt/staging_dir/hostpkg/lib -L/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/lib -o rpcgen rpc_clntout.o rpc_cout.o rpc_hout.o rpc_main.o rpc_parse.o rpc_sample.o rpc_scan.o rpc_svcout.o rpc_tblout.o rpc_util.o  
  304. ld: warning: directory not found for option '-L/Volumes/wrt3200/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/lib'
  305. Undefined symbols for architecture x86_64:
  306.   "_libintl_gettext", referenced from:
  307.       _main in rpc_main.o
  308.       _usage in rpc_main.o
  309.       _checkfiles in rpc_main.o
  310.       _c_output in rpc_main.o
  311.       _h_output in rpc_main.o
  312.       _l_output in rpc_main.o
  313.       _s_output in rpc_main.o
  314.       ...
  315.   "_libintl_setlocale", referenced from:
  316.       _main in rpc_main.o
  317.   "_libintl_textdomain", referenced from:
  318.       _main in rpc_main.o
  319. ld: symbol(s) not found for architecture x86_64
  320. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  321. make[5]: *** [Makefile:421: rpcgen] Error 1
  322. make[5]: Leaving directory '/Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2/rpcgen'
  323. make[4]: *** [Makefile:391: all-recursive] Error 1
  324. make[4]: Leaving directory '/Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2'
  325. make[3]: *** [Makefile:332: all] Error 2
  326. make[3]: Leaving directory '/Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2'
  327. make[2]: *** [Makefile:51: /Volumes/wrt3200/openwrt/build_dir/hostpkg/rpcsvc-proto-1.4.2/.built] Error 2
  328. make[2]: Leaving directory '/Volumes/wrt3200/openwrt/feeds/packages/libs/rpcsvc-proto'
  329. time: package/feeds/packages/rpcsvc-proto/host-compile#3.51#1.98#7.78
  330.     ERROR: package/feeds/packages/rpcsvc-proto [host] failed to build.
  331. make[1]: *** [package/Makefile:114: package/feeds/packages/rpcsvc-proto/host/compile] Error 1
  332. make[1]: Leaving directory '/Volumes/wrt3200/openwrt'
  333. make: *** [/Volumes/wrt3200/openwrt/include/toplevel.mk:230: package/rpcsvc-proto/host/compile] Error 2
  334.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement