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

Bug#555814: marked as done ("race condition" between ocaml.mk and debhelper.mk)



Your message dated Tue, 30 Jul 2019 14:33:46 +0200
with message-id <e90d077d-615a-8e29-7701-39092b23b53d@debian.org>
and subject line Cleaning up old bugs
has caused the Debian Bug report #555814,
regarding "race condition" between ocaml.mk and debhelper.mk
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.)


-- 
555814: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555814
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: dh-ocaml
Version: 0.9.3
Severity: normal
File: /usr/share/cdbs/1/rules/ocaml.mk

Currently, to use CDBS' classes ocaml.mk and debhelper.mk together, one should
have ocaml.mk occurring before debhelper.mk in order to have some
.debhelper.log files cleaned up properly upon clean.

Unfortunately, that has a side-effect, namely that dh_ocamldoc is called
*before* dh_install. That, in turn, means that dh_ocamldoc will not have access
to stuff installed in packages by dh_install: either your package install
everything via its "make install", or you provide appropriate includes to
dh_ocamldoc, or you're screwed :-), in the sense that ocamldoc will not find
some objects.

I think the appropriate fix is to keep as the best practice order first
debhelper.mk then ocaml.mk (so that dh_ocamldoc is not a problem) and
additionally implement in ocamlinit.mk the appropriate cleaning of
*.debhelper.log that are create by dh_ocaml itself. (That would also be more
clean, in the sense that debhelper.mk will no longer be a "dependency" of
ocaml.mk.)

Cheers.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

dh-ocaml depends on no packages.

Versions of packages dh-ocaml recommends:
ii  ocaml-nox                     3.11.1-4   ML implementation with a class-bas

dh-ocaml suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
tags 555814 + wontfix
thanks

The trend is to use dh, and not CDBS, nowadays. I think we can close
this bug (after 11 years of inactivity).


Cheers,

-- 
Stéphane

--- End Message ---

Reply to: