Re: llvm-7.0.1 fallout: lang/crystal

2019-08-06 Thread Antoine Jacoutot
On Mon, Aug 05, 2019 at 08:59:54PM -0500, joshua stein wrote:
> On Mon, 05 Aug 2019 at 21:49:05 -0400, Wesley Moxam wrote:
> > Crystal 0.30.0 has been released.
> > 
> > Diff for the port is attached.
> 
> Thanks!  One nit below.
> 
> 
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/lang/crystal/Makefile,v
> > retrieving revision 1.6
> > diff -u -p -r1.6 Makefile
> > --- Makefile12 Jul 2019 20:47:16 -  1.6
> > +++ Makefile6 Aug 2019 01:31:42 -
> > @@ -1,12 +1,10 @@
> >  # $OpenBSD: Makefile,v 1.6 2019/07/12 20:47:16 sthen Exp $
> >  
> > -BROKEN =   does not build with LLVM 7
> > -
> >  # Hopefully ${CLANG_ARCHS} at some point.
> >  ONLY_FOR_ARCHS=amd64
> >  
> > -V =0.26.1
> > -V_SHARDS = 0.8.1
> > +V =0.30.0
> > +V_SHARDS = 0.9.0
> >  REVISION = 1
> >  COMMENT =  statically typed object oriented language
> >  DISTNAME = crystal-${V}
> > @@ -29,7 +27,7 @@ MASTER_SITES =https://github.com/crysta
> >  MASTER_SITES0 =https://wmoxam.com/public/
> >  MASTER_SITES1 =https://github.com/crystal-lang/shards/archive/
> >  DISTFILES =crystal-${V}{${V}}.tar.gz \
> > -   crystal-${V}-OpenBSD6.4.tar.gz:0 \
> > +   crystal-${V}-OpenBSD6.5.tar.gz:0 \
> > shards-${V}{v${V_SHARDS}}.tar.gz:1
> >  
> >  # Build requires llvm-config which only exists in ports-clang
> > @@ -57,13 +55,14 @@ do-build:
> > ${WRKSRC}/../crystal.o \
> > ${WRKSRC}/src/llvm/ext/llvm_ext.o \
> > ${WRKSRC}/src/ext/sigfault.o \
> > +   -L/usr/local/lib \
> 
> That probably needs to be "-L${LOCALBASE}/lib"

Indeed.
The rest looks fine to me, OK aja



> 
> > `(llvm-config --libs --system-libs --ldflags 2> /dev/null)` \
> > -lz -lpcre -lgc -lpthread -levent_core -levent_extra -lssl \
> > -lcrypto -liconv
> > # Use the compiler to re-compile the compiler
> > touch ${WRKSRC}/src/compiler/crystal.cr
> > cd ${WRKSRC}; \
> > -   ulimit -s 5120 -d 3145728 && \
> > +   ulimit -s 5120 -d 4096000 && \
> > CRYSTAL_CONFIG_PATH="lib:${TRUEPREFIX}/lib/crystal" \
> > CXX=${CXX} ${MAKE_PROGRAM} ${ALL_TARGET}
> > cd ${WRKSRC}/../shards-${V_SHARDS} && \
> > Index: distinfo
> > ===
> > RCS file: /cvs/ports/lang/crystal/distinfo,v
> > retrieving revision 1.2
> > diff -u -p -r1.2 distinfo
> > --- distinfo13 Nov 2018 22:31:03 -  1.2
> > +++ distinfo6 Aug 2019 01:31:42 -
> > @@ -1,6 +1,6 @@
> > -SHA256 (crystal-0.26.1-OpenBSD6.4.tar.gz) = 
> > fds/Izqj2rbqydL5FcDbj+kYIXssBHGzYQlFAIyb0x8=
> > -SHA256 (crystal-0.26.1.tar.gz) = 
> > t8dVp9D0n1cq5cCLiwE5/LHGhiyUed+udPAOLIQk/LA=
> > -SHA256 (shards-0.26.1.tar.gz) = 
> > dcdKtqzy1cWfYafv07vDxLHWUhf5EDQMuBjr9SMyB6U=
> > -SIZE (crystal-0.26.1-OpenBSD6.4.tar.gz) = 6485528
> > -SIZE (crystal-0.26.1.tar.gz) = 1994987
> > -SIZE (shards-0.26.1.tar.gz) = 31388
> > +SHA256 (crystal-0.30.0-OpenBSD6.5.tar.gz) = 
> > boJUfiTBCHk4lEIevlOhcRtCc3JQOUrOuEJS1AeYZIs=
> > +SHA256 (crystal-0.30.0.tar.gz) = 
> > /IhJcAieOCNEVAZ2qcWqTzacmg9F0YWOB5tM4mh4Fko=
> > +SHA256 (shards-0.30.0.tar.gz) = 
> > kPIwyHzHuUyoReb+NPJSPtyttWLXFdqvmGA+36KpTWU=
> > +SIZE (crystal-0.30.0-OpenBSD6.5.tar.gz) = 6947653
> > +SIZE (crystal-0.30.0.tar.gz) = 2151397
> > +SIZE (shards-0.30.0.tar.gz) = 41280
> > Index: pkg/PLIST
> > ===
> > RCS file: /cvs/ports/lang/crystal/pkg/PLIST,v
> > retrieving revision 1.2
> > diff -u -p -r1.2 PLIST
> > --- pkg/PLIST   13 Nov 2018 22:31:03 -  1.2
> > +++ pkg/PLIST   6 Aug 2019 01:31:43 -
> > @@ -2,8 +2,10 @@
> >  @bin bin/crystal
> >  @bin bin/shards
> >  lib/crystal/
> > +lib/crystal/VERSION
> >  lib/crystal/adler32/
> >  lib/crystal/adler32/adler32.cr
> > +lib/crystal/annotations.cr
> >  lib/crystal/array.cr
> >  lib/crystal/atomic.cr
> >  lib/crystal/base64.cr
> > @@ -26,6 +28,7 @@ lib/crystal/box.cr
> >  lib/crystal/callstack/
> >  lib/crystal/callstack.cr
> >  lib/crystal/callstack/lib_unwind.cr
> > +lib/crystal/channel.cr
> >  lib/crystal/char/
> >  lib/crystal/char.cr
> >  lib/crystal/char/reader.cr
> > @@ -57,9 +60,11 @@ lib/crystal/compiler/crystal/codegen/llv
> >  lib/crystal/compiler/crystal/codegen/match.cr
> >  lib/crystal/compiler/crystal/codegen/phi.cr
> >  lib/crystal/compiler/crystal/codegen/primitives.cr
> > -lib/crystal/compiler/crystal/codegen/target_machine.cr
> > +lib/crystal/compiler/crystal/codegen/target.cr
> >  lib/crystal/compiler/crystal/codegen/type_id.cr
> >  lib/crystal/compiler/crystal/codegen/types.cr
> > +lib/crystal/compiler/crystal/codegen/unions.cr
> > +lib/crystal/compiler/crystal/codegen/warnings.cr
> >  lib/crystal/compiler/crystal/command/
> >  lib/crystal/compiler/crystal/command.cr
> >  lib/crystal/compiler/crystal/c

Re: llvm-7.0.1 fallout: lang/crystal

2019-08-05 Thread Wesley Moxam
On Mon, Aug 5, 2019 at 10:01 PM joshua stein  wrote:

> On Mon, 05 Aug 2019 at 21:49:05 -0400, Wesley Moxam wrote:
> > Crystal 0.30.0 has been released.
> >
> > Diff for the port is attached.
>
> Thanks!  One nit below.
>

Makes sense, thanks!


>
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/lang/crystal/Makefile,v
> > retrieving revision 1.6
> > diff -u -p -r1.6 Makefile
> > --- Makefile  12 Jul 2019 20:47:16 -  1.6
> > +++ Makefile  6 Aug 2019 01:31:42 -
> > @@ -1,12 +1,10 @@
> >  # $OpenBSD: Makefile,v 1.6 2019/07/12 20:47:16 sthen Exp $
> >
> > -BROKEN = does not build with LLVM 7
> > -
> >  # Hopefully ${CLANG_ARCHS} at some point.
> >  ONLY_FOR_ARCHS=  amd64
> >
> > -V =  0.26.1
> > -V_SHARDS =   0.8.1
> > +V =  0.30.0
> > +V_SHARDS =   0.9.0
> >  REVISION =   1
> >  COMMENT =statically typed object oriented language
> >  DISTNAME =   crystal-${V}
> > @@ -29,7 +27,7 @@ MASTER_SITES =  https://github.com/crysta
> >  MASTER_SITES0 =  https://wmoxam.com/public/
> >  MASTER_SITES1 =  https://github.com/crystal-lang/shards/archive/
> >  DISTFILES =  crystal-${V}{${V}}.tar.gz \
> > - crystal-${V}-OpenBSD6.4.tar.gz:0 \
> > + crystal-${V}-OpenBSD6.5.tar.gz:0 \
> >   shards-${V}{v${V_SHARDS}}.tar.gz:1
> >
> >  # Build requires llvm-config which only exists in ports-clang
> > @@ -57,13 +55,14 @@ do-build:
> >   ${WRKSRC}/../crystal.o \
> >   ${WRKSRC}/src/llvm/ext/llvm_ext.o \
> >   ${WRKSRC}/src/ext/sigfault.o \
> > + -L/usr/local/lib \
>
> That probably needs to be "-L${LOCALBASE}/lib"
>
> >   `(llvm-config --libs --system-libs --ldflags 2>
> /dev/null)` \
> >   -lz -lpcre -lgc -lpthread -levent_core -levent_extra -lssl
> \
> >   -lcrypto -liconv
> >   # Use the compiler to re-compile the compiler
> >   touch ${WRKSRC}/src/compiler/crystal.cr
> >   cd ${WRKSRC}; \
> > - ulimit -s 5120 -d 3145728 && \
> > + ulimit -s 5120 -d 4096000 && \
> >   CRYSTAL_CONFIG_PATH="lib:${TRUEPREFIX}/lib/crystal" \
> >   CXX=${CXX} ${MAKE_PROGRAM} ${ALL_TARGET}
> >   cd ${WRKSRC}/../shards-${V_SHARDS} && \
> > Index: distinfo
> > ===
> > RCS file: /cvs/ports/lang/crystal/distinfo,v
> > retrieving revision 1.2
> > diff -u -p -r1.2 distinfo
> > --- distinfo  13 Nov 2018 22:31:03 -  1.2
> > +++ distinfo  6 Aug 2019 01:31:42 -
> > @@ -1,6 +1,6 @@
> > -SHA256 (crystal-0.26.1-OpenBSD6.4.tar.gz) =
> fds/Izqj2rbqydL5FcDbj+kYIXssBHGzYQlFAIyb0x8=
> > -SHA256 (crystal-0.26.1.tar.gz) =
> t8dVp9D0n1cq5cCLiwE5/LHGhiyUed+udPAOLIQk/LA=
> > -SHA256 (shards-0.26.1.tar.gz) =
> dcdKtqzy1cWfYafv07vDxLHWUhf5EDQMuBjr9SMyB6U=
> > -SIZE (crystal-0.26.1-OpenBSD6.4.tar.gz) = 6485528
> > -SIZE (crystal-0.26.1.tar.gz) = 1994987
> > -SIZE (shards-0.26.1.tar.gz) = 31388
> > +SHA256 (crystal-0.30.0-OpenBSD6.5.tar.gz) =
> boJUfiTBCHk4lEIevlOhcRtCc3JQOUrOuEJS1AeYZIs=
> > +SHA256 (crystal-0.30.0.tar.gz) =
> /IhJcAieOCNEVAZ2qcWqTzacmg9F0YWOB5tM4mh4Fko=
> > +SHA256 (shards-0.30.0.tar.gz) =
> kPIwyHzHuUyoReb+NPJSPtyttWLXFdqvmGA+36KpTWU=
> > +SIZE (crystal-0.30.0-OpenBSD6.5.tar.gz) = 6947653
> > +SIZE (crystal-0.30.0.tar.gz) = 2151397
> > +SIZE (shards-0.30.0.tar.gz) = 41280
> > Index: pkg/PLIST
> > ===
> > RCS file: /cvs/ports/lang/crystal/pkg/PLIST,v
> > retrieving revision 1.2
> > diff -u -p -r1.2 PLIST
> > --- pkg/PLIST 13 Nov 2018 22:31:03 -  1.2
> > +++ pkg/PLIST 6 Aug 2019 01:31:43 -
> > @@ -2,8 +2,10 @@
> >  @bin bin/crystal
> >  @bin bin/shards
> >  lib/crystal/
> > +lib/crystal/VERSION
> >  lib/crystal/adler32/
> >  lib/crystal/adler32/adler32.cr
> > +lib/crystal/annotations.cr
> >  lib/crystal/array.cr
> >  lib/crystal/atomic.cr
> >  lib/crystal/base64.cr
> > @@ -26,6 +28,7 @@ lib/crystal/box.cr
> >  lib/crystal/callstack/
> >  lib/crystal/callstack.cr
> >  lib/crystal/callstack/lib_unwind.cr
> > +lib/crystal/channel.cr
> >  lib/crystal/char/
> >  lib/crystal/char.cr
> >  lib/crystal/char/reader.cr
> > @@ -57,9 +60,11 @@ lib/crystal/compiler/crystal/codegen/llv
> >  lib/crystal/compiler/crystal/codegen/match.cr
> >  lib/crystal/compiler/crystal/codegen/phi.cr
> >  lib/crystal/compiler/crystal/codegen/primitives.cr
> > -lib/crystal/compiler/crystal/codegen/target_machine.cr
> > +lib/crystal/compiler/crystal/codegen/target.cr
> >  lib/crystal/compiler/crystal/codegen/type_id.cr
> >  lib/crystal/compiler/crystal/codegen/types.cr
> > +lib/crystal/compiler/crystal/codegen/unions.cr
> > +lib/crystal/compiler/crystal/codegen/warnings.cr
> >  lib/crystal/compiler/crystal/command/
> >  lib/crystal/compiler/crystal/command.cr
> >  lib/crystal/compiler/crystal/command/cursor.cr
> > @@ -233,10 +238,8 @@ lib/crystal/

Re: llvm-7.0.1 fallout: lang/crystal

2019-08-05 Thread joshua stein
On Mon, 05 Aug 2019 at 21:49:05 -0400, Wesley Moxam wrote:
> Crystal 0.30.0 has been released.
> 
> Diff for the port is attached.

Thanks!  One nit below.


> Index: Makefile
> ===
> RCS file: /cvs/ports/lang/crystal/Makefile,v
> retrieving revision 1.6
> diff -u -p -r1.6 Makefile
> --- Makefile  12 Jul 2019 20:47:16 -  1.6
> +++ Makefile  6 Aug 2019 01:31:42 -
> @@ -1,12 +1,10 @@
>  # $OpenBSD: Makefile,v 1.6 2019/07/12 20:47:16 sthen Exp $
>  
> -BROKEN = does not build with LLVM 7
> -
>  # Hopefully ${CLANG_ARCHS} at some point.
>  ONLY_FOR_ARCHS=  amd64
>  
> -V =  0.26.1
> -V_SHARDS =   0.8.1
> +V =  0.30.0
> +V_SHARDS =   0.9.0
>  REVISION =   1
>  COMMENT =statically typed object oriented language
>  DISTNAME =   crystal-${V}
> @@ -29,7 +27,7 @@ MASTER_SITES =  https://github.com/crysta
>  MASTER_SITES0 =  https://wmoxam.com/public/
>  MASTER_SITES1 =  https://github.com/crystal-lang/shards/archive/
>  DISTFILES =  crystal-${V}{${V}}.tar.gz \
> - crystal-${V}-OpenBSD6.4.tar.gz:0 \
> + crystal-${V}-OpenBSD6.5.tar.gz:0 \
>   shards-${V}{v${V_SHARDS}}.tar.gz:1
>  
>  # Build requires llvm-config which only exists in ports-clang
> @@ -57,13 +55,14 @@ do-build:
>   ${WRKSRC}/../crystal.o \
>   ${WRKSRC}/src/llvm/ext/llvm_ext.o \
>   ${WRKSRC}/src/ext/sigfault.o \
> + -L/usr/local/lib \

That probably needs to be "-L${LOCALBASE}/lib"

>   `(llvm-config --libs --system-libs --ldflags 2> /dev/null)` \
>   -lz -lpcre -lgc -lpthread -levent_core -levent_extra -lssl \
>   -lcrypto -liconv
>   # Use the compiler to re-compile the compiler
>   touch ${WRKSRC}/src/compiler/crystal.cr
>   cd ${WRKSRC}; \
> - ulimit -s 5120 -d 3145728 && \
> + ulimit -s 5120 -d 4096000 && \
>   CRYSTAL_CONFIG_PATH="lib:${TRUEPREFIX}/lib/crystal" \
>   CXX=${CXX} ${MAKE_PROGRAM} ${ALL_TARGET}
>   cd ${WRKSRC}/../shards-${V_SHARDS} && \
> Index: distinfo
> ===
> RCS file: /cvs/ports/lang/crystal/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- distinfo  13 Nov 2018 22:31:03 -  1.2
> +++ distinfo  6 Aug 2019 01:31:42 -
> @@ -1,6 +1,6 @@
> -SHA256 (crystal-0.26.1-OpenBSD6.4.tar.gz) = 
> fds/Izqj2rbqydL5FcDbj+kYIXssBHGzYQlFAIyb0x8=
> -SHA256 (crystal-0.26.1.tar.gz) = t8dVp9D0n1cq5cCLiwE5/LHGhiyUed+udPAOLIQk/LA=
> -SHA256 (shards-0.26.1.tar.gz) = dcdKtqzy1cWfYafv07vDxLHWUhf5EDQMuBjr9SMyB6U=
> -SIZE (crystal-0.26.1-OpenBSD6.4.tar.gz) = 6485528
> -SIZE (crystal-0.26.1.tar.gz) = 1994987
> -SIZE (shards-0.26.1.tar.gz) = 31388
> +SHA256 (crystal-0.30.0-OpenBSD6.5.tar.gz) = 
> boJUfiTBCHk4lEIevlOhcRtCc3JQOUrOuEJS1AeYZIs=
> +SHA256 (crystal-0.30.0.tar.gz) = /IhJcAieOCNEVAZ2qcWqTzacmg9F0YWOB5tM4mh4Fko=
> +SHA256 (shards-0.30.0.tar.gz) = kPIwyHzHuUyoReb+NPJSPtyttWLXFdqvmGA+36KpTWU=
> +SIZE (crystal-0.30.0-OpenBSD6.5.tar.gz) = 6947653
> +SIZE (crystal-0.30.0.tar.gz) = 2151397
> +SIZE (shards-0.30.0.tar.gz) = 41280
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/lang/crystal/pkg/PLIST,v
> retrieving revision 1.2
> diff -u -p -r1.2 PLIST
> --- pkg/PLIST 13 Nov 2018 22:31:03 -  1.2
> +++ pkg/PLIST 6 Aug 2019 01:31:43 -
> @@ -2,8 +2,10 @@
>  @bin bin/crystal
>  @bin bin/shards
>  lib/crystal/
> +lib/crystal/VERSION
>  lib/crystal/adler32/
>  lib/crystal/adler32/adler32.cr
> +lib/crystal/annotations.cr
>  lib/crystal/array.cr
>  lib/crystal/atomic.cr
>  lib/crystal/base64.cr
> @@ -26,6 +28,7 @@ lib/crystal/box.cr
>  lib/crystal/callstack/
>  lib/crystal/callstack.cr
>  lib/crystal/callstack/lib_unwind.cr
> +lib/crystal/channel.cr
>  lib/crystal/char/
>  lib/crystal/char.cr
>  lib/crystal/char/reader.cr
> @@ -57,9 +60,11 @@ lib/crystal/compiler/crystal/codegen/llv
>  lib/crystal/compiler/crystal/codegen/match.cr
>  lib/crystal/compiler/crystal/codegen/phi.cr
>  lib/crystal/compiler/crystal/codegen/primitives.cr
> -lib/crystal/compiler/crystal/codegen/target_machine.cr
> +lib/crystal/compiler/crystal/codegen/target.cr
>  lib/crystal/compiler/crystal/codegen/type_id.cr
>  lib/crystal/compiler/crystal/codegen/types.cr
> +lib/crystal/compiler/crystal/codegen/unions.cr
> +lib/crystal/compiler/crystal/codegen/warnings.cr
>  lib/crystal/compiler/crystal/command/
>  lib/crystal/compiler/crystal/command.cr
>  lib/crystal/compiler/crystal/command/cursor.cr
> @@ -233,10 +238,8 @@ lib/crystal/compiler/crystal/util.cr
>  lib/crystal/complex.cr
>  lib/crystal/concurrent/
>  lib/crystal/concurrent.cr
> -lib/crystal/concurrent/channel.cr
>  lib/crystal/concurrent/error.cr
>  lib/crystal/concurrent/future.cr
> -lib/crystal/concurrent/scheduler.cr
>  lib/crystal/crc32/
>  lib/crystal/crc32/crc32.cr
>  lib

Re: llvm-7.0.1 fallout: lang/crystal

2019-08-05 Thread Wesley Moxam
Crystal 0.30.0 has been released.

Diff for the port is attached.

On Fri, Jul 26, 2019 at 5:47 PM Wesley Moxam  wrote:

> LLVM 7 + 8 support recently hit the master branch (see:
> https://github.com/crystal-lang/crystal/pull/7986 &
> https://github.com/crystal-lang/crystal/pull/7987)
>
> Crystal 0.30 will include these, but I'm not sure when 0.30 will be
> officially released.
>
> On Thu, Jul 11, 2019 at 10:38 AM Wesley Moxam 
> wrote:
>
>> No news yet. There are plans to support newer llvm releases, potentially
>> support for LLVM 7 in Crystal 0.30, with LLVM 8 support to follow.
>>
>>
>> On Sun, Jun 30, 2019 at 12:20 PM Jeremie Courreges-Anglas 
>> wrote:
>>
>>>
>>> Hi Wesley,
>>>
>>> On Wed, Feb 13 2019, Wesley Moxam  wrote:
>>> >> On Feb 13, 2019, at 7:47 AM, Jeremie Courreges-Anglas 
>>> wrote:
>>> >>
>>> >>> On Thu, Feb 07 2019, Stuart Henderson  wrote:
>>>  On 2019/02/07 18:02, Jeremie Courreges-Anglas wrote:
>>> 
>>>  Hi,
>>> 
>>>  I'm not sure you were notified so here's a heads-up: lang/crystal
>>>  doesn't build any more after the update to clang 7 in both base and
>>>  ports.
>>> >>>
>>> >>> Not handled upstream yet.
>>> >>> https://github.com/crystal-lang/crystal/issues/6754
>>> >>
>>> >> Wesley, I see that you have commented on this issue.  Do you mind if
>>> >> we mark lang/crystal as temporarily BROKEN?
>>> >
>>> > That’s fine with me. It may be a while before the issue is fixed
>>>
>>> Any news regarding lang/crystal?  The issue is still open and "@bcardiff
>>> removed this from the 0.28.0 milestone on Mar 27".
>>>
>>> If upstream doesn't plan to support newer llvm releases and no
>>> alternative fix is found, then the port should be removed.
>>>
>>> --
>>> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524
>>> E7EE
>>>
>>


crystal-0.30.0.diff
Description: Binary data


Re: llvm-7.0.1 fallout: lang/crystal

2019-07-26 Thread Wesley Moxam
LLVM 7 + 8 support recently hit the master branch (see:
https://github.com/crystal-lang/crystal/pull/7986 &
https://github.com/crystal-lang/crystal/pull/7987)

Crystal 0.30 will include these, but I'm not sure when 0.30 will be
officially released.

On Thu, Jul 11, 2019 at 10:38 AM Wesley Moxam 
wrote:

> No news yet. There are plans to support newer llvm releases, potentially
> support for LLVM 7 in Crystal 0.30, with LLVM 8 support to follow.
>
>
> On Sun, Jun 30, 2019 at 12:20 PM Jeremie Courreges-Anglas 
> wrote:
>
>>
>> Hi Wesley,
>>
>> On Wed, Feb 13 2019, Wesley Moxam  wrote:
>> >> On Feb 13, 2019, at 7:47 AM, Jeremie Courreges-Anglas 
>> wrote:
>> >>
>> >>> On Thu, Feb 07 2019, Stuart Henderson  wrote:
>>  On 2019/02/07 18:02, Jeremie Courreges-Anglas wrote:
>> 
>>  Hi,
>> 
>>  I'm not sure you were notified so here's a heads-up: lang/crystal
>>  doesn't build any more after the update to clang 7 in both base and
>>  ports.
>> >>>
>> >>> Not handled upstream yet.
>> >>> https://github.com/crystal-lang/crystal/issues/6754
>> >>
>> >> Wesley, I see that you have commented on this issue.  Do you mind if
>> >> we mark lang/crystal as temporarily BROKEN?
>> >
>> > That’s fine with me. It may be a while before the issue is fixed
>>
>> Any news regarding lang/crystal?  The issue is still open and "@bcardiff
>> removed this from the 0.28.0 milestone on Mar 27".
>>
>> If upstream doesn't plan to support newer llvm releases and no
>> alternative fix is found, then the port should be removed.
>>
>> --
>> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524
>> E7EE
>>
>


Re: llvm-7.0.1 fallout: lang/crystal

2019-07-11 Thread Wesley Moxam
No news yet. There are plans to support newer llvm releases, potentially
support for LLVM 7 in Crystal 0.30, with LLVM 8 support to follow.


On Sun, Jun 30, 2019 at 12:20 PM Jeremie Courreges-Anglas 
wrote:

>
> Hi Wesley,
>
> On Wed, Feb 13 2019, Wesley Moxam  wrote:
> >> On Feb 13, 2019, at 7:47 AM, Jeremie Courreges-Anglas 
> wrote:
> >>
> >>> On Thu, Feb 07 2019, Stuart Henderson  wrote:
>  On 2019/02/07 18:02, Jeremie Courreges-Anglas wrote:
> 
>  Hi,
> 
>  I'm not sure you were notified so here's a heads-up: lang/crystal
>  doesn't build any more after the update to clang 7 in both base and
>  ports.
> >>>
> >>> Not handled upstream yet.
> >>> https://github.com/crystal-lang/crystal/issues/6754
> >>
> >> Wesley, I see that you have commented on this issue.  Do you mind if
> >> we mark lang/crystal as temporarily BROKEN?
> >
> > That’s fine with me. It may be a while before the issue is fixed
>
> Any news regarding lang/crystal?  The issue is still open and "@bcardiff
> removed this from the 0.28.0 milestone on Mar 27".
>
> If upstream doesn't plan to support newer llvm releases and no
> alternative fix is found, then the port should be removed.
>
> --
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
>


Re: llvm-7.0.1 fallout: lang/crystal

2019-06-30 Thread Antoine Jacoutot
On Sun, Jun 30, 2019 at 06:18:38PM +0200, Jeremie Courreges-Anglas wrote:
> 
> Hi Wesley,
> 
> On Wed, Feb 13 2019, Wesley Moxam  wrote:
> >> On Feb 13, 2019, at 7:47 AM, Jeremie Courreges-Anglas  
> >> wrote:
> >> 
> >>> On Thu, Feb 07 2019, Stuart Henderson  wrote:
>  On 2019/02/07 18:02, Jeremie Courreges-Anglas wrote:
>  
>  Hi,
>  
>  I'm not sure you were notified so here's a heads-up: lang/crystal
>  doesn't build any more after the update to clang 7 in both base and
>  ports.
> >>> 
> >>> Not handled upstream yet.
> >>> https://github.com/crystal-lang/crystal/issues/6754
> >> 
> >> Wesley, I see that you have commented on this issue.  Do you mind if
> >> we mark lang/crystal as temporarily BROKEN?
> >
> > That’s fine with me. It may be a while before the issue is fixed
> 
> Any news regarding lang/crystal?  The issue is still open and "@bcardiff
> removed this from the 0.28.0 milestone on Mar 27".
> 
> If upstream doesn't plan to support newer llvm releases and no
> alternative fix is found, then the port should be removed.

I don't know much about it, but can't it be built with ports gcc?

-- 
Antoine



Re: llvm-7.0.1 fallout: lang/crystal

2019-06-30 Thread Jeremie Courreges-Anglas


Hi Wesley,

On Wed, Feb 13 2019, Wesley Moxam  wrote:
>> On Feb 13, 2019, at 7:47 AM, Jeremie Courreges-Anglas  
>> wrote:
>> 
>>> On Thu, Feb 07 2019, Stuart Henderson  wrote:
 On 2019/02/07 18:02, Jeremie Courreges-Anglas wrote:
 
 Hi,
 
 I'm not sure you were notified so here's a heads-up: lang/crystal
 doesn't build any more after the update to clang 7 in both base and
 ports.
>>> 
>>> Not handled upstream yet.
>>> https://github.com/crystal-lang/crystal/issues/6754
>> 
>> Wesley, I see that you have commented on this issue.  Do you mind if
>> we mark lang/crystal as temporarily BROKEN?
>
> That’s fine with me. It may be a while before the issue is fixed

Any news regarding lang/crystal?  The issue is still open and "@bcardiff
removed this from the 0.28.0 milestone on Mar 27".

If upstream doesn't plan to support newer llvm releases and no
alternative fix is found, then the port should be removed.

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



Re: llvm-7.0.1 fallout: lang/crystal

2019-02-13 Thread Wesley Moxam



> On Feb 13, 2019, at 7:47 AM, Jeremie Courreges-Anglas  wrote:
> 
>> On Thu, Feb 07 2019, Stuart Henderson  wrote:
>>> On 2019/02/07 18:02, Jeremie Courreges-Anglas wrote:
>>> 
>>> Hi,
>>> 
>>> I'm not sure you were notified so here's a heads-up: lang/crystal
>>> doesn't build any more after the update to clang 7 in both base and
>>> ports.
>> 
>> Not handled upstream yet.
>> https://github.com/crystal-lang/crystal/issues/6754
> 
> Wesley, I see that you have commented on this issue.  Do you mind if
> we mark lang/crystal as temporarily BROKEN?

That’s fine with me. It may be a while before the issue is fixed



Re: llvm-7.0.1 fallout: lang/crystal

2019-02-13 Thread Jeremie Courreges-Anglas
On Thu, Feb 07 2019, Stuart Henderson  wrote:
> On 2019/02/07 18:02, Jeremie Courreges-Anglas wrote:
>> 
>> Hi,
>> 
>> I'm not sure you were notified so here's a heads-up: lang/crystal
>> doesn't build any more after the update to clang 7 in both base and
>> ports.
>
> Not handled upstream yet.
> https://github.com/crystal-lang/crystal/issues/6754

Wesley, I see that you have commented on this issue.  Do you mind if
we mark lang/crystal as temporarily BROKEN?

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



Re: llvm-7.0.1 fallout: lang/crystal

2019-02-07 Thread Stuart Henderson
On 2019/02/07 18:02, Jeremie Courreges-Anglas wrote:
> 
> Hi,
> 
> I'm not sure you were notified so here's a heads-up: lang/crystal
> doesn't build any more after the update to clang 7 in both base and
> ports.

Not handled upstream yet.
https://github.com/crystal-lang/crystal/issues/6754



llvm-7.0.1 fallout: lang/crystal

2019-02-07 Thread Jeremie Courreges-Anglas


Hi,

I'm not sure you were notified so here's a heads-up: lang/crystal
doesn't build any more after the update to clang 7 in both base and
ports.

build log (with unprintable characters suppressed):

--8<--
===>  Cleaning for crystal-0.26.1p1
===> crystal-0.26.1p1 depends on: llvm-=7.0.1 -> llvm-7.0.1p3
===> crystal-0.26.1p1 depends on: llvm->=7.0.1 -> llvm-7.0.1p3
===> crystal-0.26.1p1 depends on: gmake-* -> gmake-4.2.1p0
===> crystal-0.26.1p1 depends on: libiconv-* -> libiconv-1.14p3
===> crystal-0.26.1p1 depends on: boehm-gc-* -> boehm-gc-7.6.0p2
===> crystal-0.26.1p1 depends on: libevent-* -> libevent-2.0.22p1
===> crystal-0.26.1p1 depends on: pcre-* -> pcre-8.41p2
===> crystal-0.26.1p1 depends on: libyaml-* -> libyaml-0.1.7
===>  Verifying specs:  c++ c++abi pthread c event_core event_extra gc iconv m 
pcre yaml c++ c++abi pthread
===>  found c++.2.1 c++abi.0.1 pthread.26.1 c.95.0 event_core.1.1 
event_extra.0.1 gc.4.0 iconv.6.0 m.10.1 pcre.3.0 yaml.0.0
===>  Checking files for crystal-0.26.1p1
`/usr/ports/distfiles/crystal-0.26.1.tar.gz' is up to date.
`/usr/ports/distfiles/crystal-0.26.1-OpenBSD6.4.tar.gz' is up to date.
`/usr/ports/distfiles/shards-0.26.1.tar.gz' is up to date.
>> (SHA256) crystal-0.26.1.tar.gz: OK
>> (SHA256) crystal-0.26.1-OpenBSD6.4.tar.gz: OK
>> (SHA256) shards-0.26.1.tar.gz: OK
===>  Extracting for crystal-0.26.1p1
===>  Patching for crystal-0.26.1p1
===>  Compiler link: gcc -> /usr/local/bin/clang
===>  Compiler link: cc -> /usr/local/bin/clang
===>  Compiler link: clang -> /usr/local/bin/clang
===>  Compiler link: g++ -> /usr/local/bin/clang++
===>  Compiler link: c++ -> /usr/local/bin/clang++
===>  Compiler link: clang++ -> /usr/local/bin/clang++
===>  Generating configure for crystal-0.26.1p1
===>  Configuring for crystal-0.26.1p1
===>  Building for crystal-0.26.1p1
mkdir -p /usr/ports/pobj/crystal-0.26.1/crystal-0.26.1/.build
# Link the compiler from the pre-built bootstrap object
cd /usr/ports/pobj/crystal-0.26.1/crystal-0.26.1 && CXX=c++ gmake llvm_ext 
libcrystal
[33mUsing /usr/local/bin/llvm-config [version=7.0.1][0m
c++ -c  -o src/llvm/ext/llvm_ext.o src/llvm/ext/llvm_ext.cc 
-I/usr/local/include -O2 -pipe  -fno-ret-protector -mno-retpoline -fPIC 
-fvisibility-inlines-hidden -Werror=date-time 
-Werror=unguarded-availability-new -std=c++11 -Wall -Wextra 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color 
-ffunction-sections -fdata-sections -DNDEBUG  -fno-exceptions 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
[1msrc/llvm/ext/llvm_ext.cc:89:17: [0m[0;1;31merror: [0m[1mconflicting types 
for 'LLVMDIBuilderCreateFunction'[0m
LLVMMetadataRef LLVMDIBuilderCreateFunction(
[0;1;32m^
[0m[1m/usr/local/include/llvm-c/DebugInfo.h:277:17: [0m[0;1;30mnote: 
[0mprevious declaration is here[0m
LLVMMetadataRef LLVMDIBuilderCreateFunction(
[0;1;32m^
[0m[1msrc/llvm/ext/llvm_ext.cc:109:17: [0m[0;1;31merror: [0m[1mconflicting 
types for 'LLVMDIBuilderCreateLexicalBlock'[0m
LLVMMetadataRef LLVMDIBuilderCreateLexicalBlock(DIBuilderRef Dref,
[0;1;32m^
[0m[1m/usr/local/include/llvm-c/DebugInfo.h:292:17: [0m[0;1;30mnote: 
[0mprevious declaration is here[0m
LLVMMetadataRef LLVMDIBuilderCreateLexicalBlock(
[0;1;32m^
[0m[1msrc/llvm/ext/llvm_ext.cc:118:17: [0m[0;1;31merror: [0m[1mconflicting 
types for 'LLVMDIBuilderCreateBasicType'[0m
LLVMMetadataRef LLVMDIBuilderCreateBasicType(DIBuilderRef Dref,
[0;1;32m^
[0m[1m/usr/local/include/llvm-c/DebugInfo.h:536:1: [0m[0;1;30mnote: [0mprevious 
declaration is here[0m
LLVMDIBuilderCreateBasicType(LLVMDIBuilderRef Builder, const char *Name,
[0;1;32m^
[0m[1msrc/llvm/ext/llvm_ext.cc:130:17: [0m[0;1;31merror: [0m[1mconflicting 
types for 'LLVMDIBuilderGetOrCreateTypeArray'[0m
LLVMMetadataRef LLVMDIBuilderGetOrCreateTypeArray(DIBuilderRef Dref,
[0;1;32m^
[0m[1m/usr/local/include/llvm-c/DebugInfo.h:420:17: [0m[0;1;30mnote: 
[0mprevious declaration is here[0m
LLVMMetadataRef LLVMDIBuilderGetOrCreateTypeArray(LLVMDIBuilderRef Builder,
[0;1;32m^
[0m[1msrc/llvm/ext/llvm_ext.cc:139:17: [0m[0;1;31merror: [0m[1mconflicting 
types for 'LLVMDIBuilderGetOrCreateArray'[0m
LLVMMetadataRef LLVMDIBuilderGetOrCreateArray(DIBuilderRef Dref,
[0;1;32m^
[0m[1m/usr/local/include/llvm-c/DebugInfo.h:929:17: [0m[0;1;30mnote: 
[0mprevious declaration is here[0m
LLVMMetadataRef LLVMDIBuilderGetOrCreateArray(LLVMDIBuilderRef Builder,
[0;1;32m^
[0m[1msrc/llvm/ext/llvm_ext.cc:148:1: [0m[0;1;31merror: [0m[1mconflicting types 
for 'LLVMDIBuilderCreateSubroutineType'[0m
LLVMDIBuilderCreateSubroutineType(DIBuilderRef Dref, LLVMMetadataRef File,
[0;1;32m^
[0m[1m/usr/local/include/llvm-c/DebugInfo.h:435:1: [0m[0;1;30mnote: [0mprevious 
declaration is here[0m
LLV