Source: cups-pk-helper
Version: 0.2.3-3
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[4]: Entering directory `/«PKGBUILDDIR»/src'
>   CC     cups_pk_helper_mechanism-cups.o
> cups.c:63:1: error: static declaration of 'ippFirstAttribute' follows 
> non-static declaration
>  ippFirstAttribute(ipp_t *ipp)
>  ^
> In file included from /usr/include/cups/cups.h:38:0,
>                  from /usr/include/cups/adminutil.h:26,
>                  from cups.c:46:
> /usr/include/cups/ipp.h:597:25: note: previous declaration of 
> 'ippFirstAttribute' was here
>  extern ipp_attribute_t *ippFirstAttribute(ipp_t *ipp) _CUPS_API_1_6;
>                          ^
> cups.c: In function 'ippFirstAttribute':
> cups.c:68:14: error: dereferencing pointer to incomplete type
>    return (ipp->current = ipp->attrs);
>               ^
> cups.c:68:29: error: dereferencing pointer to incomplete type
>    return (ipp->current = ipp->attrs);
>                              ^
> cups.c: At top level:
> cups.c:72:1: error: static declaration of 'ippNextAttribute' follows 
> non-static declaration
>  ippNextAttribute(ipp_t *ipp)
>  ^
> In file included from /usr/include/cups/cups.h:38:0,
>                  from /usr/include/cups/adminutil.h:26,
>                  from cups.c:46:
> /usr/include/cups/ipp.h:622:25: note: previous declaration of 
> 'ippNextAttribute' was here
>  extern ipp_attribute_t *ippNextAttribute(ipp_t *ipp) _CUPS_API_1_6;
>                          ^
> cups.c: In function 'ippNextAttribute':
> cups.c:74:19: error: dereferencing pointer to incomplete type
>    if (!ipp || !ipp->current)
>                    ^
> cups.c:77:14: error: dereferencing pointer to incomplete type
>    return (ipp->current = ipp->current->next);
>               ^
> cups.c:77:29: error: dereferencing pointer to incomplete type
>    return (ipp->current = ipp->current->next);
>                              ^
> cups.c: At top level:
> cups.c:81:1: error: static declaration of 'ippSetString' follows non-static 
> declaration
>  ippSetString(ipp_t            *ipp,
>  ^
> In file included from /usr/include/cups/cups.h:38:0,
>                  from /usr/include/cups/adminutil.h:26,
>                  from cups.c:46:
> /usr/include/cups/ipp.h:651:13: note: previous declaration of 'ippSetString' 
> was here
>  extern int  ippSetString(ipp_t *ipp, ipp_attribute_t **attr,
>              ^
> cups.c: In function 'ippSetString':
> cups.c:86:10: error: dereferencing pointer to incomplete type
>    (*attr)->values[element].string.text = (char *) strvalue;
>           ^
> cups.c: In function '_cph_cups_set_error_from_reply':
> cups.c:59:34: error: dereferencing pointer to incomplete type
>  #define ippGetStatusCode(ipp) ipp->request.status.status_code
>                                   ^
> cups.c:681:43: note: in expansion of macro 'ippGetStatusCode'
>                  cups->priv->last_status = ippGetStatusCode (reply);
>                                            ^
> cups.c: In function '_cph_cups_is_reply_ok':
> cups.c:59:34: error: dereferencing pointer to incomplete type
>  #define ippGetStatusCode(ipp) ipp->request.status.status_code
>                                   ^
> cups.c:694:22: note: in expansion of macro 'ippGetStatusCode'
>          if (reply && ippGetStatusCode (reply) <= IPP_OK_CONFLICT) {
>                       ^
> cups.c: In function '_cph_cups_get_attribute_string':
> cups.c:56:35: error: dereferencing pointer to incomplete type
>  #define ippGetGroupTag(attr)  attr->group_tag
>                                    ^
> cups.c:896:32: note: in expansion of macro 'ippGetGroupTag'
>                  while (attr && ippGetGroupTag (attr) != group)
>                                 ^
> cups.c:56:35: error: dereferencing pointer to incomplete type
>  #define ippGetGroupTag(attr)  attr->group_tag
>                                    ^
> cups.c:902:32: note: in expansion of macro 'ippGetGroupTag'
>                  while (attr && ippGetGroupTag (attr) == group) {
>                                 ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:903:29: note: in expansion of macro 'ippGetName'
>                          if (ippGetName (attr) &&
>                              ^
> In file included from /usr/include/string.h:633:0,
>                  from /usr/include/glib-2.0/glib/gi18n.h:26,
>                  from cups.c:44:
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:58:35: error: dereferencing pointer to incomplete type
>  #define ippGetName(attr)      attr->name
>                                    ^
> cups.c:904:37: note: in expansion of macro 'ippGetName'
>                              strcmp (ippGetName (attr), name) == 0 &&
>                                      ^
> cups.c:57:35: error: dereferencing pointer to incomplete type
>  #define ippGetValueTag(attr)  attr->value_tag
>                                    ^
> cups.c:905:29: note: in expansion of macro 'ippGetValueTag'
>                              ippGetValueTag (attr) == type) {
>                              ^
> cups.c:60:51: error: dereferencing pointer to incomplete type
>  #define ippGetString(attr, element, language) 
> attr->values[element].string.text
>                                                    ^
> cups.c:906:40: note: in expansion of macro 'ippGetString'
>                                  return ippGetString (attr, 0, NULL);
>                                         ^
> cups.c: In function '_cph_cups_class_has_printer':
> cups.c:55:35: error: dereferencing pointer to incomplete type
>  #define ippGetCount(attr)     attr->num_values
>                                    ^
> cups.c:953:25: note: in expansion of macro 'ippGetCount'
>          for (i = 0; i < ippGetCount (printer_names); i++) {
>                          ^
> cups.c:60:51: error: dereferencing pointer to incomplete type
>  #define ippGetString(attr, element, language) 
> attr->values[element].string.text
>                                                    ^
> cups.c:954:42: note: in expansion of macro 'ippGetString'
>                  if (!g_ascii_strcasecmp (ippGetString (printer_names, i, 
> NULL),
>                                           ^
> cups.c: In function 'cph_cups_class_add_printer':
> cups.c:55:35: error: dereferencing pointer to incomplete type
>  #define ippGetCount(attr)     attr->num_values
>                                    ^
> cups.c:1975:36: note: in expansion of macro 'ippGetCount'
>                          new_len += ippGetCount (printer_uris);
>                                     ^
> cups.c:55:35: error: dereferencing pointer to incomplete type
>  #define ippGetCount(attr)     attr->num_values
>                                    ^
> cups.c:1985:33: note: in expansion of macro 'ippGetCount'
>                  for (i = 0; i < ippGetCount (printer_uris); i++)
>                                  ^
> cups.c:60:51: error: dereferencing pointer to incomplete type
>  #define ippGetString(attr, element, language) 
> attr->values[element].string.text
>                                                    ^
> cups.c:1987:49: note: in expansion of macro 'ippGetString'
>                                        g_strdup (ippGetString (printer_uris, 
> i, NULL)));
>                                                  ^
> cups.c: In function 'cph_cups_class_delete_printer':
> cups.c:55:35: error: dereferencing pointer to incomplete type
>  #define ippGetCount(attr)     attr->num_values
>                                    ^
> cups.c:2045:28: note: in expansion of macro 'ippGetCount'
>                  new_len += ippGetCount (printer_uris);
>                             ^
> cups.c:60:51: error: dereferencing pointer to incomplete type
>  #define ippGetString(attr, element, language) 
> attr->values[element].string.text
>                                                    ^
> cups.c:2066:41: note: in expansion of macro 'ippGetString'
>                                g_strdup (ippGetString (printer_uris, i, 
> NULL)));
>                                          ^
> cups.c:55:35: error: dereferencing pointer to incomplete type
>  #define ippGetCount(attr)     attr->num_values
>                                    ^
> cups.c:2067:41: note: in expansion of macro 'ippGetCount'
>          for (i = printer_index + 1; i < ippGetCount (printer_uris); i++)
>                                          ^
> cups.c:60:51: error: dereferencing pointer to incomplete type
>  #define ippGetString(attr, element, language) 
> attr->values[element].string.text
>                                                    ^
> cups.c:2069:41: note: in expansion of macro 'ippGetString'
>                                g_strdup (ippGetString (printer_uris, i, 
> NULL)));
>                                          ^
> cups.c: In function '_cph_cups_is_reply_ok':
> cups.c:709:1: warning: control reaches end of non-void function 
> [-Wreturn-type]
>  }
>  ^
> cups.c: In function 'ippFirstAttribute':
> cups.c:69:1: warning: control reaches end of non-void function [-Wreturn-type]
>  }
>  ^
> cups.c: In function 'ippNextAttribute':
> cups.c:78:1: warning: control reaches end of non-void function [-Wreturn-type]
>  }
>  ^
> make[4]: *** [cups_pk_helper_mechanism-cups.o] Error 1

The full build log is available from:
   
http://aws-logs.debian.net/ftbfs-logs/2013/06/20/cups-pk-helper_0.2.3-3_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.


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to