From unknown Sun Jun 22 11:32:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#78029 <78029@debbugs.gnu.org> To: bug#78029 <78029@debbugs.gnu.org> Subject: Status: libssh-0.11.1 fails to cross compile Reply-To: bug#78029 <78029@debbugs.gnu.org> Date: Sun, 22 Jun 2025 18:32:15 +0000 retitle 78029 libssh-0.11.1 fails to cross compile reassign 78029 guix submitter 78029 yelninei@tutamail.com severity 78029 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 24 03:22:03 2025 Received: (at submit) by debbugs.gnu.org; 24 Apr 2025 07:22:03 +0000 Received: from localhost ([127.0.0.1]:34807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7quI-0006BU-Ti for submit@debbugs.gnu.org; Thu, 24 Apr 2025 03:22:03 -0400 Received: from lists.gnu.org ([2001:470:142::17]:57570) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7quG-0006Au-E7 for submit@debbugs.gnu.org; Thu, 24 Apr 2025 03:22:00 -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 1u7quA-0007IB-VL for bug-guix@gnu.org; Thu, 24 Apr 2025 03:21:54 -0400 Received: from mail.w13.tutanota.de ([185.205.69.213]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u7qu8-0003lw-Oa for bug-guix@gnu.org; Thu, 24 Apr 2025 03:21:54 -0400 Received: from tutadb.w10.tutanota.de (w10.api.tuta.com [IPv6:fd:ac::d:10]) by mail.w13.tutanota.de (Postfix) with ESMTP id F10267E82B2D for ; Thu, 24 Apr 2025 09:21:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1745479277; s=s1; d=tutamail.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=tR4Om7aUykIA0adiGfhkwN0XyqHv/QnpXLSWnHKqtF0=; b=tOW704lYq13TlJzYClv4h8M+HSWxjFbmkCkGy2d0D8ojitbpXNPsf0JnYABh75Iz MY1O1JlsaNIDDobWsnwJy6YCqgnkdacQu560DIMAih/YIpEJu4q7IXXVdZUIfWo0PNj AlAmZPAD8zfZx1Z3ev+AEr0VFPzPyUIsR6icf32bBaDjXffCADr/hzNqcsX33b8drfC yJCTpdOvBruG8SVv+nWbFI7yHKhONwyCaB8XeMB9o0gyZvawSn70297RVQBihl3ZFdJ vptySvJ7hQQ1RIIN/FR0faWNQafwPhxu1rpuoC02sFKVZmsXgEtN8hONvllEYbpv6YO NflsZpvyUg== Date: Thu, 24 Apr 2025 09:21:17 +0200 (CEST) From: yelninei@tutamail.com To: bug-guix@gnu.org Message-ID: Subject: libssh-0.11.1 fails to cross compile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.205.69.213; envelope-from=yelninei@tutamail.com; helo=mail.w13.tutanota.de 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Hello, Since commit=C2=A0b12d44dd5e35ac236bf3fbb5619b9c8c2f42c902 turned on tests = and switchted to gexps the package no longer cross compiles, which is a dep= endency of guile-ssh (and guix). When cross compiling to a 32bit target (tested with i586-pc-gnu) something = goes wrong ungexp-splicing the extra CFLAGS and the literal list procedure = is inserted for the cflags: starting phase `configure' source directory: "/tmp/guix-build-libssh-0.11.1.drv-0/libssh-0.11.1" (rela= tive from build: "../libssh-0.11.1") build directory: "/tmp/guix-build-libssh-0.11.1.drv-0/build" running 'cmake' with arguments ("../libssh-0.11.1" "-DCMAKE_BUILD_TYPE=3DRe= lWithDebInfo" "-DCMAKE_INSTALL_PREFIX=3D/gnu/store/q1zi25van8xrzmi7gmj28rw8= q9cwx7s1-libssh-0.11.1" "-DCMAKE_INSTALL_LIBDIR=3Dlib" "-DCMAKE_INSTALL_RPA= TH_USE_LINK_PATH=3DTRUE" "-DCMAKE_INSTALL_RPATH=3D/gnu/store/q1zi25van8xrzm= i7gmj28rw8q9cwx7s1-libssh-0.11.1/lib" "-DCMAKE_VERBOSE_MAKEFILE=3DON" "-DCM= AKE_C_COMPILER=3Di586-pc-gnu-gcc" "-DCMAKE_CXX_COMPILER=3Di586-pc-gnu-g++" = "-DCMAKE_SYSTEM_NAME=3DGNU" "-DWITH_GCRYPT=3DON" "-DUNIT_TESTING=3DON" # "-DCMAKE_C_FLAGS=3D-g -O2 -Wno-incompatible-pointer-types") error: in phase 'configure': uncaught exception: wrong-type-arg #f "Wrong type (expecting ~A): ~S" ("string" #) (#)=C2=A0 Even a 64bit target (tested with aarch64-linux-gnu) fails because it cant f= ind cmocka but i assume the tests can not be run when cross compiling anywa= y? CMake Error at /gnu/store/mnmn1rcllrimsyr9k8r9i00jqfmcrflk-cmake-minimal-cr= oss-3.24.2/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230= (message): =C2=A0 Could NOT find CMocka (missing: CMOCKA_LIBRARIES CMOCKA_INCLUDE_DIR) Call Stack (most recent call first): =C2=A0 /gnu/store/mnmn1rcllrimsyr9k8r9i00jqfmcrflk-cmake-minimal-cross-3.24= .2/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA= _FAILURE_MESSAGE) =C2=A0 cmake/Modules/FindCMocka.cmake:63 (find_package_handle_standard_args= ) =C2=A0 CMakeLists.txt:59 (find_package) There is also a deperecation warning for the gcrypt backend -- Found GCrypt: /gnu/store/r02yh1bm9gbm2klmmvqy483v50rmnsw8-libgcrypt-1.11= .0/include (found suitable version "1.11.0", minimum required is "1.5.0")= =C2=A0 CMake Warning at CMakeLists.txt:51 (message): =C2=A0 libgcrypt cryptographic backend is deprecated and will be removed in= future =C2=A0 releases. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 24 05:21:34 2025 Received: (at submit) by debbugs.gnu.org; 24 Apr 2025 09:21:34 +0000 Received: from localhost ([127.0.0.1]:36025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7slx-0000I0-8A for submit@debbugs.gnu.org; Thu, 24 Apr 2025 05:21:33 -0400 Received: from lists.gnu.org ([2001:470:142::17]:35040) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7slu-0000H1-MW for submit@debbugs.gnu.org; Thu, 24 Apr 2025 05:21:31 -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 1u7slo-0005Uy-8S for bug-guix@gnu.org; Thu, 24 Apr 2025 05:21:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u7sln-00089h-L8; Thu, 24 Apr 2025 05:21:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=O55cA5H/kQ+/Qks+AEWhNPDT2EAHMe8GiFaPHk5Kf2k=; b=fsjf4wV0DE+yKoKDflUB jCOseX2DkKkAiRubLi1JjcxnLT8D7Ib1IshbUgpC/8vAcR1xDnHxi2FlSuVnBrMAo4lX29Qf7q1K3 sBC0c4eStENnKZBCrEtb9lzuLDOej3Kct85iiXpvzUQ9k/ulQu5ePcFqvP9kZBPO9Iy5QbalzC8jQ I97K3z6BvsbMTiHjYbSQVQNTUIar8X31j6nZNdJYoMfsmCRGs1aTy6yzbFq83JcPYV8PdU8tVytng +Jxv+7i70fGfoIbT5AzuFDJVPj8CLedLOcHswHX6C7c4+AisdpzGTMz2ewPO7bCHc/gxRMGHgeJgz LnGAgB2Nx1CcIw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: yelninei--- via Bug reports for GNU Guix Subject: Re: bug#78029: libssh-0.11.1 fails to cross compile In-Reply-To: (yelninei's message of "Thu, 24 Apr 2025 09:21:17 +0200 (CEST)") References: User-Agent: mu4e 1.12.9; emacs 29.4 X-URL: https://people.bordeaux.inria.fr/lcourtes/ X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu X-Revolutionary-Date: Quintidi 5 =?utf-8?Q?Flor=C3=A9al?= an 233 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Rossignol Date: Thu, 24 Apr 2025 11:21:04 +0200 Message-ID: <8734dxlxtr.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit Cc: yelninei@tutamail.com, 78029-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, yelninei--- via Bug reports for GNU Guix writes: > Since commit=C2=A0b12d44dd5e35ac236bf3fbb5619b9c8c2f42c902 turned on tests > and switchted to gexps the package no longer cross compiles, which is > a dependency of guile-ssh (and guix). > > When cross compiling to a 32bit target (tested with i586-pc-gnu) > something goes wrong ungexp-splicing the extra CFLAGS and the literal > list procedure is inserted for the cflags: Fixed: 93f61013db gnu: libssh: Restore support for cross-compilation. f88be0a5b3 gnu: libssh: Fix #:configure-flags for cross-compilation to 32= -bit. Someday we=E2=80=99ll get childhurd support for more than two days in a row. :-) Thanks, Ludo=E2=80=99. From unknown Sun Jun 22 11:32:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 22 May 2025 11:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator