X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 72FB9385BC23 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1631912281; bh=CCcZ9UiGL82cKzO2AJI0LnI0U7mMlEB7sEKK55lC3Fo=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=qq8Sidaw5r2CHDW4WqGiHPZ90qtAdxn+EqifQAEI3PsnISg0k+3deU0KtP4LB3y9+ eg+RwvXGD5iMV9sLH/lV/SxraaPvxVEZh1rKihg+IL18NYkNCLvictUdSHa5iF25RD csn6ewEmkv3m4ZAAySXC+hbichQc6vr8pwwLjMcc= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F4110385840D X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=OqJVk/btv3hMYaWFd+I8OuTtYWySYG+m4+cYFGAHNZU=; b=YPy1wWNMmzmSPm5znlWy28rkhVw+CYG8eT/rcZfwWrFVkFG8KHv5rdDz3BUPKfw8TB KAtI4G99iibn88noZmMuOXSHdaSuvd1RCoboKD7jKaPxHkrhH544VvQZsCclcGRO4TrS Q7lHj7FQ4FaUf8hDJ7KaXA8KcY/bdV51WwzjWshd0rbhbWccl2ZQ2nH2jPW4RWJP28V7 qagOmqza3hPvWrbsj9AAYtkGHyDWhkcCgIIE17FnSL0kCeXq1SyzdAWMvDbx4WOT9DoN Rd9N0GnvnUTEAE9vIJNL7fpB2WQ50hi8s0XoAdlRRj2zIeETZgipikgTzHIm/c5Fu09L OW6g== X-Gm-Message-State: AOAM531fxs5qWO4qIL8PkTrHXjg4eRV0iyf3dTi/5CKAxrZ1Kn2oqur0 Ok4zuj/xwTBbqp6+cLB9zW5ctebUegun9/mIFXdvsDOmkDQ= X-Google-Smtp-Source: ABdhPJxFqnmruVuMlcV3Jgj+JkM3jefHbcpcVZ5HBQZrDYj95E2iAmvfb8qwu9Sts0UJ7VK6j1fiEC07bNOyhKW4To4= X-Received: by 2002:a17:906:919:: with SMTP id i25mr14135523ejd.171.1631912250007; Fri, 17 Sep 2021 13:57:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 17 Sep 2021 22:57:18 +0200 Message-ID: Subject: Re: cygport: CYGCMAKE_SOURCE seems to have no effect. To: cygwin AT cygwin DOT com Content-Type: multipart/mixed; boundary="000000000000f781cf05cc372d1f" X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: "Carlo B. via Cygwin" Reply-To: "Carlo B." Sender: "Cygwin" --000000000000f781cf05cc372d1f Content-Type: text/plain; charset="UTF-8" Hello, > If you look at the Cygport Install Functions docs for docinto, ...into, > defining target directories, you would see that an "absolute" path > disables cygport from prefixing a subdirectory name with the package > name, etc. so CMakeLists.txt is (linked) under ${S,B}/cmake, and cygport > will automatically find that, so it should not be required or specified: > > https://cygwin.github.io/cygport/cmake_cygclass.html#robo767 > cygport does not find it. If CYGCMAKE_SOURCE is not defined into my liblo.cygport, it prints: *** ERROR: cygcmake: cmake directory not found If CYGCMAKE_SOURCE is defined as "${S}/cmake", it prints again: *** ERROR: cygcmake: cmake directory not found If CYGCMAKE_SOURCE is defined as an absolute path like I have written in my previous message, it finally works. > "This is only necessary when the top-level CMakeLists.txt is not in $S > and cygcmake is not being run in the same subdirectory of $B which under > $S contains the top-level CMakeLists.txt. (IOW if the top-level > CMakeLists.txt is in $S/unix and cygcmake is run from $B/unix, setting > CYGCMAKE_SOURCE would not be necessary.)" "This is only necessary when the top-level CMakeLists.txt is not in $S" true, it is under "$S/cmake" "and cygcmake is not being run in the same subdirectory of $B which under $S contains the top-level CMakeLists.txt." also true in my opinion. It could be possible that I have not understood something, but however there is also an easy way: - my cygport file was included in my first email and also attached into this last one. - the source archive can be downloaded from this direct link: http://downloads.sourceforge.net/liblo/liblo-0.31.tar.gz - put both them into a directory and execute: cygport liblo.cygport all and you will see with your eyes that it does not work. Perhaps, there are other extra things to write in my cygport that I don't know about. thank you very much for your support. Sincerely. --000000000000f781cf05cc372d1f Content-Type: application/octet-stream; name="liblo.cygport" Content-Disposition: attachment; filename="liblo.cygport" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_ktotw9h20 aW5oZXJpdCBjbWFrZQoKTkFNRT0ibGlibG8iClZFUlNJT049MC4zMQpSRUxFQVNFPTEKQ0FURUdP Ulk9IkF1ZGlvIgpTVU1NQVJZPSJPcGVuIFNvdW5kIENvbnRyb2wgcHJvdG9jb2wgZm9yIFBPU0lY IHN5c3RlbXMiCkRFU0NSSVBUSU9OPSJPcGVuIFNvdW5kIENvbnRyb2wgKE9TQykgaXMgYSBwcm90 b2NvbCBmb3IgY29tbXVuaWNhdGlvbgogYW1vbmcgY29tcHV0ZXJzLCBzb3VuZCBzeW50aGVzaXpl cnMsIGFuZCBvdGhlciBtdWx0aW1lZGlhIGRldmljZXMgdGhhdAogaXMgb3B0aW1pemVkIGZvciBt b2Rlcm4gbmV0d29ya2luZyB0ZWNobm9sb2d5LiIKSE9NRVBBR0U9Imh0dHA6Ly9saWJsby5zb3Vy Y2Vmb3JnZS5uZXQvIgpTUkNfVVJJPSJodHRwOi8vZG93bmxvYWRzLnNvdXJjZWZvcmdlLm5ldC9s aWJsby9saWJsby0ke1ZFUlNJT059LnRhci5neiIKClBLR19OQU1FUz0ibGlibG8xIGxpYmxvLWRl dmVsIgpQS0dfSUdOT1JFPSIKCXVzci9zaGFyZS9kb2MvbGlibG8vQVVUSE9SUwoJdXNyL3NoYXJl L2RvYy9saWJsby9DT1BZSU5HCgl1c3Ivc2hhcmUvZG9jL2xpYmxvL0NoYW5nZUxvZwoJdXNyL3No YXJlL2RvYy9saWJsby9ORVdTCgl1c3Ivc2hhcmUvZG9jL2xpYmxvL1JFQURNRQoJdXNyL3NoYXJl L2RvYy9saWJsby9UT0RPCiIKCmxpYmxvMV9DQVRFR09SWT0iTGlicyIKbGlibG8xX1NVTU1BUlk9 IiR7U1VNTUFSWX0iCmxpYmxvMV9DT05URU5UUz0iCgl1c3IvYmluL2N5Z2xvLTcuZGxsCgl1c3Iv YmluL29zY2R1bXAuZXhlCgl1c3IvYmluL29zY3NlbmQuZXhlCiIKbGlibG9fZGV2ZWxfQ0FURUdP Ulk9IkxpYnMiCmxpYmxvX2RldmVsX1NVTU1BUlk9IiR7U1VNTUFSWX0iCmxpYmxvX2RldmVsX0NP TlRFTlRTPSIKCXVzci9pbmNsdWRlL2xvLyoKCXVzci9saWIvbGlibG8uZGxsLmEKCXVzci9saWIv cGtnY29uZmlnL2xpYmxvLnBjCgl1c3IvbGliL2NtYWtlL2xpYmxvL2xpYmxvQ29uZmlnLmNtYWtl CiIKCkNZR0NNQUtFX1NPVVJDRT0iJHtTfS9jbWFrZSIK --000000000000f781cf05cc372d1f Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple --000000000000f781cf05cc372d1f--