Package: autoprofile Severity: serious Justification: no longer builds from source
Hi, when building autoprofile I get lots of warning like src/comp_logstats.c:200: warning: implicit declaration of function 'strdup' src/comp_logstats.c:200: warning: incompatible implicit declaration of built-in function 'strdup' The first kind is bad enough as it tends to declare the wrong types and the second warning (doesn't always give one) is a sure sign that you messed up the types. A segfault is a very likely result. So after lots of those the real error comes: gcc -O2 -Wall -fpic -g -I../gaim -I../gaim/src -I../.. -I../../src -I/usr/include/gaim -I/usr/include/gaim/src -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include `pkg-config --cflags gtk+-2.0 gaim` -DHAVE_CONFIG_H -c src/comp_logstats_gtk.c -o src/comp_logstats_gtk.o In file included from src/comp_logstats_gtk.c:24: src/autoprofile.h:30:20: error: config.h: No such file or directory make[1]: *** [src/comp_logstats_gtk.o] Error 1 make[1]: Leaving directory `/home/mrvn/build/autoprofile_2.14-2/autoprofile-2.14 ' make: *** [build-stamp] Error 2 Build log is attached. MfG Goswin -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.8-frosties-2 Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp patch-stamp /usr/bin/make clean make[1]: Entering directory `/home/mrvn/build/autoprofile_2.14-2/autoprofile-2.14' rm -rf src/*.o rm -rf autoprofile.so make[1]: Leaving directory `/home/mrvn/build/autoprofile_2.14-2/autoprofile-2.14' dh_clean dpatch deapply-all 01_gaim_build_bustication not applied to ./ . debian/rules build dpatch apply-all applying patch 01_gaim_build_bustication to ./ ... ok. dpatch cat-all > patch-stamp dh_testdir /usr/bin/make PREFIX=/usr make[1]: Entering directory `/home/mrvn/build/autoprofile_2.14-2/autoprofile-2.14' gcc -O2 -Wall -fpic -g -I../gaim -I../gaim/src -I../.. -I../../src -I/usr/include/gaim -I/usr/include/gaim/src -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include `pkg-config --cflags gtk+-2.0 gaim` -DHAVE_CONFIG_H -c src/component.c -o src/component.o gcc -O2 -Wall -fpic -g -I../gaim -I../gaim/src -I../.. -I../../src -I/usr/include/gaim -I/usr/include/gaim/src -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include `pkg-config --cflags gtk+-2.0 gaim` -DHAVE_CONFIG_H -c src/comp_http.c -o src/comp_http.o src/comp_http.c: In function 'http_generate': src/comp_http.c:37: warning: implicit declaration of function 'strdup' src/comp_http.c:37: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_http.c: In function 'http_refresh_update': src/comp_http.c:42: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_http.c:45: warning: implicit declaration of function 'gaim_url_fetch' gcc -O2 -Wall -fpic -g -I../gaim -I../gaim/src -I../.. -I../../src -I/usr/include/gaim -I/usr/include/gaim/src -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include `pkg-config --cflags gtk+-2.0 gaim` -DHAVE_CONFIG_H -c src/comp_textfile.c -o src/comp_textfile.o src/comp_textfile.c: In function 'text_file_selection': src/comp_textfile.c:104: warning: implicit declaration of function 'strlen' src/comp_textfile.c:104: warning: incompatible implicit declaration of built-in function 'strlen' src/comp_textfile.c: In function 'text_file_info_button': src/comp_textfile.c:130: warning: implicit declaration of function 'strcmp' gcc -O2 -Wall -fpic -g -I../gaim -I../gaim/src -I../.. -I../../src -I/usr/include/gaim -I/usr/include/gaim/src -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include `pkg-config --cflags gtk+-2.0 gaim` -DHAVE_CONFIG_H -c src/comp_executable.c -o src/comp_executable.o src/comp_executable.c: In function 'executable_generate': src/comp_executable.c:38: warning: implicit declaration of function 'strdup' src/comp_executable.c:38: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_executable.c:52: warning: implicit declaration of function 'strlen' src/comp_executable.c:52: warning: incompatible implicit declaration of built-in function 'strlen' src/comp_executable.c: In function 'executable_selection': src/comp_executable.c:109: warning: incompatible implicit declaration of built-in function 'strlen' gcc -O2 -Wall -fpic -g -I../gaim -I../gaim/src -I../.. -I../../src -I/usr/include/gaim -I/usr/include/gaim/src -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include `pkg-config --cflags gtk+-2.0 gaim` -DHAVE_CONFIG_H -c src/comp_uptime.c -o src/comp_uptime.o src/comp_uptime.c: In function 'uptime_generate': src/comp_uptime.c:41: warning: implicit declaration of function 'strlen' src/comp_uptime.c:41: warning: incompatible implicit declaration of built-in function 'strlen' src/comp_uptime.c:42: warning: implicit declaration of function 'strcpy' src/comp_uptime.c:42: warning: incompatible implicit declaration of built-in function 'strcpy' src/comp_uptime.c:44: warning: implicit declaration of function 'strchr' src/comp_uptime.c:44: warning: incompatible implicit declaration of built-in function 'strchr' src/comp_uptime.c:57: warning: implicit declaration of function 'strcat' src/comp_uptime.c:57: warning: incompatible implicit declaration of built-in function 'strcat' src/comp_uptime.c:68: warning: incompatible implicit declaration of built-in function 'strcat' gcc -O2 -Wall -fpic -g -I../gaim -I../gaim/src -I../.. -I../../src -I/usr/include/gaim -I/usr/include/gaim/src -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include `pkg-config --cflags gtk+-2.0 gaim` -DHAVE_CONFIG_H -c src/comp_timestamp.c -o src/comp_timestamp.o gcc -O2 -Wall -fpic -g -I../gaim -I../gaim/src -I../.. -I../../src -I/usr/include/gaim -I/usr/include/gaim/src -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include `pkg-config --cflags gtk+-2.0 gaim` -DHAVE_CONFIG_H -c src/comp_fortune.c -o src/comp_fortune.o src/comp_fortune.c: In function 'fortune_generate': src/comp_fortune.c:69: warning: implicit declaration of function 'strdup' src/comp_fortune.c:69: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_fortune.c: In function 'fortune_file_selection': src/comp_fortune.c:116: warning: implicit declaration of function 'strlen' src/comp_fortune.c:116: warning: incompatible implicit declaration of built-in function 'strlen' gcc -O2 -Wall -fpic -g -I../gaim -I../gaim/src -I../.. -I../../src -I/usr/include/gaim -I/usr/include/gaim/src -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include `pkg-config --cflags gtk+-2.0 gaim` -DHAVE_CONFIG_H -c src/comp_quote.c -o src/comp_quote.o src/comp_quote.c: In function 'quote_generate': src/comp_quote.c:94: warning: implicit declaration of function 'strdup' src/comp_quote.c:94: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_quote.c: In function 'quote_file_selection': src/comp_quote.c:141: warning: implicit declaration of function 'strlen' src/comp_quote.c:141: warning: incompatible implicit declaration of built-in function 'strlen' gcc -O2 -Wall -fpic -g -I../gaim -I../gaim/src -I../.. -I../../src -I/usr/include/gaim -I/usr/include/gaim/src -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include `pkg-config --cflags gtk+-2.0 gaim` -DHAVE_CONFIG_H -c src/comp_countdownup.c -o src/comp_countdownup.o src/comp_countdownup.c: In function 'count_generate': src/comp_countdownup.c:75: warning: implicit declaration of function 'floor' src/comp_countdownup.c:75: warning: incompatible implicit declaration of built-in function 'floor' src/comp_countdownup.c:102: warning: implicit declaration of function 'strdup' src/comp_countdownup.c:102: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_countdownup.c: In function 'update_date': src/comp_countdownup.c:197: warning: implicit declaration of function 'strcmp' src/comp_countdownup.c: In function 'count_menu': src/comp_countdownup.c:280: warning: incompatible implicit declaration of built-in function 'strdup' gcc -O2 -Wall -fpic -g -I../gaim -I../gaim/src -I../.. -I../../src -I/usr/include/gaim -I/usr/include/gaim/src -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include `pkg-config --cflags gtk+-2.0 gaim` -DHAVE_CONFIG_H -c src/comp_rss.c -o src/comp_rss.o src/comp_rss.c: In function 'get_rss_data': src/comp_rss.c:61: warning: implicit declaration of function 'strcmp' src/comp_rss.c:63: warning: implicit declaration of function 'strdup' src/comp_rss.c:63: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_rss.c:68: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_rss.c:75: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_rss.c:40: warning: unused variable 't' src/comp_rss.c: In function 'rss_generate': src/comp_rss.c:120: warning: implicit declaration of function 'isdigit' src/comp_rss.c:149: warning: implicit declaration of function 'strcpy' src/comp_rss.c:149: warning: incompatible implicit declaration of built-in function 'strcpy' src/comp_rss.c:158: warning: incompatible implicit declaration of built-in function 'strcpy' src/comp_rss.c:167: warning: incompatible implicit declaration of built-in function 'strcpy' src/comp_rss.c:176: warning: incompatible implicit declaration of built-in function 'strcpy' src/comp_rss.c:188: warning: incompatible implicit declaration of built-in function 'strcpy' src/comp_rss.c:198: warning: incompatible implicit declaration of built-in function 'strcpy' src/comp_rss.c: In function 'dropdown_set': src/comp_rss.c:273: warning: cast from pointer to integer of different size gcc -O2 -Wall -fpic -g -I../gaim -I../gaim/src -I../.. -I../../src -I/usr/include/gaim -I/usr/include/gaim/src -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include `pkg-config --cflags gtk+-2.0 gaim` -DHAVE_CONFIG_H -c src/comp_rss_parser.c -o src/comp_rss_parser.o src/comp_rss_parser.c: In function 'get_url': src/comp_rss_parser.c:66: warning: implicit declaration of function 'strdup' src/comp_rss_parser.c:66: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_rss_parser.c: In function 'start_element_handler': src/comp_rss_parser.c:142: warning: implicit declaration of function 'strcmp' src/comp_rss_parser.c: In function 'text_handler': src/comp_rss_parser.c:209: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_rss_parser.c:227: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_rss_parser.c:234: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_rss_parser.c: In function 'parse_rss': src/comp_rss_parser.c:333: warning: implicit declaration of function 'gaim_url_fetch' gcc -O2 -Wall -fpic -g -I../gaim -I../gaim/src -I../.. -I../../src -I/usr/include/gaim -I/usr/include/gaim/src -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include `pkg-config --cflags gtk+-2.0 gaim` -DHAVE_CONFIG_H -c src/comp_rss_xanga.c -o src/comp_rss_xanga.o gcc -O2 -Wall -fpic -g -I../gaim -I../gaim/src -I../.. -I../../src -I/usr/include/gaim -I/usr/include/gaim/src -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include `pkg-config --cflags gtk+-2.0 gaim` -DHAVE_CONFIG_H -c src/comp_logstats.c -o src/comp_logstats.o src/comp_logstats.c: In function 'conversation_time_compare': src/comp_logstats.c:71: warning: implicit declaration of function 'strcmp' src/comp_logstats.c: In function 'string_word_count': src/comp_logstats.c:167: warning: implicit declaration of function 'isspace' src/comp_logstats.c: In function 'is_self': src/comp_logstats.c:200: warning: implicit declaration of function 'strdup' src/comp_logstats.c:200: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_logstats.c: In function 'parse_line': src/comp_logstats.c:254: warning: implicit declaration of function 'strlen' src/comp_logstats.c:254: warning: incompatible implicit declaration of built-in function 'strlen' src/comp_logstats.c:259: warning: implicit declaration of function 'isdigit' src/comp_logstats.c: In function 'parse_log': src/comp_logstats.c:318: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_logstats.c: In function 'logstats_get_names': src/comp_logstats.c:386: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_logstats.c:387: warning: incompatible implicit declaration of built-in function 'strlen' src/comp_logstats.c:412: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_logstats.c: In function 'logstats_conv_created': src/comp_logstats.c:682: warning: incompatible implicit declaration of built-in function 'strdup' src/comp_logstats.c: In function 'logstats_generate': src/comp_logstats.c:987: warning: implicit declaration of function 'strcpy' src/comp_logstats.c:987: warning: incompatible implicit declaration of built-in function 'strcpy' src/comp_logstats.c:995: warning: incompatible implicit declaration of built-in function 'strcpy' gcc -O2 -Wall -fpic -g -I../gaim -I../gaim/src -I../.. -I../../src -I/usr/include/gaim -I/usr/include/gaim/src -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include `pkg-config --cflags gtk+-2.0 gaim` -DHAVE_CONFIG_H -c src/comp_logstats_gtk.c -o src/comp_logstats_gtk.o In file included from src/comp_logstats_gtk.c:24: src/autoprofile.h:30:20: error: config.h: No such file or directory make[1]: *** [src/comp_logstats_gtk.o] Error 1 make[1]: Leaving directory `/home/mrvn/build/autoprofile_2.14-2/autoprofile-2.14' make: *** [build-stamp] Error 2