[blfs-dev] gvfs-1.34.1 won't compile with libcdio-1.0.0 installed

John Burrell john_burrell at hotmail.com
Sun Dec 3 06:54:03 PST 2017


The compile gives:

gvfsbackendcdda.c: In function ‘fetch_metadata’:
gvfsbackendcdda.c:173:12: error: too many arguments to function ‘cdio_get_cdtext’
   cdtext = cdio_get_cdtext (cdio, 0);
            ^~~~~~~~~~~~~~~
In file included from /usr/include/cdio/cdio.h:62:0,
                 from /usr/include/cdio/paranoia/cdda.h:31,
                 from /usr/include/cdio/paranoia/paranoia.h:31,
                 from gvfsbackendcdda.c:51:
/usr/include/cdio/disc.h:77:13: note: declared here
   cdtext_t *cdio_get_cdtext (CdIo_t *p_cdio);
             ^~~~~~~~~~~~~~~
gvfsbackendcdda.c:182:74: error: ‘CDTEXT_TITLE’ undeclared (first use in this function); did you mean
 ‘CDTEXT_FIELD_TITLE’?
     cdda_backend->album_title = cdtext_string_to_utf8 (cdtext_get_const (CDTEXT_TITLE, cdtext));
                                                                          ^~~~~~~~~~~~
                                                                          CDTEXT_FIELD_TITLE
gvfsbackendcdda.c:182:74: note: each undeclared identifier is reported only once for each function it
 appears in
gvfsbackendcdda.c:182:88: error: incompatible type for argument 2 of ‘cdtext_get_const’
     cdda_backend->album_title = cdtext_string_to_utf8 (cdtext_get_const (CDTEXT_TITLE, cdtext));
                                                                                        ^~~~~~
In file included from /usr/include/cdio/cdio.h:59:0,
                 from /usr/include/cdio/paranoia/cdda.h:31,
                 from /usr/include/cdio/paranoia/paranoia.h:31,
                 from gvfsbackendcdda.c:51:
/usr/include/cdio/cdtext.h:262:13: note: expected ‘cdtext_field_t {aka enum <anonymous>}’ but argumen
t is of type ‘const cdtext_t * {aka const struct cdtext_s *}’
 const char *cdtext_get_const (const cdtext_t *p_cdtext, cdtext_field_t field,


and a whole bunch more.

I'll revert to libcdio-0.94 for the moment until gvfs gets updated.

jb.


More information about the blfs-dev mailing list