Re: failure to build guile 2.2.7 on current with current

2023-01-13 Thread Martin Husemann
On Fri, Jan 13, 2023 at 06:37:50PM +0100, Martin Husemann wrote:
> On Fri, Jan 13, 2023 at 07:36:53PM +0100, Riccardo Mottola wrote:
> > I don't think it updatedm today is the 13th, I'd expected today or
> > yesterday.. how often does releng kick it out? I thought daily
> 
> Usually about twice a day, but currently the build is broken so "latest"
> does not update.

For the record: you can check the state here:

https://releng.netbsd.org/cgi-bin/builds.cgi

I have a patch to fix the build that is pending review (already tested
and seems to work for me), so we should be "green" again soonish.

Martin


Re: failure to build guile 2.2.7 on current with current

2023-01-13 Thread Martin Husemann
On Fri, Jan 13, 2023 at 07:36:53PM +0100, Riccardo Mottola wrote:
> I don't think it updatedm today is the 13th, I'd expected today or
> yesterday.. how often does releng kick it out? I thought daily

Usually about twice a day, but currently the build is broken so "latest"
does not update.

Martin


Re: failure to build guile 2.2.7 on current with current

2023-01-13 Thread Riccardo Mottola

Hi!

Martin Husemann wrote:

On Fri, Jan 13, 2023 at 02:12:49PM +0100, Riccardo Mottola wrote:

I just upgraded to 10.99.2 via sysinst. I updated pkgsrc and started
rolling-replace.

You need to update (at least /libexec/ld.elf_so).


to update, I hope I can just re-run sysinst from the running system, 
right? I'm a little new to it. It worked when I did the other day.

I did re-run it today, but I still get:
NetBSD disc 10.99.2 NetBSD 10.99.2 (GENERIC) #0: Sat Jan  7 03:27:01 UTC 
2023 mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC 
amd64



I don't think it updatedm today is the 13th, I'd expected today or 
yesterday.. how often does releng kick it out? I thought daily



Riccardo


Re: failure to build guile 2.2.7 on current with current

2023-01-13 Thread Christos Zoulas
In article <3082cabd-cc6a-cca3-c425-a27ab8e83...@libero.it>,
Riccardo Mottola   wrote:
>Hi,
>
>I just upgraded to 10.99.2 via sysinst. I updated pkgsrc and started 
>rolling-replace.
>
>Guile dies this way:
>
>   SNARF  regex-posix.doc
>   CCLD     libguile-2.2.la
>ld: .libs/libguile_2.2_la-posix.o: in function `scm_tmpnam':
>posix.c:(.text+0x10e9): warning: warning: tmpnam() possibly used 
>unsafely, use mkstemp() or mkdtemp()
>   CCLD     guile
>ld: ./.libs/libguile-2.2.so: warning: warning: tmpnam() possibly used 
>unsafely, use mkstemp() or mkdtemp()
>   GEN      guile-procedures.texi
>guile: uncaught throw to wrong-type-arg: (#f Wrong type to apply: ~S 
>((10 (13 15 5 (guile) define-module* . #f) (5 ice-9 threads) (5 . 
>#:filename) (5 . 
>/usr/pkgsrc/lang/guile22/work/guile-2.2.7/module/ice-9/threads.scm) (5 . 
>#:imports) (5 ((ice-9 match)) ((ice-9 control))) (5 . #:exports) (5 
>begin-thread make-thread with-mutex monitor parallel letpar par-map 
>par-for-each n-par-map n-par-for-each n-for-each-par-map 
>%thread-handler) (5 . #:replacements) (5 call-with-new-thread yield 
>cancel-thread join-thread thread? make-mutex make-recursive-mutex 
>lock-mutex try-mutex unlock-mutex mutex? mutex-owner mutex-level 
>mutex-locked? make-condition-variable wait-condition-variable 
>signal-condition-variable broadcast-condition-variable 
>condition-variable? current-thread all-threads thread-exited? 
>total-processor-count current-processor-count))) ((10 (13 15 5 (guile) 
>define-module* . #f) (5 ice-9 threads) (5 . #:filename) (5 . 
>/usr/pkgsrc/lang/guile22/work/guile-2.2.7/module/ice-9/threads.scm) (5 . 
>#:imports) (5 ((ice-9 match)) ((ice-9 control))) (5 . #:exports) (5 
>begin-thread make-thread with-mutex monitor parallel letpar par-map 
>par-for-each n-par-map n-par-for-each n-for-each-par-map 
>%thread-handler) (5 . #:replacements) (5 call-with-new-thread yield 
>cancel-thread join-thread thread? make-mutex make-recursive-mutex 
>lock-mutex try-mutex unlock-mutex mutex? mutex-owner mutex-level 
>mutex-locked? make-condition-variable wait-condition-variable 
>signal-condition-variable broadcast-condition-variable 
>condition-variable? current-thread all-threads thread-exited? 
>total-processor-count current-processor-count
>Cannot exit gracefully when init is in progress; aborting.
>cat: stdout: Broken pipe
>[1]   Done(1)                 cat alist.doc array-handle.doc 
>array-map.doc a... |
>       Abort trap              GUILE_AUTO_COMPILE=0
>../meta/build-env 
>guild s...
>gmake[3]: *** [Makefile:4281: guile-procedures.texi] Error 1
>
>
>looks like guile is dying while compiling its own code, right? anyone 
>else seeing something similar?

That should be fixed too if you update rtld.

christos



Re: failure to build guile 2.2.7 on current with current

2023-01-13 Thread Martin Husemann
On Fri, Jan 13, 2023 at 02:12:49PM +0100, Riccardo Mottola wrote:
> I just upgraded to 10.99.2 via sysinst. I updated pkgsrc and started
> rolling-replace.

You need to update (at least /libexec/ld.elf_so).

Martin