Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71514 - revdep-rebuild fails with invalid "-m" message
Summary: revdep-rebuild fails with invalid "-m" message
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-17 04:47 UTC by Guy
Modified: 2004-11-17 21:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guy 2004-11-17 04:47:36 UTC
Following the instructions in bug # 70830, the revdep-rebuild step fails:

--==.oOo.==--

dragonfyre ~ # cat .revdep-rebuild.5_order
app-cdr/arson-0.9.8_beta2
app-cdr/k3b-0.11.17
app-office/openoffice-bin-1.1.3
dev-util/eclipse-platform-bin-2.1
media-libs/flac-1.1.1
media-libs/tunepimp-0.3.0
media-sound/vorbis-tools-1.0.1
net-www/opera-7.54

dragonfyre ~ # emerge -oneshot -nodeps -soname libstdc++.so.5 =arson-0.9.8_beta2 =k3b-0.11.17 =openoffic-bin-1.1.3 =eclipse-platform-bin-2.1 =flac-1.1.1 =tunepimp-0.3.0 =vorbis-tools-1.0.1 =opera7.54

*** Warning: Redundant use of --onlydeps

*** Warning: Redundant use of --noreplace

*** Warning: Redundant use of --onlydeps

*** Warning: Redundant use of --emptytree

*** Warning: Redundant use of --search

*** Warning: Redundant use of --search

*** Warning: Redundant use of --onlydeps

*** Warning: Redundant use of --noreplace
!!! Error: -m is an invalid short action or option.
Comment 1 Guy 2004-11-17 04:49:56 UTC
I can't test if the problems discussed in bug #70830 also apply to bug #71098 since I can't complete the revdep-rebuild step.
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2004-11-17 04:54:40 UTC
You've missed a hyphen on those long options. "--oneshot" rather than "-oneshot". --soname is not an option to emerge; it's an option of revdep-rebuild.
Comment 3 Guy 2004-11-17 05:01:05 UTC
Ahh ...

Then revdep-rebuild didn't create the original emerge statement correctly.

The above is an exact copy {exclusive of package categories} of the original statement except done by hand. I provided the example this way because I normally work in fluxbox with xterm. Can't cut and paste from xterm.

Description should be changed to "revdep-rebuild builds invalid emerge statement".

Now that you pointed it out, shouldn't all the long options have double dashes?
Comment 4 Guy 2004-11-17 05:05:13 UTC
From comment #2 of bug # 70830

2) revdep-rebuild --soname libstdc++.so.5

This is the original command I executed. The results are as noted above. Don't jump so quickly assuming that I made the error. Either the instructions in 70830 are wrong or there is something new wrong with revdep-rebuild.
Comment 5 Guy 2004-11-17 05:09:59 UTC
Based on your comment, should the resulting emerge statement from revdep-rebuild have been?

emerge --oneshot --nodeps =arson-0.9.8_beta2 =k3b-0.11.17 =openoffic-bin-1.1.3 =eclipse-platform-bin-2.1 =flac-1.1.1 =tunepimp-0.3.0 =vorbis-tools-1.0.1 =opera7.54
Comment 6 Guy 2004-11-17 05:20:52 UTC
This is the actuall emerge statement as generated by revdep-rebuild with associated error:

--==.oOo.==--

emerge -oneshot -nodeps -soname libstdc++.so.5 =app-cdr/arson-0.9.8_beta2 =app-cdr/k3b-0.11.17 =app-office/openoffic-bin-1.1.3 =dev-util/eclipse-platform-bin-2.1 =media-libs/flac-1.1.1 =media-libs/tunepimp-0.3.0 =media-sound/vorbis-tools-1.0.1 =net-www/opera7.54
.........
!!! Error: -m is an invalid short action or option.
Comment 7 Marius Mauch (RETIRED) gentoo-dev 2004-11-17 07:24:53 UTC
revdep-rebuild is fine, I just checked the code to be sure.
Comment 8 Guy 2004-11-17 21:23:20 UTC
I did make a mistake in executing the instructions of bug # 70830 after all. Though not the one assumed here.