Comment 17 for bug 1368737

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote : Re: Pacemaker can seg fault on crm node online/standby

The way this package's versioning was made makes the tool "dh_makeshlibs" (debian helper) not to append proper suffix to dependencies (using (>= 1.1.10+git20130802) instead of (>= 1.1.10+git20130802-1ubuntu2.1) for example).

I changed debian/rules so the proper version is considered for dependencies:

        dh_makeshlibs -a -V
        dh_makeshlibs -plibcrmcommon3 -V "libcrmcommon3 (>= $(RELEASE))"
        dh_makeshlibs -plibpengine4 -V "libpengine4 (>= $(RELEASE))"
        dh_makeshlibs -plibpe-status4 -V "libpe-status4 (>= $(RELEASE))"
        dh_makeshlibs -plibcrmservice1 -V "libcrmservice1 (>= $(RELEASE))"
        dh_makeshlibs -plibtransitioner2 -V "libtransitioner2 (>= $(RELEASE))"
        dh_makeshlibs -plibcib3 -V "libcib3 (>= $(RELEASE))"
        dh_makeshlibs -plibpe-rules2 -V "libpe-rules2 (>= $(RELEASE))"
        dh_makeshlibs -plibcrmcluster4 -V "libcrmcluster4 (>= $(RELEASE))"
        dh_makeshlibs -plibstonithd2 -V "libstonithd2 (>= $(RELEASE))"
        dh_makeshlibs -pliblrmd1 -V "liblrmd1 (>= $(RELEASE))"

And I recommend further releases not to use this "versioning" scheme, to guarantee dh_makeshlibs to work properly.

Thank you

Rafael Tinoco

PS: attaching debdiffs in a few moments.