Subject: bug#40075: closed (Re: bug#40075: patch)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 21 Mar 2020 17:29:02 +0000

Your bug report

#40075: guile-3.0.1: --without-threads build failure on NetBSD

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
40075: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40075
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#40075: patch
From: Ludovic Courtès <[email-masked]>
To: Matt Wette <[email-masked]>
Cc: [email-masked]
Date: Sat, 21 Mar 2020 18:28:31 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Matt,

Matt Wette <[email-masked]> skribis:

> Below is a patch against guile-3.0.1.
>
> "make" works, "make check" works.
>
> null-threads.c was not seeing "SCM_USE_NULL_THREADS" so include
> libguile/scmconfig.h
> null-threads.c was not seeing def of SCM_API so include "libguile/scm.h"
> web-server.test used (if (provided? 'threads) <test>) so #undefined if
> no threads.

Perfect!  Pushed as 865d48058e6b1604b95a5da49334aaf80a6d6471 and
87bf38c93a7baa4f2c060c24d8e2d354f4771861 (slightly different).

Thank you!

Ludo’.

Subject: guile-3.0.1: --without-threads build failure on NetBSD
From: Thomas Klausner <[email-masked]>
To: [email-masked]
Date: Sun, 15 Mar 2020 13:55:04 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi!

guile-2.2.7 builds fine, but when I try to build guile 3.0.1
--without-threads on NetBSD-9.99.49/amd64, I see:

  CCLD     libguile-3.0.la
ld: .libs/libguile_3.0_la-posix.o: in function `scm_tmpnam':
/scratch/wip/guile30/work/guile-3.0.1/libguile/posix.c:1605: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
  CCLD     guile
ld: ./.libs/libguile-3.0.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
ld: ./.libs/libguile-3.0.so: undefined reference to `scm_i_pthread_key_create'

Any ideas how to solve this?

Thanks,
 Thomas