Description of problem: Package perl-SQL-SplitStatement fails to build from source in rawhide. Version-Release number of selected component (if applicable): 1.00020-3.fc24 Steps to Reproduce: koji build --scratch f24 perl-SQL-SplitStatement-1.00020-3.fc24.src.rpm Additional info: This package is tracked by Koschei. See: https://apps.fedoraproject.org/koschei/package/perl-SQL-SplitStatement Test failed with new perl-Getopt-Long 3.48 The similar command is called in the test $ perl -Ilib bin/sql-split -s --# -f --### -E t/data/create_table.sql Current result: Unknown option: E Usage: sql-split [ OPTIONS ] [ FILE(S) ] sql-split --man Expected result: perl -Ilib bin/sql-split -s --# -f --### -E t/data/create_table.sql CREATE TABLE foo ( foo_field_1 VARCHAR, foo_field_2 VARCHAR )--#CREATE TABLE bar ( bar_field_1 VARCHAR, bar_field_2 VARCHAR )--#
The temporary fix for the test is replacing using "-E" by "--empty"
Getopt-Long 3.48 fixed gnu_getopt compatibility mode. In that mode, it consider "--fo bar" as an option and a positional argument because gnut_getopt mode would requires "--foo=bar" syntax to make the "bar" a value of "foo" option. If sql-split uses that mode, you have to call it as -E=t/data/create_table.sql. If not, it's probably a regressions in the Getopt::Long.
If you add 'no_ignore_case' to Getopt::Long::Configure in bin/sql-split, it will fix the issue. Due to the last changes in Getopt::Long 2.48, the bundling is disabled when gnu_compat is enabled. And it causes that single character options are not treated case-sensitive. See: https://metacpan.org/source/JV/Getopt-Long-2.48//lib/Getopt/Long.pm#L897
Fixed in perl-SQL-Splitstatement 1.00020-4. I'll release this as an update once perl-Getopt-Long 2.48 hits stable in the other branches.
Please add the fix also to rawhide. Currently, it is only in F23 branch.
(In reply to Jitka Plesnikova from comment #5) > > Please add the fix also to rawhide. Currently, it is only in F23 branch. My bad. I've cherry-picked the commit to master and the build is underway.
You can put to perl-Getopt-Long into built root overrides, build the perl-SQL-Splitstatment and then I can append the new perl-SQL-Splitstatment builds to perl-Getopt-Long errata so they will be released together.
perl-SQL-SplitStatement-1.00020-4.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-743dc4e9b5
(In reply to Petr Pisar from comment #7) > You can put to perl-Getopt-Long into built root overrides After a good night's sleep, I realized this was unnecessary. Adding 'no_ignore_case' doesn't require the new Getopt-Long package. I've built the updates and released them.
perl-SQL-SplitStatement-1.00020-4.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update perl-SQL-SplitStatement' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-743dc4e9b5
perl-SQL-SplitStatement-1.00020-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update perl-SQL-SplitStatement' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-75ef0d88a0
perl-SQL-SplitStatement-1.00020-4.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
perl-SQL-SplitStatement-1.00020-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.