#19309: portmap doesn't compile using musl
------------------------------------------+--------------------------------
 Reporter:  diizzyy                       |      Owner:  developers
     Type:  defect                        |     Status:  new
 Priority:  normal                        |  Milestone:  Chaos Calmer
Component:  packages                      |  (trunk)
 Keywords:  portmap, musl, trunk, librpc  |    Version:  Trunk
------------------------------------------+--------------------------------
 {{{
 CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-
 saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float
 -I/home/diizzy/openwrt/trunk-atheros-musl-poalrssl/openwrt/staging_dir
 /target-mips_34kc_musl-1.1.6/usr/include -I/home/diizzy/openwrt/trunk-
 atheros-musl-poalrssl/openwrt/staging_dir/target-
 mips_34kc_musl-1.1.6/include -I/home/diizzy/openwrt/trunk-atheros-musl-
 poalrssl/openwrt/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_musl-1.1.6/usr/include -I/home/diizzy/openwrt
 /trunk-atheros-musl-poalrssl/openwrt/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_musl-1.1.6/include " CXXFLAGS="-Os -pipe -mno-
 branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-
 error=unused-but-set-variable -msoft-float  -I/home/diizzy/openwrt/trunk-
 atheros-musl-poalrssl/openwrt/staging_dir/target-
 mips_34kc_musl-1.1.6/usr/include -I/home/diizzy/openwrt/trunk-atheros-
 musl-poalrssl/openwrt/staging_dir/target-mips_34kc_musl-1.1.6/include
 -I/home/diizzy/openwrt/trunk-atheros-musl-poalrssl/openwrt/staging_dir
 /toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.6/usr/include
 -I/home/diizzy/openwrt/trunk-atheros-musl-poalrssl/openwrt/staging_dir
 /toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.6/include "
 LDFLAGS="-L/home/diizzy/openwrt/trunk-atheros-musl-
 poalrssl/openwrt/staging_dir/target-mips_34kc_musl-1.1.6/usr/lib
 -L/home/diizzy/openwrt/trunk-atheros-musl-poalrssl/openwrt/staging_dir
 /target-mips_34kc_musl-1.1.6/lib -L/home/diizzy/openwrt/trunk-atheros-
 musl-poalrssl/openwrt/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_musl-1.1.6/usr/lib -L/home/diizzy/openwrt/trunk-
 atheros-musl-poalrssl/openwrt/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_musl-1.1.6/lib " make -j1 -C /home/diizzy/openwrt
 /trunk-atheros-musl-poalrssl/openwrt/build_dir/target-
 mips_34kc_musl-1.1.6/portmap_6.0/. AR="mips-openwrt-linux-musl-gcc-ar" AS
 ="mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2
 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-
 variable -msoft-float" LD=mips-openwrt-linux-musl-ld NM="mips-openwrt-
 linux-musl-gcc-nm" CC="mips-openwrt-linux-musl-gcc" GCC="mips-openwrt-
 linux-musl-gcc" CXX="mips-openwrt-linux-musl-g++" RANLIB="mips-openwrt-
 linux-musl-gcc-ranlib" STRIP=mips-openwrt-linux-musl-strip OBJCOPY=mips-
 openwrt-linux-musl-objcopy OBJDUMP=mips-openwrt-linux-musl-objdump SIZE
 =mips-openwrt-linux-musl-size CROSS="mips-openwrt-linux-musl-" ARCH="mips"
 CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-
 saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float
 -I/home/diizzy/openwrt/trunk-atheros-musl-poalrssl/openwrt/staging_dir
 /target-mips_34kc_musl-1.1.6/usr/include -I/home/diizzy/openwrt/trunk-
 atheros-musl-poalrssl/openwrt/staging_dir/target-
 mips_34kc_musl-1.1.6/include -I/home/diizzy/openwrt/trunk-atheros-musl-
 poalrssl/openwrt/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_musl-1.1.6/usr/include -I/home/diizzy/openwrt
 /trunk-atheros-musl-poalrssl/openwrt/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_musl-1.1.6/include -DHOSTS_ACCESS
 -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD" RPCUSER="rpc"
 LDLIBS="-L/home/diizzy/openwrt/trunk-atheros-musl-
 poalrssl/openwrt/staging_dir/target-mips_34kc_musl-1.1.6/usr/lib
 -L/home/diizzy/openwrt/trunk-atheros-musl-poalrssl/openwrt/staging_dir
 /target-mips_34kc_musl-1.1.6/lib -L/home/diizzy/openwrt/trunk-atheros-
 musl-poalrssl/openwrt/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_musl-1.1.6/usr/lib -L/home/diizzy/openwrt/trunk-
 atheros-musl-poalrssl/openwrt/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_musl-1.1.6/lib -lwrap -lrpc" all ;
 make[4]: Entering directory `/home/diizzy/openwrt/trunk-atheros-musl-
 poalrssl/openwrt/build_dir/target-mips_34kc_musl-1.1.6/portmap_6.0'
 penwrt/staging_dir/target-mips_34kc_musl-1.1.6/usr/lib
 -L/home/diizzy/openwrt/trunk-atheros-musl-poalrssl/openwrt/staging_dir
 /target-mips_34kc_musl-1.1.6/lib -L/home/diizzy/openwrt/trunk-atheros-
 musl-poalrssl/openwrt/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_musl-1.1.6/usr/lib -L/home/diizzy/openwrt/trunk-
 atheros-musl-poalrssl/openwrt/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_musl-1.1.6/lib   portmap.o pmap_check.o
 from_local.o  -L/home/diizzy/openwrt/trunk-atheros-musl-
 poalrssl/openwrt/staging_dir/target-mips_34kc_musl-1.1.6/usr/lib
 -L/home/diizzy/openwrt/trunk-atheros-musl-poalrssl/openwrt/staging_dir
 /target-mips_34kc_musl-1.1.6/lib -L/home/diizzy/openwrt/trunk-atheros-
 musl-poalrssl/openwrt/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_musl-1.1.6/usr/lib -L/home/diizzy/openwrt/trunk-
 atheros-musl-poalrssl/openwrt/staging_dir/toolchain-
 mips_34kc_gcc-4.8-linaro_musl-1.1.6/lib -lwrap -lrpc -o portmap
 /home/diizzy/openwrt/trunk-atheros-musl-poalrssl/openwrt/staging_dir
 /target-mips_34kc_musl-1.1.6/usr/lib/librpc.so: undefined reference to
 `TEMP_FAILURE_RETRY'
 /home/diizzy/openwrt/trunk-atheros-musl-poalrssl/openwrt/staging_dir
 /target-mips_34kc_musl-1.1.6/usr/lib/librpc.so: undefined reference to
 `getprotobyname_r'
 collect2: error: ld returned 1 exit status
 make[4]: *** [portmap] Error 1
 make[4]: Leaving directory `/home/diizzy/openwrt/trunk-atheros-musl-
 poalrssl/openwrt/build_dir/target-mips_34kc_musl-1.1.6/portmap_6.0'
 make[3]: *** [/home/diizzy/openwrt/trunk-atheros-musl-
 poalrssl/openwrt/build_dir/target-mips_34kc_musl-1.1.6/portmap_6.0/.built]
 Error 2
 make[3]: Leaving directory `/home/diizzy/openwrt/trunk-atheros-musl-
 poalrssl/openwrt/feeds/packages/net/portmap'
 make[2]: *** [package/feeds/packages/portmap/compile] Error 2
 make[2]: Leaving directory `/home/diizzy/openwrt/trunk-atheros-musl-
 poalrssl/openwrt'
 make[1]: *** [/home/diizzy/openwrt/trunk-atheros-musl-
 poalrssl/openwrt/staging_dir/target-
 mips_34kc_musl-1.1.6/stamp/.package_compile] Error 2
 make[1]: Leaving directory `/home/diizzy/openwrt/trunk-atheros-musl-
 poalrssl/openwrt'
 make: *** [world] Error 2
 }}}

 Just a few hours old checkout of trunk and package repo.

--
Ticket URL: <https://dev.openwrt.org/ticket/19309>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to