-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Cannot find file biniou.cmxa #680
Comments
No, it's probably a missing dependency from the the ocaml-qmp spec file. It looks like ocaml-qmp is using obuild which we've seen issues with (with ocaml-qmp actually) when it comes to dependency analysis. I'll see if I can upgrade it to use Oasis and bump a new release. I think biniou is a dependency of yojson now and it may be that our ocaml-yojson spec file needs to make that a Requires, rather than a BuildRequires. |
Tks : ) |
There's also this: #681 But I'm not sure it will solve the issue. A definite improvement to move from obuild to oasis even if it doesn't. |
They're both merged now. Not sure if they've solved your issue because I haven't rebuilt buildroot from scratch again yet but you can try if you get there before me. |
so sad,it don't work:
|
I'm receiving the same error on CentOS 6.7. The good news is that this is fixed on the xapi side as opam install xapi now builds correctly. Unsure how to translate that over to buildroot though. |
@Zahatric when you install via opam it installs all the dependencies and the opam packages do not distinguish between base and devel subpackages. Also transitive dependencies are picked up by default. In buildroot we use mock for each package we build so we only install the dependencies specified in the spec file. If there's a hidden dependency that isn't exposed through the transitive closure then we're boned. It looks like ocaml-qmp is only using yojson so it should be enough to depend on ocaml-yojson-devel but I think that the Yojson module actually requires biniou to be present. It could be an issue with the way we're packaging yojson? We could work around this by adding a dependency on biniou to qmp but it feels a bit of a hack. @euanh, any ideas? |
Tried adding: then got new errors relating to an ocaml-easy-format dependency. Added: This made a little progress but surfaced more errors that prevent ocaml-qmp from building.
Log follows: Building target platforms: x86_64
|
Sounds like these libraries might just be a bit pants. I'm not a packaging expert but it sounds like we're in a bit of a dependency mess. From the final error you mention it sounds like you might have cracked the dependency problem now the make install target failed for qmp. Good progress. I'll try and find some time tomorrow to look at that. Unless you solve it in the meantime. -- [email protected]:[email protected] (via iPhone) On 9 Nov 2015, at 18:17, Zahatric <[email protected]mailto:[email protected]> wrote: Tried adding: then got new errors relating to an ocaml-easy-format dependency. Added: This made a little progress but surfaced more errors that prevent ocaml-qmp from building. cp: cannot create regular file '/usr/local/bin/cli': Permission denied Log follows: Building target platforms: x86_64
— |
Would maybe be easier to get the metadata from opam ... |
@samoht I'm not sure. I think it might be a packaging error in buildroot for one of the packages up the chain. We can see in the opam file for qmp that it doesn't need a direct dependency on biniou: https://github.com/ocaml/opam-repository/blob/19aff7aa98c0762ccebc57b59313bcda564611e7/packages/qmp/qmp.0.9.1/opam I suspect maybe there's something missing in our ocaml-yojson-devel package. Unless I misunderstood your suggestion? |
build xenserver on CentOS 7:
console info:
the build.log:
Should I build the biniou.cmxa by myself?
Give me the hand~~~
T_T
The text was updated successfully, but these errors were encountered: