Your message dated Sun, 26 Jan 2020 20:35:09 +0100
with message-id <[email protected]>
and subject line Re: mawk: FTBFS with clang instead of gcc
has caused the Debian Bug report #787077,
regarding mawk: 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 [email protected]
immediately.)


-- 
787077: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787077
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mawk
Version: 1.3.3-17
Severity: minor


Dear Maintainer,

Hello,

Using the rebuild infrastructure, your package fails to build with clang 
instead of gcc.

Error message is:
print.c:85:11: error: expected parameter declarator

Full build log is available here:
http://clang.debian.net/logs/2015-03-25/mawk_1.3.3-17_unstable_clang.log

Thanks,
Joseph

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.4-2-ARCH (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u mawk-1.3.3/debian/patches/series mawk-1.3.3/debian/patches/series
--- mawk-1.3.3/debian/patches/series
+++ mawk-1.3.3/debian/patches/series
@@ -1,3 +1,4 @@
+clang_build.patch
 01_error-on-full-fs
 02_fix-examples
 03_read-and-close-redefinition
only in patch2:
unchanged:
--- mawk-1.3.3.orig/debian/patches/clang_build.patch
+++ mawk-1.3.3/debian/patches/clang_build.patch
@@ -0,0 +1,18 @@
+--- a/print.c
++++ b/print.c
+@@ -81,12 +81,15 @@
+    but we need them here and sometimes they are missing
+ */
+ 
++#if __clang__ != 1
++/* when build with clang, redeclaration of these prototyping will cause problem */
+ #ifdef NO_FPRINTF_IN_STDIO
+ int PROTO(fprintf, (FILE *, const char *,...)) ;
+ #endif
+ #ifdef NO_SPRINTF_IN_STDIO
+ int PROTO(sprintf, (char *, const char *,...)) ;
+ #endif
++#endif
+ 
+ /* this can be moved and enlarged  by -W sprintf=num  */
+ char *sprintf_buff = string_buff ;

--- End Message ---
--- Begin Message ---
Version: 1.3.4.20200120-1~exp1

Hello,

The code in the previously supplied patch no longer exists in the latest
upstream snapshot currently packaged in experimental.
The CHANGES files seems to also indicate upstream mawk has received
attention related to clang fixups, so I'm going to assume this issue
is fixed in the new upstream release.
Please feel free to reopen and describe the current status if you
find the problem is not fixed in the new version.

Regards,
Andreas Henriksson

--- End Message ---

Reply via email to