Your message dated Mon, 17 Aug 2015 16:22:24 +0000
with message-id <[email protected]>
and subject line Bug#758453: fixed in libhdate 1.6-3
has caused the Debian Bug report #758453,
regarding 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.)


-- 
758453: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758453
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libhdate
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.5.0rc1&key=NOT_ALLOWED_HERE

Full build log is available here:
http://clang.debian.net/logs/2014-06-16/libhdate_1.6-2_unstable_clang.log

Thanks,
Alexander


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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
--- ./examples/hcal/local_functions.c	2014-08-17 02:58:52.000000000 +0400
+++ ../libhdate-1.6-my/./examples/hcal/local_functions.c	2014-08-17 02:56:20.866731431 +0400
@@ -646,62 +646,50 @@
 #include <sys/stat.h>
 #include <sys/types.h>		// for mkdir,
 
-/************************************************************
-* Open config file, or create one
-*  - returns filepointer or NULL
-*  - if file does not exist, attempt to create it
-************************************************************/
-FILE* get_config_file(	const char* config_dir_name,
-						const char* config_file_name,
-						const char* default_config_file_text )
-{
-	size_t path_len;
-
-	char* config_home_path_name = "";
-	char* config_sub_path_name = "";
-
-	char* config_dir_path;
-	char* config_file_path;
-
-	FILE* config_file;
 
 	/************************************************************
 	* sub-function to get_config_file: create_config_file
 	************************************************************/
-	void create_config_file()
+void create_config_file(FILE** config_file, char* config_file_path,
+                        const char* default_config_file_text, const char* config_file_name)
 	{
-		config_file = fopen(config_file_path, "a");
-		if (config_file == NULL)
+    *config_file = fopen(config_file_path, "a");
+    if (*config_file == NULL)
 		{
 			error(0, errno, "%s: %s", N_("failure attempting to create config file"), config_file_path);
 			return;
 		}
-		fprintf(config_file, "%s", default_config_file_text);
+    fprintf(*config_file, "%s", default_config_file_text);
 		error(0,0,"%s: %s",N_("config file created"), config_file_path);
-		if (fclose(config_file) != 0) error(0,errno,"%s %s",N_("failure closing"),config_file_name);
+    if (fclose(*config_file) != 0) error(0,errno,"%s %s",N_("failure closing"),config_file_name);
 	}
 
 	/************************************************************
 	* sub-function to get_config_file: open_config_file
 	************************************************************/
-	int open_config_file()
+int open_config_file(FILE** config_file, char* config_file_path,
+                     size_t *path_len, const char* config_home_path_name,
+                     const char* config_sub_path_name, const char* config_dir_name,
+                     const char* default_config_file_text, const char* config_file_name)
 	{
-		config_file = fopen(config_file_path, "r");
-		if (config_file == NULL)
+    char* config_dir_path;
+
+    *config_file = fopen(config_file_path, "r");
+    if (*config_file == NULL)
 		{
 			if (errno != ENOENT) return FALSE;
 			// maybe replace all this with a single line asprintf()
-			path_len = strlen(config_home_path_name)
+        *path_len = strlen(config_home_path_name)
 						+ strlen(config_sub_path_name)
 						+ strlen(config_dir_name) +1;
-			if (path_len < 1) return FALSE;
-			config_dir_path = malloc(path_len);
+        if (*path_len < 1) return FALSE;
+        config_dir_path = malloc(*path_len);
 			if (config_dir_path == NULL)
 			{
 				error(0,errno,"%s",N_("memory allocation failure"));
 				return FALSE;
 			}
-			snprintf(config_dir_path, path_len, "%s%s%s",
+        snprintf(config_dir_path, *path_len, "%s%s%s",
 					config_home_path_name, config_sub_path_name,
 					config_dir_name);
 	
@@ -712,13 +700,30 @@
 				return FALSE;
 			}
 			greetings_to_version_16();
-			create_config_file();
+        create_config_file(config_file, config_file_path, default_config_file_text, config_file_name);
 			free(config_dir_path);
 			return FALSE;
 		}
 		return TRUE;
 	}
 
+/************************************************************
+* Open config file, or create one
+*  - returns filepointer or NULL
+*  - if file does not exist, attempt to create it
+************************************************************/
+FILE* get_config_file(	const char* config_dir_name,
+						const char* config_file_name,
+						const char* default_config_file_text )
+{
+	size_t path_len;
+
+	char* config_home_path_name = "";
+	char* config_sub_path_name = "";
+
+	char* config_file_path;
+
+    FILE* config_file;
 
 /************************************************************
 * main part of function get_config_file
@@ -750,7 +755,9 @@
 			config_home_path_name, config_sub_path_name,
 			config_dir_name, config_file_name);
 
-	if (open_config_file() == TRUE)
+    if (open_config_file(&config_file, config_file_path, &path_len, config_home_path_name,
+                         config_sub_path_name, config_dir_name,
+                         default_config_file_text, config_file_name) == TRUE)
 	{
 		free(config_file_path);
 		return config_file;
--- ./examples/hcal/hcal.c	2014-08-17 02:58:52.000000000 +0400
+++ ../libhdate-1.6-my/./examples/hcal/hcal.c	2014-08-17 02:58:12.112759513 +0400
@@ -677,13 +677,6 @@
 }
 
 
-/**************************************************
-*  print column headings for days of weeks
-**************************************************/
-void print_header_dow_line_stdout( const int colorize )
-{
-	int column;
-
 	void print_dow_column( int column )
 	{
 		if (hdate_is_hebrew_locale())
@@ -701,6 +694,13 @@
 		if (column != 7) printf ("  ");
 	}
 
+/**************************************************
+*  print column headings for days of weeks
+**************************************************/
+void print_header_dow_line_stdout( const int colorize )
+{
+	int column;
+
 	if (colorize) colorize_element(ELEMENT_WEEKDAY_NAMES);
 	for (column = 1; column < 7; column++) print_dow_column(column);
 	if (colorize) colorize_element(ELEMENT_SHABBAT_NAME);
@@ -1149,27 +1149,15 @@
 
 
 
-/**************************************************
-*  print month table
-*************************************************/
-int print_calendar ( const int current_month, const int current_year, const option_list opt)
-{
-	hdate_struct h;
-	int calendar_line;
-	int max_calendar_lines = 4;
-	int previous_month, next_month;
-	int previous_year, next_year;
-	int jd_current_month, jd_previous_month, jd_next_month;
-
-	void how_many_calendar_lines( int month, int start_dow )
+void how_many_calendar_lines( int month, int start_dow, int *max_calendar_lines )
 	{
 		switch (month)
 		{
 		case  4:
 		case  6:
 		case  9:
-		case 11:	if (start_dow == 7) max_calendar_lines = 6;
-					else if (max_calendar_lines == 4) max_calendar_lines = 5;
+    case 11:	if (start_dow == 7) *max_calendar_lines = 6;
+                else if (*max_calendar_lines == 4) *max_calendar_lines = 5;
 					break;
 		case  1:
 		case  3:
@@ -1177,12 +1165,24 @@
 		case  7:
 		case  8:
 		case 10:
-		case 12:	if (start_dow > 5) max_calendar_lines = 6;
-					else if (max_calendar_lines == 4) max_calendar_lines = 5;
+    case 12:	if (start_dow > 5) *max_calendar_lines = 6;
+                else if (*max_calendar_lines == 4) *max_calendar_lines = 5;
 					break;
 		}
 	}
 
+/**************************************************
+*  print month table
+*************************************************/
+int print_calendar ( const int current_month, const int current_year, const option_list opt)
+{
+	hdate_struct h;
+	int calendar_line;
+	int max_calendar_lines = 4;
+	int previous_month, next_month;
+	int previous_year, next_year;
+	int jd_current_month, jd_previous_month, jd_next_month;
+
 	/*********************************************************
 	*  Preliminaries:
 	*  - Find the first sunday(s) of each calendar
@@ -1190,7 +1190,7 @@
 	*********************************************************/
 	hdate_set_gdate (&h, 1, current_month, current_year);
 	jd_current_month = h.hd_jd - h.hd_dw + 1;
-	how_many_calendar_lines( h.gd_mon, h.hd_dw );
+    how_many_calendar_lines( h.gd_mon, h.hd_dw, &max_calendar_lines );
 
 	/*********************************************************
 	*  three months, side-by-side
@@ -1212,7 +1212,7 @@
 		}
 		hdate_set_gdate (&h, 1, previous_month, previous_year);
 		jd_previous_month = h.hd_jd - h.hd_dw + 1;
-		how_many_calendar_lines( h.gd_mon, h.hd_dw );
+        how_many_calendar_lines( h.gd_mon, h.hd_dw, &max_calendar_lines );
 
 		/*********************************************************
 		*  next month
@@ -1229,7 +1229,7 @@
 		}
 		hdate_set_gdate (&h, 1, next_month, next_year);
 		jd_next_month = h.hd_jd - h.hd_dw + 1;
-		how_many_calendar_lines( h.gd_mon, h.hd_dw );
+        how_many_calendar_lines( h.gd_mon, h.hd_dw, &max_calendar_lines );
 	}
 
 

--- End Message ---
--- Begin Message ---
Source: libhdate
Source-Version: 1.6-3

We believe that the bug you reported is fixed in the latest version of
libhdate, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Lior Kaplan <[email protected]> (supplier of updated libhdate 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 17 Aug 2015 17:18:17 +0200
Source: libhdate
Binary: libhdate-dev python-hdate libhdate-perl libhdate1 hdate
Architecture: source amd64
Version: 1.6-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Hebrew Packaging Team 
<[email protected]>
Changed-By: Lior Kaplan <[email protected]>
Description:
 hdate      - Provides the hcal and hdate binaries that help use hebrew dates
 libhdate-dev - Provides a library that help use hebrew dates (development 
files)
 libhdate-perl - Provides a library that help use hebrew dates (perl bindings)
 libhdate1  - Provides a library that help use hebrew dates
 python-hdate - Provides a library that help use hebrew dates (python bindings)
Closes: 60005 758453
Changes:
 libhdate (1.6-3) unstable; urgency=medium
 .
   * Incorporate previous NMUs.
   * Fix FTBFS with clang instead of GCC (Closes: #758453).
     - Thanks Alexander Ovchinnikov.
   * Thanking Baruch Even for his work on this package (Closes: #60005).
Checksums-Sha1:
 b98ad77dcd31b1274321607d020eaa37d1b301b0 2240 libhdate_1.6-3.dsc
 49a1532cfc1ca5b215e35c10d8510ac4a74736a8 13868 libhdate_1.6-3.debian.tar.xz
 19a0e2839cad1a8241b1b251df7a77170dca68c5 45232 hdate_1.6-3_amd64.deb
 3ac63842082a5d52e449dcb560abe58f45dfd2ce 376536 libhdate-dev_1.6-3_amd64.deb
 ba4b60d37089410e8ea11b42e4d09af4ced3cb30 24536 libhdate-perl_1.6-3_amd64.deb
 5241f917c29d9150cb657ef54b00ff8a81402eb0 28036 libhdate1_1.6-3_amd64.deb
 50b02ee0ac854f5e86c21071af3264bc27f6a33d 25202 python-hdate_1.6-3_amd64.deb
Checksums-Sha256:
 167f1aab1054085a4e85aaef8078615926eb530333adb36e39e1a16b166cfcc2 2240 
libhdate_1.6-3.dsc
 a54e9cdb5ccb1b57774dc103501e277d64764b57791219f1853aa27073b1bbce 13868 
libhdate_1.6-3.debian.tar.xz
 18876bb95c9e32c4585b7d65031d854dd3453bd46bb58f068e2c08dca8a8ffdb 45232 
hdate_1.6-3_amd64.deb
 4ba138359efee4548fc9d48adf3e1d36aac1f3c6d76518ac18a794377b66629f 376536 
libhdate-dev_1.6-3_amd64.deb
 c08aed0821264ba0497d742903f0f106761a319a292fcf8721414d77cbb70fd3 24536 
libhdate-perl_1.6-3_amd64.deb
 6215428bab02e79c54b483f4225acfc688f2b31af8abf492361f6cfa1992b912 28036 
libhdate1_1.6-3_amd64.deb
 689be7fc54e49ded133e24c6fab011a63346d4e972a7d594ba73df61b363425a 25202 
python-hdate_1.6-3_amd64.deb
Files:
 63176f98fdec73a953abf5ef16c06e8b 2240 libdevel optional libhdate_1.6-3.dsc
 b4333ce1e768128a2e53d6f21da397c3 13868 libdevel optional 
libhdate_1.6-3.debian.tar.xz
 94f9983d2446513f9f3a199ad336929e 45232 utils optional hdate_1.6-3_amd64.deb
 4d44cd89779ae6c4e87a58d35f84ba9e 376536 libdevel optional 
libhdate-dev_1.6-3_amd64.deb
 4232bd6746d18506a6183c54412fadca 24536 perl optional 
libhdate-perl_1.6-3_amd64.deb
 1219e92c3948b209bf21fad61e144266 28036 libs optional libhdate1_1.6-3_amd64.deb
 be15716ef9854fbea4bd7a905ceecc17 25202 python optional 
python-hdate_1.6-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJV0gCMAAoJEAnalAi04USZfbgQAJNODaHijGVwIkPL4jvp8TgH
kNO2HJH9hnXMTUwn3XFZLqBclxTbfPUbRp/WTsEKDTlEU+urOk8AQSstHN+x4dVV
edSB/WbmT2bSf0jHbXqIQDckzv7Fi/t90BuH1xMphDbUnflxueP8cX6fGQ5hXz4D
DJKam8qj+CpbOMa3mmUyOtYTs5vxmpxhj+TkNVbbe0FMad/U7+x0dESVQeqMdMms
8CH/EDd/SX/iYZudBxFDZm30/NAe63/BPP0jhyX5I1ATw8mjW/i/6FFvuV49kAW0
/+RYdpoPif2ZkKN2A9Dc0WDPzeKkp52eWxEAVMQl2+m0fqYRVpICjqHeb2YgjnEe
eHyUU6AXT6UTj57sYohQVd2XWUmJaTRg06wS+t9okPJd1xjjuJ/+OZPKyktfd+6R
iXu1wpJIVHM07DUNWlNDczH3tTXx7skfbE5lXJTRvyw3+ZUd3EFRfvZyww3cAe9d
BjSf4ieTFJ45c/lYw1GFQXU9/kGOAZGypTj5Vb4ysApz8cAGCrnwdTCnWgP5/YA2
+hKRK1wXs4WC8sfgRD4GmCM/wfUZFuriL5M+3iW2OryIdnGlHWgI+yQLREEUI3pc
5nfMPBJMdCXH6iuZYM84g8NjcHU2REiSBUVuws17/yrGhJPPlcSR9qJyGG92qCcp
ua7zp0mj8nfFncqQ44qz
=lBwi
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to