Bug#922579: FTBFS against opencv 4.0.1 (exp)

2022-10-28 Thread Bo YU
Source: freeture
Version: 1.3.0-1
Followup-For: Bug #922579

Dear Maintainer,

I have tried to build it with switching to opencv4, but it fails.

The searon failed is not only opencv4's api incompatibility, but also
aravis need to upgrade from 0.6 to 0.8, this also leads to the api
incompatibility.

```
In file included from /usr/include/aravis-0.8/arv.h:31,
 from CameraGigeAravis.h:51,
 from CameraGigeAravis.cpp:38:
/usr/include/aravis-0.8/arvcamera.h:45:25: note: declared here
   45 | ARV_API ArvCamera * arv_camera_new  (const char 
*name, GError **error);
  | ^~
CameraGigeAravis.cpp: In member function ‘virtual bool 
CameraGigeAravis::setSize(int, int, int, int, bool)’:
CameraGigeAravis.cpp:169:34: error: too few arguments to function ‘void 
arv_camera_set_region(ArvCamera*, gint, gint, gint, gint, GError**)’
  169 | arv_camera_set_region(camera, startx, starty, width, 
height);
  | ~^~~
/usr/include/aravis-0.8/arvcamera.h:63:25: note: declared here
   63 | ARV_API voidarv_camera_set_region   
(ArvCamera *camera, gint x, gint y, gint width, gint height, GError **error);
  | ^
CameraGigeAravis.cpp:170:35: error: too few arguments to function ‘void 
arv_camera_get_region(ArvCamera*, gint*, gint*, gint*, gint*, GError**)’
  170 | arv_camera_get_region (camera, &mStartX, &mStartY, &mWidth, 
&mHeight);
  | 
~~^~~
/usr/include/aravis-0.8/arvcamera.h:64:25: note: declared here
   64 | ARV_API voidarv_camera_get_region   
(ArvCamera *camera, gint *x, gint *y, gint *width, gint *height, GError 
**error);
  | ^
CameraGigeAravis.cpp:183:39: error: too few arguments to function ‘void 
arv_camera_get_sensor_size(ArvCamera*, gint*, gint*, GError**)’
  183 | arv_camera_get_sensor_size(camera, &sensor_width, 
&sensor_height);
  | 
~~^~~
/usr/include/aravis-0.8/arvcamera.h:62:25: note: declared here
   62 | ARV_API voidarv_camera_get_sensor_size  
(ArvCamera *camera, gint *width, gint *height, GError **error);
  | ^~
CameraGigeAravis.cpp:186:34: error: too few arguments to function ‘void 
arv_camera_set_region(ArvCamera*, gint, gint, gint, gint, GError**)’
  186 | arv_camera_set_region(camera, 0, 
0,sensor_width,sensor_height);
  | 
~^
/usr/include/aravis-0.8/arvcamera.h:63:25: note: declared here
   63 | ARV_API voidarv_camera_set_region   
(ArvCamera *camera, gint x, gint y, gint width, gint height, GError **error);
  | ^
CameraGigeAravis.cpp:187:35: error: too few arguments to function ‘void 
arv_camera_get_region(ArvCamera*, gint*, gint*, gint*, gint*, GError**)’
  187 | arv_camera_get_region (camera, NULL, NULL, &mWidth, 
&mHeight);
  | 
~~^~~
/usr/include/aravis-0.8/arvcamera.h:64:25: note: declared here
   64 | ARV_API voidarv_camera_get_region   
(ArvCamera *camera, gint *x, gint *y, gint *width, gint *height, GError 
**error);
  | ^
CameraGigeAravis.cpp: In member function ‘virtual bool 
CameraGigeAravis::grabInitialization()’:
CameraGigeAravis.cpp:220:42: error: too few arguments to function ‘guint 
arv_camera_get_payload(ArvCamera*, GError**)’
  220 | payload = arv_camera_get_payload (camera);
  |   ~~~^~~~
/usr/include/aravis-0.8/arvcamera.h:152:25: note: declared here
  152 | ARV_API guint   arv_camera_get_payload  
(ArvCamera *camera, GError **error);
  | ^~
CameraGigeAravis.cpp:223:48: error: too few arguments to function 
‘ArvPixelFormat arv_camera_get_pixel_format(ArvCamera*, GError**)’
  223 | pixFormat = arv_camera_get_pixel_format(camera);
  | ~~~^~~~
/usr/include/aravis-0.8/arvcamera.h:84:25: note: declared here
   84 | ARV_API ArvPixelFormat  arv_camera_get_pixel_format 
(ArvCamera *camera, GError **error);
  | ^~~
CameraGigeAravis.cpp:225:45: error: too few arguments to function ‘void 
arv_camera_get_exposure_time_bounds(ArvCamera*, double*, double*, GError**)’
  225 | arv_camera_get_exposure_time_bounds (camera, &exposureMin, 
&exposureMax

Bug#922579: FTBFS against opencv 4.0.1 (exp)

2020-06-20 Thread Chiara Marmo
Hi,
thanks Giovanni.

I realized that after my message.

Unfortunatly I can't find the time to fix the bug.
Anyway, as far as I know, a 'legacy' version of FreeTure is no longer 
maintained.

Feel free to remove it from Debian if nobody else step in.
Sorry.

Best,

Chiara 

- Original Message -
> From: "Giovanni Mascellani" 
> To: "922579" <922...@bugs.debian.org>
> Sent: Friday, June 19, 2020 7:02:23 PM
> Subject: Bug#922579: FTBFS against opencv 4.0.1 (exp)

> Control: block 962950 by -1
> 
> On Tue, 23 Apr 2019 14:13:22 + (GMT) Chiara Marmo
>  wrote:
>> Hi,
>> 
>> sorry, I'm a bit confused about this bug.
>> 
>> This is a problem with opencv4 in experimental distribution, right?
>> Not with power pc architecture...
> 
> No, the same thing definitely happens on amd64 as well. I tried adding a
> "-I/usr/include/opencv4" to the compiler command line to see if the same
> code worked with OpenCV 4, but apparently it does not. It is probably
> necessary to manually port the code to the new version.
> 
> Giovanni.
> --
> Giovanni Mascellani 
> Postdoc researcher - Université Libre de Bruxelles

-- 
Chiara Marmo
Ingénieur de Recherche GEOPS - Paris Sud-11
Bât 509
Tel: +33 (0)1 69 15 49 03



Bug#922579: FTBFS against opencv 4.0.1 (exp)

2020-06-19 Thread Giovanni Mascellani
Control: block 962950 by -1

On Tue, 23 Apr 2019 14:13:22 + (GMT) Chiara Marmo
 wrote:
> Hi,
> 
> sorry, I'm a bit confused about this bug.
> 
> This is a problem with opencv4 in experimental distribution, right?
> Not with power pc architecture...

No, the same thing definitely happens on amd64 as well. I tried adding a
"-I/usr/include/opencv4" to the compiler command line to see if the same
code worked with OpenCV 4, but apparently it does not. It is probably
necessary to manually port the code to the new version.

Giovanni.
-- 
Giovanni Mascellani 
Postdoc researcher - Université Libre de Bruxelles



signature.asc
Description: OpenPGP digital signature


Bug#922579: FTBFS against opencv 4.0.1 (exp)

2019-04-23 Thread Chiara Marmo
Hi,

sorry, I'm a bit confused about this bug.

This is a problem with opencv4 in experimental distribution, right?
Not with power pc architecture...

Thanks,
Chiara

-- 
Chiara Marmo
Ingénieur de Recherche GEOPS - Paris Sud-11
Bât 509
Tel: +33 (0)1 69 15 49 03 



Bug#922579: FTBFS against opencv 4.0.1 (exp)

2019-04-09 Thread Chiara Marmo
Hi,

just to let you know that I'm on it (just open a virtual machine at UniCamp 
MiniCloud).

Thanks for the bug report.
Chiara



Bug#922579: FTBFS against opencv 4.0.1 (exp)

2019-02-17 Thread Mo Zhou
Source: freeture
Version: 1.3.0-1
Severity: important

Opencv4 has moved its headers to /usr/include/opencv4/opencv2/*


freeture_1.3.0-1_ppc64el-2019-02-15T10:47:06Z.build.zst
Description: Binary data