#21917: lxc-1.1.x fails to build with latest musl libc version
------------------------------------+------------------------
  Reporter:  philipp.deppenwiese@…  |      Owner:  developers
      Type:  defect                 |     Status:  new
  Priority:  normal                 |  Milestone:
 Component:  packages               |    Version:  Trunk
Resolution:                         |   Keywords:
------------------------------------+------------------------

Comment (by xukai286@…):

 I also meet this issue

 make[7]: Entering directory `/home/kaix/openwrt/openwrt/build_dir/target-
 x86_64_musl-1.1.12/lxc-1.1.5/src/lxc'
 x86_64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../src
 -I/home/kaix/openwrt/openwrt/staging_dir/target-
 x86_64_musl-1.1.12/usr/include -I/home/kaix/openwrt/openwrt/staging_dir
 /target-x86_64_musl-1.1.12/include
 -I/home/kaix/openwrt/openwrt/staging_dir/toolchain-
 x86_64_gcc-5.2.0_musl-1.1.12/usr/include
 -I/home/kaix/openwrt/openwrt/staging_dir/toolchain-
 x86_64_gcc-5.2.0_musl-1.1.12/include/fortify
 -I/home/kaix/openwrt/openwrt/staging_dir/toolchain-
 x86_64_gcc-5.2.0_musl-1.1.12/include  -fPIC -DPIC -I../../src
 -DLXCROOTFSMOUNT=\"/usr/lib/lxc/rootfs\" -DLXCPATH=\"/var/lib/lxc\"
 -DLXC_GLOBAL_CONF=\"/etc/lxc/lxc.conf\" -DLXCINITDIR=\"/usr/lib\"
 -DLIBEXECDIR=\"/usr/lib\" -DLXCTEMPLATEDIR=\"/usr/share/lxc/templates\"
 -DLOGPATH=\"/var/log/lxc\" -DLXC_DEFAULT_CONFIG=\"/etc/lxc/default.conf\"
 -DLXC_USERNIC_DB=\"/run/lxc/nics\" -DLXC_USERNIC_CONF=\"/etc/lxc/lxc-
 usernet\" -DDEFAULT_CGROUP_PATTERN=\"/lxc/%n\" -DRUNTIME_PATH=\"/run\"
 -DSBINDIR=\"/usr/sbin\"      -pthread  -Os -pipe -fno-caller-saves -fno-
 plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-
 result -iremap /home/kaix/openwrt/openwrt/build_dir/target-
 x86_64_musl-1.1.12/lxc-1.1.5:lxc-1.1.5 -Wformat -Werror=format-security
 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -Wall
 -Werror -MT liblxc_so-lxcutmp.o -MD -MP -MF .deps/liblxc_so-lxcutmp.Tpo -c
 -o liblxc_so-lxcutmp.o `test -f 'lxcutmp.c' || echo './'`lxcutmp.c
 lxcutmp.c: In function 'utmp_get_runlevel':
 lxcutmp.c:256:30: error: implicit declaration of function 'utmpxname'
 [-Werror=implicit-function-declaration]
   if (!access(path, F_OK) && !utmpxname(path))
                               ^
 cc1: all warnings being treated as errors
 make[7]: *** [liblxc_so-lxcutmp.o] Error 1

--
Ticket URL: <https://dev.openwrt.org/ticket/21917#comment:1>
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