{"action":"opened","issue":{"url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/2339","repository_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server","labels_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/2339/labels{/name}","comments_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/2339/comments","events_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/2339/events","html_url":"https://github.com/FreeRADIUS/freeradius-server/issues/2339","id":373128635,"node_id":"MDU6SXNzdWUzNzMxMjg2MzU=","number":2339,"title":"3.0.x build fails in src/main/command.c in 'command_print_stats'","user":{"login":"doug-fsu","id":16172300,"node_id":"MDQ6VXNlcjE2MTcyMzAw","avatar_url":"https://avatars3.githubusercontent.com/u/16172300?v=4","gravatar_id":"","url":"https://api.github.com/users/doug-fsu","html_url":"https://github.com/doug-fsu","followers_url":"https://api.github.com/users/doug-fsu/followers","following_url":"https://api.github.com/users/doug-fsu/following{/other_user}","gists_url":"https://api.github.com/users/doug-fsu/gists{/gist_id}","starred_url":"https://api.github.com/users/doug-fsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doug-fsu/subscriptions","organizations_url":"https://api.github.com/users/doug-fsu/orgs","repos_url":"https://api.github.com/users/doug-fsu/repos","events_url":"https://api.github.com/users/doug-fsu/events{/privacy}","received_events_url":"https://api.github.com/users/doug-fsu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-23T18:04:14Z","updated_at":"2018-10-23T18:04:14Z","closed_at":null,"author_association":"NONE","body":"# Defect\r\n## How to reproduce the issue\r\n\r\nDownload 3.0.x and try to build it.\r\n \r\n```\r\nCC src/main/listen.c\r\nIn file included from src/main/listen.c:2189:0:\r\nsrc/main/command.c: In function ‘command_print_stats’:\r\nsrc/main/command.c:2163:2: error: too many arguments for format [-Werror=format-extra-args]\r\n  cprintf(listener, \"requests\\t\" PRIu64 \"\\n\", stats->total_requests);\r\n  ^\r\nsrc/main/command.c:2164:2: error: too many arguments for format [-Werror=format-extra-args]\r\n  cprintf(listener, \"responses\\t\" PRIu64 \"\\n\", stats->total_responses);\r\n  ^\r\nsrc/main/command.c:2168:4: error: too many arguments for format [-Werror=format-extra-args]\r\n    stats->total_access_accepts);\r\n    ^\r\nsrc/main/command.c:2170:4: error: too many arguments for format [-Werror=format-extra-args]\r\n    stats->total_access_rejects);\r\n    ^\r\nsrc/main/command.c:2172:4: error: too many arguments for format [-Werror=format-extra-args]\r\n    stats->total_access_challenges);\r\n    ^\r\nsrc/main/command.c:2175:2: error: too many arguments for format [-Werror=format-extra-args]\r\n  cprintf(listener, \"dup\\t\\t\" PRIu64 \"\\n\", stats->total_dup_requests);\r\n  ^\r\nsrc/main/command.c:2176:2: error: too many arguments for format [-Werror=format-extra-args]\r\n  cprintf(listener, \"invalid\\t\\t\" PRIu64 \"\\n\", stats->total_invalid_requests);\r\n  ^\r\nsrc/main/command.c:2177:2: error: too many arguments for format [-Werror=format-extra-args]\r\n  cprintf(listener, \"malformed\\t\" PRIu64 \"\\n\", stats->total_malformed_requests);\r\n  ^\r\nsrc/main/command.c:2178:2: error: too many arguments for format [-Werror=format-extra-args]\r\n  cprintf(listener, \"bad_authenticator\\t\" PRIu64 \"\\n\", stats->total_bad_authenticators);\r\n  ^\r\nsrc/main/command.c:2179:2: error: too many arguments for format [-Werror=format-extra-args]\r\n  cprintf(listener, \"dropped\\t\\t\" PRIu64 \"\\n\", stats->total_packets_dropped);\r\n  ^\r\nsrc/main/command.c:2180:2: error: too many arguments for format [-Werror=format-extra-args]\r\n  cprintf(listener, \"unknown_types\\t\" PRIu64 \"\\n\", stats->total_unknown_types);\r\n  ^\r\nsrc/main/command.c:2183:3: error: too many arguments for format [-Werror=format-extra-args]\r\n   cprintf(listener, \"timeouts\\t\" PRIu64 \"\\n\", stats->total_timeouts);\r\n   ^\r\nsrc/main/command.c: In function ‘command_stats_queue’:\r\nsrc/main/command.c:2203:2: error: too many arguments for format [-Werror=format-extra-args]\r\n  cprintf(listener, \"queue_len_internal\\t\" PRIu64 \"\\n\", array[0]);\r\n  ^\r\nsrc/main/command.c:2204:2: error: too many arguments for format [-Werror=format-extra-args]\r\n  cprintf(listener, \"queue_len_proxy\\t\\t\" PRIu64 \"\\n\", array[1]);\r\n  ^\r\nsrc/main/command.c:2205:2: error: too many arguments for format [-Werror=format-extra-args]\r\n  cprintf(listener, \"queue_len_auth\\t\\t\" PRIu64 \"\\n\", array[2]);\r\n  ^\r\nsrc/main/command.c:2206:2: error: too many arguments for format [-Werror=format-extra-args]\r\n  cprintf(listener, \"queue_len_acct\\t\\t\" PRIu64 \"\\n\", array[3]);\r\n  ^\r\nsrc/main/command.c:2207:2: error: too many arguments for format [-Werror=format-extra-args]\r\n  cprintf(listener, \"queue_len_detail\\t\" PRIu64 \"\\n\", array[4]);\r\n  ^\r\nsrc/main/command.c:2209:2: error: too many arguments for format [-Werror=format-extra-args]\r\n  cprintf(listener, \"queue_pps_in\\t\\t\" PRIu64 \"\\n\", pps[0]);\r\n  ^\r\nsrc/main/command.c:2210:2: error: too many arguments for format [-Werror=format-extra-args]\r\n  cprintf(listener, \"queue_pps_out\\t\\t\" PRIu64 \"\\n\", pps[1]);\r\n  ^\r\n```\r\n"}}
{"actor":{"display_login":"doug-fsu"}}