#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
 Keywords:                         |
-----------------------------------+------------------------
 Hi,

 it seems that the latest musl libc update broke the lxc package.

 Regards Philipp


 x86_64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../../src
 -I/home/jenkins/workspace/ElementsWRT/elementswrt-
 debug/openwrt/staging_dir/target-x86_64_musl-1.1.12/usr/include
 -I/home/jenkins/workspace/ElementsWRT/elementswrt-
 debug/openwrt/staging_dir/target-x86_64_musl-1.1.12/include
 -I/home/jenkins/workspace/ElementsWRT/elementswrt-
 debug/openwrt/staging_dir/toolchain-
 x86_64_gcc-5.2.0_musl-1.1.12/usr/include
 -I/home/jenkins/workspace/ElementsWRT/elementswrt-
 debug/openwrt/staging_dir/toolchain-
 x86_64_gcc-5.2.0_musl-1.1.12/include/fortify
 -I/home/jenkins/workspace/ElementsWRT/elementswrt-
 debug/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\"     -DHAVE_SECCOMP
 -I/home/jenkins/workspace/ElementsWRT/elementswrt-
 debug/openwrt/staging_dir/target-x86_64_musl-1.1.12/usr/include -pthread
 -Os -pipe -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-
 variable -Wno-error=unused-result -iremap
 /home/jenkins/workspace/ElementsWRT/elementswrt-debug/openwrt/build_dir
 /target-x86_64_musl-1.1.12/lxc-1.1.5:lxc-1.1.5 -Wformat -Werror=format-
 security -fstack-protector-strong -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[8]: *** [liblxc_so-lxcutmp.o] Error 1
 make[8]: Leaving directory `/home/jenkins/workspace/ElementsWRT
 /elementswrt-debug/openwrt/build_dir/target-
 x86_64_musl-1.1.12/lxc-1.1.5/src/lxc'
 make[7]: *** [all-recursive] Error 1
 make[7]: Leaving directory `/home/jenkins/workspace/ElementsWRT
 /elementswrt-debug/openwrt/build_dir/target-
 x86_64_musl-1.1.12/lxc-1.1.5/src'
 make[6]: *** [all] Error 2
 make[6]: Leaving directory `/home/jenkins/workspace/ElementsWRT
 /elementswrt-debug/openwrt/build_dir/target-
 x86_64_musl-1.1.12/lxc-1.1.5/src'
 make[5]: *** [all-recursive] Error 1
 make[5]: Leaving directory `/home/jenkins/workspace/ElementsWRT
 /elementswrt-debug/openwrt/build_dir/target-x86_64_musl-1.1.12/lxc-1.1.5'
 make[4]: *** [/home/jenkins/workspace/ElementsWRT/elementswrt-
 debug/openwrt/build_dir/target-x86_64_musl-1.1.12/lxc-1.1.5/.built] Error
 2

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