[lxc-users] Compilation fails under Fedora 20

Michael H. Warfield mhw at WittsEnd.com
Sat Aug 9 13:26:49 UTC 2014


On Sat, 2014-08-09 at 02:39 -0400, CDR wrote:
> make rpm fails.

Point of order...  Things like this should be reported to the lxc-devel
list.  This is not a "user" issue but a "development" issue.

Looks like a patch Martin Pitt submitted back on July 31 missed adding
lxc.net to lxc.spec.in.  His refactoring of the systemd logic needs
careful checking out on Fedora as his work seems to primarily from the
standpoint of systemd on Ubuntu, hence this problem where he missed a
file.  I missed it when I built it because I have this in my .rpmmacros
file:

%_unpackaged_files_terminate_build 0

Probably not a good idea with checking files for packaging but
unfortunately necessary with working with development packages at times.

Looking into it.

Regards,
Mike

> Processing files: lxc-debuginfo-1.1.0-0.1.alpha1.fc20.x86_64
> Provides: lxc-debuginfo = 1.1.0-0.1.alpha1.fc20 lxc-debuginfo(x86-64)
> = 1.1.0-0.1.alpha1.fc20
> Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <=
> 3.0.4-1
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /root/rpmbuild/BUILDROOT/lxc-1.1.0-0.1.alpha1.fc20.x86_64
> error: Installed (but unpackaged) file(s) found:
>    /usr/lib/systemd/system/lxc-net.service
> 
> 
> RPM build errors:
>     File listed twice:
> /usr/lib64/python3.3/site-packages/_lxc-0.1-py3.3.egg-info
>     File listed twice: /usr/lib64/python3.3/site-packages/_lxc.cpython-33m.so
>     File listed twice: /usr/lib64/python3.3/site-packages/lxc/__init__.py
>     File listed twice: /usr/lib64/python3.3/site-packages/lxc/__pycache__
>     File listed twice:
> /usr/lib64/python3.3/site-packages/lxc/__pycache__/__init__.cpython-33.pyc
>     File listed twice:
> /usr/lib64/python3.3/site-packages/lxc/__pycache__/__init__.cpython-33.pyo
>     File listed twice: /usr/libexec/lxc/lxc-autostart-helper
>     File listed twice: /usr/libexec/lxc/lxc-devsetup
>     File listed twice: /usr/libexec/lxc/lxc-user-nic
>     Installed (but unpackaged) file(s) found:
>    /usr/lib/systemd/system/lxc-net.service
> make: *** [rpm] Error 1
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
> 

-- 
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-users/attachments/20140809/434a2d88/attachment.sig>


More information about the lxc-users mailing list