Package: openocd Version: 0.8.0-4 Severity: normal Hello!
Recently, the Debian sh4 port has been brought back to live. This means, that many packages are now being rebuilt on this architecture for the first time in 12-24 months. Because of this long time span with no new packages being built, some regressions regarding sh4 managed to slip into some packages resulting in many of them failing to build from source. This affects openocd as well which fails to build from source with the following errors about register variables being redefined: libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -I../../../src -I../../../src/helper -DPKGDATADIR=\"/usr/share/openocd\" -DBINDIR=\"/usr/bin\" -I../../../jimtcl -I../../../jimtcl -I../../../src/jtag/drivers -isystem /usr/include/libusb-1.0 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wall -Wstrict-prototypes -Wformat-security -Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -c aice_usb.c -o aice_usb.o In file included from /usr/include/signal.h:352:0, from /usr/include/sh4-linux-gnu/sys/param.h:28, from ../../../src/helper/system.h:77, from ../../../config.h:345, from aice_usb.c:21: ../../../src/target/nds32_reg.h:27:2: error: redeclaration of enumerator 'R0' R0 = 0, /* general registers */ ^ /usr/include/sh4-linux-gnu/sys/ucontext.h:43:3: note: previous definition of 'R0' was here R0 = 0, ^ ../../../src/target/nds32_reg.h:28:2: error: redeclaration of enumerator 'R1' R1, ^ The full build log can be found here: > http://buildd.debian-ports.org/status/fetch.php?pkg=openocd&arch=sh4&ver=0.8.0-4&stamp=1422336129 Version 0.7.0-2 previously built fine: > http://buildd.debian-ports.org/status/fetch.php?pkg=openocd&arch=sh4&ver=0.7.0-2&stamp=1375645475 My suspicion is that this is a regression that came with the newer version of glibc. Cheers, Adrian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org