Hi,

Test my port on
https://github.com/jasperla/openbsd-wip/tree/master/lang/chicken
It should be working except for the deployment stuff which is still broken
as shown above.
Somewhere lurks a reference to the libchicken.so.6 instead of
libchicken.so.6.0.
Haven't found the cause for it yet.
But once it gets fixed I think the port would be ready to be commited to
openbsd ports.

Timo


On Sun, Nov 18, 2012 at 4:36 PM, John Long <codeb...@inbox.lv> wrote:

> On Sun, Nov 18, 2012 at 03:20:52PM +0100, Felix wrote:
> > > I am in the middle of trying to get the port updated. It went pretty
> far and
> > > blows up trying to find scheme.import.so which is in the plist but
> not in
> > > the fake build directory. Is this still valid for 4.8.0 or does that
> library
> > > no longer exist?
> >
> > It has been removed and is integrated into the core module system.
> >
> >
> > cheers,
> > felix
>
> Thank you. In the meantime I looked at my 4.8.0 source build and realized
> it
> wasn't there so I have been moving on.
>
> The port builds and installs fine. The test suite runs for a long time and
> finally errors out. This is just stderr. If you need the whole thing let me
> know and I'll capture it and repost. I always forget how to grab stdout and
> stderr from ksh redirection and have to look it up.
>
>
> Note: global variable `bla#blabla' is only locally visible and never used
>
> Note: global variable `foo#bar' is only locally visible and never used
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
>
> Note: global variable `foo#spec' is only locally visible and never used
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
>     0m14.19s real     0m13.88s user     0m0.10s system
>     0m5.55s real     0m5.39s user     0m0.05s system
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> [panic] callback returned twice - execution terminated
>
> callback-tests.scm:16: print
> g67
> callback-tests.scm:17: ##sys#gc
> callback-tests.scm:17: g11
> callback-tests.scm:7: call/cc
> callback-tests.scm:9: print
> callback-tests.scm:19: command-line-arguments
> callback-tests.scm:20: k1
> callback-tests.scm:9: print     <--
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> [GC] level  1   gcs(minor)  1   gcs(major)  1
> [GC] stack      0x000000007fed8578      0x000000007ff561c8
>  0x000000007ffd8578
> [GC]  from      0x000000005a790000      0x000000005a7c6058
>  0x000000005a810000      0x0000000000036058
> [GC]    to      0x00000000504d8000      0x00000000504d8000
>  0x0000000050558000
> [GC] 0 locatives (from 32)
> [GC] level  1   gcs(minor)  1   gcs(major)  2
> [GC] stack      0x000000007fed8578      0x000000007ffd7558
>  0x000000007ffd8578
> [GC]  from      0x00000000504d8000      0x000000005050e058
>  0x0000000050558000      0x0000000000036058
> [GC]    to      0x000000005a790000      0x000000005a790000
>  0x000000005a810000
> [GC] 0 locatives (from 32)
> [GC] (old) fromspace:   start=0x00000000504d8000,
> limit=0x0000000050558000
> [GC] (old) tospace:     start=0x000000005a790000,
> limit=0x000000005a810000
> [GC] resized heap to 12097160 bytes
> [GC] (new) fromspace:   start=0x000000005c7f8000,
> limit=0x000000005cdbcb44
> [GC] (new) tospace:     start=0x0000000051770000,
> limit=0x0000000051d34b44
> [GC] (old) fromspace:   start=0x000000005c7f8000,
> limit=0x000000005cdbcb44
> [GC] (old) tospace:     start=0x0000000051770000,
> limit=0x0000000051d34b44
> [GC] resized heap to 34194328 bytes
> [GC] (new) fromspace:   start=0x000000005fd34000,
> limit=0x0000000060d821cc
> [GC] (new) tospace:     start=0x0000000060d84000,
> limit=0x0000000061dd21cc
> [GC] (old) fromspace:   start=0x000000005fd34000,
> limit=0x0000000060d821cc
> [GC] (old) tospace:     start=0x0000000060d84000,
> limit=0x0000000061dd21cc
> [GC] resized heap to 68388656 bytes
> [GC] (new) fromspace:   start=0x0000000061dd4000,
> limit=0x0000000063e70398
> [GC] (new) tospace:     start=0x000000005ef38000,
> limit=0x0000000060fd4398
> [GC] (old) fromspace:   start=0x0000000061dd4000,
> limit=0x0000000063e70398
> [GC] (old) tospace:     start=0x000000005ef38000,
> limit=0x0000000060fd4398
> [GC] resized heap to 34194328 bytes
> [GC] (new) fromspace:   start=0x000000005a9a8000,
> limit=0x000000005b9f61cc
> [GC] (new) tospace:     start=0x0000000058800000,
> limit=0x000000005984e1cc
> [GC] level  1   gcs(minor)  0   gcs(major)  3
> [GC] stack      0x000000007fed8578      0x000000007ffcbc48
>  0x000000007ffd8578
> [GC]  from      0x000000005a9a8000      0x000000005a9de058
>  0x000000005b9f61cc      0x0000000000036058
> [GC]    to      0x0000000058800000      0x0000000058800000
>  0x000000005984e1cc
> [GC] 0 locatives (from 32)
> [GC] (old) fromspace:   start=0x000000005a9a8000,
> limit=0x000000005b9f61cc
> [GC] (old) tospace:     start=0x0000000058800000,
> limit=0x000000005984e1cc
> [GC] resized heap to 17097164 bytes
> [GC] (new) fromspace:   start=0x000000005c7f8000,
> limit=0x000000005d01f0e6
> [GC] (new) tospace:     start=0x000000005f98c000,
> limit=0x00000000601b30e6
> [GC] level  1   gcs(minor)  1   gcs(major)  4
> [GC] stack      0x000000007fed8578      0x000000007ffd8028
>  0x000000007ffd8578
> [GC]  from      0x000000005c7f8000      0x000000005c82e0a8
>  0x000000005d01f0e6      0x00000000000360a8
> [GC]    to      0x000000005f98c000      0x000000005f98c000
>  0x00000000601b30e6
> [GC] 0 locatives (from 32)
>
> Warning: in local unknown procedure,
>   in local unknown procedure,
>   in toplevel unknown procedure:
>   (library-tests.scm:27) in procedure call to `finite?', expected argument
> #1 of type `number', but was given an argument of type `symbol'
>
> Warning: in local unknown procedure,
>   in local unknown procedure,
>   in toplevel unknown procedure:
>   (library-tests.scm:51) in procedure call to `exact?', expected argument
> #1 of type `number', but was given an argument of type `symbol'
>
> Warning: in local unknown procedure,
>   in local unknown procedure,
>   in toplevel unknown procedure:
>   (library-tests.scm:55) in procedure call to `inexact?', expected
> argument #1 of type `number', but was given an argument of type `symbol'
>
> Warning: in local unknown procedure,
>   in local unknown procedure,
>   in toplevel unknown procedure:
>   (library-tests.scm:95) in procedure call to `even?', expected argument
> #1 of type `number', but was given an argument of type `symbol'
>
> Warning: in local unknown procedure,
>   in local unknown procedure,
>   in toplevel unknown procedure:
>   (library-tests.scm:96) in procedure call to `odd?', expected argument #1
> of type `number', but was given an argument of type `symbol'
>
> Warning: in local unknown procedure,
>   in local unknown procedure,
>   in toplevel unknown procedure:
>   (library-tests.scm:167) in procedure call to `min', expected argument #1
> of type `number', but was given an argument of type `symbol'
>
> Warning: in local unknown procedure,
>   in local unknown procedure,
>   in toplevel unknown procedure:
>   (library-tests.scm:168) in procedure call to `max', expected argument #1
> of type `number', but was given an argument of type `symbol'
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
>
> Warning: reference to possibly unbound identifier `one#always-one' in:
> Warning:    always-two
>
> Note: assignment to imported value binding: setter
>
> Warning: redefinition of extended binding: setter
>
> Note: global variable `prefixed-self-reference2#b' is only locally visible
> and never used
>
> Note: global variable `prefixed-self-reference2#c' is only locally visible
> and never used
>
> Note: global variable `prefixed-self-reference2#a' is only locally visible
> and never used
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
>
> Warning: reference to possibly unbound identifier `one#always-one' in:
> Warning:    always-two
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
>
> Warning: reference to possibly unbound identifier `values'
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> 0.51s CPU time, 0.01s GC time (major), 15 mutations, 1/13 GCs (major/minor)
> 6.11s CPU time, 0.53s GC time (major), 15 mutations, 41/1278 GCs
> (major/minor)
> 6.17s CPU time, 15 mutations, 0/14 GCs (major/minor)
>
> Note: global variable `queue2#entry?' is only locally visible and never
> used
>
> Note: global variable `queue3#queue-tails-set!' is only locally visible
> and never used
>
> Note: global variable `queue3#queue-heads-set!' is only locally visible
> and never used
>
> Note: global variable `queue2#entry-x-set!' is only locally visible and
> never used
>
> Note: global variable `queue2#entry-q-set!' is only locally visible and
> never used
>
> Note: global variable `queue3#queue?' is only locally visible and never
> used
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> 0.27s CPU time, 0.01s GC time (major), 3/43 GCs (major/minor)
> 2.73s CPU time, 0.29s GC time (major), 51/293 GCs (major/minor)
> 2.75s CPU time, 0/2 GCs (major/minor)
>
> Note: re-importing already imported identifier: *
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
>
> Warning: reference to possibly unbound identifier `s8vector?'
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> 6.44s CPU time, 0.76s GC time (major), 258687 mutations, 8/1044 GCs
> (major/minor)
> 8.81s CPU time, 16 mutations, 0/637 GCs (major/minor)
> 6.32s CPU time, 0.03s GC time (major), 13422 mutations, 1/1397 GCs
> (major/minor)
> 6.36s CPU time, 38 mutations, 0/1 GCs (major/minor)
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
>
> Warning: in finalizer: unbound variable: i
>
>         Call history:
>
>         finalizer-error-test.scm:9: print*
>         finalizer-error-test.scm:9: print*
>         finalizer-error-test.scm:9: print*
>         finalizer-error-test.scm:9: print*
>         finalizer-error-test.scm:9: print*
>         finalizer-error-test.scm:9: print*
>         finalizer-error-test.scm:9: print*
>         finalizer-error-test.scm:9: print*
>         finalizer-error-test.scm:9: print*
>         finalizer-error-test.scm:9: print*
>         finalizer-error-test.scm:9: print*
>         finalizer-error-test.scm:9: print*
>         finalizer-error-test.scm:9: print*
>         finalizer-error-test.scm:9: print*
>         finalizer-error-test.scm:9: print*
>         finalizer-error-test.scm:9: print*              <--
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
>     1m11.73s real     1m10.65s user     0m1.00s system
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> ../libchicken.so.6.0: warning: strcpy() is almost always misused, please
> use strlcpy()
> ../libchicken.so.6.0: warning: strcat() is almost always misused, please
> use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> tmp/xxx.o(.text+0xdd4): In function `main':
> : warning: strcpy() is almost always misused, please use strlcpy()
> tmp/xxx.o(.text+0xe08): In function `main':
> : warning: strcat() is almost always misused, please use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> rev-app.o(.text+0x1098): In function `main':
> : warning: strcpy() is almost always misused, please use strlcpy()
> rev-app.o(.text+0x10cc): In function `main':
> : warning: strcat() is almost always misused, please use strlcat()
> ../libchicken.so.6.0: warning: sprintf() is often misused, please use
> snprintf()
> cp: /usr/local/lib/libchicken.so.6: No such file or directory
> -rw-r--r--  1 root  wheel  9862862 Nov 18 11:38 /usr/local/lib/libchicken.a
> lrwxr-xr-x  1 root  wheel       17 Nov 18 13:36
> /usr/local/lib/libchicken.so -> libchicken.so.6.0
> -rwxr-xr-x  1 root  wheel  5498002 Nov 18 11:38
> /usr/local/lib/libchicken.so.6.0
>
>
> The other thing I noticed is the default is to compile optimized for size
> in
> all versions of the port I have seen and also the source build AFAIK. I am
> not sure why this was chosen. Would it make sense to alter the port to use
> -O3 or at least -O2? Loongson isn't the fastest thing out there but I can't
> see using -Os unless it's for an embedded device. Does anyone know why this
> is?
>
> Christian if this is ok do you know how to fix it in the port and also how
> to fix the tests to copy so.6.0 instead of so.6?
>
> /jl
>
> --
> ASCII ribbon campaign ( ) Powered by Lemote Fuloong
>  against HTML e-mail   X  Loongson MIPS and OpenBSD
>    and proprietary    / \    http://www.mutt.org
>      attachments     /   \  Code Blue or Go Home!
>  Encrypted email preferred  PGP Key 2048R/DA65BC04
>
> _______________________________________________
> Chicken-users mailing list
> Chicken-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/chicken-users
>
_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to