Re: ocaml fallout (i386): lang/obc

2019-03-27 Thread Jeremie Courreges-Anglas
On Tue, Mar 26 2019, kwesterb...@gmail.com wrote:
> I agree.
>
>  Ken
>
>> On Mar 26, 2019, at 2:27 PM, Anil Madhavapeddy  wrote:
>> 
>> I think this is safe to remove...

ok jca@

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: ocaml fallout (i386): lang/obc

2019-03-26 Thread kwesterback
I agree.

 Ken

> On Mar 26, 2019, at 2:27 PM, Anil Madhavapeddy  wrote:
> 
> I think this is safe to remove...
> 
>> On 26 Mar 2019, at 18:25, Christopher Zimmermann  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)  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 +
>> Stuart Henderson  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.origTue Jan 12 19:26:21 2016
>>> |+++ Makefile.inThu 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 $
>>> 

Re: ocaml fallout (i386): lang/obc

2019-03-26 Thread Anil Madhavapeddy
I think this is safe to remove...

> On 26 Mar 2019, at 18:25, Christopher Zimmermann  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)  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 +
> Stuart Henderson  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.origTue 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 

ocaml fallout (i386): lang/obc

2019-03-10 Thread Stuart Henderson
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.inThu 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.mlThu 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