Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413177 - =sys-apps/renameutils-0.11.0 - broken handling of directory renaming.
Summary: =sys-apps/renameutils-0.11.0 - broken handling of directory renaming.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-23 00:29 UTC by Joe Stroller
Modified: 2012-05-19 11:59 UTC (History)
1 user (show)

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 Joe Stroller 2012-04-23 00:29:33 UTC
Working system:

# qmv --version
qmv (renameutils) 0.10.0
Copyright (C) 2001, 2002, 2004, 2005, 2007, 2008 Oskar Liljeblad
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Oskar Liljeblad.
# file Foob/
Foob/: directory
# qmv -d -f do Foob                                                      
Plan is valid.

Foob -> Fooa
Regular rename

Foob -> Fooa
# 


Broken system:

$ qmv --version
qmv (renameutils) 0.11.0
Copyright (C) 2001, 2002, 2004, 2005, 2007, 2008 Oskar Liljeblad
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Oskar Liljeblad.
$ file foo/
foo/: directory
$ qmv -f do -d foo/
qmv: foo/: skipping directory argument
qmv: no files matched
$ 



Reproducible: Always




I think I've tested both version on x86 and AMD64.

I've corresponded with Oskar upstream, and he has provided a fix / patch - it's only a one-liner. I've asked him if a 0.12.0 release is imminent, waiting to hear back. I don't know if you guys want to patch or wait.

IMO this version should be masked.
Comment 1 Joe Stroller 2012-04-23 16:51:37 UTC
Have heard back from Oskar. He's now released 0.12.0 which addresses this, and which also integrates our renameutils-0.9.0-destdir.patch (bug 215954 which appears never to have been passed upstream).

http://download.savannah.gnu.org/releases/renameutils/renameutils-0.12.0.tar.gz
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2012-05-19 11:59:20 UTC
@Joe: thanks for the news. Version 0.12.0 is now in the tree.