From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 38CB67FFB2 for ; Sat, 12 Mar 2016 22:35:45 +0100 (CET) IronPort-PHdr: 9a23:m3PsCRB2/ukjwghKKHWoUyQJP3N1i/DPJgcQr6AfoPdwSP7zocbcNUDSrc9gkEXOFd2CrakU1KyH6Ou5BDZIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/niKbjoNaKPl8ArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIZoGJ/3dKUgTLFeEC9ucyVsvJWq5lH/Sl6X4nIAXGIMl1IcGwzM8B/9RJLZtirhqvE73yKTOMmwSqo7D2eM9aBuHTPhjiYKMwkTZGfFjs042K5SphOso1p13oPScoWUHPdkZKrBfMoHSCxKXpACBGR6HoqgYt5XXKI6NuFCoty4/gNWoA== Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=daniel.buenzli@erratique.ch; spf=None smtp.mailfrom=daniel.buenzli@erratique.ch; spf=None smtp.helo=postmaster@smtp.webfaction.com Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=pra; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=mailfrom; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp.webfaction.com) identity=helo; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="postmaster@smtp.webfaction.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0C/AADkiuRWkkpWN0pDGoQQbQGoHgORGXYBDYFtI4VqgWEUAQEBAQEBAQEQAQEBAQcLCwkhL0EQAYFbgj5WNQIRFQJJFhuIHAQKLK1Ejxh8jleCQSuBDwWXS4EohEaCcwWHSoZzDoVUjn0eAQGCVoFRaQEBAYgUgV0BAQE X-IPAS-Result: A0C/AADkiuRWkkpWN0pDGoQQbQGoHgORGXYBDYFtI4VqgWEUAQEBAQEBAQEQAQEBAQcLCwkhL0EQAYFbgj5WNQIRFQJJFhuIHAQKLK1Ejxh8jleCQSuBDwWXS4EohEaCcwWHSoZzDoVUjn0eAQGCVoFRaQEBAYgUgV0BAQE X-IronPort-AV: E=Sophos;i="5.24,327,1454972400"; d="scan'208";a="207424961" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 12 Mar 2016 22:35:44 +0100 Received: from [172.20.10.2] (0.237.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch [178.197.237.0]) by smtp.webfaction.com (Postfix) with ESMTP id D1DBA20D290A; Sat, 12 Mar 2016 21:35:41 +0000 (UTC) Date: Sat, 12 Mar 2016 22:35:38 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: platform Cc: OCaml List Message-ID: <30AF5A7CB977477A9BF094F3BC19C58C@erratique.ch> X-Mailer: sparrow 1.6.4 (build 1178) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Caml-list] Package compilation and debug mode Hello, I'd like to know what the consensus is about distributing packages that always compile in debug mode. It seems that some persons do want to have debug always enabled [1,2], but the discussion is not clear cut [1]. By default all my packages are released with -g disabled. It seems easy enough to have an opam switch (even the official one) that automatically enables the flag. So I think OCaml's opam repository should have a policy here. The answer should also take system package managers into account since those pull directly from the tarballs (if this document [3] is still in use for debian it seems they do require compilation with debug mode). Personally I don't have an opinion about it, I'm rather seeking an answer here. Best, Daniel [1] http://caml.inria.fr/mantis/view.php?id=6728 [2] http://rgrinberg.com/blog/2016/02/26/opam-package-checklist/ [3] http://pkg-ocaml-maint.alioth.debian.org/ocaml_packaging_policy.html/c305.html#AEN307