Bug#841287: saga: FTBFS: error with opencv 3.1

2016-11-07 Thread Nobuhiro Iwamatsu
Hi,

I update patch for opencv transition.
If we apply this patch, we can migrate using binNMU smoothly.

Best regards,
  Nobuhiro

2016-10-20 6:05 GMT+09:00 Nobuhiro Iwamatsu :
> Hi!
>
> Thanks for your reply.
> 2016-10-20 3:30 GMT+09:00 Sebastiaan Couwenberg :
>> Hi Nobuhiro,
>>
>> Thanks for your work on OpenCV and reporting this issue.
>>
>> On 10/19/2016 01:21 PM, Nobuhiro Iwamatsu wrote:
>>> I am scheduled to transition of opencv, and this package is target to
>>> transition.
>>> So I tested build with opencv 3.1.As a result, this FTBFS with opencv 3.1.
>>> Because libcv-dev, ibopencv-contrib-dev and libopencv-legacy-dev has been
>>> removed from opencv 3.1 package.
>>>
>>> [...]
>>>
>>> I attached a patch that revice this problem.
>>> Could you check this patch and apply?
>>
>> The patch is incomplete as it removes libcv-dev from the build
>> dependencies, but doesn't add libopencv-dev to which opencv/cv.h has
>> been moved.
>
> Oh, sorry. I send other patch.
> As you say, we need to add libopencv-dev to B-D.
>
>>
>> Since we cannot adapt the saga package for 3.1 until the transition
>> starts, we'll need to apply the changes when the transition starts and
>> do a new upload.
>
> no problem.
>
>>
>> Have you considered transitional packages for the removed -dev packages
>> to not require changes to the opencv reverse dependencies and have
>> binNMUs suffice for the transition?
>>
>
> I am working about that.
> I finished the investigation of the packages that depend on opencv, I
> will make it
> easier to migrate, and bug reports to the package there is a problem.
>
>> Kind Regards,
>>
> Best regards,
>   Nobuhiro
>
> --
> Nobuhiro Iwamatsu
>iwamatsu at {nigauri.org / debian.org}
>GPG ID: 40AD1FA6



-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
diff --git a/debian/control b/debian/control
index ba73127..da565a7 100644
--- a/debian/control
+++ b/debian/control
@@ -6,16 +6,16 @@ Section: science
 Priority: optional
 Build-Depends: debhelper (>= 9),
dh-autoreconf,
-   libcv-dev,
+   libopencv-dev | libcv-dev,
libdxflib-dev,
libexpat-dev,
libgdal-dev,
libhpdf-dev,
libogdi3.2-dev,
-   libopencv-contrib-dev,
+   libopencv-dev | libopencv-contrib-dev,
libopencv-core-dev,
libopencv-imgproc-dev,
-   libopencv-legacy-dev,
+   libopencv-dev | libopencv-legacy-dev,
libopencv-photo-dev,
libproj-dev,
libqhull-dev,
-- 
2.9.3

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Bug#841287: saga: FTBFS: error with opencv 3.1

2016-10-19 Thread Nobuhiro Iwamatsu
Hi!

Thanks for your reply.
2016-10-20 3:30 GMT+09:00 Sebastiaan Couwenberg :
> Hi Nobuhiro,
>
> Thanks for your work on OpenCV and reporting this issue.
>
> On 10/19/2016 01:21 PM, Nobuhiro Iwamatsu wrote:
>> I am scheduled to transition of opencv, and this package is target to
>> transition.
>> So I tested build with opencv 3.1.As a result, this FTBFS with opencv 3.1.
>> Because libcv-dev, ibopencv-contrib-dev and libopencv-legacy-dev has been
>> removed from opencv 3.1 package.
>>
>> [...]
>>
>> I attached a patch that revice this problem.
>> Could you check this patch and apply?
>
> The patch is incomplete as it removes libcv-dev from the build
> dependencies, but doesn't add libopencv-dev to which opencv/cv.h has
> been moved.

Oh, sorry. I send other patch.
As you say, we need to add libopencv-dev to B-D.

>
> Since we cannot adapt the saga package for 3.1 until the transition
> starts, we'll need to apply the changes when the transition starts and
> do a new upload.

no problem.

>
> Have you considered transitional packages for the removed -dev packages
> to not require changes to the opencv reverse dependencies and have
> binNMUs suffice for the transition?
>

I am working about that.
I finished the investigation of the packages that depend on opencv, I
will make it
easier to migrate, and bug reports to the package there is a problem.

> Kind Regards,
>
Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#841287: saga: FTBFS: error with opencv 3.1

2016-10-19 Thread Sebastiaan Couwenberg
Hi Nobuhiro,

Thanks for your work on OpenCV and reporting this issue.

On 10/19/2016 01:21 PM, Nobuhiro Iwamatsu wrote:
> I am scheduled to transition of opencv, and this package is target to
> transition.
> So I tested build with opencv 3.1.As a result, this FTBFS with opencv 3.1.
> Because libcv-dev, ibopencv-contrib-dev and libopencv-legacy-dev has been
> removed from opencv 3.1 package.
> 
> [...]
> 
> I attached a patch that revice this problem.
> Could you check this patch and apply?

The patch is incomplete as it removes libcv-dev from the build
dependencies, but doesn't add libopencv-dev to which opencv/cv.h has
been moved.

Since we cannot adapt the saga package for 3.1 until the transition
starts, we'll need to apply the changes when the transition starts and
do a new upload.

Have you considered transitional packages for the removed -dev packages
to not require changes to the opencv reverse dependencies and have
binNMUs suffice for the transition?

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#841287: saga: FTBFS: error with opencv 3.1

2016-10-19 Thread Nobuhiro Iwamatsu
Source: saga
Version: 2.3.1+dfsg-2
Severity: important
Justification: fails to build from source
Tags: patch

Dear Maintainer,

I am scheduled to transition of opencv, and this package is target to
transition.
So I tested build with opencv 3.1.As a result, this FTBFS with opencv 3.1.
Because libcv-dev, ibopencv-contrib-dev and libopencv-legacy-dev has been
removed from opencv 3.1 package.

-
perl -p vars-subs.pl doc/sty/automultiplechoice.dtx.in >
doc/sty/automultiplechoice.dtx
gcc -o AMC-detect AMC-detect.cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/home/iwamatsu/priv/debian/ocv/auto-multiple-choice/auto-multiple-choice-1.3.0=.
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro
 -lstdc++ -lm -I /usr/include/opencv -lopencv_core -lopencv_highgui
-lopencv_imgproc
/usr/bin/ld: /tmp/ccppjzVB.o: undefined reference to symbol 'cvLoadImage'
//usr/lib/x86_64-linux-gnu/libopencv_imgcodecs.so.3.1: error adding
symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:123: recipe for target 'AMC-detect' failed
make[1]: *** [AMC-detect] Error 1
-

I attached a patch that revice this problem.
Could you check this patch and apply?

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
diff -Nru saga-2.3.1+dfsg/debian/control saga-2.3.1+dfsg/debian/control
--- saga-2.3.1+dfsg/debian/control	2016-09-27 16:07:20.0 +0900
+++ saga-2.3.1+dfsg/debian/control	2016-10-17 00:51:03.0 +0900
@@ -6,16 +6,13 @@
 Priority: optional
 Build-Depends: debhelper (>= 9),
dh-autoreconf,
-   libcv-dev,
libdxflib-dev,
libexpat-dev,
libgdal-dev,
libhpdf-dev,
libogdi3.2-dev,
-   libopencv-contrib-dev,
libopencv-core-dev,
libopencv-imgproc-dev,
-   libopencv-legacy-dev,
libopencv-photo-dev,
libproj-dev,
libqhull-dev,
___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel