Source: flickcurl
Version: 1.26-7.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240615 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   
> -DFLICKCURL_INTERNAL=1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/raptor2 
>  -DMTWIST_CONFIG -I../libmtwist  -I/usr/include/libxml2 -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -c -o contacts.lo contacts.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist 
> -I/usr/include/libxml2 -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> activity.c  -fPIC -DPIC -o .libs/activity.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist 
> -I/usr/include/libxml2 -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> comments.c  -fPIC -DPIC -o .libs/comments.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist 
> -I/usr/include/libxml2 -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> args.c  -fPIC -DPIC -o .libs/args.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist 
> -I/usr/include/libxml2 -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> common.c  -fPIC -DPIC -o .libs/common.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist 
> -I/usr/include/libxml2 -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> collection.c  -fPIC -DPIC -o .libs/collection.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist 
> -I/usr/include/libxml2 -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> blog.c  -fPIC -DPIC -o .libs/blog.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist 
> -I/usr/include/libxml2 -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> contacts.c  -fPIC -DPIC -o .libs/contacts.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DFLICKCURL_INTERNAL=1 -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I/usr/include/raptor2 -DMTWIST_CONFIG -I../libmtwist 
> -I/usr/include/libxml2 -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> category.c  -fPIC -DPIC -o .libs/category.o
> args.c: In function ‘flickcurl_free_arg’:
> args.c:43:5: error: implicit declaration of function ‘free’ 
> [-Werror=implicit-function-declaration]
>    43 |     free(arg->name);
>       |     ^~~~
> args.c:35:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
>    34 | #include <flickcurl_internal.h>
>   +++ |+#include <stdlib.h>
>    35 | 
> args.c:43:5: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>    43 |     free(arg->name);
>       |     ^~~~
> args.c:43:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> args.c:45:5: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>    45 |     free(arg->description);
>       |     ^~~~
> args.c:45:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> args.c:46:3: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>    46 |   free(arg);
>       |   ^~~~
> args.c:46:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> args.c: In function ‘flickcurl_build_args’:
> args.c:74:27: error: implicit declaration of function ‘calloc’ 
> [-Werror=implicit-function-declaration]
>    74 |   args = (flickcurl_arg**)calloc(sizeof(flickcurl_arg*), 
> nodes_count+1);
>       |                           ^~~~~~
> args.c:74:27: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
> args.c:74:27: warning: incompatible implicit declaration of built-in function 
> ‘calloc’ [-Wbuiltin-declaration-mismatch]
> args.c:74:27: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
> args.c:94:28: error: implicit declaration of function ‘malloc’ 
> [-Werror=implicit-function-declaration]
>    94 |         arg->name = (char*)malloc(len + 1);
>       |                            ^~~~~~
> args.c:94:28: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
> args.c:94:28: warning: incompatible implicit declaration of built-in function 
> ‘malloc’ [-Wbuiltin-declaration-mismatch]
> args.c:94:28: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
> args.c:97:25: error: implicit declaration of function ‘atoi’ 
> [-Werror=implicit-function-declaration]
>    97 |         arg->optional = atoi((const char*)attr->children->content);
>       |                         ^~~~
> args.c:104:35: warning: incompatible implicit declaration of built-in 
> function ‘malloc’ [-Wbuiltin-declaration-mismatch]
>   104 |         arg->description = (char*)malloc(len + 1);
>       |                                   ^~~~~~
> args.c:104:35: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
> collection.c: In function ‘flickcurl_free_collection’:
> collection.c:59:5: error: implicit declaration of function ‘free’ 
> [-Werror=implicit-function-declaration]
>    59 |     free(collection->description);
>       |     ^~~~
> collection.c:35:1: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
>    34 | #include <flickcurl_internal.h>
>   +++ |+#include <stdlib.h>
>    35 | 
> collection.c:59:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    59 |     free(collection->description);
>       |     ^~~~
> collection.c:59:5: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> collection.c:62:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    62 |     free(collection->title);
>       |     ^~~~
> collection.c:62:5: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> collection.c:65:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    65 |     free(collection->secret);
>       |     ^~~~
> collection.c:65:5: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> collection.c:68:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    68 |     free(collection->iconsmall);
>       |     ^~~~
> collection.c:68:5: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> collection.c:71:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    71 |     free(collection->iconlarge);
>       |     ^~~~
> collection.c:71:5: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> collection.c:74:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    74 |     free(collection->id);
>       |     ^~~~
> collection.c:74:5: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> collection.c:76:3: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    76 |   free(collection);
>       |   ^~~~
> collection.c:76:3: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> collection.c: In function ‘flickcurl_build_collections’:
> collection.c:197:41: error: implicit declaration of function ‘calloc’ 
> [-Werror=implicit-function-declaration]
>   197 |   collections = 
> (flickcurl_collection**)calloc(sizeof(flickcurl_collection*), nodes_count+1);
>       |                                         ^~~~~~
> collection.c:197:41: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘calloc’
> collection.c:197:41: warning: incompatible implicit declaration of built-in 
> function ‘calloc’ [-Wbuiltin-declaration-mismatch]
> collection.c:197:41: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘calloc’
> collection.c:241:25: error: implicit declaration of function ‘atoi’ 
> [-Werror=implicit-function-declaration]
>   241 |             unix_time = atoi(string_value);
>       |                         ^~~~
> collection.c:272:11: error: implicit declaration of function ‘abort’ 
> [-Werror=implicit-function-declaration]
>   272 |           abort();
>       |           ^~~~~
> collection.c:272:11: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘abort’
> collection.c:272:11: warning: incompatible implicit declaration of built-in 
> function ‘abort’ [-Wbuiltin-declaration-mismatch]
> collection.c:272:11: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘abort’
> collection.c:325:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   325 |         free(string_value);
>       |         ^~~~
> collection.c:325:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> collection.c: In function ‘flickcurl_build_collection’:
> collection.c:375:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   375 |     free(collections);
>       |     ^~~~
> collection.c:375:5: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> collection.c: In function ‘flickcurl_free_collections’:
> collection.c:397:3: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   397 |   free(collections);
>       |   ^~~~
> collection.c:397:3: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> comments.c: In function ‘flickcurl_free_comment’:
> comments.c:49:5: error: implicit declaration of function ‘free’ 
> [-Werror=implicit-function-declaration]
>    49 |     free(comment_object->id);
>       |     ^~~~
> comments.c:35:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
>    34 | #include <flickcurl_internal.h>
>   +++ |+#include <stdlib.h>
>    35 | 
> comments.c:49:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    49 |     free(comment_object->id);
>       |     ^~~~
> comments.c:49:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> comments.c:51:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    51 |     free(comment_object->author);
>       |     ^~~~
> comments.c:51:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> comments.c:53:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    53 |     free(comment_object->authorname);
>       |     ^~~~
> comments.c:53:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> comments.c:55:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    55 |     free(comment_object->permalink);
>       |     ^~~~
> comments.c:55:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> comments.c:57:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    57 |     free(comment_object->text);
>       |     ^~~~
> comments.c:57:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> comments.c:59:3: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    59 |   free(comment_object);
>       |   ^~~~
> comments.c:59:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> comments.c: In function ‘flickcurl_free_comments’:
> comments.c:79:3: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    79 |   free(comments_object);
>       |   ^~~~
> comments.c:79:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> comments.c: In function ‘flickcurl_build_comments’:
> comments.c:107:35: error: implicit declaration of function ‘calloc’ 
> [-Werror=implicit-function-declaration]
>   107 |   comments = (flickcurl_comment**)calloc(sizeof(flickcurl_comment*), 
> nodes_count+1);
>       |                                   ^~~~~~
> comments.c:107:35: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘calloc’
> comments.c:107:35: warning: incompatible implicit declaration of built-in 
> function ‘calloc’ [-Wbuiltin-declaration-mismatch]
> comments.c:107:35: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘calloc’
> comments.c:128:27: error: implicit declaration of function ‘malloc’ 
> [-Werror=implicit-function-declaration]
>   128 |       attr_value = (char*)malloc(attr_len + 1);
>       |                           ^~~~~~
> comments.c:128:27: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘malloc’
> comments.c:128:27: warning: incompatible implicit declaration of built-in 
> function ‘malloc’ [-Wbuiltin-declaration-mismatch]
> comments.c:128:27: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘malloc’
> blog.c: In function ‘flickcurl_free_blog’:
> blog.c:43:5: error: implicit declaration of function ‘free’ 
> [-Werror=implicit-function-declaration]
>    43 |     free(blog->id);
>       |     ^~~~
> contacts.c: In function ‘flickcurl_free_contact’:
> blog.c:35:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
>    34 | #include <flickcurl_internal.h>
>   +++ |+#include <stdlib.h>
>    35 | 
> contacts.c:52:5: error: implicit declaration of function ‘free’ 
> [-Werror=implicit-function-declaration]
>    52 |     free(contact_object->nsid);
>       |     ^~~~
> blog.c:43:5: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>    43 |     free(blog->id);
>       |     ^~~~
> blog.c:43:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> blog.c:46:5: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>    46 |     free(blog->name);
>       |     ^~~~
> blog.c:46:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> contacts.c:38:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
>    37 | #include <flickcurl_internal.h>
>   +++ |+#include <stdlib.h>
>    38 | 
> blog.c:48:3: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>    48 |   free(blog);
>       |   ^~~~
> contacts.c:52:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    52 |     free(contact_object->nsid);
>       |     ^~~~
> blog.c:48:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> contacts.c:52:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> contacts.c:54:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    54 |     free(contact_object->username);
>       |     ^~~~
> contacts.c:54:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> contacts.c:56:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    56 |     free(contact_object->realname);
>       |     ^~~~
> contacts.c:56:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> contacts.c:58:3: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    58 |   free(contact_object);
>       |   ^~~~
> contacts.c:58:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> blog.c: In function ‘flickcurl_free_blogs’:
> blog.c:68:3: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>    68 |   free(blogs_object);
>       |   ^~~~
> blog.c:68:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> contacts.c: In function ‘flickcurl_free_contacts’:
> contacts.c:78:3: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    78 |   free(contacts_object);
>       |   ^~~~
> contacts.c:78:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> blog.c: In function ‘flickcurl_build_blogs’:
> blog.c:94:29: error: implicit declaration of function ‘calloc’ 
> [-Werror=implicit-function-declaration]
>    94 |   blogs = (flickcurl_blog**)calloc(sizeof(flickcurl_blog*), 
> nodes_count+1);
>       |                             ^~~~~~
> blog.c:94:29: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
> blog.c:94:29: warning: incompatible implicit declaration of built-in function 
> ‘calloc’ [-Wbuiltin-declaration-mismatch]
> blog.c:94:29: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
> contacts.c: In function ‘flickcurl_build_contacts’:
> contacts.c:106:35: error: implicit declaration of function ‘calloc’ 
> [-Werror=implicit-function-declaration]
>   106 |   contacts = (flickcurl_contact**)calloc(sizeof(flickcurl_contact*), 
> nodes_count+1);
>       |                                   ^~~~~~
> contacts.c:106:35: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘calloc’
> contacts.c:106:35: warning: incompatible implicit declaration of built-in 
> function ‘calloc’ [-Wbuiltin-declaration-mismatch]
> contacts.c:106:35: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘calloc’
> comments.c:138:38: error: implicit declaration of function ‘atoi’ 
> [-Werror=implicit-function-declaration]
>   138 |         comment_object->datecreate = atoi((const char*)attr_value);
>       |                                      ^~~~
> blog.c:114:27: error: implicit declaration of function ‘malloc’ 
> [-Werror=implicit-function-declaration]
>   114 |       attr_value = (char*)malloc(attr_len + 1);
>       |                           ^~~~~~
> comments.c:139:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   139 |         free(attr_value);
>       |         ^~~~
> blog.c:114:27: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
> blog.c:114:27: warning: incompatible implicit declaration of built-in 
> function ‘malloc’ [-Wbuiltin-declaration-mismatch]
> contacts.c:126:27: error: implicit declaration of function ‘malloc’ 
> [-Werror=implicit-function-declaration]
>   126 |       attr_value = (char*)malloc(attr_len + 1);
>       |                           ^~~~~~
> blog.c:114:27: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
> contacts.c:126:27: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘malloc’
> contacts.c:126:27: warning: incompatible implicit declaration of built-in 
> function ‘malloc’ [-Wbuiltin-declaration-mismatch]
> contacts.c:126:27: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘malloc’
> comments.c:139:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> comments.c:143:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   143 |         free(attr_value);
>       |         ^~~~
> comments.c:143:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> comments.c:150:39: warning: incompatible implicit declaration of built-in 
> function ‘malloc’ [-Wbuiltin-declaration-mismatch]
>   150 |         comment_object->text = (char*)malloc(len + 1);
>       |                                       ^~~~~~
> comments.c:150:39: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘malloc’
> blog.c:122:29: error: implicit declaration of function ‘atoi’ 
> [-Werror=implicit-function-declaration]
>   122 |         b->needs_password = atoi(attr_value);
>       |                             ^~~~
> contacts.c:134:38: error: implicit declaration of function ‘atoi’ 
> [-Werror=implicit-function-declaration]
>   134 |         contact_object->iconserver = atoi((const char*)attr_value);
>       |                                      ^~~~
> contacts.c:135:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   135 |         free(attr_value);
>       |         ^~~~
> contacts.c:135:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> blog.c:123:9: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>   123 |         free(attr_value);
>       |         ^~~~
> blog.c:123:9: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> blog.c:127:9: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>   127 |         free(attr_value);
>       |         ^~~~
> contacts.c:140:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   140 |         free(attr_value);
>       |         ^~~~
> blog.c:127:9: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> contacts.c:140:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> contacts.c:143:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   143 |         free(attr_value);
>       |         ^~~~
> contacts.c:143:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> blog.c: In function ‘flickcurl_free_blog_service’:
> contacts.c:146:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   146 |         free(attr_value);
>       |         ^~~~
> contacts.c:146:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> blog.c:157:5: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>   157 |     free(blog_service->id);
>       |     ^~~~
> blog.c:157:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> contacts.c:149:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   149 |         free(attr_value);
>       |         ^~~~
> contacts.c:149:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> blog.c:160:5: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>   160 |     free(blog_service->name);
>       |     ^~~~
> contacts.c:151:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   151 |         free(attr_value);
>       |         ^~~~
> blog.c:160:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> contacts.c:151:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> blog.c:162:3: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>   162 |   free(blog_service);
>       |   ^~~~
> blog.c:162:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> blog.c: In function ‘flickcurl_free_blog_services’:
> blog.c:182:3: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>   182 |   free(blog_services_object);
>       |   ^~~~
> blog.c:182:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> blog.c: In function ‘flickcurl_build_blog_services’:
> blog.c:209:45: warning: incompatible implicit declaration of built-in 
> function ‘calloc’ [-Wbuiltin-declaration-mismatch]
>   209 |   blog_services = 
> (flickcurl_blog_service**)calloc(sizeof(flickcurl_blog_service*), 
> nodes_count+1);
>       |                                             ^~~~~~
> blog.c:209:45: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
> blog.c:230:27: warning: incompatible implicit declaration of built-in 
> function ‘malloc’ [-Wbuiltin-declaration-mismatch]
>   230 |       attr_value = (char*)malloc(attr_len + 1);
>       |                           ^~~~~~
> blog.c:230:27: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
> blog.c:236:9: warning: incompatible implicit declaration of built-in function 
> ‘free’ [-Wbuiltin-declaration-mismatch]
>   236 |         free(attr_value);
>       |         ^~~~
> blog.c:236:9: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> blog.c:242:26: warning: incompatible implicit declaration of built-in 
> function ‘malloc’ [-Wbuiltin-declaration-mismatch]
>   242 |         b->name = (char*)malloc(len + 1);
>       |                          ^~~~~~
> blog.c:242:26: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
> activity.c: In function ‘flickcurl_free_activity_event’:
> activity.c:43:5: error: implicit declaration of function ‘free’ 
> [-Werror=implicit-function-declaration]
>    43 |     free(activity_event->id);
>       |     ^~~~
> activity.c:35:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
>    34 | #include <flickcurl_internal.h>
>   +++ |+#include <stdlib.h>
>    35 | 
> activity.c:43:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    43 |     free(activity_event->id);
>       |     ^~~~
> activity.c:43:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> activity.c:45:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    45 |     free(activity_event->type);
>       |     ^~~~
> activity.c:45:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> activity.c:47:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    47 |     free(activity_event->user);
>       |     ^~~~
> activity.c:47:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> activity.c:49:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    49 |     free(activity_event->username);
>       |     ^~~~
> activity.c:49:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> activity.c:51:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    51 |     free(activity_event->value);
>       |     ^~~~
> activity.c:51:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> activity.c:52:3: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    52 |   free(activity_event);
>       |   ^~~~
> activity.c:52:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> activity.c: In function ‘flickcurl_free_activity’:
> activity.c:63:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    63 |     free(activity->type);
>       |     ^~~~
> activity.c:63:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> activity.c:65:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    65 |     free(activity->id);
>       |     ^~~~
> activity.c:65:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> activity.c:67:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    67 |     free(activity->owner);
>       |     ^~~~
> activity.c:67:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> activity.c:69:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    69 |     free(activity->owner_name);
>       |     ^~~~
> activity.c:69:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> activity.c:71:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    71 |     free(activity->primary);
>       |     ^~~~
> activity.c:71:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> activity.c:73:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    73 |     free(activity->secret);
>       |     ^~~~
> activity.c:73:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> activity.c:75:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    75 |     free(activity->title);
>       |     ^~~~
> activity.c:75:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> activity.c:80:3: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    80 |   free(activity);
>       |   ^~~~
> activity.c:80:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> activity.c: In function ‘flickcurl_free_activities’:
> activity.c:100:3: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   100 |   free(activities_object);
>       |   ^~~~
> activity.c:100:3: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> activity.c: In function ‘flickcurl_build_activity_event’:
> activity.c:111:35: error: implicit declaration of function ‘calloc’ 
> [-Werror=implicit-function-declaration]
>   111 |   ae = 
> (flickcurl_activity_event*)calloc(sizeof(flickcurl_activity_event), 1);
>       |                                   ^~~~~~
> activity.c:111:35: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘calloc’
> activity.c:111:35: warning: incompatible implicit declaration of built-in 
> function ‘calloc’ [-Wbuiltin-declaration-mismatch]
> activity.c:111:35: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘calloc’
> activity.c:120:25: error: implicit declaration of function ‘malloc’ 
> [-Werror=implicit-function-declaration]
>   120 |     attr_value = (char*)malloc(attr_len + 1);
>       |                         ^~~~~~
> activity.c:120:25: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘malloc’
> activity.c:120:25: warning: incompatible implicit declaration of built-in 
> function ‘malloc’ [-Wbuiltin-declaration-mismatch]
> activity.c:120:25: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘malloc’
> activity.c:132:24: error: implicit declaration of function ‘atoi’ 
> [-Werror=implicit-function-declaration]
>   132 |       ae->date_added = atoi(attr_value);
>       |                        ^~~~
> activity.c:133:7: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   133 |       free(attr_value);
>       |       ^~~~
> activity.c:133:7: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> activity.c:135:7: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   135 |       free(attr_value);
>       |       ^~~~
> activity.c:135:7: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> activity.c:142:26: warning: incompatible implicit declaration of built-in 
> function ‘malloc’ [-Wbuiltin-declaration-mismatch]
>   142 |       ae->value = (char*)malloc(len + 1);
>       |                          ^~~~~~
> activity.c:142:26: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘malloc’
> activity.c: In function ‘flickcurl_build_activities’:
> activity.c:174:38: warning: incompatible implicit declaration of built-in 
> function ‘calloc’ [-Wbuiltin-declaration-mismatch]
>   174 |   activities = 
> (flickcurl_activity**)calloc(sizeof(flickcurl_activity*), nodes_count+1);
>       |                                      ^~~~~~
> activity.c:174:38: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘calloc’
> activity.c:196:27: warning: incompatible implicit declaration of built-in 
> function ‘malloc’ [-Wbuiltin-declaration-mismatch]
>   196 |       attr_value = (char*)malloc(attr_len + 1);
>       |                           ^~~~~~
> activity.c:196:27: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘malloc’
> activity.c:213:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   213 |         free(attr_value);
>       |         ^~~~
> activity.c:213:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> activity.c:216:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   216 |         free(attr_value);
>       |         ^~~~
> activity.c:216:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> activity.c:219:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   219 |         free(attr_value);
>       |         ^~~~
> activity.c:219:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> activity.c:222:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   222 |         free(attr_value);
>       |         ^~~~
> activity.c:222:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> activity.c:225:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   225 |         free(attr_value);
>       |         ^~~~
> activity.c:225:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> activity.c:228:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   228 |         free(attr_value);
>       |         ^~~~
> activity.c:228:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> activity.c:231:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   231 |         free(attr_value);
>       |         ^~~~
> activity.c:231:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> activity.c:234:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   234 |         free(attr_value);
>       |         ^~~~
> activity.c:234:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> activity.c:237:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   237 |         free(attr_value);
>       |         ^~~~
> activity.c:237:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> activity.c:240:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   240 |         free(attr_value);
>       |         ^~~~
> activity.c:240:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> activity.c:243:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   243 |         free(attr_value);
>       |         ^~~~
> activity.c:243:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> activity.c:245:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   245 |         free(attr_value);
>       |         ^~~~
> activity.c:245:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> activity.c:255:29: warning: incompatible implicit declaration of built-in 
> function ‘malloc’ [-Wbuiltin-declaration-mismatch]
>   255 |           a->title = (char*)malloc(len + 1);
>       |                             ^~~~~~
> activity.c:255:29: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘malloc’
> category.c: In function ‘flickcurl_free_category’:
> category.c:49:5: error: implicit declaration of function ‘free’ 
> [-Werror=implicit-function-declaration]
>    49 |     free(category->id);
>       |     ^~~~
> category.c:35:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
>    34 | #include <flickcurl_internal.h>
>   +++ |+#include <stdlib.h>
>    35 | 
> category.c:49:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    49 |     free(category->id);
>       |     ^~~~
> category.c:49:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> category.c:52:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    52 |     free(category->name);
>       |     ^~~~
> category.c:52:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> category.c:60:3: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    60 |   free(category);
>       |   ^~~~
> category.c:60:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> category.c: In function ‘flickcurl_free_categories’:
> category.c:80:3: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>    80 |   free(categories_object);
>       |   ^~~~
> category.c:80:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> category.c: In function ‘flickcurl_build_categories’:
> category.c:106:38: error: implicit declaration of function ‘calloc’ 
> [-Werror=implicit-function-declaration]
>   106 |   categories = 
> (flickcurl_category**)calloc(sizeof(flickcurl_category*), nodes_count+1);
>       |                                      ^~~~~~
> category.c:106:38: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘calloc’
> category.c:106:38: warning: incompatible implicit declaration of built-in 
> function ‘calloc’ [-Wbuiltin-declaration-mismatch]
> category.c:106:38: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘calloc’
> category.c:126:27: error: implicit declaration of function ‘malloc’ 
> [-Werror=implicit-function-declaration]
>   126 |       attr_value = (char*)malloc(attr_len + 1);
>       |                           ^~~~~~
> category.c:126:27: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘malloc’
> category.c:126:27: warning: incompatible implicit declaration of built-in 
> function ‘malloc’ [-Wbuiltin-declaration-mismatch]
> category.c:126:27: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘malloc’
> category.c:136:20: error: implicit declaration of function ‘atoi’ 
> [-Werror=implicit-function-declaration]
>   136 |         c->count = atoi(attr_value);
>       |                    ^~~~
> category.c:137:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   137 |         free(attr_value);
>       |         ^~~~
> category.c:137:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> category.c:139:9: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   139 |         free(attr_value);
>       |         ^~~~
> category.c:139:9: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:890: args.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/flickcurl_1.26-7.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to