[lxc-devel] Compilation fails in Fedora 21
Michael H. Warfield
mhw at WittsEnd.com
Thu Nov 6 18:14:34 UTC 2014
On Thu, 2014-11-06 at 02:38 -0200, Daniel Miranda wrote:
> Right away I see that the Python module is being built for 3.3 but F21
> uses 3.4. I'll try building it myself and see if I can find out what's
> wrong.
Yeah, that's the problem. It's a straight forward hack to fix on the
fly specific to Fedora 21, just patching two lines at 280 in
lxc.spec.in:
%if %{with_python}
%{_libdir}/python3.4/site-packages/_lxc*
%{_libdir}/python3.4/site-packages/lxc/*
%endif
That's something that will be needed to be added to autoconf, I
imagine...
Mike
>
> On Thu, Nov 6, 2014 at 2:09 AM, CDR <venefax at gmail.com> wrote:
> Requires: /bin/bash /bin/sh /usr/bin/python3
> libc.so.6()(64bit)
> libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit)
> libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit)
> libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit)
> libcap.so.2()(64bit) liblxc.so.1()(64bit)
> libpthread.so.0()(64bit)
> libpthread.so.0(GLIBC_2.2.5)(64bit) libselinux.so.1()(64bit)
> libutil.so.1()(64bit) rtld(GNU_HASH)
> Processing files: lxc-libs-1.1.0-0.1.alpha2.fc21.x86_64
> error: File not found by glob:
> /root/rpmbuild/BUILDROOT/lxc-1.1.0-0.1.alpha2.fc21.x86_64/usr/lib64/python3.3/site-packages/_lxc*
> error: File not found by glob:
> /root/rpmbuild/BUILDROOT/lxc-1.1.0-0.1.alpha2.fc21.x86_64/usr/lib64/python3.3/site-packages/lxc/*
>
>
> RPM build errors:
> File listed twice: /etc/sysconfig/lxc
> File not found by glob:
> /root/rpmbuild/BUILDROOT/lxc-1.1.0-0.1.alpha2.fc21.x86_64/usr/lib64/python3.3/site-packages/_lxc*
> File not found by glob:
> /root/rpmbuild/BUILDROOT/lxc-1.1.0-0.1.alpha2.fc21.x86_64/usr/lib64/python3.3/site-packages/lxc/*
> Makefile:906: recipe for target 'rpm' failed
> make: *** [rpm] Error 1
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
>
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
--
Michael H. Warfield (AI4NB) | (770) 978-7061 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 465 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20141106/5f5880cb/attachment.sig>
More information about the lxc-devel
mailing list