Package Details: guile-ssh 0.16.3-1

Git Clone URL: https://aur.archlinux.org/guile-ssh.git (read-only, click to copy)
Package Base: guile-ssh
Description: SSH module for Guile based on libssh
Upstream URL: https://github.com/artyom-poptsov/guile-ssh
Licenses: GPL3
Submitter: lantw44
Maintainer: None
Last Packager: lantw44
Votes: 7
Popularity: 0.000000
First Submitted: 2016-12-31 14:19 (UTC)
Last Updated: 2023-02-28 12:01 (UTC)

Dependencies (2)

Required by (3)

Sources (1)

Latest Comments

1 2 Next › Last »

snamellit commented on 2024-10-24 09:12 (UTC)

there is an incompatibility in the source code which does no longer compile. This is fixed in the main branch, but no release has been cut yet.

You can compile from git to "fix" this using this as your PKGBUILD:

pkgname=guile-ssh
pkgver=0.17.0
pkgrel=1
pkgdesc='SSH module for Guile based on libssh'
arch=('x86_64' 'i686' 'armv7h')
url="https://github.com/artyom-poptsov/guile-ssh"
license=('GPL3')
depends=(
  'guile>=2.0.9'
  'libssh>=0.7.3'
  'git')
source=("${pkgname}::git+https://github.com/artyom-poptsov/guile-ssh.git")
sha256sums=('SKIP')

prepare() {
        cd "${srcdir}/${pkgname}"
        local source_file
        for source_file in "${source[@]}"; do
                case "${source_file}" in
                        *.patch)
                                patch -p1 < "${srcdir}/${source_file}"
                                ;;
                esac
        done
}

build() {
        cd "${srcdir}/${pkgname}"
        autoreconf -fi
        ./configure --prefix=/usr --disable-rpath
        make
}

check() {
        cd "${srcdir}/${pkgname}"
        make check
}

package() {
        cd "${srcdir}/${pkgname}"
        make DESTDIR="${pkgdir}" install
}

port19 commented on 2024-08-26 10:14 (UTC)

Build fails, can't install this and thus can't install guix

  CC       libguile_ssh_la-key-func.lo
  CC       libguile_ssh_la-key-main.lo
  CC       libguile_ssh_la-key-type.lo
  CC       libguile_ssh_la-session-func.lo
In file included from /usr/include/libssh/callbacks.h:30,
                 from session-func.c:26:
session-func.c: In function 'set_bool_opt':
session-func.c:232:11: error: two or more data types in declaration specifiers
  232 |   int32_t bool;
      |           ^~~~
session-func.c:232:3: warning: useless type name in empty declaration
  232 |   int32_t bool;
      |   ^~~~~~~
session-func.c:236:8: error: expected identifier or '(' before '=' token
  236 |   bool = scm_to_bool (value);
      |        ^
session-func.c:237:43: error: expected expression before '_Bool'
  237 |   return ssh_options_set (session, type, &bool);
      |                                           ^~~~
session-func.c:238:1: warning: control reaches end of non-void function [-Wreturn-type]
  238 | }
      | ^
make[2]: *** [Makefile:712: libguile_ssh_la-session-func.lo] Error 1
make[2]: Leaving directory '/tmp/tmp.X7WX26WRbA/guile-ssh/src/guile-ssh-0.16.3/libguile-ssh'
make[1]: *** [Makefile:507: all] Error 2
make[1]: Leaving directory '/tmp/tmp.X7WX26WRbA/guile-ssh/src/guile-ssh-0.16.3/libguile-ssh'
make: *** [Makefile:438: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

lantw44 commented on 2023-03-26 08:54 (UTC)

@VuiMuich Do you have the test log? I saw all tests passed.

VuiMuich commented on 2023-03-24 08:45 (UTC)

I can only build 0.16.3 with the --nocheck flag, as all tests are failing. Can anyone confirm this? Am I missing some build deps?

lantw44 commented on 2022-10-29 11:28 (UTC)

It looks like a known problem: https://github.com/artyom-poptsov/guile-ssh/issues/34.

synthetic commented on 2022-10-11 13:57 (UTC) (edited on 2022-10-11 13:59 (UTC) by synthetic)

check() fails for me at FAIL: server.scm and FAIL: key.scm

haawda commented on 2021-02-08 00:15 (UTC)

Please let the PKGBUILD download a tarball with the packagename in its name.

source=("$pkgname-$pkgver.tar.gz::...)

FragmentedCurve commented on 2020-12-20 03:29 (UTC)

Please update the package to version 0.13.1 .

From 2f53141b4d5093dfe4c8d423299754abdaed08ec Mon Sep 17 00:00:00 2001
From: Paco Pascal <me@pacopascal.com>
Date: Sat, 19 Dec 2020 22:20:38 -0500
Subject: [PATCH] Updated to version 0.13.1

---
 .SRCINFO | 8 ++++----
 PKGBUILD | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 0126ec7..5f2bd6d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
 pkgbase = guile-ssh
    pkgdesc = SSH module for Guile based on libssh
-   pkgver = 0.12.0
+   pkgver = 0.13.1
    pkgrel = 1
    url = https://github.com/artyom-poptsov/guile-ssh
    arch = x86_64
    arch = i686
    arch = armv7h
    license = GPL3
-   depends = guile>=2.0.9
+   depends = guile>=2.0.10
    depends = libssh>=0.7.3
-   source = https://github.com/artyom-poptsov/guile-ssh/archive/v0.12.0.tar.gz
-   sha256sums = d5b610fa0259187a824dfd26b11a415c1ca7b107912feea8b1a9e7c0fcfbe59c
+   source = https://github.com/artyom-poptsov/guile-ssh/archive/v0.13.1.tar.gz
+   sha256sums = 38bc5721b770aba0928f97c97346b03d108dcd82a17d5f56ab4e3e94d70a2c2f

 pkgname = guile-ssh

diff --git a/PKGBUILD b/PKGBUILD
index 5382870..a889cf5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
+# Contributor: Paco Pascal <me@pacopascal.com>
 # Maintainer: lantw44 (at) gmail (dot) com

 pkgname=guile-ssh
-pkgver=0.12.0
+pkgver=0.13.1
 pkgrel=1
 pkgdesc='SSH module for Guile based on libssh'
 arch=('x86_64' 'i686' 'armv7h')
 url="https://github.com/artyom-poptsov/guile-ssh"
 license=('GPL3')
 depends=(
-  'guile>=2.0.9'
+  'guile>=2.0.10'
   'libssh>=0.7.3')
 source=(
   "https://github.com/artyom-poptsov/guile-ssh/archive/v${pkgver}.tar.gz")
-sha256sums=(
-  'd5b610fa0259187a824dfd26b11a415c1ca7b107912feea8b1a9e7c0fcfbe59c')
+sha256sums=('38bc5721b770aba0928f97c97346b03d108dcd82a17d5f56ab4e3e94d70a2c2f')

 prepare() {
    cd "${srcdir}/${pkgname}-${pkgver}"
-- 
2.29.2

lantw44 commented on 2018-12-10 13:19 (UTC)

This is a known problem: https://github.com/artyom-poptsov/guile-ssh/issues/10.

sikmir commented on 2018-12-07 16:34 (UTC)

check() fails at:

FAIL: server.scm