lang/io port complete #4

Closed
wants to merge 39 commits into
from

Projects

None yet

8 participants

@eradman

This update integrates the latest changes from the upstream project (stevedekorte/io), builds without X libraries and more closely follows the OpenBSD port guidelines.

Eric Radman and others added some commits Nov 30, 2011
Eric Radman Update to 2011.11.30 snapshot which is in sync with the Io upstream/m…
…aster again
9e611de
@eradman eradman Added package description 64d8efc
Nigel Taylor net/wireshark update to v1.6.4
Update only contain bug fixes no new features.
6b5813d
Nigel Taylor security/nss
Update now in CVS
2aa5964
Pascal Stumpf Don't install docs and m4 files. 9fb8195
Nigel Taylor Update mozilla ports sent to ports@
Remove nss now in CVS
2b9bb0a
Pascal Stumpf RUN_DEPENDS on desktop-file-utils and librsvg c713025
@rnagy rnagy update to 17.0.942.0 2ffe134
@zmyrgel zmyrgel update chicken port
Add stack direction fix for hppa. Still need to find which other archs need it.
99c5284
@zmyrgel zmyrgel bump major version for chicken lib 17f25d8
@zmyrgel zmyrgel fix doc dir for chicken
Fix doc dir patch and update PLIST
ce89b11
@jasperla Regen WANTLIB f073382
Andreas Voegele add devel/p5-Any-Moose 0.09.
add devel/p5-Mouse 0.24.
add devel/p5-Moose 1.24.
add devel/p5-MooseX-Getopt 0.29.
add devel/p5-MooseX-MethodAttributes 0.23.
add devel/p5-MooseX-Role-WithOverloading 0.06.
add devel/p5-File-ChangeNotify 0.13.
add devel/p5-Class-MOP 1.12.
add devel/p5-Package-Stash 0.05.
add devel/p5-Package-Stash-XS 0.22.
add devel/p5-namespace-clean 0.18.
add devel/p5-namespace-autoclean 0.09.
05cd951
Andreas Voegele update devel/p5-Any-Moose to 0.18.
update devel/p5-Mouse to 0.97.
update devel/p5-Moose to 1.25.
update devel/p5-MooseX-Getopt to 0.37.
update devel/p5-MooseX-MethodAttributes to 0.25.
update devel/p5-MooseX-Role-WithOverloading to 0.09.
update devel/p5-File-ChangeNotify to 0.20.
update devel/p5-Class-MOP to 1.12p0.
update devel/p5-Package-Stash to 0.33.
update devel/p5-Package-Stash-XS to 0.25.
update devel/p5-namespace-clean to 0.21.
update devel/p5-namespace-autoclean to 0.13.
40d2d97
viq Simple update to calibre 0.8.27 3185066
Nigel Taylor www/seamonkey v2.5 update 0184145
Nigel Taylor Added www/seamonkey v2.5 7c2a8d9
Andreas Voegele Add Moose related ports to FINISHED. 5ea1240
Nigel Taylor mail/mozilla-thunderbird v8.0
enigmail 1.3.3 patched from upstream cvs to fix bugs.
ad879ca
Nigel Taylor www/seamonkey V8.0
enigmail 1.3.3 patched from upstream cvs to fix bugs.
55cf2da
@blarz blarz add net/weechat 64dfb38
Robert Nagy update to 17.0.948.0 b06199b
@amitkulz amitkulz remove multimedia/libmms as aja@ has committed it in cvs 5827719
Robert Nagy update to 17.0.949 8a58623
Pascal Stumpf committed ffdecc7
@sthen sthen update to 0.6.3 1fa5119
Robert Nagy update to 17.0.951.0 71b7337
@amitkulz amitkulz update x11/kde4/attica to 0.2.9 c4c06f8
Pascal Stumpf patch the torsocks script instead of symlinking libtorsocks 77b41e6
Robert Nagy update to 17.0.953.0 96daca4
Kirill Bychkov add zint barcode generator 37f478a
Kirill Bychkov mention about zint f7edc8f
@eradman eradman Rebuild without X a581ee1
@eradman eradman Renamed source tar.gz name to match extract folder name. Patch Io ver…
…sion with the snapshot date
c142a4a
Eric Radman Update to 2011.11.30 snapshot which is in sync with the Io upstream/m…
…aster again
875c67a
@eradman eradman Added package description e725570
@eradman eradman Rebuild without X ab52c9e
@eradman eradman Renamed source tar.gz name to match extract folder name. Patch Io ver…
…sion with the snapshot date
2ca6cc8
@eradman eradman Merge branch 'master' of github.com:eradman/openbsd-wip 9ab3a11
@jasperla jasperla closed this Dec 1, 2011
@jasperla
Owner

Could you lease make sure your pull request only includes your IO work? It seems it currently includes various unrelated commits as well.

Better yet, I've just given you read/write access to the repository so you can commit this great work yourself :) I'm therefore closing this pull request.

@eradman

Thanks! Work on lang/io committed.

@jeremyevans
Collaborator

I'd like to import lang/io as an official OpenBSD port, but currently the regress tests are dumping core on amd64 with a Bus Error. I think that should be fixed before import:

$ make regress
===>  Regression check for io-20111130
cd /usr/obj/ports/io-20111130/eradman-io-d1d8bac/build && _build/binaries/io ../libs/iovm/tests/correctness/run.io
Bus error (core dumped)
*** Error code 138
@jasperla
Owner

Has this port been tested on any 64-bit arch so far?

@eradman

I built it on macppc, i386, and amd64, but I only ran the regression tests on i386. I'll look into the segfault.

@eradman

There's something terribly wrong with the way this version of Io is handling Float to String conversion. The same problem does not emerge on NetBSD/amd64

(gdb) r
Starting program: /usr/local/bin/io ./libs/iovm/tests/correctness/run.io VectorTest.io

.....

Program received signal SIGBUS, Bus error.
0x000000020dd9bcb0 in snprintf (str=0x20efcac00 "", n=1023, fmt=0x207f34f71 "%.16f")
at /usr/src/lib/libc/stdio/snprintf.c:43
43 {

(gdb) bt
#0 0x000000020dd9bcb0 in snprintf (str=0x20efcac00 "", n=1023, fmt=0x207f34f71 "%.16f")
at /usr/src/lib/libc/stdio/snprintf.c:43
#1 0x0000000207e1e2bc in IoNumber_Double_intoCString_ (n=0.019910000000000001, s=0x20efcac00 "",
maxSize=1023) at /usr/ports/pobj/io-20111130/eradman-io-d1d8bac/libs/iovm/source/IoNumber.c:307
#2 0x0000000207e1e5ba in IoNumber_asAllocedCString (self=0x20ae76f00)
at /usr/ports/pobj/io-20111130/eradman-io-d1d8bac/libs/iovm/source/IoNumber.c:420

@eradman

I wonder if GCC is doing something bad. I narrowed the fault down to one particular function, IoNumber_Double_intoCString_(). If I add a printf or an snprintf with a float or a double it blows up.

/* bus error */
printf("%f", 1.1);

/* works! */
printf("%d", 11);

I also confirmed that this error doesn't occur on FreeBSD 8.2/amd64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment