I agree. .... Ken
> On Mar 26, 2019, at 2:27 PM, Anil Madhavapeddy <a...@recoil.org> wrote: > > I think this is safe to remove... > >> On 26 Mar 2019, at 18:25, Christopher Zimmermann <chr...@openbsd.org> wrote: >> >> Hi, >> >> please excuse me for replying so late. >> This issue is very probably easy to work around. >> But still I'm wondering whether this is used by anyone. >> We still ship version 2.9, which only supports i386. >> According to the homepage version 3.1 will support amd64, too. >> I would suggest to either update to 3.1 or remove it altogether. >> >> >> Christopher >> >> >> >> This is what the maintainer wrote me in 2015: >> >> On Tue, 24 Feb 2015 22:58:11 +0300 >> Александр Ширяев (Alexander Shiryaev) <shiryaev....@gmail.com> wrote: >> >>>> Hi, >>>> >>>> you are listed as maintainer of the obc port. Do you know whether >>>> this is still used by anyone. If yes, I would try and upgrade it. >>>> >>>> Christopher >>>> >>> >>> Hi, Christopher. >>> >>> I do not know who uses it. >>> >>> I made a patch. >>> >>> There is much more interesting, what I use now instead: >>> https://github.com/aixp/BlackBox >>> >>> Best regards, Alexander. >> >> >> >> >> On Sun, 10 Mar 2019 14:51:34 +0000 >> Stuart Henderson <s...@spacehopper.org> wrote: >> >>> ocamlc -g -c -o error.cmo error.ml >>> File "error.ml", line 223, characters 10-21: >>> Warning 3: deprecated: Stdlib.String.copy >>> File "error.ml", line 224, characters 30-59: >>> Warning 3: deprecated: Stdlib.String.set >>> Use Bytes.set instead. >>> File "error.ml", line 224, characters 30-31: >>> Error: This expression has type string but an expression was expected >>> of type bytes >>> gmake[1]: *** [Makefile:88: error.cmo] Error 2 >>> >>> Full log below: >>> >>>>>> Building on i386-2 under lang/obc >>> BDEPENDS = >>> [devel/ocaml-ocamlbuild;x11/lablgtk2;devel/gmake;lang/tcl/8.5;x11/gtksourceview;lang/ocaml] >>> DIST = [lang/obc:obc-2.9.7.tar.gz] FULLPKGNAME = obc-2.9.7 >>> RDEPENDS = [lang/ocaml;x11/lablgtk2;x11/gtksourceview] >>> (Junk lock obtained for i386-2 at 1552196950) >>>>>> Running depends in lang/obc at 1552196950 >>> last junk was in www/dillo >>> /usr/sbin/pkg_add -aI -Drepair gtksourceview-2.10.5p5 lablgtk2-2.18.6 >>> ocaml-4.07.1 ocamlbuild-0.12.0 tcl-8.5.19p4 was: /usr/sbin/pkg_add >>> -aI -Drepair gmake-4.2.1p0 gtksourceview-2.10.5p5 lablgtk2-2.18.6 >>> ocaml-4.07.1 ocamlbuild-0.12.0 tcl-8.5.19p4 /usr/sbin/pkg_add -aI >>> -Drepair gtksourceview-2.10.5p5 lablgtk2-2.18.6 ocaml-4.07.1 >>> ocamlbuild-0.12.0 tcl-8.5.19p4 New and changed >>> readme(s): /usr/local/share/doc/pkg-readmes/tcl-8.5 --- +tcl-8.5.19p4 >>> ------------------- You may wish to add /usr/local/lib/tcl/tcl8.5/man >>> to /etc/man.conf >>>>>> Running show-prepare-results in lang/obc at 1552196989 >>> ===> lang/obc >>> ===> obc-2.9.7 depends on: lablgtk2->=2.14.2p1 -> lablgtk2-2.18.6 >>> ===> obc-2.9.7 depends on: ocaml-=4.07.1 -> ocaml-4.07.1 >>> ===> obc-2.9.7 depends on: tcl->=8.5,<8.6 -> tcl-8.5.19p4 >>> ===> obc-2.9.7 depends on: ocamlbuild-* -> ocamlbuild-0.12.0 >>> ===> obc-2.9.7 depends on: gmake-* -> gmake-4.2.1p0 >>> ===> obc-2.9.7 depends on: gtksourceview-* -> gtksourceview-2.10.5p5 >>> ===> Verifying specs: X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi >>> Xinerama Xrandr Xrender atk-1.0 c cairo curses fontconfig freetype >>> gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 >>> gtksourceview-2.0 intl m pango-1.0 pangocairo-1.0 pangoft2-1.0 >>> pthread z ===> found X11.16.1 Xcomposite.4.0 Xcursor.5.0 Xdamage.4.0 >>> Xext.13.0 Xfixes.6.0 Xi.12.1 Xinerama.6.0 Xrandr.7.1 Xrender.6.0 >>> atk-1.0.21809.2 c.95.0 cairo.13.0 curses.14.0 fontconfig.12.0 >>> freetype.29.0 gdk-x11-2.0.2400.0 gdk_pixbuf-2.0.3200.1 gio-2.0.4200.8 >>> glib-2.0.4201.1 gobject-2.0.4200.8 gtk-x11-2.0.2400.0 >>> gtksourceview-2.0.5.0 intl.6.0 m.10.1 pango-1.0.3800.2 >>> pangocairo-1.0.3800.1 pangoft2-1.0.3800.1 pthread.26.1 z.5.0 >>> gmake-4.2.1p0 gtksourceview-2.10.5p5 lablgtk2-2.18.6 ocaml-4.07.1 >>> ocamlbuild-0.12.0 tcl-8.5.19p4 (Junk lock released for i386-2 at >>> 1552196990) distfiles size=795687 >>>>>> Running build in lang/obc at 1552196990 >>> ===> lang/obc >>> ===> Checking files for obc-2.9.7 >>> `/mnt/distfiles/obc-2.9.7.tar.gz' is up to date. >>> ===> Extracting for obc-2.9.7 >>> ===> Patching for obc-2.9.7 >>> ===> Applying OpenBSD patch patch-Makefile_in >>> Hmm... Looks like a unified diff to me... >>> The text leading up to this was: >>> -------------------------- >>> |$OpenBSD: patch-Makefile_in,v 1.3 2016/08/30 11:02:41 jasper Exp $ >>> |--- Makefile.in.orig Tue Jan 12 19:26:21 2016 >>> |+++ Makefile.in Thu Aug 25 11:08:03 2016 >>> -------------------------- >>> Patching file Makefile.in using Plan A... >>> Hunk #1 succeeded at 92. >>> done >>> ===> Applying OpenBSD patch patch-configure >>> Hmm... Looks like a unified diff to me... >>> The text leading up to this was: >>> -------------------------- >>> |$OpenBSD: patch-configure,v 1.3 2016/08/30 11:02:41 jasper Exp $ >>> |--- configure.orig Tue Jan 12 19:26:22 2016 >>> |+++ configure Thu Aug 25 11:08:03 2016 >>> -------------------------- >>> Patching file configure using Plan A... >>> Hunk #1 succeeded at 3694. >>> done >>> ===> Applying OpenBSD patch patch-debugger_Makefile_in >>> Hmm... Looks like a unified diff to me... >>> The text leading up to this was: >>> -------------------------- >>> |$OpenBSD: patch-debugger_Makefile_in,v 1.2 2016/08/30 11:02:41 >>> jasper Exp $ |--- debugger/Makefile.in.orig Tue Jan 12 >>> 19:26:21 2016 |+++ debugger/Makefile.in Thu Aug 25 11:08:03 >>> 2016 -------------------------- >>> Patching file debugger/Makefile.in using Plan A... >>> Hunk #1 succeeded at 52. >>> Hunk #2 succeeded at 75. >>> done >>> ===> Applying OpenBSD patch patch-debugger_debmain_ml >>> Hmm... Looks like a unified diff to me... >>> The text leading up to this was: >>> -------------------------- >>> |$OpenBSD: patch-debugger_debmain_ml,v 1.1.1.1 2011/01/15 13:07:50 >>> jasper Exp $ | >>> |- Removed in new lablgtk2 version. >>> |- Looks like it was MacOS-specific anyway. >>> | >>> |--- debugger/debmain.ml.orig Thu Jan 13 02:26:02 2011 >>> |+++ debugger/debmain.ml Thu Jan 13 02:56:51 2011 >>> -------------------------- >>> Patching file debugger/debmain.ml using Plan A... >>> Hunk #1 succeeded at 271. >>> done >>> ===> Compiler link: clang -> /usr/bin/clang >>> ===> Compiler link: clang++ -> /usr/bin/clang++ >>> ===> Compiler link: cc -> /usr/bin/cc >>> ===> Compiler link: c++ -> /usr/bin/c++ >>> ===> Generating configure for obc-2.9.7 >>> ===> Configuring for obc-2.9.7 >>> Using /usr/obj/ports/obc-2.9.7/config.site (generated) >>> perl -pi -e >>> s,'tclsh',/usr/local/bin/tclsh8.5,g >>> /usr/obj/ports/obc-2.9.7/obc-2.9.7/camldep >>> configure: WARNING: unrecognized options: --disable-silent-rules, >>> --disable-gtk-doc configure: loading site >>> script /usr/obj/ports/obc-2.9.7/config.site checking build system >>> type... i386-unknown-openbsd6.5 checking host system type... >>> i386-unknown-openbsd6.5 i386-unknown-openbsd6.5 CC1=cc >>> CC2=cc >>> CC3=cc >>> checking for gcc... cc >>> checking whether the C compiler works... yes >>> checking for C compiler default output file name... a.out >>> checking for suffix of executables... >>> checking whether we are cross compiling... no >>> checking for suffix of object files... (cached) o >>> checking whether we are using the GNU C compiler... (cached) yes >>> checking whether cc accepts -g... (cached) yes >>> checking for cc option to accept ISO C89... none needed >>> checking for a BSD-compatible >>> install... /usr/obj/ports/obc-2.9.7/bin/install -c checking whether >>> gmake sets $(MAKE)... yes checking for ranlib... (cached) ranlib >>> checking for tclsh... /usr/local/bin/tclsh8.5 >>> checking for gdiff... no >>> checking for diff... diff >>> checking for pkg-config... /usr/bin/pkg-config >>> checking for library containing dlopen... none required >>> checking if cc understands -rdynamic... yes >>> checking for sin in -lm... (cached) yes >>> checking how to run the C preprocessor... cc -E >>> checking for X... (cached) libraries /usr/X11R6/lib, >>> headers /usr/X11R6/include checking whether -R must be followed by a >>> space... neither works checking for gethostbyname... (cached) yes >>> checking for connect... (cached) yes >>> checking for remove... (cached) yes >>> checking for shmat... (cached) yes >>> checking for IceConnectionNumber in -lICE... (cached) yes >>> checking for grep that handles long lines and -e... >>> (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep >>> checking for ANSI C header files... (cached) yes >>> checking for sys/types.h... (cached) yes >>> checking for sys/stat.h... (cached) yes >>> checking for stdlib.h... (cached) yes >>> checking for string.h... (cached) yes >>> checking for memory.h... (cached) yes >>> checking for strings.h... (cached) yes >>> checking for inttypes.h... (cached) yes >>> checking for stdint.h... (cached) yes >>> checking for unistd.h... (cached) yes >>> checking for unistd.h... (cached) yes >>> checking for time.h... (cached) yes >>> checking for sys/time.h... (cached) yes >>> checking for an ANSI C-conforming const... (cached) yes >>> checking whether byte ordering is bigendian... no >>> checking for inline... inline >>> checking for indexed jumps... yes >>> checking for 'unused' attribute... yes >>> checking for 'noreturn' attribute... yes >>> checking for getpagesize... (cached) yes >>> checking page size... 4096 >>> checking for vprintf... (cached) yes >>> checking for _doprnt... no >>> checking for clock... (cached) yes >>> checking for time... (cached) yes >>> checking for gettimeofday... (cached) yes >>> checking for strtoul... (cached) yes >>> checking for stpcpy... (cached) yes >>> checking for mmap... (cached) yes >>> checking for sigprocmask... (cached) yes >>> checking for getopt_long_only... yes >>> checking for library containing connect... none required >>> configure: creating ./config.status >>> config.status: creating Makefile >>> config.status: creating compiler/Makefile >>> config.status: creating runtime/Makefile >>> config.status: creating lib/Makefile >>> config.status: creating test/Makefile >>> config.status: creating winport/Makefile >>> config.status: creating yacc/Makefile >>> config.status: creating debugger/Makefile >>> config.status: creating lablgtk/Makefile >>> config.status: creating macport/Makefile >>> config.status: creating compiler/config.ml >>> config.status: creating debugger/debconf.ml >>> config.status: creating obc >>> config.status: creating obb >>> config.status: creating obdb >>> config.status: creating config0 >>> config.status: creating winport/head.iss >>> config.status: creating test/regress >>> config.status: creating test/bigtest >>> config.status: creating test/edtest >>> config.status: creating test/errtest >>> config.status: creating config.h >>> configure: WARNING: unrecognized options: --disable-silent-rules, >>> --disable-gtk-doc ===> Building for obc-2.9.7 >>> CONFIG_FILES= CONFIG_HEADERS=config.h ./config.status >>> config.status: creating config.h >>> config.status: config.h is unchanged >>> echo timestamp >stamp-h >>> gmake -C yacc all >>> gmake[1]: Entering directory '/usr/obj/ports/obc-2.9.7/obc-2.9.7/yacc' >>> ocamlc -g -c -o yyparse.cmi yyparse.mli >>> ocamlc -g -c -o yyparse.cmo yyparse.ml >>> File "yyparse.ml", line 61, characters 19-31: >>> Warning 3: deprecated: Stdlib.Array.create >>> Use Array.make instead. >>> File "yyparse.ml", line 63, characters 19-31: >>> Warning 3: deprecated: Stdlib.Array.create >>> Use Array.make instead. >>> File "yyparse.ml", line 65, characters 19-31: >>> Warning 3: deprecated: Stdlib.Array.create >>> Use Array.make instead. >>> File "yyparse.ml", line 67, characters 19-31: >>> Warning 3: deprecated: Stdlib.Array.create >>> Use Array.make instead. >>> File "yyparse.ml", line 77, characters 14-26: >>> Warning 3: deprecated: Stdlib.Array.create >>> Use Array.make instead. >>> ocamlc -g -c -o growvect.cmi growvect.mli >>> ocamlc -g -c -o growvect.cmo growvect.ml >>> File "growvect.ml", line 36, characters 25-37: >>> Warning 3: deprecated: Stdlib.Array.create >>> Use Array.make instead. >>> File "growvect.ml", line 51, characters 15-27: >>> Warning 3: deprecated: Stdlib.Array.create >>> Use Array.make instead. >>> ocamlc -g -c -o vector.cmi vector.mli >>> ocamlc -g -c -o vector.cmo vector.ml >>> File "vector.ml", line 36, characters 26-38: >>> Warning 3: deprecated: Stdlib.Array.create >>> Use Array.make instead. >>> File "vector.ml", line 39, characters 32-44: >>> Warning 3: deprecated: Stdlib.Array.create >>> Use Array.make instead. >>> ocamlc -g -c -o print.cmi print.mli >>> ocamlc -g -c -o print.cmo print.ml >>> ocamlc -g -c -o error.cmi error.mli >>> ocamlc -g -c -o error.cmo error.ml >>> ocamlc -g -c -o util.cmi util.mli >>> ocamlc -g -c -o util.cmo util.ml >>> ocamlc -g -c -o table.cmi table.mli >>> ocamlc -g -c -o table.cmo table.ml >>> ocamlc -g -c -o grammar.cmi grammar.mli >>> ocamlc -g -c -o grammar.cmo grammar.ml >>> ocamlc -g -c -o lr0.cmi lr0.mli >>> ocamlc -g -c -o lr0.cmo lr0.ml >>> ocamlc -g -c -o lalr.cmi lalr.mli >>> ocamlc -g -c -o lalr.cmo lalr.ml >>> ocamlc -g -c -o conflict.cmi conflict.mli >>> ocamlc -g -c -o conflict.cmo conflict.ml >>> ocamlc -g -c -o report.cmi report.mli >>> ocamlc -g -c -o report.cmo report.ml >>> ocamlc -g -c -o compile.cmi compile.mli >>> ocamlc -g -c -o compile.cmo compile.ml >>> ocamlc -g -c -o output.cmi output.mli >>> ocamlc -g -c -o output.cmo output.ml >>> File "output.ml", line 103, characters 12-24: >>> Warning 3: deprecated: Stdlib.Array.create >>> Use Array.make instead. >>> File "output.ml", line 212, characters 17-29: >>> Warning 3: deprecated: Stdlib.Array.create >>> Use Array.make instead. >>> ocamllex -o lexer.ml lexer.mll >>> 76 states, 481 transitions, table size 2380 bytes >>> gmake bootyacc >>> gmake[2]: Entering directory '/usr/obj/ports/obc-2.9.7/obc-2.9.7/yacc' >>> sed -e 's/Yacc/Bootyacc/g' -e 's/Lexer/Bootlexer/' lexer.ml >>>> bootlexer.ml ocamlc -g -c -o bootyacc.cmi bootyacc.mli >>> ocamlc -g -c -o bootlexer.cmo bootlexer.ml >>> ocamlc -g -c -o bootyacc.cmo bootyacc.ml >>> sed -e 's/Yacc/Bootyacc/g' -e 's/Lexer/Bootlexer/' main.ml >>>> bootmain.ml ocamlc -g -c -o bootmain.cmo bootmain.ml >>> ocamlc -g -o bootyacc str.cma yyparse.cmo growvect.cmo vector.cmo >>> print.cmo error.cmo util.cmo table.cmo grammar.cmo lr0.cmo lalr.cmo >>> conflict.cmo report.cmo compile.cmo output.cmo bootlexer.cmo >>> bootyacc.cmo bootmain.cmo gmake[2]: Leaving directory >>> '/usr/obj/ports/obc-2.9.7/obc-2.9.7/yacc' ./bootyacc yacc.mly ocamlc >>> -g -c -o yacc.cmi yacc.mli ocamlc -g -c -o lexer.cmo lexer.ml ocamlc >>> -g -c -o yacc.cmo yacc.ml ocamlc -g -c -o main.cmo main.ml >>> ocamlc -g -o myacc str.cma yyparse.cmo growvect.cmo vector.cmo >>> print.cmo error.cmo util.cmo table.cmo grammar.cmo lr0.cmo lalr.cmo >>> conflict.cmo report.cmo compile.cmo output.cmo lexer.cmo yacc.cmo >>> main.cmo gmake[1]: Leaving directory >>> '/usr/obj/ports/obc-2.9.7/obc-2.9.7/yacc' gmake -C compiler all >>> gmake[1]: Entering directory >>> '/usr/obj/ports/obc-2.9.7/obc-2.9.7/compiler' cp lexer.mli.in >>> lexer.mli cp symlex.mli.in symlex.mli ocamllex -o lexer.ml lexer.mll >>> 74 states, 565 transitions, table size 2704 bytes ../yacc/myacc -v >>> parser.mly ocamllex -o symlex.ml symlex.mll >>> 22 states, 598 transitions, table size 2524 bytes >>> ../yacc/myacc -v symparse.mly >>> ../camldep growvect.ml growvect.mli print.ml print.mli util.mli >>> util.ml check.mli dict.mli eval.mli icode.mli igen.mli lexer.mli >>> mach.mli tree.mli check.ml dict.ml eval.ml icode.ml igen.ml mach.ml >>> main.ml tree.ml expr.mli expr.ml symtab.mli error.mli error.ml >>> switch.mli switch.ml symtab.ml peepopt.mli peepopt.ml symfile.mli >>> symfile.ml symlex.mli browser.ml lexer.ml parser.mli parser.ml >>> symlex.ml symparse.mli symparse.ml config.ml inicheck.mli inicheck.ml >>> stack.mli stack.ml >Depend ocamlc -g -c -o util.cmi util.mli ocamlc >>> -g -c -o util.cmo util.ml ocamlc -g -c -o print.cmi print.mli ocamlc >>> -g -c -o print.cmo print.ml ocamlc -g -c -o growvect.cmi growvect.mli >>> ocamlc -g -c -o growvect.cmo growvect.ml File "growvect.ml", line 36, >>> characters 25-37: Warning 3: deprecated: Stdlib.Array.create Use >>> Array.make instead. File "growvect.ml", line 54, characters 15-27: >>> Warning 3: deprecated: Stdlib.Array.create Use Array.make instead. >>> ocamlc -g -c -o symtab.cmi symtab.mli ocamlc -g -c -o symtab.cmo >>> symtab.ml ocamlc -g -I ../yacc -c -o config.cmo config.ml >>> ocamlc -g -c -o eval.cmi eval.mli >>> ocamlc -g -c -o eval.cmo eval.ml >>> ocamlc -g -c -o error.cmi error.mli >>> ocamlc -g -c -o mach.cmi mach.mli >>> ocamlc -g -c -o dict.cmi dict.mli >>> ocamlc -g -c -o mach.cmo mach.ml >>> ocamlc -g -c -o error.cmo error.ml >>> File "error.ml", line 223, characters 10-21: >>> Warning 3: deprecated: Stdlib.String.copy >>> File "error.ml", line 224, characters 30-59: >>> Warning 3: deprecated: Stdlib.String.set >>> Use Bytes.set instead. >>> File "error.ml", line 224, characters 30-31: >>> Error: This expression has type string but an expression was expected >>> of type bytes >>> gmake[1]: *** [Makefile:88: error.cmo] Error 2 >>> gmake[1]: Leaving directory >>> '/usr/obj/ports/obc-2.9.7/obc-2.9.7/compiler' gmake: *** >>> [Makefile:115: compiler] Error 2 *** Error 2 in lang/obc >>> (/usr/ports/infrastructure/mk/bsd.port.mk:2801 >>> '/usr/obj/ports/obc-2.9.7/.build_done') *** Error 1 in lang/obc >>> (/usr/ports/infrastructure/mk/bsd.port.mk:2467 'build') ===> Exiting >>> lang/obc with an error *** Error 1 in /usr/ports >>> (infrastructure/mk/bsd.port.subdir.mk:137 'build') Error: job failed >>> with 256 on i386-2 at 1552196997 >>> >>> >> >> >> >> -- >> http://gmerlin.de >> OpenPGP: http://gmerlin.de/christopher.pub >> CB07 DA40 B0B6 571D 35E2 0DEF 87E2 92A7 13E5 DEE1 >