Your message dated Fri, 12 Feb 2021 10:23:51 +0100
with message-id <20210212092351.za7cbjigvagbg...@fatal.se>
and subject line Re: bandwidthd: FTBFS with clang instead of gcc
has caused the Debian Bug report #757040,
regarding bandwidthd: FTBFS with clang instead of gcc
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
757040: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757040
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: bandwidthd
Severity: minor
Tags: patch
User: pkg-llvm-t...@lists.alioth.debian.org
Usertags: clang-ftbfs
Hello,
Using the rebuild infrastructure, your package fails to build with clang
(instead of gcc).
Detected this kind of error:
http://clang.debian.net/status.php?version=3.4.2&key=UNDEF_REF
Full build log is available here:
http://clang.debian.net/logs/2014-06-16/bandwidthd_2.0.1+cvs20090917-7_unstable_clang.log
Thanks,
Arthur
-- System Information:
Debian Release: jessie/sid (unstable)
Architecture: amd64 (x86_64)
Kernel: Linux 3.14-2-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE="en_US.UTF-8"
Shell: /bin/sh linked to /bin/dash
Compiler: Debian clang version 3.5.0-+rc1-2 (tags/RELEASE_35/rc1) (based on
LLVM 3.5.0)
diff -Naur bandwidthd.orig/bandwidthd-2.0.1+cvs20090917/debian/changelog bandwidthd/bandwidthd-2.0.1+cvs20090917/debian/changelog
--- bandwidthd.orig/bandwidthd-2.0.1+cvs20090917/debian/changelog 2014-08-04 14:52:35.551971243 -0500
+++ bandwidthd/bandwidthd-2.0.1+cvs20090917/debian/changelog 2014-08-04 14:58:56.311977874 -0500
@@ -1,3 +1,12 @@
+bandwidthd (2.0.1+cvs20090917-8) unstable; urgency=low
+
+ * Fix FTBFS with clang
+ - Fixed undefined reference error in
+ bandwidthd.c
+ bandwidthd.h
+
+ -- Arthur Marble <art...@info9.net> Mon, 04 Aug 2014 14:58:56 -0500
+
bandwidthd (2.0.1+cvs20090917-7) unstable; urgency=low
* Move php5-gd to Recommends and also recommend php5 (Closes: #717042)
diff -Naur bandwidthd.orig/bandwidthd-2.0.1+cvs20090917/debian/patches/clang-ftgfs.diff bandwidthd/bandwidthd-2.0.1+cvs20090917/debian/patches/clang-ftbfs.diff
--- bandwidthd.orig/bandwidthd-2.0.1+cvs20090917/debian/patches/clang-ftgfs.diff 1969-12-31 18:00:00.000000000 -0600
+++ bandwidthd/bandwidthd-2.0.1+cvs20090917/debian/patches/clang-ftbfs.diff 2014-08-04 14:55:39.835974452 -0500
@@ -0,0 +1,22 @@
+--- a/bandwidthd.h
++++ b/bandwidthd.h
+@@ -225,7 +225,7 @@ void RecoverDataFromCDF(void);
+ void MonitorSubnet(unsigned int ip, unsigned int mask);
+
+ // ************ This function converts and IP to a char string
+-char inline *HostIp2CharIp(unsigned long ipaddr, char *buffer);
++char *HostIp2CharIp(unsigned long ipaddr, char *buffer);
+
+ // ************ This function converts the numbers for each quad into an IP
+ inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4);
+--- a/bandwidthd.c
++++ b/bandwidthd.c
+@@ -1276,7 +1276,7 @@ inline struct IPData *FindIp(uint32_t ip
+
+ size_t ICGrandTotalDataPoints = 0;
+
+-char inline *HostIp2CharIp(unsigned long ipaddr, char *buffer)
++char *HostIp2CharIp(unsigned long ipaddr, char *buffer)
+ {
+ struct in_addr in_addr;
+ char *s;
diff -Naur bandwidthd.orig/bandwidthd-2.0.1+cvs20090917/debian/patches/series bandwidthd/bandwidthd-2.0.1+cvs20090917/debian/patches/series
--- bandwidthd.orig/bandwidthd-2.0.1+cvs20090917/debian/patches/series 2014-08-04 14:52:35.551971243 -0500
+++ bandwidthd/bandwidthd-2.0.1+cvs20090917/debian/patches/series 2014-08-04 14:53:03.831971735 -0500
@@ -9,3 +9,4 @@
0009-Make-HTML-output-valid-and-prevent-sql-injection-in-.patch
0010-Add-proper-script-header-and-use-for-loop-since-echo.patch
0011-Fetch-database-credentials-from-external-file.patch
+clang-ftbfs.diff
--- End Message ---
--- Begin Message ---
Version: 2.0.1+cvs20090917-8
Hello,
This should unless I'm mistaken been solved when
debian/patches/fix-gcc-5-ftbfs.patch
was added to the packaging.
I'm thus closing this now (better late than never, right?).
If there's still a problem, please feel free to reopen!
Regards,
Andreas Henriksson
--- End Message ---