Your message dated Sun, 15 Jul 2018 07:19:06 +0000
with message-id <[email protected]>
and subject line Bug#857093: fixed in graywolf 0.1.5-1
has caused the Debian Bug report #857093,
regarding FTBFS on kFreeBSD and Hurd
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 [email protected]
immediately.)


-- 
857093: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857093
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: graywolf
Version: 0.1.4+20170307gite1bf319-1
Severity: normal
Tags: patch upstream

Hi,
I noticed that this currently fails to build on kFreeBSD and Hurd, since
it tries to use stdin in an initializer list, which gives an error
(stdin is not a compile-time constant). There is already code to work
around this on Linux, so I'm not sure why it's not used elsewhere, but
the attached patch fixes the build for me on kfreebsd-amd64 (I assume
kfreebsd-i386 and hurd-i386 too, though I have not actually tested
that). It also removes the strange stdio.h handling, which isn't
necessary, but is even more mind-boggling.

Regards,
James
Description: Fix FTBFS on non-Linux since stdin is not a constant
Author: James Clarke <[email protected]>
Last-Update: 2017-03-07
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/mc_compact/readcgraph_l.h
+++ b/src/mc_compact/readcgraph_l.h
@@ -1,8 +1,4 @@
-#ifdef linux
 #include <stdio.h>
-#else
-# include "stdio.h"
-#endif
 #include <yalecad/string.h>
 # define U(x) ((x)&0377)
 # define NLSTATE yyprevious=YYNEWLINE
@@ -22,11 +18,7 @@ int yyleng; extern char yytext[];
 int yymorfg;
 extern char *yysptr, yysbuf[];
 int yytchar;
-#ifdef linux
 FILE *yyin = NULL, *yyout = NULL;
-#else
-FILE *yyin ={stdin}, *yyout ={stdout};
-#endif
 extern int yylineno;
 struct yysvf { 
 	struct yywork *yystoff;
@@ -461,10 +453,8 @@ yylook(){
 	int debug;
 # endif
 	char *yylastch;
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
 	if (yyout == NULL) yyout = stdout;
-#endif
 	/* start off machines */
 # ifdef LEXDEBUG
 	debug = 0;
@@ -614,16 +604,12 @@ return(0);
 }
 	/* the following are only used in the lex library */
 yyinput(){
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
-#endif
 	return(input());
 	}
 yyoutput(c)
   int c; {
-#ifdef linux
 	if (yyout == NULL) yyout = stdout;
-#endif
 	output(c);
 	}
 yyunput(c)
--- a/src/mc_compact/readtiles_l.h
+++ b/src/mc_compact/readtiles_l.h
@@ -1,8 +1,4 @@
-#ifdef linux
 #include <stdio.h>
-#else
-# include "stdio.h"
-#endif
 #include <yalecad/string.h>
 # define U(x) ((x)&0377)
 # define NLSTATE yyprevious=YYNEWLINE
@@ -22,11 +18,7 @@ int yyleng; extern char yytext[];
 int yymorfg;
 extern char *yysptr, yysbuf[];
 int yytchar;
-#ifdef linux
 FILE *yyin = NULL, *yyout = NULL;
-#else
-FILE *yyin ={stdin}, *yyout ={stdout};
-#endif
 extern int yylineno;
 struct yysvf { 
 	struct yywork *yystoff;
@@ -516,10 +508,8 @@ yylook(){
 	int debug;
 # endif
 	char *yylastch;
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
 	if (yyout == NULL) yyout = stdout;
-#endif
 	/* start off machines */
 # ifdef LEXDEBUG
 	debug = 0;
@@ -669,16 +659,12 @@ return(0);
 }
 	/* the following are only used in the lex library */
 yyinput(){
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
-#endif
 	return(input());
 	}
 yyoutput(c)
   int c; {
-#ifdef linux
 	if (yyout == NULL) yyout = stdout;
-#endif
 	output(c);
 	}
 yyunput(c)
--- a/src/mincut/readcells_l.h
+++ b/src/mincut/readcells_l.h
@@ -1,8 +1,4 @@
-#ifdef linux
 #include <stdio.h>
-#else
-# include "stdio.h"
-#endif
 # define U(x) ((x)&0377)
 # define NLSTATE yyprevious=YYNEWLINE
 # define BEGIN yybgin = yysvec + 1 +
@@ -21,11 +17,7 @@ int yyleng; extern char yytext[];
 int yymorfg;
 extern char *yysptr, yysbuf[];
 int yytchar;
-#ifdef linux
 FILE *yyin =(FILE *)NULL, *yyout =(FILE *)NULL;
-#else
-FILE *yyin ={stdin}, *yyout ={stdout};
-#endif
 extern int yylineno;
 struct yysvf { 
 	struct yywork *yystoff;
@@ -541,10 +533,8 @@ yylook(){
 	int debug;
 # endif
 	char *yylastch;
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
 	if (yyout == NULL) yyout = stdout;
-#endif
 	/* start off machines */
 # ifdef LEXDEBUG
 	debug = 0;
@@ -694,16 +684,12 @@ return(0);
 }
 	/* the following are only used in the lex library */
 yyinput(){
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
-#endif
 	return(input());
 	}
 yyoutput(c)
   int c; {
-#ifdef linux
 	if (yyout == NULL) yyout = stdout;
-#endif
 	output(c);
 	}
 yyunput(c)
--- a/src/syntax/readcells_l.h
+++ b/src/syntax/readcells_l.h
@@ -1,8 +1,4 @@
-#ifdef linux
 #include <stdio.h>
-#else
-# include "stdio.h"
-#endif
 # define U(x) ((x)&0377)
 # define NLSTATE yyprevious=YYNEWLINE
 # define BEGIN yybgin = yysvec + 1 +
@@ -21,11 +17,7 @@ int yyleng; extern char yytext[];
 int yymorfg;
 extern char *yysptr, yysbuf[];
 int yytchar;
-#ifdef linux
 FILE *yyin = NULL, *yyout = NULL;
-#else
-FILE *yyin ={stdin}, *yyout ={stdout};
-#endif
 extern int yylineno;
 struct yysvf { 
 	struct yywork *yystoff;
@@ -541,10 +533,8 @@ yylook(){
 	int debug;
 # endif
 	char *yylastch;
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
 	if (yyout == NULL) yyout = stdout;
-#endif
 	/* start off machines */
 # ifdef LEXDEBUG
 	debug = 0;
@@ -694,16 +684,12 @@ return(0);
 }
 	/* the following are only used in the lex library */
 yyinput(){
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
-#endif
 	return(input());
 	}
 yyoutput(c)
   int c; {
-#ifdef linux
 	if (yyout == NULL) yyout = stdout;
-#endif
 	output(c);
 	}
 yyunput(c)
--- a/src/twflow/readobjects_l.h
+++ b/src/twflow/readobjects_l.h
@@ -1,8 +1,4 @@
-#ifdef linux
-# include <stdio.h>
-#else
-# include "stdio.h"
-#endif
+#include <stdio.h>
 # define U(x) ((x)&0377)
 # define NLSTATE yyprevious=YYNEWLINE
 # define BEGIN yybgin = yysvec + 1 +
@@ -21,11 +17,7 @@ int yyleng; extern char yytext[];
 int yymorfg;
 extern char *yysptr, yysbuf[];
 int yytchar;
-#ifdef linux
 FILE *yyin =NULL, *yyout =NULL;
-#else
-FILE *yyin ={stdin}, *yyout ={stdout};
-#endif
 extern int yylineno;
 struct yysvf { 
 	struct yywork *yystoff;
@@ -511,10 +503,8 @@ yylook(){
 	int debug;
 # endif
 	char *yylastch;
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
 	if (yyout == NULL) yyout = stdout;
-#endif
 	/* start off machines */
 # ifdef LEXDEBUG
 	debug = 0;
@@ -664,16 +654,12 @@ return(0);
 }
 	/* the following are only used in the lex library */
 yyinput(){
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
-#endif
 	return(input());
 	}
 yyoutput(c)
   int c; {
-#ifdef linux
 	if (yyout == NULL) yyout = stdout;
-#endif
 	output(c);
 	}
 yyunput(c)
--- a/src/twmc/readcells_l.h
+++ b/src/twmc/readcells_l.h
@@ -1,8 +1,4 @@
-#ifdef linux
 #include <stdio.h>
-#else
-# include "stdio.h"
-#endif
 # define U(x) ((x)&0377)
 # define NLSTATE yyprevious=YYNEWLINE
 # define BEGIN yybgin = yysvec + 1 +
@@ -21,11 +17,7 @@ int yyleng; extern char yytext[];
 int yymorfg;
 extern char *yysptr, yysbuf[];
 int yytchar;
-#ifdef linux
 FILE *yyin =NULL, *yyout =NULL;
-#else
-FILE *yyin ={stdin}, *yyout ={stdout};
-#endif
 extern int yylineno;
 struct yysvf { 
 	struct yywork *yystoff;
@@ -527,10 +519,8 @@ yylook(){
 # endif
 	char *yylastch;
 	/* start off machines */
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
 	if (yyout == NULL) yyout = stdout;
-#endif
 # ifdef LEXDEBUG
 	debug = 0;
 # endif
@@ -679,16 +669,12 @@ return(0);
 }
 	/* the following are only used in the lex library */
 yyinput(){
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
-#endif
 	return(input());
 	}
 yyoutput(c)
   int c; {
-#ifdef linux
 	if (yyout == NULL) yyout = stdout;
-#endif
 	output(c);
 	}
 yyunput(c)
--- a/src/twmc/readnets_l.h
+++ b/src/twmc/readnets_l.h
@@ -1,8 +1,4 @@
-#ifdef linux
-# include <stdio.h>
-#else
-# include "stdio.h"
-#endif
+#include <stdio.h>
 # define U(x) ((x)&0377)
 # define NLSTATE yyprevious=YYNEWLINE
 # define BEGIN yybgin = yysvec + 1 +
@@ -21,11 +17,7 @@ int yyleng; extern char yytext[];
 int yymorfg;
 extern char *yysptr, yysbuf[];
 int yytchar;
-#ifdef linux
 FILE *yyin = NULL, *yyout = NULL;
-#else
-FILE *yyin ={stdin}, *yyout ={stdout};
-#endif
 extern int yylineno;
 struct yysvf { 
 	struct yywork *yystoff;
@@ -526,10 +518,8 @@ yylook(){
 	int debug;
 # endif
 	char *yylastch;
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
 	if (yyout == NULL) yyout = stdout;
-#endif
 	/* start off machines */
 # ifdef LEXDEBUG
 	debug = 0;
@@ -679,16 +669,12 @@ return(0);
 }
 	/* the following are only used in the lex library */
 yyinput(){
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
-#endif
 	return(input());
 	}
 yyoutput(c)
   int c; {
-#ifdef linux
 	if (yyout == NULL) yyout = stdout;
-#endif
 	output(c);
 	}
 yyunput(c)
--- a/src/twsc/readcell_l.h
+++ b/src/twsc/readcell_l.h
@@ -1,8 +1,4 @@
-#ifdef linux
-# include <stdio.h>
-#else
-# include "stdio.h"
-#endif
+#include <stdio.h>
 # define U(x) ((x)&0377)
 # define NLSTATE yyprevious=YYNEWLINE
 # define BEGIN yybgin = yysvec + 1 +
@@ -21,11 +17,7 @@ int yyleng; extern char yytext[];
 int yymorfg;
 extern char *yysptr, yysbuf[];
 int yytchar;
-#ifdef linux
 FILE *yyin = (FILE *)NULL, *yyout = (FILE *)NULL;
-#else
-FILE *yyin ={stdin}, *yyout ={stdout};
-#endif
 extern int yylineno;
 struct yysvf { 
 	struct yywork *yystoff;
@@ -531,10 +523,8 @@ yylook(){
 # endif
 	char *yylastch;
 
-#ifdef linux
 	if (yyin == (FILE *)NULL) yyin = stdin;
 	if (yyout == (FILE *)NULL) yyout = stdout;
-#endif
 	/* start off machines */
 # ifdef LEXDEBUG
 	debug = 0;
@@ -684,16 +674,12 @@ return(0);
 }
 	/* the following are only used in the lex library */
 yyinput(){
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
-#endif
 	return(input());
 	}
 yyoutput(c)
   int c; {
-#ifdef linux
 	if (yyout == NULL) yyout = stdout;
-#endif
 	output(c);
 	}
 yyunput(c)
--- a/src/twsc/readnets_l.h
+++ b/src/twsc/readnets_l.h
@@ -1,8 +1,4 @@
-#ifdef linux
-# include <stdio.h>
-#else
-# include "stdio.h"
-#endif
+#include <stdio.h>
 # define U(x) ((x)&0377)
 # define NLSTATE yyprevious=YYNEWLINE
 # define BEGIN yybgin = yysvec + 1 +
@@ -21,11 +17,7 @@ int yyleng; extern char yytext[];
 int yymorfg;
 extern char *yysptr, yysbuf[];
 int yytchar;
-#ifdef linux
 FILE *yyin =NULL, *yyout =NULL;
-#else
-FILE *yyin ={stdin}, *yyout ={stdout};
-#endif
 extern int yylineno;
 struct yysvf { 
 	struct yywork *yystoff;
@@ -489,10 +481,8 @@ yylook(){
 # endif
 	char *yylastch;
 	/* start off machines */
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
 	if (yyout == NULL) yyout = stdout;
-#endif
 # ifdef LEXDEBUG
 	debug = 0;
 # endif
@@ -641,16 +631,12 @@ return(0);
 }
 	/* the following are only used in the lex library */
 yyinput(){
-#ifdef linux
 	if (yyin == NULL) yyin = stdin;
-#endif
 	return(input());
 	}
 yyoutput(c)
   int c; {
-#ifdef linux
 	if (yyout == NULL) yyout = stdout;
-#endif
 	output(c);
 	}
 yyunput(c)

--- End Message ---
--- Begin Message ---
Source: graywolf
Source-Version: 0.1.5-1

We believe that the bug you reported is fixed in the latest version of
graywolf, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ruben Undheim <[email protected]> (supplier of updated graywolf 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 [email protected])


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

Format: 1.8
Date: Sun, 15 Jul 2018 09:04:17 +0200
Source: graywolf
Binary: libycadgraywolf1 libycadgraywolf-dev graywolf
Architecture: source
Version: 0.1.5-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Ruben Undheim <[email protected]>
Description:
 graywolf   - Placement for digital VLSI design
 libycadgraywolf-dev - Library for graywolf - development files
 libycadgraywolf1 - Library for common functions used by graywolf
Closes: 857093
Changes:
 graywolf (0.1.5-1) unstable; urgency=medium
 .
   * New upstream release
     - Drop patches: 0001-cfree-has-been-removed-from-glibc-2.26.patch
                     0004-Fixes-some-spelling-errors.patch
     - Fix FTBFS on kFreeBSD and Hurd - thanks James Clarke (Closes: #857093)
   * debian/control:
     - Drop libycadgraywolf1-dbg since it is handled automatically now.
     - New standards version 4.1.5 - no changes
     - VCS URLs now pointing to salsa.debian.org
   * debian/copyright:
     - Use https protocol in Format field
     - Updated some copyright years
   * debian/rules:
     - Drop overriding dh_strip since debug package is handled automatically now
Checksums-Sha1:
 dd64ed5f33ccd005fddde90dc086a7da725f537c 2142 graywolf_0.1.5-1.dsc
 2ff73e70e99be15e77b646834c5900b002e90362 811437 graywolf_0.1.5.orig.tar.gz
 37fa93408068b9fe9caba88a275944fe492a8758 8144 graywolf_0.1.5-1.debian.tar.xz
 5e19e525b1a7f6090eb2274dfbe13beea2118f66 7357 graywolf_0.1.5-1_source.buildinfo
Checksums-Sha256:
 f5dcd1b04d4c3e70ed3c67a9a627f5a86034c3baf094466e490eb302c591a004 2142 
graywolf_0.1.5-1.dsc
 ad59721d259c63bf9f5473429dc66ab7c7ab4c786c6c547a43dba387e1409a60 811437 
graywolf_0.1.5.orig.tar.gz
 9fb832d1b9e3173801900550f3abb707b93a2b9f174ce56cea005c2b306c9f78 8144 
graywolf_0.1.5-1.debian.tar.xz
 ffa81944e9beee2e01ac6ce857502850965b419198d685a7a4490ab932adba6b 7357 
graywolf_0.1.5-1_source.buildinfo
Files:
 e7ed8218774737b4e77051b0785265a3 2142 electronics optional graywolf_0.1.5-1.dsc
 3b41c559dd7bb9696f3d0d82234b6d48 811437 electronics optional 
graywolf_0.1.5.orig.tar.gz
 2f66a08824abcdf333fbfbbfefd1fd4a 8144 electronics optional 
graywolf_0.1.5-1.debian.tar.xz
 453a266acc97031e7c871d118e88eb75 7357 electronics optional 
graywolf_0.1.5-1_source.buildinfo

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

iQJMBAEBCAA2FiEENHTECWcp7QxRgH085pgix+ApWM0FAltK8koYHHJ1YmVuLnVu
ZGhlaW1AZ21haWwuY29tAAoJEOaYIsfgKVjNd2cP/jpMm/ee+Y2M9MC1pqd+44do
fepJ+cySWXPI/k5fLy6v8ARjBfoUlmlEZMT/VeFQUMrPQRKBeQkfDC6RsLuMjUgs
diyGUcIDD8vLE/V9ZfYxC5waL2eT+QpfYg4hSeVyShzWKdzsMbMR/rMnS2kEwfcE
k7SeYqSx5lvL2VtJubSEDcRkR2bRWrN7GHkoM3bpgze+4a46JzTwkOp8tiVx8DZP
VCl3VJJZI29imIFDUlH9V8iAa3vsNtauv+JiX/PRL05kHDMpyUGjqpEfO4yvqok1
P2WnBJbYwb1AHocKIcsUPpN5lTHH1/j7ZZbY57X25DyUgQXDWSujzzWH6wWKqEGu
P/VttOq9GL9m7ESXwydOAWO0GIhhkCR5MWmlLD7oVu+RBNm6vM662FPR+2EBQEdT
xdLYD3RxUWTXmQ+6ZG2s7DAN0PX9JWdhNh24VRu5byMUTshzdtq+VJntPg6k496W
G5mjWqDNjhxwHvz09byB1Q1k81017UDrZtsD9UzT9Lp9PvTiIQM+80QytjsORhjF
eSxmwmTbTt1PEouZzXAdGROoY+/Q0FzTHOGXR6OJ+ZeHBgxCdHqHNCrtwPjKc6KF
CKQbs8xwiuh+hPkv4Mf786WQ1FjvTros14iu0uyao4vQW9UCia/7TwMPjQlbR0lH
MKDUqa0CAbWJAbnqHiTA
=Kznh
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to