[tlbuild] Common variables below utils/autosp/

Dr. Werner Fink werner at suse.de
Tue Apr 21 11:46:05 CEST 2020


On 2020/04/21 11:34:31 +0200, luigi scarso wrote:
> On Tue, Apr 21, 2020 at 11:24 AM Dr. Werner Fink <werner at suse.de> wrote:
> 
> > Hi,
> >
> > I get a huge number or warngins about common variables below
> > texlive-20200327-source/utils/autosp/
> >
> > e.g. the variable dottedbeamnotes
> >
> > texlive/2020> grep -rs dottedbeamnotes
> > texlive-20200327-source/utils/autosp/
> > texlive-20200327-source/utils/autosp/autosp-src/status.c:  if
> > (dottedbeamnotes)
> > texlive-20200327-source/utils/autosp/autosp-src/status.c:    fprintf
> > (logfile, "dottedbeamnotes == true\n");
> > texlive-20200327-source/utils/autosp/autosp-src/autosp.c:bool
> > dottedbeamnotes;          /* dotted beam notes ignored?        */
> > texlive-20200327-source/utils/autosp/autosp-src/autosp.c:bool
> > dottedbeamnotes = false;   /* dotted beam notes ignored?        */
> > texlive-20200327-source/utils/autosp/autosp-src/autosp.c:
> > dottedbeamnotes = true;
> > texlive-20200327-source/utils/autosp/autosp-src/autosp.h:extern bool
> > dottedbeamnotes;          /* dotted beam notes ignored?        */
> > texlive-20200327-source/utils/autosp/autosp-src/spacing_note.c:    if (*s
> > == '.' && new_beaming == 0 && !dottedbeamnotes)
> >
> > which leads to
> >
> > [  286s]
> > /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld:
> > autosp-src/process_score.o:/home/abuild/rpmbuild/BUILD/texlive/world/utils/autosp/../../../utils/autosp/autosp-src/autosp.h:29:
> > multiple definition of `dottedbeamnotes';
> > autosp-src/autosp.o:/home/abuild/rpmbuild/BUILD/texlive/world/utils/autosp/../../../utils/autosp/autosp-src/autosp.h:29:
> > first defined here
> >
> >
> which version of gcc ? gcc-8 ?

From build log:

[   36s] [37/527] preinstalled gcc-10-112.15
[   36s] [38/527] preinstalled gcc-PIE-10-112.15

done by staging QA process for gcc ... AFAICS this seems to be correct
as dottedbeamnotes is declared twice in autosp.c.

Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 894 bytes
Desc: not available
URL: <https://tug.org/pipermail/tlbuild/attachments/20200421/db40b760/attachment.sig>


More information about the tlbuild mailing list.