Fedora Account System
Red Hat Associate
Red Hat Customer
Your package iperf3 failed to build from source in current rawhide. http://koji.fedoraproject.org/koji/taskinfo?taskID=6987939 For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Created attachment 905344 [details] build.log
Created attachment 905345 [details] root.log
Created attachment 905346 [details] state.log
In function 'open', inlined from 'iperf_new_stream' at iperf_api.c:2218:20: /usr/include/bits/fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments __open_missing_mode (); this is failing because of open function has 2 arguments and it is missing the third argument. open with O_CREAT must have 3 arguments rather than 2 http://www.opengroup.org/onlinepubs/009695399/functions/open.html This patch should fix it. diff -rupN iperf-3.0.3/src/iperf_api.c iperf-3.0.3.patch/src/iperf_api.c --- iperf-3.0.3/src/iperf_api.c 2014-03-26 23:36:38.000000000 +0530 +++ iperf-3.0.3.patch/src/iperf_api.c 2014-06-09 23:31:46.183346802 +0530 @@ -2215,7 +2215,7 @@ iperf_new_stream(struct iperf_test *test sp->rcv = test->protocol->recv; if (test->diskfile_name != (char*) 0) { - sp->diskfile_fd = open(test->diskfile_name, test->sender ? O_RDONLY : (O_WRONLY|O_CREAT|O_TRUNC)); + sp->diskfile_fd = open(test->diskfile_name, test->sender ? O_RDONLY : (O_WRONLY|O_CREAT|O_TRUNC), S_IRUSR|S_IWUSR); if (sp->diskfile_fd == -1) { i_errno = IEFILE; munmap(sp->buffer, sp->test->settings->blksize);
Created attachment 905607 [details] fix compilation
The fix has been approved on upstream. I will back port it and push the changes. https://github.com/esnet/iperf/commit/c5e1205e4906173d74574e30b4ea1c0e182883de
I have committed the changes. please verify if the issue still persists. http://pkgs.fedoraproject.org/cgit/iperf3.git/commit/?id=c0885cc1cba5c07f2006df17439fa04ee7f2ea49
Build log can be found here http://koji.fedoraproject.org/koji/taskinfo?taskID=7034506
Closing this bug as changes made to git.