tech-pkg archive

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

Re: xentools41 LDFLAGS Re: broken packages for 2012Q3

On 14/10/2012 03:44, David Holland wrote:
On Wed, Oct 10, 2012 at 11:05:43PM -0700, Aaron J. Grier wrote:
  > (following up via web archive; followup headers are missing...)
  > I decided to take a closer look at this since xenbackendd has been giving me
  > grief lately, and was hoping to update my xentools to something newer.
  > ocamlc wraps gcc and friends, and these calls out appear to be intercepted 
  > buildlink:

No; the problem is that it's pointing into the work directory and
should be pointing at $PREFIX.
Yup, some strangish ocaml stuff going on there. Jeff Rizzo mailed me about this, and I've got a patch (attached) that makes the package compile; I can commit it if you like, but it will need some more testing to see if it doesn't break anything.




--- tools/ocaml/libs/xc/Makefile.orig   2012-08-10 13:51:29.000000000 +0000
+++ tools/ocaml/libs/xc/Makefile
@@ -9,7 +9,7 @@ OBJS = xc
 INTF = xc.cmi
 LIBS = xc.cma xc.cmxa
-LIBS_xc = -L$(XEN_ROOT)/tools/libxc -lxenctrl -lxenguest
+LIBS_xc = -ldopt -L$(XEN_ROOT)/tools/libxc -lxenctrl -lxenguest
 xc_OBJS = $(OBJS)
 xc_C_OBJS = xc_stubs

Home | Main Index | Thread Index | Old Index