[Pkg-electronics-devel] Bug#1066600: xcircuit: FTBFS: functions.c:1977:4: error: implicit declaration of function ‘UDrawXAt’; did you mean ‘UDrawX’? [-Werror=implicit-function-declaration]
Lucas Nussbaum
lucas at debian.org
Wed Mar 13 11:58:23 GMT 2024
Source: xcircuit
Version: 3.9.73+dfsg.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration
Relevant part (hopefully):
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.9\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=3.9 -DPROG_REVISION=73 -DCAD_DIR=\"/usr/lib/x86_64-linux-gnu\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib/x86_64-linux-gnu/xcircuit-3.9/app-defaults\" -DSCRIPTS_DIR=\"/usr/share/xcircuit\" -DBUILTINS_DIR=\"/usr/share/xcircuit\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/share/xcircuit\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include/tcl8.6 -I/usr/include/tcl8.6 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -g -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-pointer-sign -fPIC -c -o keybindings.o keybindings.c
> functions.c: In function ‘UDrawX’:
> functions.c:1977:4: error: implicit declaration of function ‘UDrawXAt’; did you mean ‘UDrawX’? [-Werror=implicit-function-declaration]
> 1977 | UDrawXAt(&wpt);
> | ^~~~~~~~
> | UDrawX
> functions.c: In function ‘UDoLatex’:
> functions.c:2917:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘double’ [-Wformat=]
> 2917 | fprintf(f, "\\rotatebox{-%d}{", thislabel->rotation);
> | ~^ ~~~~~~~~~~~~~~~~~~~
> | | |
> | int double
> | %f
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.9\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=3.9 -DPROG_REVISION=73 -DCAD_DIR=\"/usr/lib/x86_64-linux-gnu\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib/x86_64-linux-gnu/xcircuit-3.9/app-defaults\" -DSCRIPTS_DIR=\"/usr/share/xcircuit\" -DBUILTINS_DIR=\"/usr/share/xcircuit\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/share/xcircuit\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include/tcl8.6 -I/usr/include/tcl8.6 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -g -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-pointer-sign -fPIC -c -o libraries.o libraries.c
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.9\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=3.9 -DPROG_REVISION=73 -DCAD_DIR=\"/usr/lib/x86_64-linux-gnu\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib/x86_64-linux-gnu/xcircuit-3.9/app-defaults\" -DSCRIPTS_DIR=\"/usr/share/xcircuit\" -DBUILTINS_DIR=\"/usr/share/xcircuit\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/share/xcircuit\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include/tcl8.6 -I/usr/include/tcl8.6 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -g -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-pointer-sign -fPIC -c -o netlist.o netlist.c
> events.c: In function ‘path_op’:
> events.c:5997:25: warning: cast between incompatible function types from ‘void (*)(struct Tk_Window_ *, char *, char *)’ to ‘void (*)(void *, XEvent *)’ [-Wcast-function-type]
> 5997 | (xcEventHandler)trackelement, NULL);
> | ^
> xcircuit.h:1126:67: note: in definition of macro ‘xcRemoveEventHandler’
> 1126 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e)
> | ^
> events.c:6035:16: warning: cast between incompatible function types from ‘void (*)(struct Tk_Window_ *, char *, char *)’ to ‘void (*)(void *, XEvent *)’ [-Wcast-function-type]
> 6035 | (xcEventHandler)trackbox, NULL);
> | ^
> xcircuit.h:1126:67: note: in definition of macro ‘xcRemoveEventHandler’
> 1126 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e)
> | ^
> files.c: In function ‘libopen’:
> files.c:1254:32: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
> 1254 | sprintf(inname, "%s/%s", tmp_s, expname);
> | ^
> files.c:1254:10: note: ‘sprintf’ output 2 or more bytes (assuming 151) into a destination of size 150
> 1254 | sprintf(inname, "%s/%s", tmp_s, expname);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> files.c:1257:35: warning: ‘%s’ directive writing 4 bytes into a region of size between 0 and 149 [-Wformat-overflow=]
> 1257 | sprintf(inname, "%s/%s%s", tmp_s, expname, suffix);
> | ^~
> files.c:1257:13: note: ‘sprintf’ output 6 or more bytes (assuming 155) into a destination of size 150
> 1257 | sprintf(inname, "%s/%s%s", tmp_s, expname, suffix);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> files.c:1265:30: warning: ‘%s’ directive writing up to 149 bytes into a region of size 130 [-Wformat-overflow=]
> 1265 | sprintf(inname, "%s/%s", BUILTINS_DIR, expname);
> | ^~ ~~~~~~~
> files.c:1265:10: note: ‘sprintf’ output between 21 and 170 bytes into a destination of size 150
> 1265 | sprintf(inname, "%s/%s", BUILTINS_DIR, expname);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> files.c:1268:33: warning: ‘%s’ directive writing up to 149 bytes into a region of size 130 [-Wformat-overflow=]
> 1268 | sprintf(inname, "%s/%s%s", BUILTINS_DIR, expname, suffix);
> | ^~ ~~~~~~~
> files.c:1268:13: note: ‘sprintf’ output between 25 and 174 bytes into a destination of size 150
> 1268 | sprintf(inname, "%s/%s%s", BUILTINS_DIR, expname, suffix);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> events.c:6116:20: warning: cast between incompatible function types from ‘void (*)(struct Tk_Window_ *, char *, char *)’ to ‘void (*)(void *, XEvent *)’ [-Wcast-function-type]
> 6116 | (xcEventHandler)trackelement, NULL);
> | ^
> xcircuit.h:1126:67: note: in definition of macro ‘xcRemoveEventHandler’
> 1126 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e)
> | ^
> events.c:6214:16: warning: cast between incompatible function types from ‘void (*)(struct Tk_Window_ *, char *, char *)’ to ‘void (*)(void *, XEvent *)’ [-Wcast-function-type]
> 6214 | (xcEventHandler)trackarc, NULL);
> | ^
> xcircuit.h:1126:67: note: in definition of macro ‘xcRemoveEventHandler’
> 1126 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e)
> | ^
> files.c: In function ‘loadlibrary’:
> files.c:1725:28: warning: ‘%s’ directive writing up to 149 bytes into a region of size 144 [-Wformat-overflow=]
> 1725 | sprintf(temp, "fonts/%s", _STR);
> | ^~ ~~~~
> files.c:1725:7: note: ‘sprintf’ output between 7 and 156 bytes into a destination of size 150
> 1725 | sprintf(temp, "fonts/%s", _STR);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> files.c: In function ‘loadfile’:
> files.c:2412:28: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
> 2412 | sprintf(tpstr, "%d", page + 1);
> | ^
> files.c:2412:10: note: ‘sprintf’ output between 2 and 7 bytes into a destination of size 6
> 2412 | sprintf(tpstr, "%d", page + 1);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> files.c:2095:39: warning: ‘%s’ directive writing up to 149 bytes into a region of size 80 [-Wformat-overflow=]
> 2095 | sprintf(topobject->name, "%s", _STR);
> | ^~ ~~~~
> files.c:2095:13: note: ‘sprintf’ output between 1 and 150 bytes into a destination of size 80
> 2095 | sprintf(topobject->name, "%s", _STR);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> events.c:6304:21: warning: cast between incompatible function types from ‘void (*)(struct Tk_Window_ *, char *, char *)’ to ‘void (*)(void *, XEvent *)’ [-Wcast-function-type]
> 6304 | (xcEventHandler)trackelement, NULL);
> | ^
> xcircuit.h:1126:67: note: in definition of macro ‘xcRemoveEventHandler’
> 1126 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e)
> | ^
> events.c: In function ‘functiondispatch’:
> events.c:2181:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
> 2181 | if (areawin->topinstance == xobjs.libtop[LIBLIB]) break;
> | ^
> events.c:2182:7: note: here
> 2182 | case XCF_Move:
> | ^~~~
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.9\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=3.9 -DPROG_REVISION=73 -DCAD_DIR=\"/usr/lib/x86_64-linux-gnu\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib/x86_64-linux-gnu/xcircuit-3.9/app-defaults\" -DSCRIPTS_DIR=\"/usr/share/xcircuit\" -DBUILTINS_DIR=\"/usr/share/xcircuit\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/share/xcircuit\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include/tcl8.6 -I/usr/include/tcl8.6 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -g -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-pointer-sign -fPIC -c -o ngspice.o ngspice.c
> events.c: In function ‘printname’:
> events.c:4449:30: warning: ‘%d’ directive writing between 1 and 6 bytes into a region of size 5 [-Wformat-overflow=]
> 4449 | sprintf(pagestr, " (p. %d)", areawin->page + 1);
> | ^~
> events.c:4449:24: note: directive argument in the range [-32767, 32768]
> 4449 | sprintf(pagestr, " (p. %d)", areawin->page + 1);
> | ^~~~~~~~~~
> events.c:4449:7: note: ‘sprintf’ output between 8 and 13 bytes into a destination of size 10
> 4449 | sprintf(pagestr, " (p. %d)", areawin->page + 1);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> libraries.c: In function ‘copycat’:
> libraries.c:1432:39: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
> 1432 | sprintf((*newobj)->name, "_%s", oldobj->name);
> | ^
> libraries.c:1432:10: note: ‘sprintf’ output between 2 and 81 bytes into a destination of size 80
> 1432 | sprintf((*newobj)->name, "_%s", oldobj->name);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.9\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=3.9 -DPROG_REVISION=73 -DCAD_DIR=\"/usr/lib/x86_64-linux-gnu\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib/x86_64-linux-gnu/xcircuit-3.9/app-defaults\" -DSCRIPTS_DIR=\"/usr/share/xcircuit\" -DBUILTINS_DIR=\"/usr/share/xcircuit\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/share/xcircuit\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include/tcl8.6 -I/usr/include/tcl8.6 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -g -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-pointer-sign -fPIC -c -o render.o render.c
> cc1: some warnings being treated as errors
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.9\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=3.9 -DPROG_REVISION=73 -DCAD_DIR=\"/usr/lib/x86_64-linux-gnu\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib/x86_64-linux-gnu/xcircuit-3.9/app-defaults\" -DSCRIPTS_DIR=\"/usr/share/xcircuit\" -DBUILTINS_DIR=\"/usr/share/xcircuit\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/share/xcircuit\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include/tcl8.6 -I/usr/include/tcl8.6 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -g -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-pointer-sign -fPIC -c -o selection.o selection.c
> make[4]: *** [Makefile:548: functions.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/xcircuit_3.9.73+dfsg.1-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@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.
More information about the Pkg-electronics-devel
mailing list