Bug 308071 - quilt does not work in rawhide
quilt does not work in rawhide
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: quilt (Show other bugs)
rawhide
All Linux
high Severity high
: ---
: ---
Assigned To: Josh Boyer
Fedora Extras Quality Assurance
:
: 291081 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-26 16:56 EDT by Rik van Riel
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-11-01 08:40:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rik van Riel 2007-09-26 16:56:20 EDT
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]
[--color[=always|auto|never]] [num|patch]

Version-Release number of selected component (if applicable):

quilt-0.46-3.fc8

How reproducible:

Try using quilt.
Comment 1 Rik van Riel 2007-09-26 17:03:13 EDT
Commenting out the --color=auto bits in /etc/quilt.quiltrc seems to make it work
again.  Funky.

This is on a system with a fresh install and the /etc/quilt.quiltrc from the rpm...
Comment 2 Josh Boyer 2007-09-27 06:58:52 EDT
Looks like bug 291081 which I also haven't figured out yet.  I'll try looking at 
this today.
Comment 3 Josh Boyer 2007-09-27 20:01:27 EDT
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.
Comment 4 Andreas Gruenbacher 2007-09-28 03:18:37 EDT
/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.
Comment 5 Josh Boyer 2007-09-28 07:08:06 EDT
(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.

Thanks Andreas!
Comment 6 Eric Sandeen 2007-09-28 09:31:21 EDT
*** Bug 291081 has been marked as a duplicate of this bug. ***
Comment 7 Josh Boyer 2007-09-29 08:26:45 EDT
http://koji.fedoraproject.org/koji/buildinfo?buildID=19809

The above build works for me.  I'll ask rel-eng to include it in rawhide.
Comment 8 Josh Boyer 2007-11-01 08:40:12 EDT
Oops.  This was fixed a while ago.

Note You need to log in before you can comment on or make changes to this bug.