Adding static void check_asprintf( char **strp, const char *fmt, ... ) __attribute__((format(printf, 2, 3))); reveals the following misuse of check_asprintf: scl.c: In function ‘list_packages_in_collection’: scl.c:207:2: warning: too many arguments for format [-Wformat-extra-args] check_asprintf(&cmd, "rpm -qa --qf=\"#%%{name}-%%{version}-%%{release}.%%{arch}\n%%{sourcerpm}\n[%%{provides}\n]\"", colname); ^
Hi Florian, sorry, I don't get it. Why would you add __attribute__((format(printf, 2, 3)) to the check_asprintf() line to trigger this?
The attribute allows GCC to perform additional type checking. The warning is quite correct because the format string does not contain "%s", so the colname is either superfluous, or something is missing from the format string.
scl-utils-20130529-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/scl-utils-20130529-1.fc18
scl-utils-20130529-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/scl-utils-20130529-1.fc19
Package scl-utils-20130529-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing scl-utils-20130529-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-11254/scl-utils-20130529-1.fc19 then log in and leave karma (feedback).
scl-utils-20130529-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.