Your message dated Wed, 23 Aug 2017 01:06:09 +0000
with message-id <e1dkk7v-0005jh...@fasolo.debian.org>
and subject line Bug#872918: fixed in sketch 1:0.3.7-6
has caused the Debian Bug report #872918,
regarding sketch: parallel FTBFS
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
872918: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872918
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: sketch
Version: 1:0.3.7-5
Severity: serious
Tags: patch

dh compat 10 enables paralles building,
which sometimes runs into the following bug:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/sketch.html

...
dh_auto_build
        make -j15
make[2]: Entering directory '/build/1st/sketch-0.3.7'
gcc -O1 -g -Wall -Wall -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o bsp.o bsp.c
gcc -O1 -g -Wall -Wall -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o cmdline.o 
cmdline.c
gcc -O1 -g -Wall -Wall -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o emit.o 
emit.c
gcc -O1 -g -Wall -Wall -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o error.o 
error.c
gcc -O1 -g -Wall -Wall -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o expr.o 
expr.c
gcc -O1 -g -Wall -Wall -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o geometry.o 
geometry.c
gcc -O1 -g -Wall -Wall -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o geomio.o 
geomio.c
gcc -O1 -g -Wall -Wall -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o global.o 
global.c
gcc -O1 -g -Wall -Wall -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o langver.o 
langver.c
bison --defines --debug --report=all --yacc sketch.y
gcc -O1 -g -Wall -Wall -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o main.o 
main.c
gcc -O1 -g -Wall -Wall -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o memutil.o 
memutil.c
gcc -O1 -g -Wall -Wall -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o opts.o 
opts.c
gcc -O1 -g -Wall -Wall -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o scene.o 
scene.c
gcc -O1 -g -Wall -Wall -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o symbol.o 
symbol.c
expr.c: In function 'to_integer':
expr.c:374:12: warning: variable 'frac_part' set but not used 
[-Wunused-but-set-variable]
     double frac_part, int_part;
            ^~~~~~~~~
bison --defines --debug --report=all --yacc sketch.y
gcc -O1 -g -Wall -Wall -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o lex.yy.o 
lex.yy.c
sketch.l: In function 'yylex':
sketch.l:86:3: error: 'yylval' undeclared (first use in this function); did you 
mean 'yylex'?
   yylval.str = safe_malloc(yyleng + 1 - 2);
   ^~~~~~
   yylex
...


Note how bison is running twice, with an output file already being
used while the second bison regenerates it again resulting in an
incomplete file being used.

Fix attached.
Description: Fix parallel FTBFS
 Don't run bison twice, with a generated file already being used
 while the second bison is still running.
Author: Adrian Bunk <b...@debian.org>

--- sketch-0.3.7.orig/makefile
+++ sketch-0.3.7/makefile
@@ -43,7 +43,9 @@ HEADERS=bsp.h cmdline.h dynarray.h emit.
 $(EXE) : $(OBJECTS)
        $(CC) -o $(EXE) $(OBJECTS) -lm
 
-y.tab.c y.tab.h : sketch.y
+y.tab.c : y.tab.h
+
+y.tab.h : sketch.y
        $(YACC) $<
 
 lex.yy.c : sketch.l

--- End Message ---
--- Begin Message ---
Source: sketch
Source-Version: 1:0.3.7-6

We believe that the bug you reported is fixed in the latest version of
sketch, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 872...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Bremner <brem...@debian.org> (supplier of updated sketch package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 22 Aug 2017 21:31:28 -0300
Source: sketch
Binary: sketch sketch-doc
Architecture: source
Version: 1:0.3.7-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: David Bremner <brem...@debian.org>
Description:
 sketch     - 3D diagrams for TeX from scene description language
 sketch-doc - Extra documentation for the sketch 3D line drawing system
Closes: 872918
Changes:
 sketch (1:0.3.7-6) unstable; urgency=medium
 .
   * Bug fix: "parallel FTBFS", thanks to Adrian Bunk (Closes: #872918).
Checksums-Sha1:
 010a4e6c709c4f53af8eca37136a19d2c922f517 2071 sketch_0.3.7-6.dsc
 70c798876529eccbd3e8b6a7c34860f47d67c829 13540 sketch_0.3.7-6.debian.tar.xz
 0e6cefd9a8b355f62cb1e27e4b2d412e7d9b07df 8945 sketch_0.3.7-6_amd64.buildinfo
Checksums-Sha256:
 4731aeb27c6b926a62ac7979686bba6f017bcb1f43354f005738e99589e57f63 2071 
sketch_0.3.7-6.dsc
 c94f43acfae7ab7620d007a64acc64535553353cf35e696f2010a22b5db8a089 13540 
sketch_0.3.7-6.debian.tar.xz
 a7fc26408f6fb47d58997257ed5f3e0326414dbedeeff6e0a7c14733b3b64b0d 8945 
sketch_0.3.7-6_amd64.buildinfo
Files:
 3fc8b7c8458fb660e07627444afc3b8e 2071 graphics optional sketch_0.3.7-6.dsc
 3a9715dd409184927889992a83db21ff 13540 graphics optional 
sketch_0.3.7-6.debian.tar.xz
 0a1c1b232087246f6715f9306e9c1faa 8945 graphics optional 
sketch_0.3.7-6_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQGzBAEBCAAdFiEE3VS2dnyDRXKVCQCp8gKXHaSnniwFAlmcz0UACgkQ8gKXHaSn
niz38Qv/dkDS2W+300023+CrFj1/hcwsgM26bIzlm77VwGB40sGto28QVUFF/cFx
a6Tm+fkwM1gR+gWFlyTvHgHHkIvcTIF0W/Di5Iv+GKWlD9FAc4z8hPgT9G4OWCXe
g5WyCwNn6K111NS9lBgPgYF1t8tuHAzBXQBWRAWUYIrgqjYB31o8wN+Zmck+2Q95
UBmite+65br076sNYo84PrRW15Ojjcbo4wNc29IrR4rBNNFkex+jE4RVZSkm7oe9
kJPec84f4A8cqx6hDA8quTaoo0gE1h2AEGH/nAtQYZ1x4RtW9whJ6umUavF5wowb
alBZ34Lef8c1gn8c2/wb2QvDYU7b4tZbowqh8Xdz3jK2TJrGw/kiR90Nj77KY3si
tpgVmNI6dwFDkf/v8S0tSi9vEdcCRI73cidRVjpDN+J2cQ79L8vbEc7jpElW4r3a
Cu+Ec+XX/y6W150sgtd4O7iHFtCqbCK5j8G+A/x/sOKOrsFTBblmHQZpD0x6I+5l
tLj22S0p
=vsCh
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to