Hello Tomasz On Wed, 20 Oct 2021 19:58:47 +0200 Tomasz Wolak <tomas.wo...@gmail.com> wrote: > Hi Gianfranco, > > Thanks for having a look at the issue. > > On Thu, 14 Oct 2021 19:17:53 +0200 Gianfranco Costamagna > <locutusofb...@debian.org> wrote: > > Hello Tomasz > > […] > > can you please check if 0.7.0 in debian/experimental fixes this issue? > > The cmake scripts have been reworked, and I can't see anymore the > variable not correctly evaluated. > > > > In case please let me know if the bug is fixed > > > > thanks > > > > Gianfranco > > > > I have tried to build the source package 0.7.0 > (https://packages.debian.org/experimental/libyaml-cpp-dev) for my Debian > (bullseye), but unfortunately building the package fails with: >
https://buildd.debian.org/status/package.php?p=yaml-cpp&suite=experimental 0.7.0+dfsg-5 should be buildable correctly, the package was broken due to missing symbols please give it another shot if possible :) Gianfranco > ---------------- > nm --dynamic --defined-only build-shared/libyaml-cpp.so | awk '$2 ~ /W/ > { print " " $3 "@Base 0.7.0" } ' > debian/weak-symbols > dh_makeshlibs -VNone > dpkg-gensymbols: warning: some new symbols appeared in the symbols file: > see diff output below > dpkg-gensymbols: error: some symbols or patterns disappeared in the > symbols file: see diff output below > dpkg-gensymbols: warning: debian/libyaml-cpp0.7/DEBIAN/symbols doesn't > match completely debian/libyaml-cpp0.7.symbols > [...] > dh_makeshlibs: error: failing due to earlier errors > make[1]: *** [debian/rules:62: override_dh_makeshlibs] Error 25 > make[1]: Leaving directory '/home/debian/tmp/yaml-cpp-0.7.0+dfsg' > make: *** [debian/rules:71: binary] Error 2 > dpkg-buildpackage: error: fakeroot debian/rules binary subprocess > returned exit status 2 > debuild: fatal error at line 1182: > dpkg-buildpackage -us -uc -ui -i -b failed > > ---------------- > It passes compilation and tests but fails on the > "Install the project..." part. > > In consequence, I cannot see what would be in the built package to be > sure, but the configuration files for cmake seem to be generated. The > contents of the generated file > yaml-cpp-0.7.0+dfsg/build-shared/yaml-cpp-config.cmake > is as follows: > > ---------------- > # - Config file for the yaml-cpp package > # It defines the following variables > # YAML_CPP_INCLUDE_DIR - include directory > # YAML_CPP_LIBRARIES - libraries to link against > > # Compute paths