Package: dsbltesters
Severity: minor
Tags: patch
User: [email protected]
Usertags: clang-ftbfs
Hello,
Using the rebuild infrastructure, your package fails to build with clang
(instead of gcc).
We detected this kinf of error:
http://clang.debian.net/status.php?version=3.4.2&key=CONFLICTING_TYPE
Full build log is available here:
http://clang.debian.net/logs/2014-06-16/dsbltesters_0.9.5-4_unstable_clang.log
Thanks,
Alexander
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- dsbltesters-0.9.5/httptest.c 2004-01-07 17:21:13.000000000 +0300
+++ dsbltesters-0.9.5-my/httptest.c 2014-07-01 23:55:38.590029309 +0400
@@ -38,7 +38,7 @@
"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
};
-char *getline(int fd) {
+char *custom_getline(int fd) {
static char buffer[4096];
static char line[4096];
static int bufpos = 0;
@@ -123,7 +123,7 @@
/* eat lines until we get the SMTP banner from the target host, unless we reach 20 lines in which case don't bother */
i = 0;
- while ((line = getline(fd)) != NULL && line[0] != '2' && i < 20) {
+ while ((line = custom_getline(fd)) != NULL && line[0] != '2' && i < 20) {
i++;
}
if (line == NULL || i == 20)
--- dsbltesters-0.9.5/relaytest.c 2004-01-06 22:25:21.000000000 +0300
+++ dsbltesters-0.9.5-my/relaytest.c 2014-07-01 23:56:00.889627229 +0400
@@ -76,7 +76,7 @@
}
}
-char *getline(int fd) {
+char *custom_getline(int fd) {
static char buffer[16384];
static char line[16384];
static int bufpos = 0;
@@ -109,7 +109,7 @@
char *line;
while (1) {
- line = getline(fd);
+ line = custom_getline(fd);
if (line == NULL) { /* eof */
connection_closed = 1;
return 9;
--- dsbltesters-0.9.5/socks4test.c 2002-06-11 16:34:30.000000000 +0400
+++ dsbltesters-0.9.5-my/socks4test.c 2014-07-01 23:56:19.385293078 +0400
@@ -48,7 +48,7 @@
char headers[4096];
-char *getline(int fd) {
+char *custom_getline(int fd) {
static char buffer[4096];
static char line[4096];
static int bufpos = 0;
@@ -79,7 +79,7 @@
char *line;
while (1) {
- line = getline(fd);
+ line = custom_getline(fd);
if (line == NULL) /* eof */
return 9;
if (strlen(line) >= 4 && line[3] == '-')
--- dsbltesters-0.9.5/socks5test.c 2002-06-11 16:34:30.000000000 +0400
+++ dsbltesters-0.9.5-my/socks5test.c 2014-07-01 23:56:36.540983721 +0400
@@ -56,7 +56,7 @@
char headers[4096];
-char *getline(int fd) {
+char *custom_getline(int fd) {
static char buffer[4096];
static char line[4096];
static int bufpos = 0;
@@ -87,7 +87,7 @@
char *line;
while (1) {
- line = getline(fd);
+ line = custom_getline(fd);
if (line == NULL) /* eof */
return 9;
if (strlen(line) >= 4 && line[3] == '-')
--- dsbltesters-0.9.5/auth-relaytest.c 2004-01-06 21:14:45.000000000 +0300
+++ dsbltesters-0.9.5-my/auth-relaytest.c 2014-07-01 23:56:50.320735123 +0400
@@ -45,7 +45,7 @@
static char *challenge;
static int verbose = 0;
-char *getline(int fd) {
+char *custom_getline(int fd) {
static char buffer[16384];
static char line[16384];
static int bufpos = 0;
@@ -78,7 +78,7 @@
char *line;
while (1) {
- line = getline(fd);
+ line = custom_getline(fd);
if (line == NULL) /* eof */
return 9;
if (verbose)