Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608202 - app-portage/gentoolkit-0.3.2-r1: revdep-rebuild fails to pass options to portage if contain spaces
Summary: app-portage/gentoolkit-0.3.2-r1: revdep-rebuild fails to pass options to port...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-04 12:01 UTC by bzoloid
Modified: 2021-10-23 16:26 UTC (History)
0 users

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


Attachments
Patch proposal (fix_emerge_options_parsing.patch,2.32 KB, patch)
2017-02-25 16:49 UTC, bzoloid
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description bzoloid 2017-02-04 12:01:59 UTC
revdep-rebuild doesn't call emerge with the same parameters as given in the command line.

Example:
revdep-rebuild --library 'libstdc++.so.6' -- --exclude="gcc libreoffice webkit-gtk"

Resulting emerge command:
emerge --exclude=gcc --autounmask-keep-masks --oneshot --complete-graph libreoffice webkit-gtk packets_to_rebuild...

Expected emerge command:
emerge --exclude="gcc libreoffice webkit-gtk" --autounmask-keep-masks --oneshot --complete-graph packets_to_rebuild...


(In this particular example, it will force building packages that I intended to exclude)


Reproducible: Always
Comment 1 bzoloid 2017-02-25 16:49:35 UTC
Created attachment 465122 [details, diff]
Patch proposal

Attached a fix: arguments are now kept in list, instead of being joined then (wrongly) split again.
Comment 2 bzoloid 2021-10-23 16:26:47 UTC
Was fixed in gentoolkit-0.4.6