Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#8339 - kvirc doc files have carriage returns in the file names

Attached to Project: Community Packages
Opened by pajaro (pajaro) - Thursday, 18 October 2007, 11:15 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 10 December 2007, 23:08 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Very Low
Priority Normal
Reported Version 3.0.6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

- I have some files with interrogation signs that came with kvirc.
[franki@patito 3.2]$ ls /usr/share/kvirc/3.2/help/en/doc_objects.clear^M.html
/usr/share/kvirc/3.2/help/en/doc_objects.clear?.html

- pacman misses guessing the name of the file when using bash autocompletion scape codes. He omits the interrogation sign and adds .html at the beggining fo the line.
[franki@patito 3.2]$ pacman -Qo /usr/share/kvirc/3.2/help/en/doc_objects.clear^M.html
.html: No package owns /usr/share/kvirc/3.2/help/en/doc_objects.clear

- pacman doesn't find the file when it gets the right name:
[franki@patito 3.2]$ pacman -Qo /usr/share/kvirc/3.2/help/en/doc_objects.clear\?.html
error: file could not be read '/usr/share/kvirc/3.2/help/en/doc_objects.clear?.html': File or directory does not exist.

I translated pacman messages to english manually (from spanish), so there may be some differences with current english pacman locale
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 10 December 2007, 23:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  in i686
Comment by Aaron Griffin (phrakture) - Friday, 09 November 2007, 19:24 GMT
Poking this one - Dan, did you ever look at this? I can fix the completion (point 2) fairly easily I think
Comment by Dan McGee (toofishes) - Friday, 09 November 2007, 19:30 GMT
I have not looked at this. I did update the bash_completion script to current options though, that is sitting in my working branch. Feel free to cherry pick that commit in if you want to fix other completion issues, but I would not recommend pulling the rest of my working branch just yet.
Comment by Aaron Griffin (phrakture) - Friday, 07 December 2007, 21:07 GMT
Here's the weird thing... ^M is a \r control character...
If you look at the -Qo output, it begins with .html because it actually evaluated the carriage return when printing the file.

I think this is more of a packaging error than anything else. How the crap do you get carriage returns in the filename?

Comment by Aaron Griffin (phrakture) - Friday, 07 December 2007, 21:15 GMT
  • Field changed: Attached to Project (Pacman → Community Packages)
  • Field changed: Status (Unconfirmed → Assigned)
  • Task reassigned to Sergej Pupykin (sergej)
Moving this to community packages. After looking this over, this is NOT a question mark (?) in the filename, the actual character in these filenames is a carriage return (\r). That's just not kosher.

I have a feeling this is a DOS-based file somewhere in the install scripts that are part of the tarball.
Comment by pajaro (pajaro) - Saturday, 08 December 2007, 11:08 GMT
good work :) very illustrative.

Loading...