From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wN15C2TpFWfU6gAAe85BDQ:P1 (envelope-from ) for ; Mon, 21 Oct 2024 05:40:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id wN15C2TpFWfU6gAAe85BDQ (envelope-from ) for ; Mon, 21 Oct 2024 07:40:52 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=simendsjo.me header.s=fm2 header.b=qT4Bc+c8; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm3 header.b=mAwylLka; dmarc=fail reason="SPF not aligned (relaxed)" header.from=simendsjo.me (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729489252; a=rsa-sha256; cv=none; b=AFnDnDXvkRX/q/Bz7rIvvFbCsdCsFCaYh+1GAc5SWEZ2rghUlrEgWO3VanND8nkbIxg8/r +X5y1ap6TB3TjeJOPjSNJQICxeNkrsm5MbVrQKQLtrrQOUk9o74BMDsoakxezblDM8z9ur jXaDuQDsqRkm1afyGx5QmR4RXPHNTvniNunfc6+x6AZVZ0tDbmC7c9jF3agODsxwS/yLVg jp3DQhl47ymXzvg0hdoDz+YS1HxkFfGlSdfrQAqSiOy+0KbV8YOFzIzqf0vB97KFZDG/CF 5RFwq4vPuQjFzvt7l9jXWM5BoOAHa7XM89MPCTRENhBmix/QZ7NoRjLGUoPMbQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=simendsjo.me header.s=fm2 header.b=qT4Bc+c8; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm3 header.b=mAwylLka; dmarc=fail reason="SPF not aligned (relaxed)" header.from=simendsjo.me (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729489252; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=XlX0fz93rn919LuSN34HY/VLQbsnxDisH+2BROXg/2c=; b=bE0I1thbvx0XyeG/Wh6I2EL64F+V6xdSJ4DCZ2ATVPHYPG0cRmDz7eYFIRR2WeC49CaORh hlv3lYIjTRaWK9hqCYEb5oqb8WZ6FE9d9PHESMysxZ27S+XNJKeaVoya3Otuad2yftZeq2 OcvDJRGfQzRQ8/j/vqsSL8WGIaJNDY+xTzksH/UkUEpN1R7dbZkMhpqD/R60U5vg/Suohe AwHVi7G5jxliQGJ9ydtPUMg0Gj6u6boRYqdXtcnWC4zIUKRBS3z7X8sSSdYu6IKhaxskmx MhODjC6nGMRrVqK8lrg+wZApaEDS20pTsKRy8uU6AbMAXrUkGfWmpqt3v7ezlQ== 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 690723DBF for ; Mon, 21 Oct 2024 07:40:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2l9K-0001KQ-5k; Mon, 21 Oct 2024 01:40:14 -0400 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 1t2Z0T-0001K9-Qs for help-guix@gnu.org; Sun, 20 Oct 2024 12:42:17 -0400 Received: from fout-a7-smtp.messagingengine.com ([103.168.172.150]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t2Z0R-0001Bi-5v for help-guix@gnu.org; Sun, 20 Oct 2024 12:42:17 -0400 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfout.phl.internal (Postfix) with ESMTP id 4B3BB138013C for ; Sun, 20 Oct 2024 12:42:11 -0400 (EDT) Received: from phl-imap-01 ([10.202.2.91]) by phl-compute-11.internal (MEProxy); Sun, 20 Oct 2024 12:42:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simendsjo.me; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1729442531; x=1729528931; bh=QYEWzDQdXPQRwg51Vgky7Q9XKRpUNASp 0ig4xct0uo4=; b=qT4Bc+c8rwf5K4U9ROcUs02sG1BRbyy/etMaU1IZP2RxDKN6 96MPkplkxNz3nZOcXYBbMUjvet5+mAoRAZy2PsbrWc/hQDmYxSicA9iyfpwBAXqG fLWiqnHaCedrQSy4xWSw855i4+QnVNcd65e8T3j4TVzrCJbkxeyv+xWFxc78sU43 mM/q/LZWpuwoxytmm3mopBMGrnqJ/Exn7EAzc5AzefoBfu760R7JIMrCfrcyPrbw 8eoORWkiPk+Wb5pRJ/Ur7RwnRe51W37ULnATjyPyUYXNUbXCBi1/376zEglvyxS5 3fGIQBrFWQc7M5dTf1LmQePNzYR2mJybj+owrw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1729442531; x=1729528931; bh=QYEWzDQdXPQRwg51Vgky7Q9XKRpUNASp0ig 4xct0uo4=; b=mAwylLkaHFnT7hNVr8DYSZpe5NsgOKsPYb5AHcF4vzDmDL6ty9Y I7j07pz9cUSfqT2V7VjKvHUIZPsWggdi5TPRbAtdrKBvBvc4xetbDvVtPsIHq7l3 js3ufjoz4wyd5ZDlMJmQtQed3vhWaRTde+kVuvVdI9Wjpda0RtCFnOXcrK4MgPKZ 3Aid0l1GvpvFlYiOJMouWl7m1YdHQoI0xRgsi8dP3JxZRAR400MmN+GznO+FFYyT 5cE3ffatPA4knq/7TEtmyvLGGgCQ2gWU+zltLWC4Gd8tTkZkzejh2FF2N6ZVA/Cl NH5OlCrb7RVGdfq9sjbgCI5wdJ9ByLS3ECw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehjedguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepofggff fhvffkufgtsegrtderreertdejnecuhfhrohhmpefuihhmvghnucfgnhgushhjppcuoegt ohhnthgrtghtsehsihhmvghnughsjhhordhmvgeqnecuggftrfgrthhtvghrnhepuefhle ehveeltefggfdtudffgedtffehjeehffegveekffeugedvieejtdfgkeelnecuffhomhgr ihhnpehsrhdrhhhtpdgtohguvggsvghrghdrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegtohhnthgrtghtsehsihhmvghnughsjhho rdhmvgdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoh ephhgvlhhpqdhguhhigiesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i08f14972:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 0F0483360079; Sun, 20 Oct 2024 12:42:11 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 Date: Sun, 20 Oct 2024 18:41:48 +0200 From: =?UTF-8?Q?Simen_Endsj=C3=B8?= To: help-guix@gnu.org Message-Id: <87784640-6cd3-459e-a5cf-5d706f6d304f@app.fastmail.com> Subject: Building mysql-workbench-community cannot find cairo.h Received-SPF: pass client-ip=103.168.172.150; envelope-from=contact@simendsjo.me; helo=fout-a7-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 21 Oct 2024 01:40:11 -0400 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 1.61 X-Spam-Score: 1.61 X-Migadu-Queue-Id: 690723DBF X-Migadu-Scanner: mx12.migadu.com X-TUID: JDb9xgCHWul+ Hi, I need some help packaging mysql-workbench. I'm using https://git.sr.ht/~yewscion/yewscion-guix-channel/tree/trunk/item/cdr255/utils.scm#L985 as a base. That channel doesn't work, but it seems pretty complete although maybe not 100% up to date. I pushed my changes to a branch in case someone want to give it a go: https://codeberg.org/simendsjo/dotfiles/src/branch/wip-mysql-package/sijo/packages/mysql.scm#L117 When trying to build this, I get an error: /tmp/guix-build-mysql-workbench-community-8.0.40-1.a7478f6.drv-0/source/library/forms/swig/cairo.i:180: Error: Unable to find 'cairo/cairo.h' The line in question is : %include The environment-variables file, /tmp/guix-build-mysql-workbench-community-8.0.40-1.a7478f6.drv-0/environment-variables, includes many libraries, including cairo: export C_INCLUDE_PATH=\ "/gnu/store/hhyz3rnzkvif1qf0cpbssx2lwc7md7pb-cairo-1.18.0/include" export CMAKE_PREFIX_PATH=\ "/gnu/store/hhyz3rnzkvif1qf0cpbssx2lwc7md7pb-cairo-1.18.0/" export CPLUS_INCLUDE_PATH=\ "/gnu/store/hhyz3rnzkvif1qf0cpbssx2lwc7md7pb-cairo-1.18.0/include" cairo.h is located at this path: /gnu/store/hhyz3rnzkvif1qf0cpbssx2lwc7md7pb-cairo-1.18.0/include/cairo/cairo.h But maybe C_INCLUDE_PATH and CPLUS_INCLUDE_PATH is not used here? I don't know CMake or much C, but maybe the CMakeLists.txt includes some information? Here is some parts from the file which looks relevant. /tmp/guix-build-mysql-workbench-community-8.0.40-1.a7478f6.drv-0/source/library/forms/swig/CMakeLists.txt: set(CMAKE_SWIG_FLAGS -w312) set_source_files_properties(cairo.i PROPERTIES CPLUSPLUS ON) set_property(SOURCE cairo.i PROPERTY SWIG_FLAGS -DCAIRO_HAS_PNG_FUNCTIONS=1 -fcompact -DSWIG_PYTHON_LEGACY_BOOL -I/usr/include) if(CMAKE_VERSION VERSION_LESS 3.8) swig_add_module(cairo python cairo.i) else() swig_add_library(cairo LANGUAGE python SOURCES cairo.i) endif() swig_link_libraries(cairo ${CAIRO_LIBRARIES}) target_include_directories(_cairo SYSTEM PRIVATE ${PYTHON_INCLUDE_DIRS} ) if (("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") AND (GCC_VERSION VERSION_GREATER 4.6 OR GCC_VERSION VERSION_EQUAL 4.6)) target_compile_options(_cairo PRIVATE -Wno-unused-but-set-variable) endif() if (GCC_VERSION) target_compile_options(_cairo PRIVATE -Wno-error) endif() target_compile_options(_cairo PRIVATE ${WB_CXXFLAGS}) Regards Simen