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

Bug#500036: marked as done (policy: dynamically-loadable objects and META files should be allowed in non *-dev binary packages)



Your message dated Wed, 12 Aug 2015 15:51:37 +0000
with message-id <E1ZPYJV-0006B2-8b@franck.debian.org>
and subject line Bug#500036: fixed in dh-ocaml 1.0.10
has caused the Debian Bug report #500036,
regarding policy: dynamically-loadable objects and META files should be allowed in non *-dev binary packages
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.)


-- 
500036: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500036
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: dh-ocaml
Version: 0.1
Severity: wishlist

Hello,

We have already discussed this issue in the following thread:

  http://lists.debian.org/debian-ocaml-maint/2008/01/msg00150.html

No decision has been taken so far. I submit this wish here to keep
track of it. I give here a short summary.

I propose to allow in our policy dynamically-loadable objects such as
.cma or .cmo files in non *-dev binary packages. Currently, they are
allowed only in *-dev packages, but they might be needed at runtime
by programs using dynamic loading (Dynlink library), such as Ocsigen.

To the best of my knowledge, META files are the only information easily
exploitable at runtime to deal with dependencies between libraries
(and Ocsigen use them). Therefore, I also propose to put META files
in non *-dev binary packages, if .cma ones are.

Rationale: software using Dynlink must currently depend on *-dev packages,
meaning all *.mli, *.cmi and sometimes doc installed, which can be space
consuming (compared to just .cma/META files) and which users might not
need at all. Here are some statistics about disk usage of libraries that
have both kinds of binary packages (these are sizes of .deb files):

  http://lists.debian.org/debian-ocaml-maint/2008/01/msg00215.html

Currently, Dynlink is only available in bytecode, but the upcoming (3.11)
version of OCaml will provide a native version, with a new kind of
compiled object files: .cmxs (a kind of .so for OCaml code). Putting these
files into *-dev binary packages would be quite strange. And since the
bytecode counterparts of .cmxs are .cmo/.cma, it would also be strange to
put .cmxs in non *-dev and .cmo/.cma in *-dev.

Of course, META files explicitly refer to .cmx files, and one may argue
that they belong to *-dev packages because of this. First, notice that
META files are usually the same on all architectures, even non-native ones,
where .cmx don't exists. IMHO, Findlib is a good infrastructure for
handling OCaml libraries and their dependencies, even at runtime. Besides,
META files are ridiculously small, compared to what you would need to
install if they were in *-dev packages.

More pragmatically, since we will most likely have to handle generation
of .cmxs ourselves (i.e. in packaging process), I don't suggest to
massively and systematically move .cma/META files in all existing
packages, but rather do it in a as-needed basis (note that I used the
verb "allow" in this report). The policy should state the possibility,
though.

-- 
Stephane


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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.10.2-3   ML language implementation with a 

dh-ocaml suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: dh-ocaml
Source-Version: 1.0.10

We believe that the bug you reported is fixed in the latest version of
dh-ocaml, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 500036@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stéphane Glondu <glondu@debian.org> (supplier of updated dh-ocaml package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 12 Aug 2015 16:44:39 +0200
Source: dh-ocaml
Binary: dh-ocaml
Architecture: source all
Version: 1.0.10
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Stéphane Glondu <glondu@debian.org>
Description:
 dh-ocaml   - helper tools for maintaining OCaml-related Debian packages
Closes: 500036 779037
Changes:
 dh-ocaml (1.0.10) unstable; urgency=medium
 .
   [ Riley Baird ]
   * Added option to set alioth username in dom-git-new-repo
 .
   [ Stéphane Glondu ]
   * Use a deterministic order in generated .info files. Patch by Chris
     Lamb (Closes: #779037)
   * Policy: allow installation of *.{cmxs,cma,cmo} and META in runtime
     packages (and other minor changes) (Closes: #500036)
   * Bump debhelper compat level to 9
   * Bump Standards-Version to 3.9.6
Checksums-Sha1:
 5d18e23a2be2ddd10546c565f613c8493f5f2bf3 1846 dh-ocaml_1.0.10.dsc
 fbde59c4bb9dd260196c7dac45031ab19845a08b 47304 dh-ocaml_1.0.10.tar.xz
 b3ee92a1218b8cb6b2ccda305e543940ba735b68 83744 dh-ocaml_1.0.10_all.deb
Checksums-Sha256:
 400ff723cd0d1fa2ef1c874777d75fb1f24c544d80f076d566a3888451e600e5 1846 dh-ocaml_1.0.10.dsc
 911cbb910ac68b03867ef4b9770ed67912aba9a87d45afd4102b2ce39d616943 47304 dh-ocaml_1.0.10.tar.xz
 97a2352de40c9189f88bdbe8911cd9b5de031e59d21ca1e95396d576685033cc 83744 dh-ocaml_1.0.10_all.deb
Files:
 082dfdeeb0397739c5ecb69e309e0055 1846 ocaml extra dh-ocaml_1.0.10.dsc
 8fa64e7292547e3d99fd820aa814bea0 47304 ocaml extra dh-ocaml_1.0.10.tar.xz
 151f5cb82b9134427841be504c6ec1a0 83744 ocaml extra dh-ocaml_1.0.10_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJVy1xlAAoJEHhT2k1JiBrTPOMP/Rh9f6KtRKyURfWueJJLviW2
Lc38XeQJ13KzptrW3bLhQjTeL3uu6XCT5fdmiFsfG4reuDDevLXIyBxL1F3aQXjy
4ML85YAXn4CgiQbk1bAbJa6j2fAN9oKIyvjYzPVLMpWI10c/i1PU4YPGBW3VXMaY
+7zlVA4hFipiy6J1eSU5C2lpcpwvyzwttNmhv9OHu9RQ2Epxn2KGDAi+k5wcjI5n
qcmmFXUAevjSsjHEngdYSFRJc9DQEjCdqwzVr+vo4mWyRzXsqFhMYtwAs9NAKjTA
lkEr70cLUdFKfCMi+SbSZfnXoWbLvr+DFr5kCyUbFH7T95K0m9yD23sdPBiflPW8
60la8b5WMXBKqXhlRlLvHmO+El+WgpqcLVJs3gwEG5EslLK7jRMjraleza7hEXKM
7OgheJqGDJXtf41JjjykFX0maDicsB82dpbou5foNjzCXT82NVY2yD6ogcf95v2Z
Qc4YxFPu0RhKQ6GDpJHn65o+H2+oB8BNr3/MhzkPktyxzEw2+2jxpftj2HSjNGlO
9jwZMV79nXxkq6oX6YZBjiJxNSJNiXzrX98iIt114g4n2u2MhehGqo4ns1hmMZHQ
ghlr7Z5uI41bRmU4Quq0MN6cnxVdMNh3WH87Hg+q90flL7KnXKYNUCAhJ5kMdB3R
4u9SfYf/D91kXa/bZyx6
=WQzL
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: