From owner-freebsd-gnome@freebsd.org Wed Apr 20 14:48:49 2016 Return-Path: Delivered-To: freebsd-gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14088B15511 for ; Wed, 20 Apr 2016 14:48:49 +0000 (UTC) (envelope-from mwm@mired.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id EC84F171B for ; Wed, 20 Apr 2016 14:48:48 +0000 (UTC) (envelope-from mwm@mired.org) Received: by mailman.ysv.freebsd.org (Postfix) id E8225B1550F; Wed, 20 Apr 2016 14:48:48 +0000 (UTC) Delivered-To: gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7CECB1550E for ; Wed, 20 Apr 2016 14:48:48 +0000 (UTC) (envelope-from mwm@mired.org) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C160E1719 for ; Wed, 20 Apr 2016 14:48:48 +0000 (UTC) (envelope-from mwm@mired.org) Received: by mail-io0-x230.google.com with SMTP id u185so54555729iod.3 for ; Wed, 20 Apr 2016 07:48:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mired-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=KysrV854LXrtIlot8v3FUxfqW85OpIEIdY437++y0yY=; b=l71mzvF1zV/lvkXwcRsALwM0Js7cVrnWGHJ92u7C6wjTJfXMhe86eY3xRV+W+X7Fen ANaGz5isUBOkuSOjYm9hW+k3jFsHhCtqFeK5BOqbUrlS/SGmoMm6Hrv7k1TIikcrd5/a M8Ecg6HVbpHuQGyor7r/nb3Gpcp1SdVTsjX2zfI4RFKnKRMsQ6ip04/u04SDGWkgmr48 jap8oj5qbCmk4jF5Hm+U2KS1OmHMiu/xSwVFRzNzI4q6MTe/DwWtVIqecUU0SiO4TbHY Wzdo5K2RuodFZO2UC82AjHM98sWNQ3qy5oDkbxhjR40cw8PNq7vRLt0lWKCzG7dRGTF4 eA5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KysrV854LXrtIlot8v3FUxfqW85OpIEIdY437++y0yY=; b=bzxDsL/wSSDUhQgYCSqRZ7hZ5YVE+Ie8xqiSX06CVS7gFEz0nRfS10RBwyNP+62/Cy JigmwILJqFgubPNl0KMNDeZfHOx5T8nw3/6B2JVROwNInRISsowlqK8RGcJSDHsKMXkG 43kgg0xER4ehyuGBLpa0wNvZm+8z4p5tmd5ZaGnhhLbR9vV+/ZCn6QMckyU1c5ytOTNM TaDL9mZHgRvj0fTjSwIAOwcmM9faXL0it45LER19v1YGU4QYFNH7/Uy6oxPGXFhEgrwm Js86YSyihEQdoTuQeBnxLbrQ7l6LRLpDIzvLYwX2EFdX9EkcVHSc0xfhcZPDBJiN2SJp j1bQ== X-Gm-Message-State: AOPr4FW/WmsQ4d/Q6GC+zpqhx4W4gq9/xv6IK+R2yTw57rCKFvf7NcTIkHJIO7y5tJaGFFpIGcXd2bgPknBrbQ== X-Received: by 10.107.35.3 with SMTP id j3mr12005991ioj.119.1461163728014; Wed, 20 Apr 2016 07:48:48 -0700 (PDT) MIME-Version: 1.0 From: Mike Meyer Date: Wed, 20 Apr 2016 14:48:37 +0000 Message-ID: Subject: gtk30 fails to follow packaging guidelines? To: gnome@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2016 14:48:49 -0000 Well, I just saw all my Rust binaries that use gtk break. Being for rust, they're sticklers for safety issues, and their code depends on some of gtk's debugging features. Their solution to how to deal with such libraries was to note the packaging guidelines at ( https://developer.gnome.org/glib/stable/glib-building.html#extra-configuration-options ): --enable-debug. Turns on various amounts of debugging support. Setting this to 'no' disables g_assert(), g_return_if_fail(), g_return_val_if_fail() and all cast checks between different object types. Setting it to 'minimum' disables only cast checks. Setting it to 'yes' enables runtime debugging. The default is 'minimum'. Note that 'no' is fast, but dangerous as it tends to destabilize even mostly bug-free software by changing the effect of many bugs from simple warnings into fatal crashes. Thus --enable-debug=no should not be used for stable releases of GLib. So at this time, the development version of these wrappers panic's on freebsd with the following message: Running `/export/mwm/src/chiselapp/order_chaos/target/debug/gtk` thread '
' panicked at 'libgtk-3 was configured with `--enable-debug=no`. See https://github.com/gtk-rs/gtk/issues/270 for details', So, is there a reason that we're apparently using --disable-debug for libgtk in spite of this warning? If not, any chance of getting that flag turned off?