Bug#777861: [Pkg-gauche-devel] Bug#777861: Bug#777861: gauche-c-wrapper: ftbfs with GCC-5
On 06/26/2015 11:36 PM, Jens Thiele wrote: Martin Michlmayr t...@hp.com writes: I'm not Matthias, but I can confirm that the package fails to build in a Debian unstable chroot with GCC 5 the way Matthias reported. (sid-gcc5)1878:tbm@bl460gen8-30: ~/gauche-c-wrapper-0.6.1] cat test.h #define B() 1 #define A B (sid-gcc5)1879:tbm@bl460gen8-30: ~/gauche-c-wrapper-0.6.1] echo -e 100\nB()\nA|gcc-5 -E -include test.h -|tail # 1 built-in # 1 command-line # 1 /usr/include/stdc-predef.h 1 3 4 # 1 command-line 2 # 1 ./test.h 1 # 1 command-line 2 # 1 stdin 100 1 B this looks good (sid-gcc5)1880:tbm@bl460gen8-30: ~/gauche-c-wrapper-0.6.1] gcc-5 --version gcc-5 (Debian 5.1.1-12) 5.1.1 20150622 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Note that gcc-5 is in unstable, so you can easily reproduce this yourself with: CC=gcc-5 CXX=g++-5 dpkg-buildpackage -rfakeroot just reproduced and it looks like the problem is very similar to the one i found before gcc preprocessor output changed and Scm_ParseMacroCode doesn't like it. (lots of additional # xxx stdin lines and line breaks) Is there some way to tell newer gcc preprocessor to try to produce old-style output? you could use -P, or fix the parsing. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#777861: [Pkg-gauche-devel] Bug#777861: Bug#777861: gauche-c-wrapper: ftbfs with GCC-5
reduced severity to important because i don't think the bug report is valid. see also: http://sourceforge.net/p/gauche/mailman/message/33853322/ never got an answer to my last mail looking at http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20150402-vivid.html it seems only ppc64el and powerpc fail likely this is caused by ubuntu using a broken gcc version (and not caused by using gcc 5!) you really should provide output of something like this: $ cat EOF test.h #define B() 1 #define A B EOF $ echo -e 100\nB()\nA|gcc-YOURVERSION -E -include test.h -|tail examples: $ cat EOF test.h #define B() 1 #define A B EOF $ echo -e 100\nB()\nA|gcc-4.4 -E -include test.h -|tail # 1 stdin # 1 built-in # 1 command-line # 1 ./test.h 1 # 1 command-line 2 # 1 stdin 100 1 B $ echo -e 100\nB()\nA|gcc-4.6 -E -include test.h -|tail # 1 built-in # 1 command-line # 1 ./test.h 1 # 1 command-line 2 # 1 stdin 100 1 # 2 ./test.h B $ echo -e 100\nB()\nA|gcc-4.7 -E -include test.h -|tail # 1 stdin # 1 command-line # 1 ./test.h 1 # 1 command-line 2 # 1 stdin 100 1 # 2 ./test.h B $ echo -e 100\nB()\nA|gcc-4.8 -E -include test.h -|tail # 1 built-in # 1 command-line # 1 /usr/include/stdc-predef.h 1 3 4 # 1 command-line 2 # 1 ./test.h 1 # 1 command-line 2 # 1 stdin 100 1 B $ echo -e 100\nB()\nA|gcc-4.9 -E -include test.h -|tail # 1 built-in # 1 command-line # 1 /usr/include/stdc-predef.h 1 3 4 # 1 command-line 2 # 1 ./test.h 1 # 1 command-line 2 # 1 stdin 100 1 B $ /usr/lib/gcc-snapshot/bin/cpp --version cpp (Debian 20150404-1) 5.0.0 20150404 (experimental) [trunk revision 221867] Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ echo -e 100\nB()\nA|/usr/lib/gcc-snapshot/bin/cpp -E -include test.h -|tail # 1 built-in # 1 command-line # 1 /usr/include/stdc-predef.h 1 3 4 # 1 command-line 2 # 1 ./test.h 1 # 1 command-line 2 # 1 stdin 100 1 B greetings jens -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#777861: [Pkg-gauche-devel] Bug#777861: Bug#777861: gauche-c-wrapper: ftbfs with GCC-5
* Jens Thiele ka...@karme.de [2015-06-26 10:10]: you really should provide output of something like this: $ cat EOF test.h #define B() 1 #define A B EOF $ echo -e 100\nB()\nA|gcc-YOURVERSION -E -include test.h -|tail I'm not Matthias, but I can confirm that the package fails to build in a Debian unstable chroot with GCC 5 the way Matthias reported. (sid-gcc5)1878:tbm@bl460gen8-30: ~/gauche-c-wrapper-0.6.1] cat test.h #define B() 1 #define A B (sid-gcc5)1879:tbm@bl460gen8-30: ~/gauche-c-wrapper-0.6.1] echo -e 100\nB()\nA|gcc-5 -E -include test.h -|tail # 1 built-in # 1 command-line # 1 /usr/include/stdc-predef.h 1 3 4 # 1 command-line 2 # 1 ./test.h 1 # 1 command-line 2 # 1 stdin 100 1 B (sid-gcc5)1880:tbm@bl460gen8-30: ~/gauche-c-wrapper-0.6.1] gcc-5 --version gcc-5 (Debian 5.1.1-12) 5.1.1 20150622 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Note that gcc-5 is in unstable, so you can easily reproduce this yourself with: CC=gcc-5 CXX=g++-5 dpkg-buildpackage -rfakeroot -- Martin Michlmayr Linux for HP Helion OpenStack, Hewlett-Packard -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#777861: [Pkg-gauche-devel] Bug#777861: Bug#777861: gauche-c-wrapper: ftbfs with GCC-5
Martin Michlmayr t...@hp.com writes: I'm not Matthias, but I can confirm that the package fails to build in a Debian unstable chroot with GCC 5 the way Matthias reported. (sid-gcc5)1878:tbm@bl460gen8-30: ~/gauche-c-wrapper-0.6.1] cat test.h #define B() 1 #define A B (sid-gcc5)1879:tbm@bl460gen8-30: ~/gauche-c-wrapper-0.6.1] echo -e 100\nB()\nA|gcc-5 -E -include test.h -|tail # 1 built-in # 1 command-line # 1 /usr/include/stdc-predef.h 1 3 4 # 1 command-line 2 # 1 ./test.h 1 # 1 command-line 2 # 1 stdin 100 1 B this looks good (sid-gcc5)1880:tbm@bl460gen8-30: ~/gauche-c-wrapper-0.6.1] gcc-5 --version gcc-5 (Debian 5.1.1-12) 5.1.1 20150622 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Note that gcc-5 is in unstable, so you can easily reproduce this yourself with: CC=gcc-5 CXX=g++-5 dpkg-buildpackage -rfakeroot just reproduced and it looks like the problem is very similar to the one i found before gcc preprocessor output changed and Scm_ParseMacroCode doesn't like it. (lots of additional # xxx stdin lines and line breaks) Is there some way to tell newer gcc preprocessor to try to produce old-style output? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org