Red Hat Bugzilla – Bug 308071
quilt does not work in rawhide
Last modified: 2007-11-30 17:12:16 EST
Description of problem:
I simply type "quilt push" and it starts complaining about an option I did not
even type in...
$ quilt push
illegal option: color at /usr/share/quilt/compat/getopt line 104.
Usage: quilt push [-afqv] [--leave-rejects] [--interactive]
Version-Release number of selected component (if applicable):
Try using quilt.
Commenting out the --color=auto bits in /etc/quilt.quiltrc seems to make it work
This is on a system with a fresh install and the /etc/quilt.quiltrc from the rpm...
Looks like bug 291081 which I also haven't figured out yet. I'll try looking at
This appears to be /usr/share/quilt/compat/getopt not coping well with having an
option with :: after it. If I change the push script to use just 'color:'
things work fine.
My perl and regex sucks, but I'll keep poking at it.
/usr/share/quilt/compat/getopt is a pretty weak replacement for the system
getopt, for systems that don't have getopt. Please check why /usr/bin/getopt
from util-linux isn't present at build time.
(In reply to comment #4)
> /usr/share/quilt/compat/getopt is a pretty weak replacement for the system
> getopt, for systems that don't have getopt. Please check why /usr/bin/getopt
> from util-linux isn't present at build time.
AH! That's because for rawhide (and F8) util-linux was replaced by
util-linux-ng and it was dropped from the default build root for a while. I'll
add a BR on util-linux-ng and rebuild it.
*** Bug 291081 has been marked as a duplicate of this bug. ***
The above build works for me. I'll ask rel-eng to include it in rawhide.
Oops. This was fixed a while ago.