Menu

#40 Mageia build failure: CMakeFiles/aqemu.dir/Utils.o

Version 0.8.2
closed-fixed
nobody
5
2016-05-31
2012-08-06
Solbu
No

I am attempting to package v1.8.2 for inclusion on the next Mageia release, and it doesn't compile on Mageia.
The error is the following:
=====
[ 53%] Building CXX object CMakeFiles/aqemu.dir/Utils.o
/home/solbu/mageia-rpm/aqemu/BUILD/aqemu-0.8.2/Utils.cpp: In function ‘void AQDebug(const QString&, const QString&)’:
/home/solbu/mageia-rpm/aqemu/BUILD/aqemu-0.8.2/Utils.cpp:71:47: error: format not a string literal and no format arguments [-Werror=format-security]
/home/solbu/mageia-rpm/aqemu/BUILD/aqemu-0.8.2/Utils.cpp: In function ‘void AQWarning(const QString&, const QString&)’:
/home/solbu/mageia-rpm/aqemu/BUILD/aqemu-0.8.2/Utils.cpp:92:47: error: format not a string literal and no format arguments [-Werror=format-security]
/home/solbu/mageia-rpm/aqemu/BUILD/aqemu-0.8.2/Utils.cpp: In function ‘void AQError(const QString&, const QString&)’:
/home/solbu/mageia-rpm/aqemu/BUILD/aqemu-0.8.2/Utils.cpp:113:47: error: format not a string literal and no format arguments [-Werror=format-security]
cc1plus: some warnings being treated as errors
make[2]: *** [CMakeFiles/aqemu.dir/Utils.o] Error 1
make[1]: *** [CMakeFiles/aqemu.dir/all] Error 2
make: *** [all] Error 2
error: Bad exit status from /home/solbu/mageia-rpm/aqemu/BUILDROOT/rpm-tmp.cJKJF7 (%build)
=====

Discussion

  • Andrey Rijov

    Andrey Rijov - 2012-08-06

    In most Unix systems this is not critical error. In my Gentoo it just warning message.
    I'm fixed it in Git version AQEMU.
    Please download attached file (in this topic). It patch for version 0.8.2.

     
  • Andrey Rijov

    Andrey Rijov - 2012-08-06
    • milestone: --> Version 0.8.2
     
  • Andrey Rijov

    Andrey Rijov - 2012-08-06

    Patch for 0.8.2

     
  • Andrey Rijov

    Andrey Rijov - 2012-08-06
    • status: open --> open-accepted
     
  • Tobias Gläßer

    Tobias Gläßer - 2016-05-31
    • status: open-accepted --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB