Bug#1052902: yosys: FTBFS: make[2]: *** [Makefile:971: docs/gen_images] Error 2

2024-01-09 Thread Santiago Vila

El 3/12/23 a las 19:00, Daniel Gröber escribió:

Hi Lucas,

On Thu, Oct 26, 2023 at 09:45:53AM +0200, Lucas Nussbaum wrote:

As an additional data point, I can still reproduce this.
I cannot provide the buildinfo, as sbuild outputs it at the end of
successful builds.


Doh! Didn't think of that. Something to improve in sbuild I guess :)


However, in the build log there's the list of installed packages, which
might be sufficient...


Since I've sucessfully rebuilt yosys agains unstable and it's still failing
for you it's pretty much moot. I just thought you'd have the buildinfos at
hand.

I'm essentially waiting for make 4.4 to make it into Debian as Santiago
pointed out it may help track this down, but if I can't repro this (and I
have still never seen this) there's not much I can do without access to a
system this repros on.


Hi. If you are willing to try the make 4.4 route, you don't really need to wait
for the official package to be uploaded for unstanle. You can just download it
from ftp.gnu.org, and do the usual "./configure; make". You just have to put
the "make" executable as /usr/bin/make inside your chroot (and set some
environment variable).

Alternatively, I can also create a machine in AWS similar to the ones used by 
Lucas
for the mass rebuilds, please contact me privately for details.

Thanks.



Bug#1052902: yosys: FTBFS: make[2]: *** [Makefile:971: docs/gen_images] Error 2

2024-01-08 Thread Lucas Nussbaum
On 03/12/23 at 19:00 +0100, Daniel Gröber wrote:
> Hi Lucas,
> 
> On Thu, Oct 26, 2023 at 09:45:53AM +0200, Lucas Nussbaum wrote:
> > As an additional data point, I can still reproduce this.
> > I cannot provide the buildinfo, as sbuild outputs it at the end of
> > successful builds.
> 
> Doh! Didn't think of that. Something to improve in sbuild I guess :)
> 
> > However, in the build log there's the list of installed packages, which
> > might be sufficient...
> 
> Since I've sucessfully rebuilt yosys agains unstable and it's still failing
> for you it's pretty much moot. I just thought you'd have the buildinfos at
> hand.
> 
> I'm essentially waiting for make 4.4 to make it into Debian as Santiago
> pointed out it may help track this down, but if I can't repro this (and I
> have still never seen this) there's not much I can do without access to a
> system this repros on.
> 
> If you can reliably reproduce this could you try doing a -j1 rebuild? That
> should at least tell us if it's a concurrency issue or not.

Hi,

I confirm that it still fails, but succeeds when building with
DEB_BUILD_OPTIONS=parallel=1

So yes, it's a concurrency issue.

Lucas



Bug#1052902: yosys: FTBFS: make[2]: *** [Makefile:971: docs/gen_images] Error 2

2023-12-03 Thread Daniel Gröber
Hi Lucas,

On Thu, Oct 26, 2023 at 09:45:53AM +0200, Lucas Nussbaum wrote:
> As an additional data point, I can still reproduce this.
> I cannot provide the buildinfo, as sbuild outputs it at the end of
> successful builds.

Doh! Didn't think of that. Something to improve in sbuild I guess :)

> However, in the build log there's the list of installed packages, which
> might be sufficient...

Since I've sucessfully rebuilt yosys agains unstable and it's still failing
for you it's pretty much moot. I just thought you'd have the buildinfos at
hand.

I'm essentially waiting for make 4.4 to make it into Debian as Santiago
pointed out it may help track this down, but if I can't repro this (and I
have still never seen this) there's not much I can do without access to a
system this repros on.

If you can reliably reproduce this could you try doing a -j1 rebuild? That
should at least tell us if it's a concurrency issue or not.

--Daniel


signature.asc
Description: PGP signature


Bug#1052902: yosys: FTBFS: make[2]: *** [Makefile:971: docs/gen_images] Error 2

2023-10-26 Thread Lucas Nussbaum
Hi,

On 29/09/23 at 17:50 +0200, Santiago Vila wrote:
> El 26/9/23 a las 16:50, Daniel Gröber escribió:
> > Hi Lucas,
> > 
> > On Tue, Sep 26, 2023 at 03:43:28PM +0200, Lucas Nussbaum wrote:
> > > Source: yosys
> > > Version: 0.33-5
> > > Severity: serious
> > > Justification: FTBFS
> > > Tags: trixie sid ftbfs
> > > User: lu...@debian.org
> > > Usertags: ftbfs-20230925 ftbfs-trixie
> > > 
> > > The full build log is available from:
> > > http://qa-logs.debian.net/2023/09/25/yosys_0.33-5_unstable.log
> > 
> > Is the buildinfo file for the rebuild available somewhere too? I'd like to
> > diff the build environment against what the buildds had.
> 
> Hello. A few months ago I made the experiment of building
> the archive with the new "make --shuffle" feature from make 4.4.
> 
> See:
> 
> https://trofi.github.io/posts/238-new-make-shuffle-mode.html
> 
> for details.
> 
> Well, "yosys" was one of the packages which FTBFS for me.
> It was version 0.23-6, and it failed in a different way.
> 
> But something tells me that this bug reported by Lucas
> could easily be another Makefile bug.
> 
> So, instead of trying to reproduce the problem by building
> the package in your machine, I suggest that you take the provided
> build log, collate it with the current Makefiles, and try to
> determine how could it happen at all.
> 
> For example, the build log says this:
> 
> I can't find file `verilog_flow.aux'.
> 
> The interesting question here would be:
> 
> Are you sure that the Makefiles are correctly written in
> such a way that the verilog_flow.aux file is always created
> before some other process tries to use it?

As an additional data point, I can still reproduce this.
I cannot provide the buildinfo, as sbuild outputs it at the end of
successful builds. However, in the build log there's the list of
installed packages, which might be sufficient...

Lucas



Bug#1052902: yosys: FTBFS: make[2]: *** [Makefile:971: docs/gen_images] Error 2

2023-09-29 Thread Daniel Gröber
Hi Santiago,

On Fri, Sep 29, 2023 at 05:50:54PM +0200, Santiago Vila wrote:
> Well, "yosys" was one of the packages which FTBFS for me.
> It was version 0.23-6, and it failed in a different way.
> 
> But something tells me that this bug reported by Lucas
> could easily be another Makefile bug.
> 
> So, instead of trying to reproduce the problem by building
> the package in your machine, I suggest that you take the provided
> build log, collate it with the current Makefiles, and try to
> determine how could it happen at all.

I tried to diff the logs but latex is hillariously good at outputting
random interleaved chunks of text in an unpredictable order so that wasn't
really any help in seeing whats going on.

> For example, the build log says this:
> 
> I can't find file `verilog_flow.aux'.
> 
> The interesting question here would be:
> 
> Are you sure that the Makefiles are correctly written in
> such a way that the verilog_flow.aux file is always created
> before some other process tries to use it?

Upstream uses latexmk for calling pdflatex. That should usually take care
of such things properly, at least I haven't seen it fail like this before.

It's possible this is a make level concurrency issue but before I go down
that rabbit hole I want to exclude any of the more easily debugged
problems, like: different dependency versions which is trivial to diff
given the buildinfo file.

IMO these should be included in MBF FTBFS filings as a matter of course as
it's easily the most likeley reason for breakage.

Thanks,
--Daniel


signature.asc
Description: PGP signature


Bug#1052902: yosys: FTBFS: make[2]: *** [Makefile:971: docs/gen_images] Error 2

2023-09-29 Thread Santiago Vila

El 26/9/23 a las 16:50, Daniel Gröber escribió:

Hi Lucas,

On Tue, Sep 26, 2023 at 03:43:28PM +0200, Lucas Nussbaum wrote:

Source: yosys
Version: 0.33-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

The full build log is available from:
http://qa-logs.debian.net/2023/09/25/yosys_0.33-5_unstable.log


Is the buildinfo file for the rebuild available somewhere too? I'd like to
diff the build environment against what the buildds had.


Hello. A few months ago I made the experiment of building
the archive with the new "make --shuffle" feature from make 4.4.

See:

https://trofi.github.io/posts/238-new-make-shuffle-mode.html

for details.

Well, "yosys" was one of the packages which FTBFS for me.
It was version 0.23-6, and it failed in a different way.

But something tells me that this bug reported by Lucas
could easily be another Makefile bug.

So, instead of trying to reproduce the problem by building
the package in your machine, I suggest that you take the provided
build log, collate it with the current Makefiles, and try to
determine how could it happen at all.

For example, the build log says this:

I can't find file `verilog_flow.aux'.

The interesting question here would be:

Are you sure that the Makefiles are correctly written in
such a way that the verilog_flow.aux file is always created
before some other process tries to use it?

Thanks.



Bug#1052902: yosys: FTBFS: make[2]: *** [Makefile:971: docs/gen_images] Error 2

2023-09-26 Thread Daniel Gröber
Hi Lucas,

On Tue, Sep 26, 2023 at 03:43:28PM +0200, Lucas Nussbaum wrote:
> Source: yosys
> Version: 0.33-5
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20230925 ftbfs-trixie
>
> The full build log is available from:
> http://qa-logs.debian.net/2023/09/25/yosys_0.33-5_unstable.log

Is the buildinfo file for the rebuild available somewhere too? I'd like to
diff the build environment against what the buildds had.

Thanks,
--Daniel



signature.asc
Description: PGP signature


Bug#1052902: yosys: FTBFS: make[2]: *** [Makefile:971: docs/gen_images] Error 2

2023-09-26 Thread Lucas Nussbaum
Source: yosys
Version: 0.33-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[3]: Entering directory '/<>/docs/images'
> dot -Tpdf -o 011/cmos_00.pdf 
> ../source/APPNOTE_011_Design_Investigation/cmos_00.dot
> dot -Tpdf -o 011/cmos_01.pdf 
> ../source/APPNOTE_011_Design_Investigation/cmos_01.dot
> dot -Tpdf -o 011/example_00.pdf 
> ../source/APPNOTE_011_Design_Investigation/example_00.dot
> dot -Tpdf -o 011/example_01.pdf 
> ../source/APPNOTE_011_Design_Investigation/example_01.dot
> dot -Tpdf -o 011/example_02.pdf 
> ../source/APPNOTE_011_Design_Investigation/example_02.dot
> dot -Tpdf -o 011/example_03.pdf 
> ../source/APPNOTE_011_Design_Investigation/example_03.dot
> dot -Tpdf -o 011/memdemo_00.pdf 
> ../source/APPNOTE_011_Design_Investigation/memdemo_00.dot
> dot -Tpdf -o 011/memdemo_01.pdf 
> ../source/APPNOTE_011_Design_Investigation/memdemo_01.dot
> dot -Tpdf -o 011/splice.pdf 
> ../source/APPNOTE_011_Design_Investigation/splice.dot
> dot -Tpdf -o 011/submod_00.pdf 
> ../source/APPNOTE_011_Design_Investigation/submod_00.dot
> dot -Tpdf -o 011/submod_01.pdf 
> ../source/APPNOTE_011_Design_Investigation/submod_01.dot
> dot -Tpdf -o 011/submod_02.pdf 
> ../source/APPNOTE_011_Design_Investigation/submod_02.dot
> dot -Tpdf -o 011/submod_03.pdf 
> ../source/APPNOTE_011_Design_Investigation/submod_03.dot
> dot -Tpdf -o 011/sumprod_00.pdf 
> ../source/APPNOTE_011_Design_Investigation/sumprod_00.dot
> dot -Tpdf -o 011/sumprod_01.pdf 
> ../source/APPNOTE_011_Design_Investigation/sumprod_01.dot
> dot -Tpdf -o 011/sumprod_02.pdf 
> ../source/APPNOTE_011_Design_Investigation/sumprod_02.dot
> dot -Tpdf -o 011/sumprod_03.pdf 
> ../source/APPNOTE_011_Design_Investigation/sumprod_03.dot
> dot -Tpdf -o 011/sumprod_04.pdf 
> ../source/APPNOTE_011_Design_Investigation/sumprod_04.dot
> dot -Tpdf -o 011/sumprod_05.pdf 
> ../source/APPNOTE_011_Design_Investigation/sumprod_05.dot
> pdflatex approach_flow.tex --interaction=nonstopmode
> pdflatex basics_abstractions.tex --interaction=nonstopmode
> pdflatex basics_ast.tex --interaction=nonstopmode
> This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Debian) 
> (preloaded format=pdflatex)
>  restricted \write18 enabled.
> This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Debian) 
> (preloaded format=pdflatex)
>  restricted \write18 enabled.
> This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Debian) 
> (preloaded format=pdflatex)
>  restricted \write18 enabled.
> pdflatex basics_flow.tex --interaction=nonstopmode
> pdflatex basics_parsetree.tex --interaction=nonstopmode
> entering extended mode
> (./basics_abstractions.tex
> LaTeX2e <2023-06-01>
> L3 programming layer <2023-06-05>
> (/usr/share/texlive/texmf-dist/tex/latex/standalone/standalone.cls
> Document Class: standalone 2022/10/10 v1.3b Class to compile TeX sub-files 
> stan
> dalone
> (/usr/share/texlive/texmf-dist/tex/latex/tools/shellesc.sty)
> (/usr/share/texlive/texmf-dist/tex/generic/iftex/ifluatex.sty
> (/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty))
> (/usr/share/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty
> (/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex
> (/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkvutils.tex
> (/usr/share/texlive/texmf-dist/tex/generic/xkeyval/keyval.tex
> (/usr/share/texlive/texmf-dist/tex/latex/standalone/standalone.cfg)
> (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
> (/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo))
> (/usr/share/texlive/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
> (/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
> (/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
> (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex)
> (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def)
> (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
> (/usr/share/texlive/texmf-dist/tex/generic/pgf/pgf.revision.tex)))
> (/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
> (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
> (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
> (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
> (/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def)))
> (/usr/share/texlive/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
> (/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
> (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
> (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeyslibraryfiltered
> .code.tex))