Looks like the new rpm 4.4.2.3-9.el5 package brings this bug to RHEL 5.3. This is proving to be quite serious. +++ This bug was initially created as a clone of Bug #304121 +++ Description of problem: When a the source directory for a file ends with a '/', debugedit can spit out a "canonicalization unexpectedly shrank by one character" error and fail. That's not really enough for most people to figure out what's gone wrong or how to fix it. Version-Release number of selected component (if applicable): rpm-build-4.4.2.2-0.5.rc2 How reproducible: Always Steps to Reproduce: 1. mkdir src 2. cat > src/foo.c <<- EOF int main(int argc, char **argv) { return 0; } EOF 3. cd src 4. gcc -g3 -o foo ../src//foo.c 5. /usr/lib/rpm/debugedit -b `pwd` -d / foo Actual results: /usr/lib/rpm/debugedit: canonicalization unexpectedly shrank by one character Expected results: Either not fail, or indicate that a directory name in the table ended with a '/', which it probably shouldn't have contained. Additional info: I actually ran into this with openafs 1.4.4, but I'm including a smaller reproducer which I think triggers the same bug. --- Additional comment from