From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IOW4LexGrGVFLgEA62LTzQ:P1 (envelope-from ) for ; Sat, 20 Jan 2024 23:19:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id IOW4LexGrGVFLgEA62LTzQ (envelope-from ) for ; Sat, 20 Jan 2024 23:19:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ImIepwvz; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705789164; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=w0g7NtCppK89839Q/qufA+STmjW1ACqrQTLHr5+jDZo=; b=SpO0uC0pPqQnwlF+zNZ5wewWVO86+x4OzjqVyYVNUBnJZCG/N1Jj67UQywPlalbDa8kVCt +B53rOjy5r9nE9bAabQSX2KGS/3QYJOb/HnH+n2ybkncsqmSg6M4oRE4r4ZagT/Dbgs7YW /nHyjfugu7HqsOymbRq9UZH0YD1OrRZZuNcD6x38FJ/hsAhSbNU/NbURjSg7uMwWMMjAMC 19PQSM4T6kGSy04CHceFWmKDACZBNUK0IljlQHK+65e4l5DOYMfL1XONY7mjijSAl12O03 2YPGKODUYtIMAilQlTnarf0a6/8rWhKR3GPTm2yuGMIrQ76YMx00UoFJJbPjrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ImIepwvz; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705789164; a=rsa-sha256; cv=none; b=rTSKpu1E6Xz0x3tNMsje73j70S3EdzcvDXW1aF9QtUJ7UKl72QcidFROfuwz4Dr0pl91QN Caqh/k9iyi3C4r9JX3zk6dH0oHckGeMSM/ZvkPemRjv5oXFIKi+lZN2GNwBxQKsloAKr/3 3FIZqwadmFfMXTDLKO+lu0TYYg/j2Y3I2rZ9RfB/WSNFLGWH92KTMXYpNXY72mXHhGB4mv 6YYQrljuudG0DRGirSmcSA1+O4CPCItcKL4ud8h4xmP3OT2nFX+g5AgCszIxidCyzfzf1D WAgjZRxEjQOShSTC/iTnC0jDPw3rwOJxbugceXlSucMyQfGTAYfGHeX+gjKAfg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5C5F675EF5 for ; Sat, 20 Jan 2024 23:19:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRJg9-0007sx-5G; Sat, 20 Jan 2024 17:19:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rRJg2-0007sh-TS for bug-guix@gnu.org; Sat, 20 Jan 2024 17:19:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rRJg2-0004MW-LD for bug-guix@gnu.org; Sat, 20 Jan 2024 17:18:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRJg5-0001ZJ-MX for bug-guix@gnu.org; Sat, 20 Jan 2024 17:19:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#49122: gobject-introspection and not finding cairo Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 Jan 2024 22:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49122 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: John Kehayias Cc: "49122@debbugs.gnu.org" <49122@debbugs.gnu.org> Received: via spool by 49122-submit@debbugs.gnu.org id=B49122.17057890955968 (code B ref 49122); Sat, 20 Jan 2024 22:19:01 +0000 Received: (at 49122) by debbugs.gnu.org; 20 Jan 2024 22:18:15 +0000 Received: from localhost ([127.0.0.1]:36058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRJfK-0001YB-Rw for submit@debbugs.gnu.org; Sat, 20 Jan 2024 17:18:15 -0500 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]:50546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRJfH-0001Xu-W3 for 49122@debbugs.gnu.org; Sat, 20 Jan 2024 17:18:13 -0500 Received: by mail-qv1-xf34.google.com with SMTP id 6a1803df08f44-681397137afso17030636d6.1 for <49122@debbugs.gnu.org>; Sat, 20 Jan 2024 14:18:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705789083; x=1706393883; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=w0g7NtCppK89839Q/qufA+STmjW1ACqrQTLHr5+jDZo=; b=ImIepwvz27spZgdz03ANKFDzQshCWIw+z+VEk5rJ2XZYVP03TUqtRo4gkNrmToup1M MNNdvZ73JEkGwskkVrkkbKeItmMJoQ9aOhavjzSrJ23eIDN3/tYNVde1JDx3pEppBr2I fTuJ/kP3Hhs0SUtvsmDxNEAT+OJ+QcIFpCyHY3UrtPLLqaA/ES+9JnSCum5UMuzYxNvo azjA/nqmuTTHHiTEBKGmJ/RFcj3V4BwuiJ2jgbOCAD9I+lzaLpgdYCTA3F7BUUMlqWO9 FI6vGcWwEXaNZ0+8w7BD64raraVSQbWV4/5VbmsNe+PmFb2Whqe23CqeqtkyhgBl+Xx7 M3uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705789083; x=1706393883; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=w0g7NtCppK89839Q/qufA+STmjW1ACqrQTLHr5+jDZo=; b=hcwpZvKF3mtd6vtrHUwodLkTqaMcV+J9xbpCBt1E3uLD27CLJMgn8PzzpQ29onzJFc JEh2QmaK/T/zZYzLCg24EeJW2BKajB99huzxX858TDIEZuQogt6Ow/8w8Hvax/QjBc5Y /tONKjTk9dsAw9wD8xF4M4x6M1Lt7fNHaiDjgj/av0wnwuDi7HbWFOd49RBCwSSMuc3c MOXl2aqaX5uzKorEd2JKBocv0YaxLgexWn7iDhPufb1jZGN/V8KF78chQIALdOBHniVZ cS0sIsEUOM/Kg8Uj95tPkQ/OtQZmQiPKvan3J7zOlgq/BgoSAlMEYvXjYPxj2iMDpUsY 0YNw== X-Gm-Message-State: AOJu0YyGOQuTAes1KiJMudNWlKcEKu75OILQZJvc1XvCgkPc8Hjcsrru nbQjB3oxTtjl/i7lVU65IO5uAA4G4iKpe1g2SzQLmlYQ53zJ3Bahi3A8taFYuX4= X-Google-Smtp-Source: AGHT+IGkqy75WE5V6XOt/uckWk5HkOAP2XWaGBoUMoTk8YuzB/SdepcbGFvlkXzoOErqsqfSF0kqng== X-Received: by 2002:a0c:f291:0:b0:686:69d:53d with SMTP id k17-20020a0cf291000000b00686069d053dmr1268042qvl.20.1705789082988; Sat, 20 Jan 2024 14:18:02 -0800 (PST) Received: from hurd (dsl-10-128-232.b2b2c.ca. [72.10.128.232]) by smtp.gmail.com with ESMTPSA id pi2-20020a0562144a8200b00685aa8aae1csm746321qvb.12.2024.01.20.14.18.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jan 2024 14:18:02 -0800 (PST) From: Maxim Cournoyer In-Reply-To: (John Kehayias's message of "Sun, 20 Jun 2021 23:59:38 +0000") References: Date: Sat, 20 Jan 2024 17:18:01 -0500 Message-ID: <87edebd4yu.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 2.37 X-Migadu-Queue-Id: 5C5F675EF5 X-Spam-Score: 2.37 X-Migadu-Scanner: mx11.migadu.com X-TUID: eF+HYg9t8ihY Hi John, John Kehayias writes: > I've managed to fix the initial problem I noted, but this would depend > on having cairo as an input so that gobject-introspection can find the > library to patch the typelib. Unfortunately, this would be a circular > dependency. This is a long standing issue with how cairo is handled > here (see, e.g., > https://gitlab.freedesktop.org/cairo/cairo/-/issues/141). > > I don't know how circular dependencies are solved in guix, so I'm not > sure what to do to fix this. gobject-introspection doesn't need cairo > to build or function, so the build depends is not really needed other > than to fix this bug. So this could be done with a separate package or > in two steps? Upstream said: --8<---------------cut here---------------start------------->8--- The Cairo API is not really introspectable, because its type system does not use GObject. We could generate the introspection data by using a filter script to turn the snake case cairo_*_t types into the expected CamelCase Cairo* types, but it's not entirely trivial, and it would still not by usable by anything. --8<---------------cut here---------------end--------------->8--- Introducing an extra dependency to the closure of gobject-introspection, we'd have applications soft-linking to potentially different versions of cairo (cairo and cairo-sans-poppler), which seems ugly. Could we move the cairo.gir file to the cairo package, and this would be picked up by gobject-introspection if at the right location? It'd differ from upstream, but that'd be cleaner. Perhaps we could contribute such fix for inclusion upstream too. -- Thanks, Maxim