Bug#768008: /usr/lib/x86_64-linux-gnu/pkgconfig/opencv.pc: pkg-config file almost certainly broken

Fabian Greffrath fabian+debian at greffrath.com
Tue Nov 4 06:05:09 UTC 2014


Package: libopencv-dev
Version: 2.4.9.1+dfsg-1+b1
Severity: normal
File: /usr/lib/x86_64-linux-gnu/pkgconfig/opencv.pc

Hi there,

I am afraid the pkg-config file for opencv is broken.

For each library in the output of "pkg-config --libs opencv" it prints
two items, once the '-llibrary' linker flag and once the entire path
the the corresponding library. Apart from the latter being absolutely
redundant (the linker should chose the actual library location on its
own) I think this might break cross-building.

Please consider removing the library paths from the pkg-config file.

Best regards,

Fabian


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

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libopencv-dev depends on:
ii  libc6                     2.19-12
ii  libcv-dev                 2.4.9.1+dfsg-1+b1
ii  libcvaux-dev              2.4.9.1+dfsg-1+b1
ii  libgcc1                   1:4.9.1-16
ii  libgl1-mesa-glx [libgl1]  10.3.1-1
ii  libglu1-mesa [libglu1]    9.0.0-2
ii  libhighgui-dev            2.4.9.1+dfsg-1+b1
ii  libice6                   2:1.0.9-1
ii  libopencv-calib3d-dev     2.4.9.1+dfsg-1+b1
ii  libopencv-calib3d2.4      2.4.9.1+dfsg-1+b1
ii  libopencv-contrib-dev     2.4.9.1+dfsg-1+b1
ii  libopencv-core-dev        2.4.9.1+dfsg-1+b1
ii  libopencv-core2.4         2.4.9.1+dfsg-1+b1
ii  libopencv-features2d-dev  2.4.9.1+dfsg-1+b1
ii  libopencv-features2d2.4   2.4.9.1+dfsg-1+b1
ii  libopencv-flann-dev       2.4.9.1+dfsg-1+b1
ii  libopencv-flann2.4        2.4.9.1+dfsg-1+b1
ii  libopencv-gpu-dev         2.4.9.1+dfsg-1+b1
ii  libopencv-highgui-dev     2.4.9.1+dfsg-1+b1
ii  libopencv-highgui2.4      2.4.9.1+dfsg-1+b1
ii  libopencv-imgproc-dev     2.4.9.1+dfsg-1+b1
ii  libopencv-imgproc2.4      2.4.9.1+dfsg-1+b1
ii  libopencv-legacy-dev      2.4.9.1+dfsg-1+b1
ii  libopencv-legacy2.4       2.4.9.1+dfsg-1+b1
ii  libopencv-ml-dev          2.4.9.1+dfsg-1+b1
ii  libopencv-ml2.4           2.4.9.1+dfsg-1+b1
ii  libopencv-objdetect-dev   2.4.9.1+dfsg-1+b1
ii  libopencv-objdetect2.4    2.4.9.1+dfsg-1+b1
ii  libopencv-ocl-dev         2.4.9.1+dfsg-1+b1
ii  libopencv-photo-dev       2.4.9.1+dfsg-1+b1
ii  libopencv-stitching-dev   2.4.9.1+dfsg-1+b1
ii  libopencv-superres-dev    2.4.9.1+dfsg-1+b1
ii  libopencv-ts-dev          2.4.9.1+dfsg-1+b1
ii  libopencv-video-dev       2.4.9.1+dfsg-1+b1
ii  libopencv-video2.4        2.4.9.1+dfsg-1+b1
ii  libopencv-videostab-dev   2.4.9.1+dfsg-1+b1
ii  libopencv2.4-java         2.4.9.1+dfsg-1
ii  libopencv2.4-jni          2.4.9.1+dfsg-1+b1
ii  libsm6                    2:1.2.2-1
ii  libstdc++6                4.9.1-16
ii  libtbb2                   4.2~20140122-1.1
ii  libx11-6                  2:1.6.2-3
ii  libxext6                  2:1.3.3-1
ii  pkg-config                0.28-1

Versions of packages libopencv-dev recommends:
ii  opencv-data  2.4.9.1+dfsg-1

libopencv-dev suggests no packages.

-- no debconf information



More information about the debian-science-maintainers mailing list