Page 1 of 1

Building samplecat-git from AUR

Posted: Tue Sep 17, 2019 12:31 pm
by roithamer
Recently I wanted to try out Samplecat sample browser, which, thanks to milk, is available for arch users via AUR:

Unfortunately building process gives me this error. I'm not the only one, as another user of Ardour forum has identical problem: ... /101643/36
Any hints how to fix this?

Code: Select all

fontmap.c:44:18: error: field ‘parent_instance’ has incomplete type
   44 |   PangoFcFontMap parent_instance;
      |                  ^~~~~~~~~~~~~~~
fontmap.c:62:23: error: field ‘parent_class’ has incomplete type
   62 |   PangoFcFontMapClass parent_class;
      |                       ^~~~~~~~~~~~
fontmap.c: In function ‘pango_gl_font_map_class_init’:
fontmap.c:222:42: warning: implicit declaration of function ‘PANGO_FC_FONT_MAP_CLASS’; did you mean ‘PANGO_IS_FONT_MAP_CLASS’? [-Wimplicit-function-declaration]
  222 |   PangoFcFontMapClass *fcfontmap_class = PANGO_FC_FONT_MAP_CLASS (class);
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~
      |                                          PANGO_IS_FONT_MAP_CLASS
fontmap.c:222:42: warning: initialization of ‘PangoFcFontMapClass *’ {aka ‘struct _PangoFcFontMapClass *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
fontmap.c:225:18: error: dereferencing pointer to incomplete type ‘PangoFcFontMapClass’ {aka ‘struct _PangoFcFontMapClass’}
  225 |   fcfontmap_class->default_substitute = pango_gl_font_map_default_substitute;
      |                  ^~
make[7]: *** [Makefile:534: fontmap.lo] Błąd 1
make[7]: Opuszczenie katalogu '/home/moth/.cache/yay/samplecat-git/src/samplecat/lib/waveform/agl'
make[6]: *** [Makefile:574: all-recursive] Błąd 1
make[6]: Opuszczenie katalogu '/home/moth/.cache/yay/samplecat-git/src/samplecat/lib/waveform/agl'
make[5]: *** [Makefile:450: all] Błąd 2
make[5]: Opuszczenie katalogu '/home/moth/.cache/yay/samplecat-git/src/samplecat/lib/waveform/agl'
make[4]: *** [Makefile:611: all-recursive] Błąd 1
make[4]: Opuszczenie katalogu '/home/moth/.cache/yay/samplecat-git/src/samplecat/lib/waveform'
make[3]: *** [Makefile:476: all] Błąd 2
make[3]: Opuszczenie katalogu '/home/moth/.cache/yay/samplecat-git/src/samplecat/lib/waveform'
make[2]: *** [Makefile:417: all-recursive] Błąd 1
make[2]: Opuszczenie katalogu '/home/moth/.cache/yay/samplecat-git/src/samplecat/lib'
make[1]: *** [Makefile:542: all-recursive] Błąd 1
make[1]: Opuszczenie katalogu '/home/moth/.cache/yay/samplecat-git/src/samplecat'
make: *** [Makefile:431: all] Błąd 2
==> BŁĄD: Wystąpił błąd w build().
Error making: samplecat-git

Re: Building samplecat-git from AUR

Posted: Tue Sep 17, 2019 7:23 pm
by milk
There is a fair chance that the state of samplecat is broken as it stands on GH as the developer has previously pushed in a state that doesn't build. The last time I reported such an error, I also suggested they set up CI so it is known quicker that this is the case, but I guess they have had other priorities. Don't let that stop you filing an issue, they have been responsive enough to fix such issues, I've just personally gotten a bit burnt out by the process.

Re: Building samplecat-git from AUR

Posted: Tue Sep 17, 2019 8:07 pm
by roithamer
I see. Thank you for the reply.