Mantis Bugtracker

Einfache Problemansicht anzeigen Zu Notizen wechseln ] erweiterte Anzeige ] Problem-Historie ] Drucken ]
ID Kategorie Auswirkung Reproduzierbar Meldungsdatum Letzte Aktualisierung
0000108 [Bisect] general kleinerer Fehler immer 2012-11-13 10:12 2012-11-13 10:14
Reporter edwin Anzeigestatus öffentlich  
Bearbeitung durch
Priorität normal Lösung offen  
Status neu   Produktversion 1.3
Zusammenfassung 0000108: bisect 1.3: doesn't install bisectThread*
Beschreibung When running bisect on an ocaml program that uses threads (for example by linking with lwt) I get an error:
Error: Cannot find file /home/edwin/.opam/4.00.1/lib/bisect/bisectThread.cmx
Command exited with code 2.

It looks like bisectThread* was not installed at all.
Zusätzliche Information The Makefile looks for $(PATH_BUILD)/src/$(PROJECT_NAME)Thread.cm*, but the file is actually in a subdirectory: $(PATH_BUILD)/src/threads/$(PROJECT_NAME)Thread.cm*
Tags Keine Tags zugeordnet.
Angehängte Dateien

- Problem-Beziehungen

-  Notiz
(0000262)
edwin (Reporter)
2012-11-13 10:14

There doesn't seem to be a way to attach bugs on this bug tracker, so here is a patch for Makefile:

--- a/Makefile 2012-11-03 22:21:53.000000000 +0200
+++ b/Makefile 2012-11-13 11:08:26.377616618 +0200
@@ -89,9 +89,9 @@
          $(PATH_OCAMLFIND) query $(PROJECT_NAME) && $(PATH_OCAMLFIND) remove $(PROJECT_NAME) || true; \
          $(PATH_OCAMLFIND) install $(PROJECT_NAME) META -optional \
            $(PATH_BUILD)/$(PROJECT_NAME)_pp.cmo \
- $(PATH_BUILD)/src/$(PROJECT_NAME)Thread.cm* \
- $(PATH_BUILD)/src/$(PROJECT_NAME)Thread.o \
- $(PATH_BUILD)/src/$(PROJECT_NAME)Thread.jo \
+ $(PATH_BUILD)/src/threads/$(PROJECT_NAME)Thread.cm* \
+ $(PATH_BUILD)/src/threads/$(PROJECT_NAME)Thread.o \
+ $(PATH_BUILD)/src/threads/$(PROJECT_NAME)Thread.jo \
            $(PATH_BUILD)/$(PROJECT_NAME).a \
            $(PATH_BUILD)/$(PROJECT_NAME).cma \
            $(PATH_BUILD)/$(PROJECT_NAME).cmi \
@@ -106,7 +106,7 @@
            cp $(PATH_BUILD)/$(PROJECT_NAME)_pp.cmo $(PATH_INSTALL); \
          fi; \
          for ext in cmi cmo cmx o cmj jo; do \
- test -f $(PATH_BUILD)/src/$(PROJECT_NAME)Thread.$$ext && cp $(PATH_BUILD)/src/$(PROJECT_NAME)Thread.$$ext $(PATH_INSTALL) || true; \
+ test -f $(PATH_BUILD)/src/threads/$(PROJECT_NAME)Thread.$$ext && cp $(PATH_BUILD)/src/threads/$(PROJECT_NAME)Thread.$$ext $(PATH_INSTALL) || true; \
          done; \
          for ext in a cmi cmo cmx cma cmxa cmja ja; do \
            test -f $(PATH_BUILD)/$(PROJECT_NAME).$$ext && cp $(PATH_BUILD)/$(PROJECT_NAME).$$ext $(PATH_INSTALL) || true; \

- Problem-Historie
Änderungsdatum Benutzername Feld Änderung
2012-11-13 10:12 edwin Neues Problem
2012-11-13 10:14 edwin Problemnotiz hinzugefügt: 0000262


Mantis 1.1.7[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker