Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 189032
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Team for the ML programming language family <ml@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jack Kelly <endgame.dos@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 189032 depends on: Show dependency tree
Bug 189032 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-15 19:56 0000
ocaml-rebuild.sh uses `emerge unmerge' instead of `emerge --unmerge'. The fix
is trivial.

Reproducible: Always

Steps to Reproduce:
1. sudo /usr/sbin/ocaml-rebuild.sh -f
2. Note portage's warning that `emerge unmerge' is deprecated.
3. Cry

Actual Results:  
This line turns up in the output:

*** Deprecated use of action 'unmerge', use '--unmerge' instead


Expected Results:  
No deprecation warning.

This patch should fix it:

--- ocaml-rebuild.sh.old        2007-08-15 20:51:24.000000000 +0100
+++ ocaml-rebuild.sh    2007-08-15 20:52:03.000000000 +0100
@@ -54,7 +54,7 @@
        then
                $emerge --pretend $@ $tobuild
        else
-               $emerge unmerge $toclean
+               $emerge --unmerge $toclean
                $emerge $@ $tobuild
        fi
 else

------- Comment #1 From Alexis Ballier 2007-08-23 07:54:15 0000 -------
fixed, thanks

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug