Main
Pruning the forum database.
Hello,when i will generate deadbeef from source, i get a error messages.Code: [Select]libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -std=c99 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -DLIBDIR=\"/usr/lib\" -DPREFIX=\"/usr\" -DDOCDIR=\"/usr/share/doc/deadbeef\" -MT converter_gtkui_la-convgui.lo -MD -MP -MF .deps/converter_gtkui_la-convgui.Tpo -c convgui.c -fPIC -DPIC -o .libs/converter_gtkui_la-convgui.oconverter.c: In function 'convert':converter.c:753:21: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'unsigned int'converter.c:736:24: warning: ignoring return value of 'mktemp', declared with attribute warn_unused_resultconverter.c:904:28: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_resultconverter.c:908:28: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_resultconverter.c:923:24: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_resultconvgui.c: In function 'overwrite_prompt_cb':convgui.c:111:5: error: format not a string literal and no format argumentsmake[2]: *** [converter_gtkui_la-convgui.lo] Fehler 1make[2]: *** Warte auf noch nicht beendete Prozesse...mv -f .deps/converter.Tpo .deps/converter.Plomake[2]: Leaving directory `/home/leiche/src/rpm/BUILD/deadbeef-0.5.1/plugins/converter'make[1]: *** [all-recursive] Fehler 1make[1]: Leaving directory `/home/leiche/src/rpm/BUILD/deadbeef-0.5.1'make: *** [all] Fehler 2Fehler: Fehler-Status beim Beenden von /home/leiche/src/tmp/rpm-tmp.77249 (%build)I get this error since version 0.5.0-rc1. I'm not sure, what is missing.I add the configure.log, and hope we find a solution.
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -std=c99 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -DLIBDIR=\"/usr/lib\" -DPREFIX=\"/usr\" -DDOCDIR=\"/usr/share/doc/deadbeef\" -MT converter_gtkui_la-convgui.lo -MD -MP -MF .deps/converter_gtkui_la-convgui.Tpo -c convgui.c -fPIC -DPIC -o .libs/converter_gtkui_la-convgui.oconverter.c: In function 'convert':converter.c:753:21: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'unsigned int'converter.c:736:24: warning: ignoring return value of 'mktemp', declared with attribute warn_unused_resultconverter.c:904:28: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_resultconverter.c:908:28: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_resultconverter.c:923:24: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_resultconvgui.c: In function 'overwrite_prompt_cb':convgui.c:111:5: error: format not a string literal and no format argumentsmake[2]: *** [converter_gtkui_la-convgui.lo] Fehler 1make[2]: *** Warte auf noch nicht beendete Prozesse...mv -f .deps/converter.Tpo .deps/converter.Plomake[2]: Leaving directory `/home/leiche/src/rpm/BUILD/deadbeef-0.5.1/plugins/converter'make[1]: *** [all-recursive] Fehler 1make[1]: Leaving directory `/home/leiche/src/rpm/BUILD/deadbeef-0.5.1'make: *** [all] Fehler 2Fehler: Fehler-Status beim Beenden von /home/leiche/src/tmp/rpm-tmp.77249 (%build)
it looks that you have global CFLAGS override somewhere.compiler is instructed to treat format-security warnings as errors, thisis why it stops.removing -Werror=format-security from your CFLAGS should help.i will fix the problem in my code.