[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#753058: marked as done (altermime: FTBFS with clang instead of gcc)



Your message dated Mon, 28 Aug 2017 21:04:44 +0000
with message-id <E1dmRDA-0009av-7P@fasolo.debian.org>
and subject line Bug#753058: fixed in altermime 0.3.10-9
has caused the Debian Bug report #753058,
regarding altermime: 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 owner@bugs.debian.org
immediately.)


-- 
753058: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753058
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: altermime
Severity: minor
Tags: patch
User: pkg-llvm-team@lists.alioth.debian.org
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=SOMETIMES_UNINITIALIZED

Full build log is available here:
http://clang.debian.net/logs/2014-06-16/altermime_0.3.10-7_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
--- altermime-0.3.10/mime_alter.c	2014-06-29 00:18:11.000000000 +0400
+++ altermime-0.3.10-my/mime_alter.c	2014-06-29 00:12:24.786227747 +0400
@@ -687,7 +687,7 @@
 char *AM_adapt_linebreak( char *in, char *lb ) {
 
 	char safe[]="\r\n";
-	char *newblock;
+	char *newblock = NULL;
 
 
 	if (in == NULL) return NULL;
--- altermime-0.3.10/ffget.c	2008-11-16 11:45:45.000000000 +0300
+++ altermime-0.3.10-my/ffget.c	2014-06-29 00:15:17.943226347 +0400
@@ -550,7 +550,7 @@
 				// if we have another \r after it, in which case, we
 				// turn on SINGLE_DELIMETER_MODE.
 
-				if ( (*crlfpos == '\r') )
+				if ( *(crlfpos) == '\r' )
 				{
 					f->linebreak = FFGET_LINEBREAK_CR;
 					snprintf(f->lastbreak,sizeof(f->lastbreak),"\r");
--- altermime-0.3.10/qpe.c	2014-06-29 00:18:11.000000000 +0400
+++ altermime-0.3.10-my/qpe.c	2014-06-29 00:17:29.564919920 +0400
@@ -97,7 +97,7 @@
 				op+= strlen(paragraph);// +3; /** jump the output + =\r\n **/
 				out_remaining-= (strlen(paragraph)); // Was +3, updated to fix Outlook problems
 
-				QPD fprintf(stdout, "Soft break (%Zd + %d > 76 char) for '%s'\n", current_line_length, charout_size, paragraph);
+				QPD fprintf(stdout, "Soft break (%zd + %d > 76 char) for '%s'\n", current_line_length, charout_size, paragraph);
 				
 				/** reinitialize the paragraph **/
 				paragraph[0] = '\0';
@@ -108,7 +108,7 @@
 			}
 
 			snprintf(pp, pp_remaining, "%s", charout);
-			QPD fprintf(stdout,"charout='%s', size=%d, pp_remain=%Zd result='%s'\n", charout, charout_size, pp_remaining, paragraph);
+			QPD fprintf(stdout,"charout='%s', size=%d, pp_remain=%zd result='%s'\n", charout, charout_size, pp_remaining, paragraph);
 			pp += charout_size;
 			pp_remaining -= charout_size;
 			p++;
@@ -149,13 +149,13 @@
 	out_size = in_size *3;
 	in_buffer = malloc( sizeof(char) *in_size +1);
 	if (in_buffer == NULL) {
-		QPD fprintf(stdout,"Error allocating %Zd bytes for input buffer\n", in_size);
+		QPD fprintf(stdout,"Error allocating %zd bytes for input buffer\n", in_size);
 		return -1;
 	}
 
 	out_buffer = malloc( sizeof(char) *out_size *3 +1);
 	if (in_buffer == NULL) {
-		QPD fprintf(stdout,"Error allocating %Zd bytes for output buffer\n", out_size);
+		QPD fprintf(stdout,"Error allocating %zd bytes for output buffer\n", out_size);
 		return -1;
 	}
 
@@ -169,7 +169,7 @@
 	  ** we segfault ;)  **/
 	*(in_buffer +in_size) = '\0';
 
-	QPD fprintf(stdout,"file %s is loaded, size = %Zd\n", fname, in_size);
+	QPD fprintf(stdout,"file %s is loaded, size = %zd\n", fname, in_size);
 
 	qp_encode( out_buffer, out_size, in_buffer, in_size );
 

--- End Message ---
--- Begin Message ---
Source: altermime
Source-Version: 0.3.10-9

We believe that the bug you reported is fixed in the latest version of
altermime, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 753058@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Helmut Grohne <helmut@subdivi.de> (supplier of updated altermime package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 28 Aug 2017 21:38:52 +0200
Source: altermime
Binary: altermime
Architecture: source
Version: 0.3.10-9
Distribution: sid
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Helmut Grohne <helmut@subdivi.de>
Description:
 altermime  - utility used to alter mime-encoded mailpacks
Closes: 753058 812230 853309
Changes:
 altermime (0.3.10-9) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTBFS with clang: 35_clang.diff  (Closes: #753058)
   * Fix FTCBFS: Pass cross compiler to the Makefile. (Closes: #812230)
   * Fix FTBFS with gcc-7: 40_ftbfs_with_gcc_7.diff and
     -Wno-error=format-truncation (Closes: #853309)
Checksums-Sha1:
 2a68a52d841444e3db353a457d15f1ff01b9928d 1864 altermime_0.3.10-9.dsc
 5be921dd91bcf5c00a34706c5a72dec49c99922d 13204 altermime_0.3.10-9.debian.tar.xz
 4280df49a68c61a35819ec155978eaed10d636c6 5414 altermime_0.3.10-9_amd64.buildinfo
Checksums-Sha256:
 be601e02ca20503b64622f1e86229dabca4682cd8f186f5d52dbb06fc2284ae6 1864 altermime_0.3.10-9.dsc
 b2c365c77eb0ceb635d36d208115894d1929611bfb2246f4ac6a94327f40e5c3 13204 altermime_0.3.10-9.debian.tar.xz
 747c635283c7b1ca58c98d7f5da90791a2aa20923ed224014124cb10c150abf9 5414 altermime_0.3.10-9_amd64.buildinfo
Files:
 f7db71a23fd95066693c1d66ec8d8895 1864 mail optional altermime_0.3.10-9.dsc
 3028301375e6b5cab22f2edbeee081c6 13204 mail optional altermime_0.3.10-9.debian.tar.xz
 ba0f89fd84657a5d72e7b4a2eb182db5 5414 mail optional altermime_0.3.10-9_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETMLS2QqNFlTb+HOqLRqqzyREREIFAlmkcbYACgkQLRqqzyRE
REI96hAAqOebNuwtV8AAACd+0ZdnlV7ffycRw2woP+Wc9oJJypHfVCd32+kZiKhF
ADjkSFOhTGhbLi+gsZzhAsupK2OnYiuL9/6IOqy3AypmHsP7HL614BUsc8sG9HdF
OmOOGwhj39nzrGV44iR3qN+jmG5w+PnCdVKgGQHvzy6FvTnm1ezqT7sKpGkVnW7A
QDnnQEkd4WnKCGGlqjkubn8NFBBJEUYNT/UW+oGufXzxcIdSoFMuYlWrmTuVxOg7
ArcJsXWwE2GGnMD0CN2CYpN0aKFmp8yc6mjg1NeMG+79pnUEn5mwY+8ySyD6Vqpo
YL4y6FJIiHmqsGqYED16Mu38nGfax1CNnaBr5dwAgXC33KFFzZyBj9Zjwi4a7dve
dUyjjVxtmvkweKn3QSwSdkRB3fpSYz7LDfgtpJAYbuzdUh//LW/cziDZTk7xyqxY
PkPytg1XmxweXLT+yX4YtEdxVctb0KrOevymjMWpmmp2o3qJM5zsHRRGSae8DYih
+2S8/QsFtMZddHPXr0bflq89DJ0gbGSXv/mkLDwosL41ejUag4FLlq83iMkTOdCp
mCit+6a+SNf6CP36mmY2GW7T5PBk6q3iYhO8MPfJEUHTg1ouAN4JpRNWCEqhWaFf
+K3MGwIxknPYOTFT5PemJn/NWDYwhXgMf0z/CPfTJ2QmFC+E/GA=
=OjzY
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: