Skip to content
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

.itarget does not work #5686

Closed
vicuna opened this issue Jul 13, 2012 · 2 comments
Closed

.itarget does not work #5686

vicuna opened this issue Jul 13, 2012 · 2 comments

Comments

@vicuna
Copy link

vicuna commented Jul 13, 2012

Original bug ID: 5686
Reporter: @bobzhang
Assigned to: meyer
Status: closed (set by @xavierleroy on 2015-12-11T18:19:39Z)
Resolution: fixed
Priority: normal
Severity: minor
Target version: 4.00.2+dev
Fixed in version: 4.01.0+dev
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Monitored by: @glondu @hcarty

Bug description

when I have foo.itarget
cat foo.itarget
a.cma
b.byte

b.byte depends on a.cma,
ocamlbuild foo.otarget will break.
The output looks weird since it generates a.cmo, and immediately stop building a.cma, it try to build b.byte instead.
If I try to build a.cma, and b.byte by hand separately, it works.

@vicuna
Copy link
Author

vicuna commented Jan 17, 2013

Comment author: meyer

Can't reproduce it:

$ cat foo.itarget 
a.cma
b.byte
$ cat a.ml 
$ cat b.ml 
open A
$ ocamlbuild foo.otarget
Finished, 8 targets (0 cached) in 00:00:00.
$ ls
a.cma  a.ml  b.byte  b.ml  _build  foo.itarget

Can you confirm it's been fixed, or submit a test case that shows the bug?

@vicuna
Copy link
Author

vicuna commented Jan 17, 2013

Comment author: @bobzhang

I remembered it was from a large codebase and hard to reproduce, though, sorry about that

@vicuna vicuna closed this as completed Dec 11, 2015
@vicuna vicuna added this to the 4.00.2 milestone Mar 14, 2019
@vicuna vicuna added the bug label Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant