From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0MywNPguqmWBDAEAqHPOHw:P1 (envelope-from ) for ; Fri, 19 Jan 2024 09:12:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0MywNPguqmWBDAEAqHPOHw (envelope-from ) for ; Fri, 19 Jan 2024 09:12:40 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=cU+G4Vfb; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705651960; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NXTMqziolgpIN+y3Sk/8SRIwqTknc0JgHJcD8MVDEw8=; b=Z3nje5K25AenmVWPLsq9Lm53Ndme3i3N4fjdWaGXnqzVrVOLvhz9xGYql7X00EDQAQxj1e yK1te3aFGWPoO61Rp+L0fmtR7xFf4t7KxbOcEZR2jME7Kp2/xkSSeFokUG+/WLGkR4Jx4i zRZF/D1vrbUJDT5An/fZbcDRHB7ldP8vFZ99ZIq9HJLB16uX1KCCv2gmXHTaSjA9sHBfIj vaJRWSljoeY8OMzaNu/F3uySMc9E6TrAGhdCqryyddmoj3mln0ftcpbR4cUPuq3w5lflPT YJd16gKx5UctRH8qpDhES2hzVPM1MZZ5njSULLU2SCcEd8pEjM3P0QDGG2xIzg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=cU+G4Vfb; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705651960; a=rsa-sha256; cv=none; b=tvHsU7zshiBV5GObYMIjUfm4NTCpTTpun3k2pNdghTgzDdw4piVfU2K94Hd9UV0346kqoW n8bw9Lce+nHW6jOgH4PfgsA8qzJr7GAVvQUVn2yW8DrC/5SblGV/JkyzOzycQ3Z7cFVQLc o7ZEtLmvW2OhlkcEpqdPniEXO1qfZ7naB7bu5+b3jr49RH/OCTvf6ha+8l8UufQIXetvNy 7bmkCx9b31mDADLyAjiZXVN023lAAAF6Kz2L+j8LzK1VK0M6SQu2QEi1B5tTRBxZ2By8pL HRmkyBiGHZn1le0r+ViGdtUQF0vi3asG9oUFdggNtIYY/O3SH6yo6AGrzobVmg== 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 7637A3D4AD for ; Fri, 19 Jan 2024 09:12:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQjs9-0005TZ-PL; Fri, 19 Jan 2024 03:05: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 1rQjs4-0005T2-1T for help-guix@gnu.org; Fri, 19 Jan 2024 03:05:00 -0500 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQjrz-0004zy-Bq for help-guix@gnu.org; Fri, 19 Jan 2024 03:04:59 -0500 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-50e7b273352so489024e87.1 for ; Fri, 19 Jan 2024 00:04:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705651492; x=1706256292; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:user-agent:from:to:cc :subject:date:message-id:reply-to; bh=NXTMqziolgpIN+y3Sk/8SRIwqTknc0JgHJcD8MVDEw8=; b=cU+G4VfbIct9kzeo+pKqJKwa1bS6+ZrkfZHBrNVWhdhaomSjotviLJxjy5t04fOzIr Xdbj1m7MX8yXpDw8qf4T8m5IgSqyDopiT99G+5TFvb+ceyXAP4ToKf1oWTv+bpMXkTI7 QwxWpdeu5u4XCTeYloiYK2f/ckoy/XqgEfdAtgxJfoJ44Uc4IpCrtl+3+Ho7QqxI/VZG yBcWz9UYnE0LgFuXeTsfWHclNjyJq1cg005YiiusKjhg0DLavA/CZUEpgYVW+2taB9nd CrcRDMTt4lyF1CFVUtW/gw07IYLV/cvH7tJ19YAgXLlnII0GL9mrl1K793/oxzV6X1oc s8pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705651492; x=1706256292; h=mime-version:message-id:date:subject:to:from:user-agent :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NXTMqziolgpIN+y3Sk/8SRIwqTknc0JgHJcD8MVDEw8=; b=gIxN1GpMaIUc8W8gUiQrEOQX6anuDb+7f9yMR2C7P4NXgAwcgj0m/7ixgxJzAQdJDt rmLaWwgA7lafNf2iS/H9+/aAgsCsGo4yDwcv9xWMnfYCWDZ+GUYWvK5mcT8vTYQJHmRp Tm7BSYoKF4g47xc07kaw11xypBcxo1QuR7O4zd9RODsiDLUekslmzDgiP3coVdlCoFm0 0izhfSzk22Gt5xtBJtE3Lm4d7S/Fgq4ScVseDEzHna7DzMXwdi5idTgyNZCpfEGOU68r zaL765XWFw1cVlIJB9eRm9NYNo09od6ygoiBJuLtNwO9SISLV53ztOtaF6PYml1Be/ab 5gsA== X-Gm-Message-State: AOJu0YyZPYVfWKEemky7bqu1RYQHYLVhm4AAxlphXskef5PYeO9hKcxx VXjUg7ypoHnJB6dsMNv0NAxMkMLPDJJppgGo8fgWPbLS/Bj3WZJZNhxdZpgG X-Google-Smtp-Source: AGHT+IHBG8UjI/0nmaJMXeK2ZHj1s9W79MZSq/tJRflItR7Hg0cIeUWbMD9RGVA9jOLKjvoakV59QQ== X-Received: by 2002:a05:6512:1151:b0:50e:b3ed:f4fb with SMTP id m17-20020a056512115100b0050eb3edf4fbmr557180lfg.15.1705651491937; Fri, 19 Jan 2024 00:04:51 -0800 (PST) Received: from localhost (78.79-160-60.customer.lyse.net. [79.160.60.78]) by smtp.gmail.com with ESMTPSA id n20-20020a195514000000b0050ee09b22efsm894121lfe.291.2024.01.19.00.04.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 00:04:51 -0800 (PST) User-agent: mu4e 1.10.8; emacs 30.0.50 From: Lars Rustand To: help-guix@gnu.org Subject: Help packaging network-manager-sstp and sstp-client Date: Fri, 19 Jan 2024 08:26:23 +0100 Message-ID: <87il3pg34z.fsf@yoga.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=rustand.lars@gmail.com; helo=mail-lf1-x134.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Spam-Score: -10.00 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -10.00 X-Migadu-Queue-Id: 7637A3D4AD X-TUID: 7lk82gXICjE4 Hello, I'm trying to package network-manager-sstp (and its dependency sstp-client), but I'm running into a weird error. I'm sure it is a very easy problem to solve for someone with a little more experience with the build-system. >From what I can tell these packages should be fairly standard autotools projects, but I have no real experience in using autotools neither in Guix packages nor elsewhere so I don't know what I'm doing here. I would greatly appreciate it if someone could help me take a look at the packages and help me build them successfully. sstp-client is failing with the following error: --8<---------------cut here---------------start------------->8--- ./autogen.sh: ./configure: /bin/sh: bad interpreter: No such file or directory error: in phase 'bootstrap': uncaught exception: %exception #<&invoke-error program: "./autogen.sh" arguments: () exit-status: 126 term-signal: #f stop-signal: #f> phase `bootstrap' failed after 5.6 seconds command "./autogen.sh" failed with status 126 --8<---------------cut here---------------end--------------->8--- Which is weird, since /bin/sh does exist, but it should also have been told to use something else I think. And network-manager-sstp fails with: --8<---------------cut here---------------start------------->8--- checking for find... yes ./configure: line 13451: syntax error near unexpected token `fcntl.h' ./configure: line 13451: ` fcntl.h' error: in phase 'configure': uncaught exception: %exception #<&invoke-error program: "/gnu/store/m6c5hgqg569mbcjjbp8l8m7q82ascpdl-bash-5.1.16/bin/bash" arguments: ("./configure" "CONFIG_SHELL=/gnu/store/m6c5hgqg569mbcjjbp8l8m7q82ascpdl-bash-5.1.16/bin/bash" "SHELL=/gnu/store/m6c5hgqg569mbcjjbp8l8m7q82ascpdl-bash-5.1.16/bin/bash" "--prefix=/gnu/store/rly5wz0vmbfawl7xiwdkgphsjwz8lgzm-network-manager-sstp-1.3.2" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu") exit-status: 2 term-signal: #f stop-signal: #f> phase `configure' failed after 1.5 seconds command "/gnu/store/m6c5hgqg569mbcjjbp8l8m7q82ascpdl-bash-5.1.16/bin/bash" "./configure" "CONFIG_SHELL=/gnu/store/m6c5hgqg569mbcjjbp8l8m7q82ascpdl-bash-5.1.16/bin/bash" "SHELL=/gnu/store/m6c5hgqg569mbcjjbp8l8m7q82ascpdl-bash-5.1.16/bin/bash" "--prefix=/gnu/store/rly5wz0vmbfawl7xiwdkgphsjwz8lgzm-network-manager-sstp-1.3.2" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" failed with status 2 --8<---------------cut here---------------end--------------->8--- I checked the configure script in question and this is how it looks at that location: --8<---------------cut here---------------start------------->8--- for ac_header in fcntl.h paths.h syslog.h stdarg.h stdbool.h sys/ioctl.h unistd.h do : --8<---------------cut here---------------end--------------->8--- I don't know what is causing the syntax error, maybe it is the newlines? Anyway, if I try to build it manually instead the configure script does not contain these lines and do not fail at this step. I think there must be some flag that is passed to autoconf that is causing this. My package definitions look like this: --8<---------------cut here---------------start------------->8--- (define-public sstp-client (package (name "sstp-client") (version "1.0.19") (source (origin (method git-fetch) (uri (git-reference (url "https://gitlab.com/sstp-project/sstp-client") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "09sh414gwbd93ql47f7yignprsgj4x0jrfbcf60pgkhfw8rxb1jc")))) (build-system gnu-build-system) (native-inputs (list autoconf automake gnu-gettext libtool pkg-config m4 flex intltool gtk-doc ppp)) (home-page "") (synopsis "") (description "") (license license:gpl2))) (define-public network-manager-sstp (package (name "network-manager-sstp") (version "1.3.2") (source (origin (method git-fetch) (uri (git-reference (url "https://gitlab.gnome.org/GNOME/network-manager-sstp") (commit (string-append "release-" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1jpjqn6074lfs7mvlxs9x7ini2xcr87b4vb47kjz7am35pxgj64l")))) (build-system gnu-build-system) (native-inputs (list autoconf automake gnu-gettext libtool pkg-config m4 flex bash intltool gtk-doc ppp)) (home-page "") (synopsis "") (description "") (license license:gpl2))) --8<---------------cut here---------------end--------------->8---