Menu

dpkg-buildpackage failure (version 0.0.1.28)

Help
Ben
2011-04-11
2012-12-14
  • Ben

    Ben - 2011-04-11

    Hi Jean-François,

    I'm trying to make a .deb file on my ARM device:

    # dpkg-buildpackage -rfakeroot
    ...
    ObjectTest.cpp:2773:Assertion
    Test name: ObjectTest::testString14Object
    expected exception not thrown
    - Expected: ticpp::Exception
    Failures !!!
    Run: 130   Failure total: 1   Failures: 1   Errors: 0
    FAIL: testmain
    =================================
    1 of 1 test failed
    Please report to linknx@ouaye.net
    =================================
    make[3]: *** [check-TESTS] Error 1
    make[3]: Leaving directory `/root/packaging/linknx/linknx-0.0.1.28/test'
    make[2]: *** [check-am] Error 2
    make[2]: Leaving directory `/root/packaging/linknx/linknx-0.0.1.28/test'
    make[1]: *** [check-recursive] Error 1
    make[1]: Leaving directory `/root/packaging/linknx/linknx-0.0.1.28'
    dh_auto_test: make -j1 check returned exit code 2
    make: *** [build] Error 29
    dpkg-buildpackage: error: debian/rules build gave error exit status 2
    

    What can I do?

    Thanks.

    Kind Regards,
    Ben

     
  • jef2000

    jef2000 - 2011-04-27

    Hi,

    This problem can be solved by replacing the following line in file src/objectcontroller.cpp:
    if (*it < 0)
    by
    if (*it < 0 || *it > 127)

    The error was due to the fact that "char" type is signed on PC but is unsigned on ARM.

    Bugfix is commited in CVS.

    Jean-François

     
  • Anonymous

    Anonymous - 2011-04-27

    Thank you very much Jean-François!

    Best Regards,
    Ben

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.