[Pkg-cmake-team] Bug#897560: Bug#897560: cmake: CHECK_FUNCTION_EXISTS is broken

Pirate Praveen praveen at onenetbeyond.org
Fri May 4 14:15:49 BST 2018


On Thu, 3 May 2018 17:45:26 +0200 Felix Geyer <fgeyer at debian.org> wrote:
> I guess you are taking about check_symbol_exists()?
> Access to the source and a full error log (what's the check_symbol_exists() call that failed?)
> would help a lot.

https://anonscm.debian.org/cgit/collab-maint/libgit2.git/

unstable seems broken today so can't share a log right now.

Got this error with sbuild.

The following packages have unmet dependencies:
 sbuild-build-depends-libgit2-dummy : Depends: cmake but it is not going
to be installed
                                      Depends: libcurl4-gnutls-dev but
it is not going to be installed
E: Unable to correct problems, you have held broken packages.

and ...

native-architecture: amd64
report:
 -
  package: sbuild-build-depends-libgit2-dummy
  version: 0.invalid.0
  architecture: amd64
  status: broken
  reasons:
   -
    missing:
     pkg:
      package: libldap-2.4-2
      version: 2.4.46+dfsg-1
      architecture: amd64
      unsat-dependency: libldap-common:amd64 (>= 2.4.46+dfsg-1)
     depchains:
      -
       depchain:
        -
         package: sbuild-build-depends-libgit2-dummy
         version: 0.invalid.0
         architecture: amd64
         depends: cmake:amd64
        -
         package: cmake
         version: 3.11.1-1
         architecture: amd64
         depends: libcurl3:amd64 (>= 7.16.2)
        -
         package: libcurl3
         version: 7.58.0-2
         architecture: amd64
         depends: libldap-2.4-2:amd64 (>= 2.4.7)

> From a first glance though this looks like expected behavior.
> You are testing for a library function so you need to set CMAKE_REQUIRED_LIBRARIES accordingly.
> 
> > As this results in other packages failing to build, please consider fixing ASAP.
> 
> Which packages? Can you give some examples?

libgit2 0.27 (in git linked above)

> Cheers,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-cmake-team/attachments/20180504/8b077991/attachment.sig>


More information about the Pkg-cmake-team mailing list