Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
J
jami-client-gnome
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 152
    • Issues 152
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Requirements
    • Requirements
    • List
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • savoirfairelinux
  • jami-client-gnome
  • Issues
  • #607

Closed
Open
Opened Feb 13, 2017 by RingBot@RingBotOwner

Ring daemon RPM package creation error: Program returns random data in a function

Issue generated from Tuleap's migration script. Originally submitted by: szotsaki (szotsaki)

Creation of RPM package is not possible because Ring daemon has a specific type of warning (return-type) which halts RPM creation procedure. The warning is:

  
[  212s] ringaccount.cpp: In function 'std::string ring::Migration::mapStateNumberToString(ring::Migration::State)':  
[  212s] ringaccount.cpp:101:1: warning: control reaches end of non-void function [-Wreturn-type]  
[  212s]  }  
[  212s]  \^  
  
[  ... ]  
  
[  325s] I: Program returns random data in a function  
[  325s] E: ring-daemon no-return-in-nonvoid-function ringaccount.cpp:101  
[  325s]   
[  325s] lamb25 failed "build ring-daemon.spec" at Mon Feb 13 06:54:21 UTC 2017.

If possible, please compile all Ring modules with -Werror=return-type to halt the compilation in the second when this type of warning gets in the code because the RPM build system won't let this package to be made.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: savoirfairelinux/ring-client-gnome#607