Bug#588978: marked as done (ocaml-nox: ocamlbuild cannot handle symlink loops)
Your message dated Thu, 13 Aug 2015 10:59:30 +0200
with message-id <55CC5C72.5040302@debian.org>
and subject line Re: Bug#588978: cannot reproduce with 3.11.2-2 or 3.12.1
has caused the Debian Bug report #588978,
regarding ocaml-nox: ocamlbuild cannot handle symlink loops
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
588978: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588978
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: ocaml-nox: ocamlbuild cannot handle symlink loops
- From: Eric Cooper <ecc@cmu.edu>
- Date: Tue, 13 Jul 2010 18:38:46 -0400
- Message-id: <20100713223846.28124.83149.reportbug@stratocaster.home>
Package: ocaml-nox
Version: 3.11.2-1
Severity: normal
ocamlbuild enters an infinite loop if a symlink creates a cycle in the source directory.
To produce the problem:
1. cd to the source directory of a project using ocamlbuild
2. do "ln -s . loop"
3. run ocamlbuild
Ironically, I discovered this while trying to prevent *my* OCaml code
from exhibiting this same problem. When I created a cycle to test it, I
couldn't build the program any more :-)
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ocaml-nox depends on:
ii binutils 2.20.1-11 The GNU assembler, linker and bina
ii gcc 4:4.4.4-2 The GNU C compiler
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libncurses5 5.7+20100313-2 shared libraries for terminal hand
ii libncurses5-dev 5.7+20100313-2 developer's libraries and docs for
ii ocaml-base-nox [ocaml-bas 3.11.2-1 Runtime system for OCaml bytecode
ii ocaml-interp 3.11.2-1 OCaml interactive interpreter and
Versions of packages ocaml-nox recommends:
pn camlp4 <none> (no description available)
ii file 5.04-2 Determines file type using "magic"
Versions of packages ocaml-nox suggests:
pn libgdbm-dev <none> (no description available)
ii ocaml-doc 3.11-1 Documentation for Objective Caml
ii tuareg-mode 1:2.0.1-1 An emacs-mode for ocaml programs
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: 588978-done@bugs.debian.org
- Subject: Re: Bug#588978: cannot reproduce with 3.11.2-2 or 3.12.1
- From: Stéphane Glondu <glondu@debian.org>
- Date: Thu, 13 Aug 2015 10:59:30 +0200
- Message-id: <55CC5C72.5040302@debian.org>
- In-reply-to: <20120307232556.GE8044@localhost>
- References: <20311.52797.189302.931574@blau.inf.tu-dresden.de> <20120307232556.GE8044@localhost>
Control: tags -1 + unreproducible wontfix
Le 08/03/2012 00:25, Eric Cooper a écrit :
> But it still occurs if I introduce a loop in the approx build
> directory, which you can try by doing
> $ git clone ssh://git.debian.org/git/pkg-ocaml-maint/packages/approx.git
> $ cd approx
> $ ln -s . loop
> $ ocamlbuild -classic-display approx.byte
> [ runs forever ]
It doesn't run forever for me (with ocaml 4.01.0). It takes a long time
(11 minutes), but it terminates successfully.
Anyway, I agree with Mehdi and I won't work on this bug nor forward it
upstream. Feel free to do it if you really want ocamlbuild to support
symlink loops. Hence, I'm closing this bug.
Cheers,
--
Stéphane
--- End Message ---
Reply to: