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 KNUuJA6brmbcswAAe85BDQ:P1 (envelope-from ) for ; Sat, 03 Aug 2024 21:03:10 +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 KNUuJA6brmbcswAAe85BDQ (envelope-from ) for ; Sat, 03 Aug 2024 23:03:10 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tatd.dev header.s=dkim header.b=Fi6MEt2E; dmarc=pass (policy=quarantine) header.from=tatd.dev; 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=pass ("simplelogin.co:s=arc-20230626:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722718990; 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=1X2qAqMB/9CkwG5F7263L2gT8P6VfI85Cx4N+lhcWCY=; b=dn0WREHcpvB+DZArif+NkeTo+qsONlbu4cjUlx8c2S7Uy4XgzAK+Lns/bko6S8dPBqWVq3 xLH0hsqfLT6xEAkb0B4jmBsDZFxc3aSrnm+YKJqtZoJjIhNbSfNvVCdnhCnZUYrknWgVBd A5GIdG2jqWgs3mMcNHQfEqfiLDCBL6Y/yQAUfRPwNMblYYUXo5coEstMmuckuENMAfi5Bc DwM1PPObZJFATPRAwBu5bUvwF0jdJ+Vt700tETOaAcoSqdUdfMJWUB07jfhxVZspcAoNJM d/UILhiHPXD68hz2L+RhkIf7JyYd2HUk57pYkXfVxSwuKHtA6chXzXXMG+2P1w== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1722718990; a=rsa-sha256; cv=pass; b=dwKTiX5sUfvqqSHhzTtLoLfZhmJF+/NJEgU8fvlL4k+cDYfSqFTdit6aoA0BC3zEbnAlkM //6Vh+uJb1rBOUOZzU/BiEcmi0TrjTXmLBZJfO+nY8HMGTPYBogTrJAyo6kVsLohCqe01+ pIfvL6TdGmN5I9d/zM6mz4eZRmunFxzXaAzB+G1HfKSsLRscmKYGWtQH0RKhnqFSP7ZPq1 GtnN/LEB1hPG/91tAF44gLCruR4FLiHEYsscdxKBy1ZZiLZno21NqUymQXkCFnV68rr6d3 QArV6y352svwcFhOqTsRbN8hOep2png4ICFctWM+hM+4W5VH7M1MVVCpU2Keow== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=tatd.dev header.s=dkim header.b=Fi6MEt2E; dmarc=pass (policy=quarantine) header.from=tatd.dev; 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=pass ("simplelogin.co:s=arc-20230626:i=1") 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 6195314CBC for ; Sat, 3 Aug 2024 23:03:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saLtd-00031l-Kb; Sat, 03 Aug 2024 17:02:37 -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 1saLtb-000311-OD for help-guix@gnu.org; Sat, 03 Aug 2024 17:02:35 -0400 Received: from mail-200165.simplelogin.co ([176.119.200.165]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1saLtZ-0006uy-Fx for help-guix@gnu.org; Sat, 03 Aug 2024 17:02:35 -0400 ARC-Seal: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1722718949; cv=none; b=iFnk5c/dxg/ySTuCoxgINDcCUU9mP//6ukR4Wvp+kMKDyh2GpY2b/g2y5y3w8UsJ5WN4drui0Ll7B0z85dmB+fOafJL/pkqsINKxKbl0sb7vIS6YrUawiYd+Vn2ocmLrmaNLpcAPt02Me2eXcyeFJKMFudmvg20rtuVY9rlYpxf5O0HWkd4BOnSPzkBXRgzDzafVMnm1wIQuLYHQ+rG71F9R8zBnhM/QYlnp3Jc+tupb+YoS3m9FP8sE0D0b9XtZsXR97wkFxR7suqeDBaGbVUJSRV8I4wz23vi5AWXIwa6K6YaMW+bEWcRIxOr58RNv/UDQW0LE3yhb2MFOWaoWqg== ARC-Message-Signature: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1722718949; c=relaxed/simple; bh=IHb+T/yiaiz6sc36nD/QkVNwMvfjh6hAM9X+7ufrAf8=; h=Date:Subject:From:To; b=QnjYayocW+e3PCj2wejH2LSWS+JurMHpsINHE4OxjDZPHcz0Ee6KiS6HQ1j0mXCIDABpl6P87QaUI+8OU1Sra7reY39cLV8f/NQ/dqgy6v2dYAWl4wMdrMYgtVhv9VFfbcf7fEqCPa/stRv6DJ0NpLaKZchyHXzyeYouCDmjtuA6BIINGNqpYfn7VMZR7eNkZpZYr1GBv5srza5PAJ47yiseS6GQAeulZ66Q3eSbUDDLBuMouYf93JkG53qILMLH7+qOy1mGi067qERZzmyUbx4+qzb1L400NLMWkZu8RrX1jOYKVYqJ8bgDdVjcKsnXgjh5+MvrnLC2zlRDei+aMg== ARC-Authentication-Results: i=1; mail.protonmail.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tatd.dev; s=dkim; t=1722718949; h=from:from: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; bh=1X2qAqMB/9CkwG5F7263L2gT8P6VfI85Cx4N+lhcWCY=; b=Fi6MEt2E4yq6a6Pqp+nwMs9n+UvsfrJMW3Lk5alr0mw+PKcqcK6xRYHXIcPAJ0RfrqFY6V Jz8e+6phzdlQldwBCZg8cWJsHZ+sHQOGelJJSPw+mFdoJSmwt7+JY15WuIeLefYMAv/6dd ufYxE+Im8sY2yc9rNXNXsiROZD6Z+Ko= Date: Sat, 03 Aug 2024 21:02:22 +0000 Subject: Creating a package is putting it in the wrong directories and not adding libs to the package. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: guix@tatd.dev To: help-guix Message-ID: <172271894910.7.11673029961956479268.396729343@tatd.dev> X-SimpleLogin-Type: Reply X-SimpleLogin-EmailLog-ID: 396729343 X-SimpleLogin-Want-Signing: yes Received-SPF: pass client-ip=176.119.200.165; envelope-from=sl.lmysyibthe3domrzgm2dglbageztmmrqgyzf2.ci6cptk2w32uw@tatd.dev; helo=mail-200165.simplelogin.co X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Queue-Id: 6195314CBC X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.64 X-Spam-Score: -8.64 X-TUID: QSZ+Hobpu95B Hello. I don't know if this is the right email list. If not please point me= to the right direction. I am trying to package two programsbfor guix. One is a platform for the oth= er program. The platform build and installs. Its not adding the lib files = or the right directories to the package for the other program to be build. I am new to the guix package build system and cmake.=20 Issues - It installs just the /include folder instead of /usr/local/include - It does not install the config files. It installs the config files in a t= mp folder and delete them after build. Here is build process that a capture both from guix and Debian VM. Debian i= s installing it in /usr/local and including the lib files from the p8-platf= orm buid. Any help would be much appreciated thank you. Here is the capture from Guix, Debian, and the scm file for the build.=20 ## From Guix Install the project... /gnu/store/gl26kr5v6ch5lc3ignly61kb224drijc-cmake-minimal-3.24.2/bin/cmake = -P cmake_install.cma$ -- Install configuration: "RelWithDebInfo" -- Installing: /tmp/guix-build-p8-platform-2.2-1.5a786dd.drv-0/build/lib/li= bp8-platform.a -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-= 1.5a786dd/include/p8$ -- Installing: /tmp/guix-build-p8-platform-2.2-1.5a786dd.drv-0/build/lib/pk= gconfig/p8-platform.$ -- Installing: /tmp/guix-build-p8-platform-2.2-1.5a786dd.drv-0/build/lib/p8= -platform/p8-platf phase `install' succeeded after 0.1 seconds starting phase `patch-shebangs' phase `patch-shebangs' succeeded after 0.0 seconds starting phase `strip' phase `strip' succeeded after 0.0 seconds starting phase `validate-runpath' phase `validate-runpath' succeeded after 0.0 seconds starting phase `validate-documentation-location' phase `validate-documentation-location' succeeded after 0.0 seconds starting phase `delete-info-dir-file' phase `delete-info-dir-file' succeeded after 0.0 seconds starting phase `patch-dot-desktop-files' phase `patch-dot-desktop-files' succeeded after 0.0 seconds starting phase `make-dynamic-linker-cache' phase `make-dynamic-linker-cache' succeeded after 0.0 seconds starting phase `install-license-files' installing 0 license files from '../source' phase `install-license-files' succeeded after 0.0 seconds starting phase `reset-gzip-timestamps' phase `reset-gzip-timestamps' succeeded after 0.0 seconds starting phase `compress-documentation' phase `compress-documentation' succeeded after 0.0 seconds successfully built /gnu/store/9v82lvbn3q0mfqdll0h420hm06hgh7l2-p8-platform-= 2.2-1.5a786dd.drv /gnu/store/8dzz4w415g4rnbr7hjh008jr8hf13q0v-p8-platform-2.2-1.5a786dd I was able to installed it on Debian VM ## From Debian [100%] Built target p8-platform Install the project... -- Install configuration: "" -- Installing: /usr/local/lib/libp8-platform.a -- Installing: /usr/local/include/p8-platform/os.h -- Installing: /usr/local/include/p8-platform/posix/os-socket.h -- Installing: /usr/local/include/p8-platform/posix/os-threads.h -- Installing: /usr/local/include/p8-platform/posix/os-types.h -- Installing: /usr/local/include/p8-platform/sockets/cdevsocket.h -- Installing: /usr/local/include/p8-platform/sockets/socket.h -- Installing: /usr/local/include/p8-platform/sockets/tcp.h -- Installing: /usr/local/include/p8-platform/threads/atomics.h -- Installing: /usr/local/include/p8-platform/threads/mutex.h -- Installing: /usr/local/include/p8-platform/threads/threads.h -- Installing: /usr/local/include/p8-platform/util/atomic.h -- Installing: /usr/local/include/p8-platform/util/buffer.h -- Installing: /usr/local/include/p8-platform/util/StringUtils.h -- Installing: /usr/local/include/p8-platform/util/StdString.h -- Installing: /usr/local/include/p8-platform/util/timeutils.h -- Installing: /usr/local/include/p8-platform/util/util.h -- Installing: /usr/local/lib/pkgconfig/p8-platform.pc -- Installing: /usr/local/lib/p8-platform/p8-platform-config.cmake Here is my package scm file (define-module (tatd-channel) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix utils) #:use-module (guix git-download) #:use-module (gnu packages xorg) #:use-module (gnu packages pkg-config) #:use-module (gnu packages linux) #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) #:use-module (guix download)) =20 (define-public p8-platform (let ((commit "5a786dd580972a2dc89941ea60dc08c0314e0e4d") (revision "1")) (package (name "p8-platform") (version (git-version "2.2" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/Pulse-Eight/platform/") (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 "1p8npdps5xzs3ix643kn6didf3w4nkfqjiaaffxd43ajnimnwnk4"))= )) (build-system cmake-build-system) (arguments `(#:tests? #false #:make-flags (list (string-append "prefix=3D" %output)))) (synopsis "The Platform for libcec to control tv hdmi") (description "The Pulse Eight Platform for allow libcec to control your hdmi tv = through your compu$ (home-page "https://www.pulse-eight.com") (license gpl2+)))) (define-public p8-libcec (package (name "p8-libcec") (version "6.0.2") (source (origin (method url-fetch) (uri (string-append "https://github.com/Pulse-Eight/libcec= /archive/refs/tags$ (sha256 (base32 "0xrkrcgfgr5r8r0854bw3i9jbq4jmf8nzc5vrrx2sxzvlkbrc1h9"))= )) (build-system cmake-build-system) (outputs '("out")) (arguments `(#:tests? #false)) (inputs (list p8-platform)) (native-inputs (list libxrandr pkg-config eudev)) (synopsis "The libcec is the library to control tv through hdmi") (description "The Pulse Eight libcec is to control your tv through your computer= ") (home-page "https://www.pulse-eight.com") (license gpl2+)))