[gnutls-devel] GnuTLS | guile bindings do not build with pkgsrc (on NetBSD) (#996)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon May 11 14:05:10 CEST 2020



Nikita Gillmann created an issue: https://gitlab.com/gnutls/gnutls/-/issues/996



I'm trying to make security/gnutls build with guile bindings (for guile 2.2).

I can't really figure out right now if guild or the bindings are to be blamed for the error below.
If I recall a conversation in 2019 where I looked at this, I came to the conclusion, that pkgsrc
removes one part of the host identifies by default, which is why the assumption of complying to
<arch>-<...>-<OS> does break.


```
gmake[4]: Leaving directory '/usr/work/security/gnutls/work/gnutls-3.6.13/guile/src'
gmake[3]: Leaving directory '/usr/work/security/gnutls/work/gnutls-3.6.13/guile/src'
gmake[3]: Entering directory '/usr/work/security/gnutls/work/gnutls-3.6.13/guile'
  GEN      modules/gnutls.scm
  GUILEC   modules/gnutls/extra.go
  GUILEC   modules/gnutls.go
Backtrace:
Backtrace:
                    7   7 (apply-smob/1 #<catch-closure 784c23d94760>)
(apply-smob/1 #<catch-closure 731717d99740>)
InIn  ice-9/boot-9.scm:ice-9/boot-9.scm:

    705:2      705:26   6 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
(call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
In ice-9/eval.scm:
    619:8  5 (_ #(#(#<directory (guile-user) 784c23d75140>)))
    619:8  5 (_ #(#(#<directory (guile-user) 731717580140>)))
    155:9  4 (_ #(#(#<directory (guild) 784c235c4aa0> ("comp?" ?)) #))
    155:9  4 (_ #(#(#<directory (guild) 7317175a3aa0> ("comp?" ?)) #))
In srfi/srfi-1.scm:
In srfi/srfi-1.scm:
    640:9  3     640:9  3 (for-each #<procedure 784c225e1200 at scripts/compile.?> ?)
(for-each #<procedure 731716596200 at scripts/compile.?> ?)
In scripts/compile.scm:
In scripts/compile.scm:
   264:26  2 (_ _)
   264:26  2 (_ _)
In system/base/target.scm:
In system/base/target.scm:
     52:2  1      52:2  1 (with-target "x86_64--netbsd" #<procedure 784c225e11c0 ?>)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("invalid target" "?") #)

ERROR: In procedure scm-error:
invalid target "x86_64--netbsd"
(with-target "x86_64--netbsd" #<procedure 7317165961c0 ?>)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("invalid target" "?") #)

ERROR: In procedure scm-error:
invalid target "x86_64--netbsd"
gmake[3]: *** [Makefile:2503: modules/gnutls.go] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: *** [Makefile:2503: modules/gnutls/extra.go] Error 1
gmake[3]: Leaving directory '/usr/work/security/gnutls/work/gnutls-3.6.13/guile'
gmake[2]: *** [Makefile:1982: all-recursive] Error 1
gmake[2]: Leaving directory '/usr/work/security/gnutls/work/gnutls-3.6.13/guile'
gmake[1]: *** [Makefile:1744: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/work/security/gnutls/work/gnutls-3.6.13'
gmake: *** [Makefile:1671: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/security/gnutls
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/gnutls
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/996
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200511/c7659ca9/attachment.html>


More information about the Gnutls-devel mailing list