Your message dated Mon, 09 Jun 2014 11:03:52 +0000
with message-id <[email protected]>
and subject line Bug#750748: fixed in cpl-plugin-xshoo 2.4.6+dfsg-1
has caused the Debian Bug report #750748,
regarding cpl-plugin-xshoo FTBFS on testing for mips/mipsel 
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.)


-- 
750748: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750748
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cpl-plugin-xshoo
Version: 2.4.0+dfsg-1
Tags: sid patch
Severity: important
Justification: FTBFS
User: [email protected]
Usertags: mips-patch



While trying to build cpl-plugin-xshoo on mips/mipsel architecture,
build fails on testing with an error:

> =================================
> 3 of 79 tests failed
> Please report to [email protected]
> =================================
> make[4]: *** [check-TESTS] Error 1

Here are 3 tests that fails:
> FAIL: test_xsh_detect_continuum 
> FAIL: test_xsh_flux_conservation
> FAIL: test_xsh_correl_gaussians

Tests test_xsh_detect_continuum and test_xsh_flux_conservation,
fails with an error:

> [ INFO  ] Test-XSH_DETECT_CONTINUUM: detect_continuum
> [ INFO  ] Test-XSH_DETECT_CONTINUUM:    recipe_id: xsh_orderpos
> [ INFO  ] Test-XSH_DETECT_CONTINUUM: Create Order List with 3 orders
> [ INFO  ] Test-XSH_DETECT_CONTINUUM: Create polynomials of degree 2
> [ INFO  ] Test-XSH_DETECT_CONTINUUM: Add to order list
> [ INFO  ] Test-XSH_DETECT_CONTINUUM: config update 0
> [ INFO  ] Test-XSH_DETECT_CONTINUUM:   pre_overscan=0
> [ INFO  ] Test-XSH_DETECT_CONTINUUM: Saving PRE image "dtc_img_pre.fits"
> [ ERROR ] Test-XSH_DETECT_CONTINUUM: An error occurred, dumping error trace:
> [ ERROR ] Test-XSH_DETECT_CONTINUUM:  
> [ ERROR ] Test-XSH_DETECT_CONTINUUM: Illegal output
> [ ERROR ] Test-XSH_DETECT_CONTINUUM:  in [3]cpl_table_new_column() at 
> cpl_table.c:1161
> [ ERROR ] Test-XSH_DETECT_CONTINUUM:  
> [ ERROR ] Test-XSH_DETECT_CONTINUUM: Illegal output
> [ ERROR ] Test-XSH_DETECT_CONTINUUM:  in [2]xsh_order_list_save() at 
> xsh_data_order.c:841
> [ ERROR ] Test-XSH_DETECT_CONTINUUM:  
> [ ERROR ] Test-XSH_DETECT_CONTINUUM: Illegal output
> [ ERROR ] Test-XSH_DETECT_CONTINUUM:  in [1]main() at 
> test-xsh_detect_continuum.c:200
> [ ERROR ] Test-XSH_DETECT_CONTINUUM:  


The reason for this behaviour is incorrect usage of sprintf function,
in file xsh/xsh_data_order.c.
Test test_xsh_correl_gaussians fails because of uninitialized variable norm,
in file tests/test-xsh_correl_gaussians.c.

Patch adapt-sprintf-usage.patch contains previously described changes.
With these changes I was able to successfully build cpl-plugin-xshoo 
for mips and mipsel.

On armel, armhf and powerpc build also fails on
test_xsh_detect_continuum and test_xsh_flux_conservation tests,
so I believe that this patch could resolve issues for these archs as well.


Could you please consider including this patch?


Best Regards,
Dejan
diff -ur cpl-plugin-xshoo-2.4.0+dfsg.orig/xsh/tests/test-xsh_correl_gaussians.c cpl-plugin-xshoo-2.4.0+dfsg/xsh/tests/test-xsh_correl_gaussians.c
--- cpl-plugin-xshoo-2.4.0+dfsg.orig/xsh/tests/test-xsh_correl_gaussians.c	2014-03-02 15:19:52.000000000 +0000
+++ cpl-plugin-xshoo-2.4.0+dfsg/xsh/tests/test-xsh_correl_gaussians.c	2014-06-06 08:46:07.000000000 +0000
@@ -313,7 +313,7 @@
   //double   mean_i, double   mean_t ;
   //double   rms_i, rms_t ;
   //double   sum, sqsum ;
-  double   norm ;
+  double   norm=0;
   int      maxpos ;
   int      nsteps ;
   int      i ;
diff -ur cpl-plugin-xshoo-2.4.0+dfsg.orig/xsh/xsh_data_order.c cpl-plugin-xshoo-2.4.0+dfsg/xsh/xsh_data_order.c
--- cpl-plugin-xshoo-2.4.0+dfsg.orig/xsh/xsh_data_order.c	2012-12-09 15:13:56.000000000 +0000
+++ cpl-plugin-xshoo-2.4.0+dfsg/xsh/xsh_data_order.c	2014-06-06 08:43:14.000000000 +0000
@@ -240,23 +240,23 @@
       char colname[32] ;
       float coef ;
 
-      sprintf( colname, "%s%d", XSH_ORDER_TABLE_COLNAME_CENTER, k ) ;
+      sprintf( colname, "%s%lld", XSH_ORDER_TABLE_COLNAME_CENTER, k ) ;
       check(xsh_get_table_value(table, colname, CPL_TYPE_FLOAT, i, &coef));
       check(cpl_polynomial_set_coeff(result->list[i].cenpoly,
 				     &k,coef));
 
-      sprintf( colname, "%s%d", XSH_ORDER_TABLE_COLNAME_EDGLO, k ) ;
+      sprintf( colname, "%s%lld", XSH_ORDER_TABLE_COLNAME_EDGLO, k ) ;
       check(xsh_get_table_value(table, colname, CPL_TYPE_FLOAT, i, &coef));
       check(cpl_polynomial_set_coeff(result->list[i].edglopoly,
 				     &k,coef));
 
-      sprintf( colname, "%s%d", XSH_ORDER_TABLE_COLNAME_EDGUP, k ) ;
+      sprintf( colname, "%s%lld", XSH_ORDER_TABLE_COLNAME_EDGUP, k ) ;
       check(xsh_get_table_value(table, colname, CPL_TYPE_FLOAT, i, &coef));
       check(cpl_polynomial_set_coeff(result->list[i].edguppoly,
 				     &k,coef));
 
       /* Compatibility with old order table (had only SLIT) */
-      sprintf( colname, "%s%d", XSH_ORDER_TABLE_COLNAME_SLICUP, k ) ;
+      sprintf( colname, "%s%lld", XSH_ORDER_TABLE_COLNAME_SLICUP, k ) ;
       if ( cpl_table_has_column( table, colname ) == 1 ) {
 	check(xsh_get_table_value(table, colname, CPL_TYPE_FLOAT, i, &coef));
 	check(cpl_polynomial_set_coeff(result->list[i].slicuppoly,
@@ -265,7 +265,7 @@
       else check(cpl_polynomial_set_coeff(result->list[i].slicuppoly,
 					  &k, 0.));
 
-      sprintf( colname, "%s%d", XSH_ORDER_TABLE_COLNAME_SLICLO, k ) ;
+      sprintf( colname, "%s%lld", XSH_ORDER_TABLE_COLNAME_SLICLO, k ) ;
       if ( cpl_table_has_column( table, colname ) == 1 ) {
 	check(xsh_get_table_value(table, colname, CPL_TYPE_FLOAT, i, &coef));
 	check(cpl_polynomial_set_coeff(result->list[i].sliclopoly,
@@ -836,21 +836,21 @@
   /* Create as many column as needed, according to the polynomial degree */
   for( k = 0 ; k<= pol_degree ; k++ ) {
 
-    sprintf( colname, "%s%d", XSH_ORDER_TABLE_COLNAME_CENTER, k ) ;
+    sprintf( colname, "%s%lld", XSH_ORDER_TABLE_COLNAME_CENTER, k ) ;
     check(
 	  cpl_table_new_column(table, colname, CPL_TYPE_FLOAT));
-    sprintf( colname, "%s%d", XSH_ORDER_TABLE_COLNAME_EDGUP, k ) ;
+    sprintf( colname, "%s%lld", XSH_ORDER_TABLE_COLNAME_EDGUP, k ) ;
     check(
 	  cpl_table_new_column(table, colname, CPL_TYPE_FLOAT));
-    sprintf( colname, "%s%d", XSH_ORDER_TABLE_COLNAME_EDGLO, k ) ;
+    sprintf( colname, "%s%lld", XSH_ORDER_TABLE_COLNAME_EDGLO, k ) ;
     check(
 	  cpl_table_new_column(table, colname, CPL_TYPE_FLOAT));
 
-    sprintf( colname, "%s%d", XSH_ORDER_TABLE_COLNAME_SLICUP, k ) ;
+    sprintf( colname, "%s%lld", XSH_ORDER_TABLE_COLNAME_SLICUP, k ) ;
     check(
 	  cpl_table_new_column(table, colname, CPL_TYPE_FLOAT));
 
-    sprintf( colname, "%s%d", XSH_ORDER_TABLE_COLNAME_SLICLO, k ) ;
+    sprintf( colname, "%s%lld", XSH_ORDER_TABLE_COLNAME_SLICLO, k ) ;
     check(
 	  cpl_table_new_column(table, colname, CPL_TYPE_FLOAT));
   }
@@ -881,7 +881,7 @@
 
       /* Get and Write coef from center polynomial */
       check(coef = cpl_polynomial_get_coeff(order_list->list[i].cenpoly,&k));
-      sprintf( colname, "%s%d", XSH_ORDER_TABLE_COLNAME_CENTER, k ) ;
+      sprintf( colname, "%s%lld", XSH_ORDER_TABLE_COLNAME_CENTER, k ) ;
       check(cpl_table_set(table, colname,i,coef));
 
       /* Get and Write coef from upper polynomial */
@@ -889,7 +889,7 @@
         check(coef = cpl_polynomial_get_coeff(order_list->list[i].edguppoly,&k));
       }
       else coef = 0.0 ;
-      sprintf( colname, "%s%d", XSH_ORDER_TABLE_COLNAME_EDGUP, k ) ;
+      sprintf( colname, "%s%lld", XSH_ORDER_TABLE_COLNAME_EDGUP, k ) ;
       check(cpl_table_set(table, colname,i,coef));
 
       /* Get and Write coef from lower polynomial */
@@ -897,7 +897,7 @@
         check(coef = cpl_polynomial_get_coeff(order_list->list[i].edglopoly,&k));
       }
       else coef = 0.0;
-      sprintf( colname, "%s%d", XSH_ORDER_TABLE_COLNAME_EDGLO, k ) ;
+      sprintf( colname, "%s%lld", XSH_ORDER_TABLE_COLNAME_EDGLO, k ) ;
       check(cpl_table_set(table, colname,i,coef));
 
     /* Get and Write coef from slic lower polynomial */
@@ -905,7 +905,7 @@
 	check(coef = cpl_polynomial_get_coeff(order_list->list[i].sliclopoly,&k));
       }
       else coef = 0.0 ;
-      sprintf( colname, "%s%d", XSH_ORDER_TABLE_COLNAME_SLICLO, k ) ;
+      sprintf( colname, "%s%lld", XSH_ORDER_TABLE_COLNAME_SLICLO, k ) ;
       check(cpl_table_set(table, colname, i, coef));
 
     /* Get and Write coef from slic upper polynomial */
@@ -913,7 +913,7 @@
 	check(coef = cpl_polynomial_get_coeff(order_list->list[i].slicuppoly,&k));
       }
       else coef = 0.0 ;
-      sprintf( colname, "%s%d", XSH_ORDER_TABLE_COLNAME_SLICUP, k ) ;
+      sprintf( colname, "%s%lld", XSH_ORDER_TABLE_COLNAME_SLICUP, k ) ;
       check(cpl_table_set(table, colname, i, coef));
 
     }

--- End Message ---
--- Begin Message ---
Source: cpl-plugin-xshoo
Source-Version: 2.4.6+dfsg-1

We believe that the bug you reported is fixed in the latest version of
cpl-plugin-xshoo, 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.
Ole Streicher <[email protected]> (supplier of updated cpl-plugin-xshoo 
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: SHA1

Format: 1.8
Date: Mon, 09 Jun 2014 12:30:43 +0200
Source: cpl-plugin-xshoo
Binary: cpl-plugin-xshoo cpl-plugin-xshoo-doc cpl-plugin-xshoo-calib
Architecture: source all amd64
Version: 2.4.6+dfsg-1
Distribution: unstable
Urgency: low
Maintainer: Debian Astronomy Maintainers 
<[email protected]>
Changed-By: Ole Streicher <[email protected]>
Description:
 cpl-plugin-xshoo - ESO data reduction pipeline for XSHOOTER
 cpl-plugin-xshoo-calib - ESO data reduction pipeline calibration data 
downloader for XSHOO
 cpl-plugin-xshoo-doc - ESO data reduction pipeline documentation for XSHOOTER
Closes: 748196 750748
Changes:
 cpl-plugin-xshoo (2.4.6+dfsg-1) unstable; urgency=low
 .
   * New upstream version. Closes: #748196
   * Correct usage of sprintf. Closes: #750748
Checksums-Sha1:
 6226df87d94cc61ba623c482203b3117a22059d8 2357 cpl-plugin-xshoo_2.4.6+dfsg-1.dsc
 d2e0da6bd870dc553bd447ad352005a009ef1d93 1144632 
cpl-plugin-xshoo_2.4.6+dfsg.orig.tar.xz
 6771225af12fb2e06cf91e4991a1bcb3bba1f4c4 10504 
cpl-plugin-xshoo_2.4.6+dfsg-1.debian.tar.xz
 594f1652aa29ae3b5cdad7dff84aeafc06de1145 216474 
cpl-plugin-xshoo-doc_2.4.6+dfsg-1_all.deb
 f2a49fe1940c7c122aeb9d9fb628594f8c8d8fc9 62280 
cpl-plugin-xshoo-calib_2.4.6+dfsg-1_all.deb
 504ce257612a133c9a83255dceb1bf9b52627d01 987406 
cpl-plugin-xshoo_2.4.6+dfsg-1_amd64.deb
Checksums-Sha256:
 4db22d14c0670c88a4340adb2529512f5b7fc865de7bd4f9a32fa0048df55a51 2357 
cpl-plugin-xshoo_2.4.6+dfsg-1.dsc
 edecf89c0429ba8fa1530d544b2c05b24107cf84348f429bd0d25a385b61e125 1144632 
cpl-plugin-xshoo_2.4.6+dfsg.orig.tar.xz
 ea6a629d36aac73787ed67bc8d0111a4e7decb65340a12a37567743c3253f59c 10504 
cpl-plugin-xshoo_2.4.6+dfsg-1.debian.tar.xz
 5c34e1f77073cae0157e617d77a2bff329fa55d455672d2a459e3f3f5bfe1f3d 216474 
cpl-plugin-xshoo-doc_2.4.6+dfsg-1_all.deb
 6f0084bb0d60d237dacd37b553002cae48165eb88472a4852ab0ea95690d9f0f 62280 
cpl-plugin-xshoo-calib_2.4.6+dfsg-1_all.deb
 354d653a2cf8c12e35bdf62bd921c816d75eb956a96ee553cff89f9a9591ad74 987406 
cpl-plugin-xshoo_2.4.6+dfsg-1_amd64.deb
Files:
 1a4a0df891fb75936a8b3bbedc2ed84e 216474 doc optional 
cpl-plugin-xshoo-doc_2.4.6+dfsg-1_all.deb
 f9a5f68e15a68d402bcdc20b3ab8cd51 62280 contrib/science optional 
cpl-plugin-xshoo-calib_2.4.6+dfsg-1_all.deb
 17ad01c9d630fb0bfc359816830726f5 987406 science optional 
cpl-plugin-xshoo_2.4.6+dfsg-1_amd64.deb
 b4f8650ff72a50b41a805595b62d2408 2357 science optional 
cpl-plugin-xshoo_2.4.6+dfsg-1.dsc
 d7a726e9c8921087801e16856f72a344 1144632 science optional 
cpl-plugin-xshoo_2.4.6+dfsg.orig.tar.xz
 7aba86a6793b207e5183030998f176e0 10504 science optional 
cpl-plugin-xshoo_2.4.6+dfsg-1.debian.tar.xz

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

iQIcBAEBAgAGBQJTlY9JAAoJEHEVr9B3ENz3PCcP/1TTmYNZSaOYPPSZFJHsIjt0
t53YPxiAcT8TCl4Q1xQDSflI5Ev/OgHcj7Le1G4hDNYFIZ1FBgrMduifST5TCixL
AWfMJWqPb5NOAdBSec37+3NSL0FT91uW1x+EyCoC5h4TAKfXyJexbkRcKXJBubme
M9BGjx4mRVAgR2juaoh/BHd/fzYO2/he56eC8jTsZh5zNnBPu+vftV3O7cP/GUZ/
zbvD69LmhjZnxYuvbiTw+zJlC3QDnOaUBUcfyJF9be/IykGKwYjxu/ucChELEPIk
I3Qqr3joo+OWV1bnlbjk4ESZOz2NGfEn5J6m1jDo7SgMya91WNjek5vGoDOtz7Jh
/ThdUoutwE+3J85X4DfED88bacqL/3xNNFNLBhCexMF2s1o2ydcbwqVjksYoAq9R
TKchlAtN2kbD227YaA0CyU93Kg81EhX/2uYPYEUvjxNViO7U7Os3u5xRaCicUtZY
45zlkXEkh3/GD5sm3DZ5zGIzlvS5L/TDQakcgVFohKrPFvE+W9f+KLgCzfRHargi
ixhjAoKXCsw6d72tWfFApWTaj/pCJxAdQ8QwLnQbD4FT3IqIjZaV5qvTdW3T9mfj
7e9PhPzlSfcRUvj6ul/QPIvcRngokrHMm3y+vacuF/B/BfjUHzdlitUAgMeVZM36
D7rmvZyOH19SJMi5NDcc
=to8a
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to