Bug#837028: gauche-gtk: FTBFS: pango-font.c:249:44: error: 'desc' undeclared (first use in this function)
Control: tags -1 +fixed-upstream On Thu, Sep 29, 2016 at 12:08:42PM +0200, Jens Thiele wrote: > Jens Thielewrites: > > > forwarded upstream: > > https://github.com/shirok/Gauche-gtk2/issues/5 > > upstream commited a fix: > > commit 6fca535f7bb950f81db066bd1afdca9d55e9b460 (refs/remotes/origin/master, > refs/remotes/origin/HEAD) > Author: Shiro Kawai > Date: Tue Sep 27 01:43:54 2016 -1000 > > Fix build failure with new Pango >... It would be good if a maintainer uploads a fixed package to unstable. Thanks Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
Bug#837028: gauche-gtk: FTBFS: pango-font.c:249:44: error: 'desc' undeclared (first use in this function)
Jens Thielewrites: > forwarded upstream: > https://github.com/shirok/Gauche-gtk2/issues/5 upstream commited a fix: commit 6fca535f7bb950f81db066bd1afdca9d55e9b460 (refs/remotes/origin/master, refs/remotes/origin/HEAD) Author: Shiro Kawai Date: Tue Sep 27 01:43:54 2016 -1000 Fix build failure with new Pango Modified ChangeLog diff --git a/ChangeLog b/ChangeLog index 001516b..2224e3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-09-27 Shiro Kawai + + * lib/h2s/parse.scm (parse-body): Fix for new Pango. + https://github.com/shirok/Gauche-gtk2/issues/5 + 2015-06-24 Shiro Kawai * src/gauche-gtk.c (call_callback), lib/gtk.scm (%gtk-call-callback): Modified lib/h2s/parse.scm diff --git a/lib/h2s/parse.scm b/lib/h2s/parse.scm index ae15c98..d38d899 100644 --- a/lib/h2s/parse.scm +++ b/lib/h2s/parse.scm @@ -91,7 +91,10 @@ ;; and no way to combine typedef struct _a{} a; !!! Must be separate. - +(#/^PANGO_AVAILABLE_IN_/ ()(parse-body)) +;; this new addition of preprocessor symbols in Pango interferes with +;; parsing. we just skip. + (#/^typedef enum/()(parse-enum) (parse-body)) ;; mmc:
Bug#837028: [Pkg-gauche-devel] Bug#837028: gauche-gtk: FTBFS: pango-font.c:249:44: error: 'desc' undeclared (first use in this function)
forwarded upstream: https://github.com/shirok/Gauche-gtk2/issues/5
Bug#837028: [Pkg-gauche-devel] Bug#837028: gauche-gtk: FTBFS: pango-font.c:249:44: error: 'desc' undeclared (first use in this function)
upstream git [1] has the same problem [1] https://github.com/shirok/Gauche-gtk2.git
Bug#837028: [Pkg-gauche-devel] Bug#837028: gauche-gtk: FTBFS: pango-font.c:249:44: error: 'desc' undeclared (first use in this function)
looks like the generated stub file (pango-font.stub) is already wrong: ;; pango_font_description_to_string (define-cproc pango-font-description-to-string () "char *s = pango_font_description_to_string(desc);\n ScmObj ss = SCM_MAKE_STR_COPYING(s\ );\n g_free(s);\n SCM_RETURN(ss);") where it should be: ;; pango_font_description_to_string (define-cproc pango-font-description-to-string (desc::) "char *s = pango_font_description_to_string(desc);\n ScmObj ss = SCM_MAKE_STR_COPYING(s);\n g_free(s);\n SCM_RETURN(ss);") later on pango-layout has a similar problem. manually fixing those i still get an error: gcc: error: pango-enum-types.o: No such file or directory greetings, jens
Bug#837028: gauche-gtk: FTBFS: pango-font.c:249:44: error: 'desc' undeclared (first use in this function)
Source: gauche-gtk Version: 0.6~pre1+git20121223-1 Severity: serious Tags: stretch sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20160906 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > gcc -DHAVE_CONFIG_H -g -O2 > -fdebug-prefix-map=/<>/gauche-gtk-0.6~pre1+git20121223=. > -fstack-protector-strong -Wformat -Werror=format-security -I. `gauche-config > -I` `gauche-config --so-cflags` `pkg-config --cflags gtk+-2.0` -Wdate-time > -D_FORTIFY_SOURCE=2 -c -o pango-font.o pango-font.c > pango-font.c: In function 'pango_font_pango_font_description_to_string': > pango-font.c:249:44: error: 'desc' undeclared (first use in this function) > char *s = pango_font_description_to_string(desc); > ^~~~ > pango-font.c:249:44: note: each undeclared identifier is reported only once > for each function it appears in > pango-font.c: In function 'pango_font_pango_font_description_to_filename': > pango-font.c:267:46: error: 'desc' undeclared (first use in this function) > char *s = pango_font_description_to_filename(desc); > ^~~~ > : recipe for target 'pango-font.o' failed > make[2]: *** [pango-font.o] Error 1 The full build log is available from: http://people.debian.org/~lucas/logs/2016/09/06/gauche-gtk_0.6~pre1+git20121223-1_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.