[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] how to compile XCP source?



04.03.2013 11:21, Mike McClurg пишет:
/var/tmp/xapi-0.2-root/opt/xensource/libexec/InterfaceReconfigureBridge.pyo
      File not found:
/var/tmp/xapi-0.2-root/opt/xensource/libexec/InterfaceReconfigureBridge.pyc
      File not found:
/var/tmp/xapi-0.2-root/opt/xensource/libexec/InterfaceReconfigureVswitch.pyo

I think I'll find way to ship them inside srpm or change spec, but
...pyc files, should they be packed in rpm? I checked repository and
found that xapi.spec file contains them.

Hi George,

I think that there's a build/package step missing somewhere that compiles those python files, but I'm not sure where. I'd have thought that rpmbuild might have done it, but I don't know for sure. Maybe to unblock yourself just remove those pyo/pyc files from your spec file? I assume that you're mostly worried about packaging Xapi at the moment, not those python files.

And thanks for submitting that github issue about the missing quotes. It should be resolved now.
I consult with python guys nearby - he says python can create those files in runtime, at fist run (not sure about pyo), so rpm doesn't need to generate them during build process.

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.