Debian Bug report logs - #872918
sketch: parallel FTBFS

version graph

Package: src:sketch; Maintainer for src:sketch is Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>;

Reported by: Adrian Bunk <bunk@debian.org>

Date: Tue, 22 Aug 2017 13:27:01 UTC

Severity: serious

Tags: patch

Found in version sketch/1:0.3.7-5

Fixed in version sketch/1:0.3.7-6

Done: David Bremner <bremner@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#872918; Package src:sketch. (Tue, 22 Aug 2017 13:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bunk <bunk@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>. (Tue, 22 Aug 2017 13:27:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Adrian Bunk <bunk@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: sketch: parallel FTBFS
Date: Tue, 22 Aug 2017 16:23:19 +0300
[Message part 1 (text/plain, inline)]
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.
[parallel-ftbfs.patch (text/plain, attachment)]

Reply sent to David Bremner <bremner@debian.org>:
You have taken responsibility. (Wed, 23 Aug 2017 01:09:15 GMT) (full text, mbox, link).


Notification sent to Adrian Bunk <bunk@debian.org>:
Bug acknowledged by developer. (Wed, 23 Aug 2017 01:09:15 GMT) (full text, mbox, link).


Message #10 received at 872918-close@bugs.debian.org (full text, mbox, reply):

From: David Bremner <bremner@debian.org>
To: 872918-close@bugs.debian.org
Subject: Bug#872918: fixed in sketch 1:0.3.7-6
Date: Wed, 23 Aug 2017 01:06:09 +0000
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 872918@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Bremner <bremner@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 ftpmaster@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-maintainers@lists.alioth.debian.org>
Changed-By: David Bremner <bremner@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-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 20 Sep 2017 07:26:25 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 14:09:40 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.