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

[Xen-devel] RFC: Partially revert xen-unstable c/s 23071:a3466b005017



When trying to make a XenServer branch with xen-server, I managed to
get Xen to build, but when I tried to use some of the ocaml output, I
got the following errors:

gcc: 
/bind/obj/RPM_BUILD_DIRECTORY/xen-4.2.unstable/tools/ocaml/libs/xc/../../../../tools/libxc/libxenctrl.so:
No such file or directory
gcc: 
/bind/obj/RPM_BUILD_DIRECTORY/xen-4.2.unstable/tools/ocaml/libs/xc/../../../../tools/libxc/libxenguest.so:
No such file or directory


It appears that somehow the change made in 23071:a3466b005017 ended up
putting in a hard-link to the exact directory of the library in the
resulting .ml files, which is only used when someone attempts to
actually use those files.  Since, of course, those exact directories
are gone when the RPM build is over, this doesn't work very well. :-)

The attached patch reverts the parts of 23071 which pertains to
tools/ocaml/libs/xc, and the resulting *.ml files work properly again.
 But I'm not sure what the desired approach is going forward -- I'm
not familiar enough with the ocaml link process to know what a
"proper" fix would be (i.e., one which accomplishes the goal of 23071)

 -George

Attachment: 20111018-ocaml-no-hard-links.diff
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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