Re: devel/bison: update to 3.8.2 (BULK wanted)

2023-10-17 Thread Todd C . Miller
On Tue, 17 Oct 2023 07:36:33 -, Klemens Nanni wrote:

> 10/15/23 15:04, Todd C. Miller пишет:
> >> Ha, that's way easier than poking at the Makefile, although I'm inclined
> >> to stick to the diff that tb bulk-tested, just to be sure for now.
>
> tb reported that your appraoch doesn't work with MAKE_JOBS=1
> whereas mine does, so I'll stick with that.
>
> > I don't have anything else.  Your diff works for me.
>
> OK to commit the diff now?

OK millert@

 - todd



Re: devel/bison: update to 3.8.2 (BULK wanted)

2023-10-17 Thread Klemens Nanni
10/15/23 15:04, Todd C. Miller пишет:
>> Ha, that's way easier than poking at the Makefile, although I'm inclined
>> to stick to the diff that tb bulk-tested, just to be sure for now.

tb reported that your appraoch doesn't work with MAKE_JOBS=1
whereas mine does, so I'll stick with that.

> I don't have anything else.  Your diff works for me.

OK to commit the diff now?



Re: devel/bison: update to 3.8.2 (BULK wanted)

2023-10-15 Thread Todd C . Miller
On Sun, 15 Oct 2023 10:35:08 -, Klemens Nanni wrote:

> On Sat, Oct 14, 2023 at 04:02:46PM -0600, Todd C. Miller wrote:
> > I have the following in my WIP bison port's Makefile.
> > 
> > # Avoid regenerating bison.info
> > post-configure:
> > touch ${WRKSRC}/doc/*.info
>
> Ha, that's way easier than poking at the Makefile, although I'm inclined
> to stick to the diff that tb bulk-tested, just to be sure for now.

Sure, that's fine.

> > 
> > I've been using bison 3.8.2 for some time.
>
> Do you have any other changes in your WIP port?
> Does my diff work equally well for you?

I don't have anything else.  Your diff works for me.

 - todd



Re: devel/bison: update to 3.8.2 (BULK wanted)

2023-10-15 Thread Klemens Nanni
On Sat, Oct 14, 2023 at 04:02:46PM -0600, Todd C. Miller wrote:
> I have the following in my WIP bison port's Makefile.
> 
> # Avoid regenerating bison.info
> post-configure:
>   touch ${WRKSRC}/doc/*.info

Ha, that's way easier than poking at the Makefile, although I'm inclined
to stick to the diff that tb bulk-tested, just to be sure for now.

> 
> I've been using bison 3.8.2 for some time.

Do you have any other changes in your WIP port?
Does my diff work equally well for you?



Re: devel/bison: update to 3.8.2 (BULK wanted)

2023-10-14 Thread Todd C . Miller
I have the following in my WIP bison port's Makefile.

# Avoid regenerating bison.info
post-configure:
touch ${WRKSRC}/doc/*.info

I've been using bison 3.8.2 for some time.

 - todd



Re: devel/bison: update to 3.8.2 (BULK wanted)

2023-10-14 Thread Theo Buehler
> I don't fully understand the make job race inside this GNU auto*/make code,
> but here's the same update with a simpler Makefile.in patch that reliably
> packages bison regardless of MAKE_JOBS.

That works for me. No fallout in an amd64 bulk, so it seems the failures
we saw a few years back when millert tried to update to 3.8.0 are now
resolved one way or the other.

I havent really looked at this gmake/automake madness and don't know
much about bison and how it's used at all.

Would probably be good if someone who has a clue about it and its build
system took a look, but as far as I'm concerned, there's no reason this
can't go in.


> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/bison/Makefile,v
> retrieving revision 1.66
> diff -u -p -r1.66 Makefile
> --- Makefile  21 Sep 2023 09:49:49 -  1.66
> +++ Makefile  12 Oct 2023 16:32:23 -
> @@ -1,6 +1,6 @@
>  COMMENT= GNU parser generator
>  
> -DISTNAME=bison-3.7.6
> +DISTNAME=bison-3.8.2
>  CATEGORIES=  devel
>  SITES=   ${SITE_GNU:=bison/}
>  EXTRACT_SUFX=.tar.xz
> @@ -19,6 +19,8 @@ BUILD_DEPENDS=  devel/gettext,-tools \
>  RUN_DEPENDS= devel/m4
>  
>  CONFIGURE_STYLE=gnu
> +CONFIGURE_ENV=   ac_cv_prog_VALGRIND=no \
> + ac_cv_path_XSLTPROC=no
>  CONFIGURE_ARGS=  --disable-yacc
>  # Avoid crashes because of bad interactions between bison, libtextstyle
>  # from devel/gettext and ncurses
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/bison/distinfo,v
> retrieving revision 1.14
> diff -u -p -r1.14 distinfo
> --- distinfo  17 May 2021 16:41:44 -  1.14
> +++ distinfo  12 Oct 2023 16:32:23 -
> @@ -1,2 +1,2 @@
> -SHA256 (bison-3.7.6.tar.xz) = Z9aM4eIhkgUFJWQ/wKeiIpdXZoK+9qXFFEaQP1ru888=
> -SIZE (bison-3.7.6.tar.xz) = 2627180
> +SHA256 (bison-3.8.2.tar.xz) = m7oCFMz38QecXVkhAEUie89hlRmEDr+oDNOEnP9aW/I=
> +SIZE (bison-3.8.2.tar.xz) = 2817324
> Index: patches/patch-Makefile_in
> ===
> RCS file: /cvs/ports/devel/bison/patches/patch-Makefile_in,v
> retrieving revision 1.2
> diff -u -p -r1.2 patch-Makefile_in
> --- patches/patch-Makefile_in 11 Mar 2022 18:49:44 -  1.2
> +++ patches/patch-Makefile_in 12 Oct 2023 18:19:20 -
> @@ -1,14 +1,14 @@
> -Break the "bison.help: bison" dependency to avoid rebuilding bison.info.
> +Breaking the "bison.help: bison" dependency is non-trivial with MAKE_JOBS>1;
> +instead make the problematic target a NOOP.
>  
>  Index: Makefile.in
>  --- Makefile.in.orig
>  +++ Makefile.in
> -@@ -10432,7 +10432,7 @@ $(srcdir)/$(doc_bison).info.bak: 
> $(srcdir)/$(doc_bison
> +@@ -9579,6 +9579,7 @@ doc/$(am__dirstamp):
> + @: > doc/$(am__dirstamp)
>   
> - doc/refcard.pdf: doc/refcard.tex
> - $(AM_V_GEN) cd doc && pdftex $(abs_top_srcdir)/doc/refcard.tex
> --@CROSS_COMPILING_FALSE@$(top_srcdir)/doc/bison.help: src/bison$(EXEEXT)
> -+@CROSS_COMPILING_FALSE@$(top_srcdir)/doc/bison.help: #src/bison$(EXEEXT)
> - @CROSS_COMPILING_FALSE@ $(AM_V_GEN)$(MKDIR_P) doc
> - @CROSS_COMPILING_FALSE@ $(AM_V_at) LC_ALL=C tests/bison --version 
> >doc/bison.help.tmp
> - @CROSS_COMPILING_FALSE@ $(AM_V_at) LC_ALL=C tests/bison --help | \
> + $(srcdir)/doc/bison.info: doc/bison.texi $(srcdir)/doc/version.texi 
> $(doc_bison_TEXINFOS)
> ++neutered-bison-info:
> + $(AM_V_MAKEINFO)restore=: && backupdir="$(am__leading_dot)am" && \
> + am__cwd=`pwd` && $(am__cd) $(srcdir) && \
> + rm -rf $$backupdir && mkdir $$backupdir && \
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/devel/bison/pkg/PLIST,v
> retrieving revision 1.15
> diff -u -p -r1.15 PLIST
> --- pkg/PLIST 11 Mar 2022 18:49:45 -  1.15
> +++ pkg/PLIST 12 Oct 2023 16:32:23 -
> @@ -11,7 +11,6 @@ share/bison/m4sugar/
>  share/bison/m4sugar/foreach.m4
>  share/bison/m4sugar/m4sugar.m4
>  share/bison/skeletons/
> -share/bison/skeletons/README-D.txt
>  share/bison/skeletons/bison.m4
>  share/bison/skeletons/c++-skel.m4
>  share/bison/skeletons/c++.m4
> @@ -22,6 +21,7 @@ share/bison/skeletons/d-skel.m4
>  share/bison/skeletons/d.m4
>  share/bison/skeletons/glr.c
>  share/bison/skeletons/glr.cc
> +share/bison/skeletons/glr2.cc
>  share/bison/skeletons/java-skel.m4
>  share/bison/skeletons/java.m4
>  share/bison/skeletons/lalr1.cc
> @@ -70,6 +70,10 @@ share/doc/bison/examples/c/calc/
>  share/doc/bison/examples/c/calc/Makefile
>  share/doc/bison/examples/c/calc/README.md
>  share/doc/bison/examples/c/calc/calc.y
> +share/doc/bison/examples/c/glr/
> +share/doc/bison/examples/c/glr/Makefile
> +share/doc/bison/examples/c/glr/README.md
> +share/doc/bison/examples/c/glr/c++-types.y
>  share/doc/bison/examples/c/lexcalc/
>  share/doc/bison/examples/c/lexcalc/Makefile
>  share/doc/bison/examples/c/lexcalc/README.md
> @@ -92,9 

Re: devel/bison: update to 3.8.2 (BULK wanted)

2023-10-12 Thread Klemens Nanni
On Thu, Oct 12, 2023 at 03:27:05PM +0200, Theo Buehler wrote:
> This randomly doesn't package with
> 
> makeinfo: unknown option -- 
> set-customization-variable=SECTION_NAME_IN_TITLE=true

Our current Makefile.in patch addresses this and works for the current
version regardless of MAKE_JOBS, but with bison 3.8.2 and MAKE_JOBS=1
(tb's dpb build job) the patch has no effect whereas >1 (my machine) works.

I don't fully understand the make job race inside this GNU auto*/make code,
but here's the same update with a simpler Makefile.in patch that reliably
packages bison regardless of MAKE_JOBS.

> checking for xsltproc... no

> checking for valgrind... no
> checking Valgrind suppression file... 

The new diff also prevents picking up xsltproc and valgrind if present
(my machine) to avoid potential future failure and explicitly record
that bison does not depend on those ports.

> /usr/bin/make  all-recursive
> Making all in po
> Making all in runtime-po
> Making all in gnulib-po
> Making all in .
> restore=: && backupdir=".am$$" &&  am__cwd=`pwd` && 
> CDPATH="${ZSH_VERSION+.}:" && cd . &&  rm -rf $backupdir && mkdir $backupdir 
> &&  if (/bin/sh '/tmp/pobj/bison-3.8.2/bison-3.8.2/build-aux/missing' 
> makeinfo --version) >/dev/null 2>&1; then  for f in ./doc/bison.info 
> ./doc/bison.info-[0-9] ./doc/bison.info-[0-9][0-9] ./doc/bison.i[0-9] 
> ./doc/bison.i[0-9][0-9]; do  if test -f $f; then mv $f $backupdir; 
> restore=mv; else :; fi;  done;  else :; fi &&  cd "$am__cwd";  if /bin/sh 
> '/tmp/pobj/bison-3.8.2/bison-3.8.2/build-aux/missing' makeinfo --no-split 
> 
> --set-customization-variable=SECTION_NAME_IN_TITLE=true
> --set-customization-variable=AVOID_MENU_REDUNDANCY=true
> --set-customization-variable=ICONS=true  -I doc -I ./doc  -o ./doc/bison.info 
> ./doc/bison.texi;  then  rc=0;  CDPATH="${ZSH_VERSION+.}:" && cd .;  else  
> rc=$?;  CDPATH="${ZSH_VERSION+.}:" && cd . &&  $restore $backupdir/* `echo 
> "././doc/bison.info" | sed 's|[^/]*$||'`;  fi;  rm -rf $backupdir; exit $rc
> makeinfo: unknown option -- 
> set-customization-variable=SECTION_NAME_IN_TITLE=true
> Try `makeinfo --help' for more information.
> *** Error 1 in . (Makefile:9601 './doc/bison.info')
> *** Error 1 in . (Makefile:10402 'all-recursive': @fail=;  if 
> (target_option=k; case ${target_option-} in  ?) ;;  *) echo 
> "am__make_running_...)
> *** Error 2 in /tmp/pobj/bison-3.8.2/bison-3.8.2 (Makefile:3866 'all')
> *** Error 2 in devel/bison (/usr/ports/infrastructure/mk/bsd.port.mk:3034 
> '/tmp/pobj/bison-3.8.2/.build_done': @cd /tmp/pobj/bison-3.8.2/bis...)
> *** Error 2 in devel/bison (/usr/ports/infrastructure/mk/bsd.port.mk:2677 
> 'build': @lock=bison-3.8.2;  export _LOCKS_HELD=" bison-3.8.2";   ...)


Index: Makefile
===
RCS file: /cvs/ports/devel/bison/Makefile,v
retrieving revision 1.66
diff -u -p -r1.66 Makefile
--- Makefile21 Sep 2023 09:49:49 -  1.66
+++ Makefile12 Oct 2023 16:32:23 -
@@ -1,6 +1,6 @@
 COMMENT=   GNU parser generator
 
-DISTNAME=  bison-3.7.6
+DISTNAME=  bison-3.8.2
 CATEGORIES=devel
 SITES= ${SITE_GNU:=bison/}
 EXTRACT_SUFX=  .tar.xz
@@ -19,6 +19,8 @@ BUILD_DEPENDS=devel/gettext,-tools \
 RUN_DEPENDS=   devel/m4
 
 CONFIGURE_STYLE=gnu
+CONFIGURE_ENV= ac_cv_prog_VALGRIND=no \
+   ac_cv_path_XSLTPROC=no
 CONFIGURE_ARGS=--disable-yacc
 # Avoid crashes because of bad interactions between bison, libtextstyle
 # from devel/gettext and ncurses
Index: distinfo
===
RCS file: /cvs/ports/devel/bison/distinfo,v
retrieving revision 1.14
diff -u -p -r1.14 distinfo
--- distinfo17 May 2021 16:41:44 -  1.14
+++ distinfo12 Oct 2023 16:32:23 -
@@ -1,2 +1,2 @@
-SHA256 (bison-3.7.6.tar.xz) = Z9aM4eIhkgUFJWQ/wKeiIpdXZoK+9qXFFEaQP1ru888=
-SIZE (bison-3.7.6.tar.xz) = 2627180
+SHA256 (bison-3.8.2.tar.xz) = m7oCFMz38QecXVkhAEUie89hlRmEDr+oDNOEnP9aW/I=
+SIZE (bison-3.8.2.tar.xz) = 2817324
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/devel/bison/patches/patch-Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile_in
--- patches/patch-Makefile_in   11 Mar 2022 18:49:44 -  1.2
+++ patches/patch-Makefile_in   12 Oct 2023 18:19:20 -
@@ -1,14 +1,14 @@
-Break the "bison.help: bison" dependency to avoid rebuilding bison.info.
+Breaking the "bison.help: bison" dependency is non-trivial with MAKE_JOBS>1;
+instead make the problematic target a NOOP.
 
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -10432,7 +10432,7 @@ $(srcdir)/$(doc_bison).info.bak: $(srcdir)/$(doc_bison
+@@ -9579,6 +9579,7 @@ doc/$(am__dirstamp):
+   @: > doc/$(am__dirstamp)
  
- doc/refcard.pdf: doc/refcard.tex
-   $(AM_V_GEN) cd doc && pdftex 

Re: devel/bison: update to 3.8.2 (BULK wanted)

2023-10-12 Thread Theo Buehler
On Wed, Oct 11, 2023 at 06:39:21PM +, Klemens Nanni wrote:
> On Wed, Sep 20, 2023 at 11:30:49AM +, Klemens Nanni wrote:
> > http://savannah.gnu.org/news/?id=10011 3.8.1 came out two years ago,
> > I couldn't find release notes for 3.8.2;  above news don't seem harmless,
> > but the list of consumers is huge, so I'd appreciate if someone could test
> > this in a full bulk.
> > 
> > amd64:
> >   723 tests were successful.
> >   53 tests were skipped.
> 
> Anyone wants to throw that into their bulk?
> 
> Same diff rebased onto SITES changes.

This randomly doesn't package with

makeinfo: unknown option -- 
set-customization-variable=SECTION_NAME_IN_TITLE=true

>>> Building on localhost under devel/bison
BDEPENDS = 
[devel/gettext,-tools;devel/dwz;devel/help2man;archivers/xz;devel/m4;devel/gettext,-runtime]
DIST = [devel/bison:bison-3.8.2.tar.xz]
FULLPKGNAME = bison-3.8.2
RDEPENDS = [devel/m4;devel/gettext,-runtime]
(Junk lock obtained for localhost at 1697116358.26)
>>> Running depends in devel/bison at 1697116358.27
   last junk was in audio/rnnoise
/usr/sbin/pkg_add -aI -Drepair gettext-tools-0.22.3 help2man-1.49.3 m4-1.4.18p1 
xz-5.4.4
was: /usr/sbin/pkg_add -aI -Drepair dwz-0.15 gettext-runtime-0.22.3 
gettext-tools-0.22.3 help2man-1.49.3 m4-1.4.18p1 xz-5.4.4
/usr/sbin/pkg_add -aI -Drepair gettext-tools-0.22.3 help2man-1.49.3 m4-1.4.18p1 
xz-5.4.4
>>> Running show-prepare-results in devel/bison at 1697116358.94
===> devel/bison
===> Building from scratch bison-3.8.2
===> bison-3.8.2 depends on: gettext-tools-* -> gettext-tools-0.22.3
===> bison-3.8.2 depends on: help2man-* -> help2man-1.49.3
===> bison-3.8.2 depends on: m4-* -> m4-1.4.18p1
===> bison-3.8.2 depends on: dwz-* -> dwz-0.15
===> bison-3.8.2 depends on: xz->=5.4.0 -> xz-5.4.4
===> bison-3.8.2 depends on: gettext-runtime-* -> gettext-runtime-0.22.3
===>  Verifying specs:  c iconv intl m
===>  found c.97.1 iconv.7.1 intl.8.0 m.10.1
dwz-0.15
gettext-runtime-0.22.3
gettext-tools-0.22.3
help2man-1.49.3
m4-1.4.18p1
xz-5.4.4
(Junk lock released for localhost at 1697116359.95)
distfiles size=2817324
>>> Running build in devel/bison at 1697116359.96
===> devel/bison
===>  Checking files for bison-3.8.2
`/data/distfiles/bison-3.8.2.tar.xz' is up to date.
>> (SHA256) bison-3.8.2.tar.xz: OK
===>  Extracting for bison-3.8.2
===>  Patching for bison-3.8.2
===>   Applying OpenBSD patch patch-Makefile_in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|Break the "bison.help: bison" dependency to avoid rebuilding bison.info.
|
|Index: Makefile.in
|--- Makefile.in.orig
|+++ Makefile.in
--
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 11833.
done
===>   Ignoring patchfile patch-Makefile_in.orig
===>   Applying OpenBSD patch patch-data_m4sugar_m4sugar_m4
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|Index: data/m4sugar/m4sugar.m4
|--- data/m4sugar/m4sugar.m4.orig
|+++ data/m4sugar/m4sugar.m4
--
Patching file data/m4sugar/m4sugar.m4 using Plan A...
Hunk #1 succeeded at 31.
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 bison-3.8.2
===>  Configuring for bison-3.8.2
Using /tmp/pobj/bison-3.8.2/config.site (generated)
configure: WARNING: unrecognized options: --disable-gtk-doc
configure: loading site script /tmp/pobj/bison-3.8.2/config.site
checking for a BSD-compatible install... /tmp/pobj/bison-3.8.2/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... mkdir -p
checking for gawk... (cached) awk
checking whether make sets $(MAKE)... (cached) yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
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 the compiler supports GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to enable C11 features... none needed
checking whether cc understands -c and -o together... yes
checking whether the compiler is clang... yes
checking for compiler option needed when checking for declarations... 
-Werror=implicit-function-declaration
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking whether the compiler supports GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for c++ option to enable C++11 features... none needed
checking dependency style of c++... gcc3
checking for stdio.h... 

Re: devel/bison: update to 3.8.2 (BULK wanted)

2023-10-11 Thread Klemens Nanni
On Wed, Sep 20, 2023 at 11:30:49AM +, Klemens Nanni wrote:
> http://savannah.gnu.org/news/?id=10011 3.8.1 came out two years ago,
> I couldn't find release notes for 3.8.2;  above news don't seem harmless,
> but the list of consumers is huge, so I'd appreciate if someone could test
> this in a full bulk.
> 
> amd64:
>   723 tests were successful.
>   53 tests were skipped.

Anyone wants to throw that into their bulk?

Same diff rebased onto SITES changes.


Index: Makefile
===
RCS file: /cvs/ports/devel/bison/Makefile,v
retrieving revision 1.66
diff -u -p -r1.66 Makefile
--- Makefile21 Sep 2023 09:49:49 -  1.66
+++ Makefile23 Sep 2023 19:41:00 -
@@ -1,6 +1,6 @@
 COMMENT=   GNU parser generator
 
-DISTNAME=  bison-3.7.6
+DISTNAME=  bison-3.8.2
 CATEGORIES=devel
 SITES= ${SITE_GNU:=bison/}
 EXTRACT_SUFX=  .tar.xz
Index: distinfo
===
RCS file: /cvs/ports/devel/bison/distinfo,v
retrieving revision 1.14
diff -u -p -r1.14 distinfo
--- distinfo17 May 2021 16:41:44 -  1.14
+++ distinfo20 Sep 2023 09:19:35 -
@@ -1,2 +1,2 @@
-SHA256 (bison-3.7.6.tar.xz) = Z9aM4eIhkgUFJWQ/wKeiIpdXZoK+9qXFFEaQP1ru888=
-SIZE (bison-3.7.6.tar.xz) = 2627180
+SHA256 (bison-3.8.2.tar.xz) = m7oCFMz38QecXVkhAEUie89hlRmEDr+oDNOEnP9aW/I=
+SIZE (bison-3.8.2.tar.xz) = 2817324
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/devel/bison/patches/patch-Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile_in
--- patches/patch-Makefile_in   11 Mar 2022 18:49:44 -  1.2
+++ patches/patch-Makefile_in   20 Sep 2023 09:20:29 -
@@ -3,7 +3,7 @@ Break the "bison.help: bison" dependency
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -10432,7 +10432,7 @@ $(srcdir)/$(doc_bison).info.bak: $(srcdir)/$(doc_bison
+@@ -11833,7 +11833,7 @@ $(srcdir)/$(doc_bison).info.bak: $(srcdir)/$(doc_bison
  
  doc/refcard.pdf: doc/refcard.tex
$(AM_V_GEN) cd doc && pdftex $(abs_top_srcdir)/doc/refcard.tex
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/bison/pkg/PLIST,v
retrieving revision 1.15
diff -u -p -r1.15 PLIST
--- pkg/PLIST   11 Mar 2022 18:49:45 -  1.15
+++ pkg/PLIST   20 Sep 2023 09:26:14 -
@@ -11,7 +11,6 @@ share/bison/m4sugar/
 share/bison/m4sugar/foreach.m4
 share/bison/m4sugar/m4sugar.m4
 share/bison/skeletons/
-share/bison/skeletons/README-D.txt
 share/bison/skeletons/bison.m4
 share/bison/skeletons/c++-skel.m4
 share/bison/skeletons/c++.m4
@@ -22,6 +21,7 @@ share/bison/skeletons/d-skel.m4
 share/bison/skeletons/d.m4
 share/bison/skeletons/glr.c
 share/bison/skeletons/glr.cc
+share/bison/skeletons/glr2.cc
 share/bison/skeletons/java-skel.m4
 share/bison/skeletons/java.m4
 share/bison/skeletons/lalr1.cc
@@ -70,6 +70,10 @@ share/doc/bison/examples/c/calc/
 share/doc/bison/examples/c/calc/Makefile
 share/doc/bison/examples/c/calc/README.md
 share/doc/bison/examples/c/calc/calc.y
+share/doc/bison/examples/c/glr/
+share/doc/bison/examples/c/glr/Makefile
+share/doc/bison/examples/c/glr/README.md
+share/doc/bison/examples/c/glr/c++-types.y
 share/doc/bison/examples/c/lexcalc/
 share/doc/bison/examples/c/lexcalc/Makefile
 share/doc/bison/examples/c/lexcalc/README.md
@@ -92,9 +96,13 @@ share/doc/bison/examples/c/rpcalc/
 share/doc/bison/examples/c/rpcalc/Makefile
 share/doc/bison/examples/c/rpcalc/rpcalc.y
 share/doc/bison/examples/d/
-share/doc/bison/examples/d/Makefile
 share/doc/bison/examples/d/README.md
-share/doc/bison/examples/d/calc.y
+share/doc/bison/examples/d/calc/
+share/doc/bison/examples/d/calc/Makefile
+share/doc/bison/examples/d/calc/calc.y
+share/doc/bison/examples/d/simple/
+share/doc/bison/examples/d/simple/Makefile
+share/doc/bison/examples/d/simple/calc.y
 share/doc/bison/examples/java/
 share/doc/bison/examples/java/README.md
 share/doc/bison/examples/java/calc/



Re: devel/bison: update to 3.8.2 (BULK wanted)

2023-09-20 Thread Stuart Henderson
On 2023/09/20 11:30, Klemens Nanni wrote:
> -MASTER_SITES=${MASTER_SITE_GNU:=bison/}
> +SITES=   ${MASTER_SITE_GNU:=bison/}

and

SITES=  ${SITE_GNU:=bison/}



Re: devel/bison: update to 3.8.2 (BULK wanted)

2023-09-20 Thread Stuart Henderson
after release.

On 2023/09/20 11:30, Klemens Nanni wrote:
> http://savannah.gnu.org/news/?id=10011 3.8.1 came out two years ago,
> I couldn't find release notes for 3.8.2;  above news don't seem harmless,
> but the list of consumers is huge, so I'd appreciate if someone could test
> this in a full bulk.
> 
> amd64:
>   723 tests were successful.
>   53 tests were skipped.
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/bison/Makefile,v
> retrieving revision 1.65
> diff -u -p -r1.65 Makefile
> --- Makefile  11 Mar 2022 18:49:44 -  1.65
> +++ Makefile  20 Sep 2023 09:19:23 -
> @@ -1,8 +1,8 @@
>  COMMENT= GNU parser generator
>  
> -DISTNAME=bison-3.7.6
> +DISTNAME=bison-3.8.2
>  CATEGORIES=  devel
> -MASTER_SITES=${MASTER_SITE_GNU:=bison/}
> +SITES=   ${MASTER_SITE_GNU:=bison/}
>  EXTRACT_SUFX=.tar.xz
>  
>  HOMEPAGE=https://www.gnu.org/software/bison/
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/bison/distinfo,v
> retrieving revision 1.14
> diff -u -p -r1.14 distinfo
> --- distinfo  17 May 2021 16:41:44 -  1.14
> +++ distinfo  20 Sep 2023 09:19:35 -
> @@ -1,2 +1,2 @@
> -SHA256 (bison-3.7.6.tar.xz) = Z9aM4eIhkgUFJWQ/wKeiIpdXZoK+9qXFFEaQP1ru888=
> -SIZE (bison-3.7.6.tar.xz) = 2627180
> +SHA256 (bison-3.8.2.tar.xz) = m7oCFMz38QecXVkhAEUie89hlRmEDr+oDNOEnP9aW/I=
> +SIZE (bison-3.8.2.tar.xz) = 2817324
> Index: patches/patch-Makefile_in
> ===
> RCS file: /cvs/ports/devel/bison/patches/patch-Makefile_in,v
> retrieving revision 1.2
> diff -u -p -r1.2 patch-Makefile_in
> --- patches/patch-Makefile_in 11 Mar 2022 18:49:44 -  1.2
> +++ patches/patch-Makefile_in 20 Sep 2023 09:20:29 -
> @@ -3,7 +3,7 @@ Break the "bison.help: bison" dependency
>  Index: Makefile.in
>  --- Makefile.in.orig
>  +++ Makefile.in
> -@@ -10432,7 +10432,7 @@ $(srcdir)/$(doc_bison).info.bak: 
> $(srcdir)/$(doc_bison
> +@@ -11833,7 +11833,7 @@ $(srcdir)/$(doc_bison).info.bak: 
> $(srcdir)/$(doc_bison
>   
>   doc/refcard.pdf: doc/refcard.tex
>   $(AM_V_GEN) cd doc && pdftex $(abs_top_srcdir)/doc/refcard.tex
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/devel/bison/pkg/PLIST,v
> retrieving revision 1.15
> diff -u -p -r1.15 PLIST
> --- pkg/PLIST 11 Mar 2022 18:49:45 -  1.15
> +++ pkg/PLIST 20 Sep 2023 09:26:14 -
> @@ -11,7 +11,6 @@ share/bison/m4sugar/
>  share/bison/m4sugar/foreach.m4
>  share/bison/m4sugar/m4sugar.m4
>  share/bison/skeletons/
> -share/bison/skeletons/README-D.txt
>  share/bison/skeletons/bison.m4
>  share/bison/skeletons/c++-skel.m4
>  share/bison/skeletons/c++.m4
> @@ -22,6 +21,7 @@ share/bison/skeletons/d-skel.m4
>  share/bison/skeletons/d.m4
>  share/bison/skeletons/glr.c
>  share/bison/skeletons/glr.cc
> +share/bison/skeletons/glr2.cc
>  share/bison/skeletons/java-skel.m4
>  share/bison/skeletons/java.m4
>  share/bison/skeletons/lalr1.cc
> @@ -70,6 +70,10 @@ share/doc/bison/examples/c/calc/
>  share/doc/bison/examples/c/calc/Makefile
>  share/doc/bison/examples/c/calc/README.md
>  share/doc/bison/examples/c/calc/calc.y
> +share/doc/bison/examples/c/glr/
> +share/doc/bison/examples/c/glr/Makefile
> +share/doc/bison/examples/c/glr/README.md
> +share/doc/bison/examples/c/glr/c++-types.y
>  share/doc/bison/examples/c/lexcalc/
>  share/doc/bison/examples/c/lexcalc/Makefile
>  share/doc/bison/examples/c/lexcalc/README.md
> @@ -92,9 +96,13 @@ share/doc/bison/examples/c/rpcalc/
>  share/doc/bison/examples/c/rpcalc/Makefile
>  share/doc/bison/examples/c/rpcalc/rpcalc.y
>  share/doc/bison/examples/d/
> -share/doc/bison/examples/d/Makefile
>  share/doc/bison/examples/d/README.md
> -share/doc/bison/examples/d/calc.y
> +share/doc/bison/examples/d/calc/
> +share/doc/bison/examples/d/calc/Makefile
> +share/doc/bison/examples/d/calc/calc.y
> +share/doc/bison/examples/d/simple/
> +share/doc/bison/examples/d/simple/Makefile
> +share/doc/bison/examples/d/simple/calc.y
>  share/doc/bison/examples/java/
>  share/doc/bison/examples/java/README.md
>  share/doc/bison/examples/java/calc/
>